All pastes #558777 Raw Edit

chris

public php v1 · immutable
·published 2007-06-11 14:25 UTC
rendered paste body
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- Weblication® CMS Strukturdesign Version 4.6.5 --><!-- erstellt durch Scholl Communications AG, D-77694 Kehl, www.scholl.de --><!-- erstellt mit Weblication® Content Management System, www.weblication.de --><!--<documentXt type="weblication" version="4.0"> <headline text=""/> <description text=""/> <thumbnail src=""/> <keywords text=""/> <owner name="admin" profile="wDefaultProfileOfUser"/> <group name="" profile="wDefaultProfileOfUser"/> <others profile="Ansichtsbenutzer"/> <version number="13"/> <modification name="admin" time="1181571789"/> <creation name="admin" time="1181566491"/> <protocol action="modify" name="admin" time="1181571789" version="13"/></documentXt>--><html><!----><head>  <title>Weblication® CMS - Content Management, eGovernment by Scholl Communications</title>  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">    <meta http-equiv="Content-Language" content="de">   <meta name="Keywords" content="">  <meta name="Description" content="">  <meta name="author" content="author">  <meta name="Generator" content="Weblication® CMS">   <script language="JavaScript" type="text/javascript" src="/wDeutsch/wLayout/structure/wScript.js"></script> 	    <!-- HEAD:START -->  <?PHP include_once($_SERVER["DOCUMENT_ROOT"]."/wDeutsch/wLayout/structure/head.php");?>  <!-- HEAD:STOP -->  <link rel="stylesheet" type="text/css" href="/wDeutsch/wLayout/design/style/design.css"></head><body><!-- HEADER:START --><?PHP include_once($_SERVER["DOCUMENT_ROOT"]."/wDeutsch/wLayout/structure/header.php");?><!-- HEADER:STOP --><!-- CONTENT:START --><div class="blockContent"><!-- web:group:start name="Hauptgruppe" id="maingroup"  --><!-- web:item:start name="Ueberschrift_2"  --><div class="elementHeadline"><h2><!-- web:text:start editor="box" rows="1" -->Shoutbox<!-- web:text:stop --></h2></div><!-- web:item:stop --><!-- web:item:start name="Shoutbox"  --><form action="index2.php" method="POST">Name:<br><input type="Text" name="name"><br>E-Mail:<br><input type="Text" name="email"><br><br><textarea name="Eintrag" cols="32" rows="5"></textarea><br><input type="Submit" value="Absenden"></form><?php$timestamp = time();$date = date('d.m.y - H:i', $timestamp);$eintrag = $_POST["Eintrag"];$name = $_POST["name"];$email = $_POST["email"];if($email!=""){$write = $eintrag."|".$name."|".$email."|".$date."<br>";$datei = fopen("save.txt", "a+");fwrite($datei, $write);fclose($datei);$datei2=file("save.txt");foreach($datei2 AS $ausgabe){$eintrag = $ausgabe[0];$name = $ausgabe[1];$email = $ausabe[2];$date = $ausgabe[3];echo "<br>";echo "<a href=mailto:".$email.">".$name."</a> schrieb am ".$date.":";echo  "<br>";echo "<br>";echo $eintrag;echo "<br>";echo "<br>";}}?><!-- web:item:stop id="maingroup" --></div><!-- CONTENT:STOP --><!-- FOOTER:START --><?PHP include_once($_SERVER["DOCUMENT_ROOT"]."/wDeutsch/wLayout/structure/footer.php");?><!-- FOOTER:STOP --></body></html>