CronJob-Service
bei SELFPHP mit ...
|
+ minütlichen Aufrufen
+ eigenem Crontab Eintrag
+ unbegrenzten CronJobs
+ Statistiken
+ Beispielaufrufen
+ Control-Bereich
Führen Sie mit den CronJobs von
SELFPHP zeitgesteuert Programme
auf Ihrem Server
aus. Weitere Infos
|
:: Anbieterverzeichnis ::
Globale Branchen
Informieren Sie sich über ausgewählte Unternehmen im Anbieterverzeichnis von SELFPHP
:: Newsletter ::
Abonnieren Sie hier den kostenlosen
SELFPHP Newsletter!
|
PHP Grundlagen Hier kann über grundlegende Probleme oder Anfängerschwierigkeiten diskutiert werden |
21.08.2006, 10:37:44
|
Anfänger
|
|
Registriert seit: Aug 2006
Beiträge: 12
|
|
Fehlermeldungen bei PHP-Script
Hallo an die Profis!
Ich habe gestern versucht, ein Script von einem GB versucht, in meine Homepage einzufügen. Das ist mir zwar gelungen, jedoch macht PHP jetzt lauter Fehlermeldungen. Ebenso funtkionieren die Buttons und Smilies nicht.
Hier ein Link zur Veranschaulichung: http://georgie-boy.uttx.net/gaestebuch.php
Da ich keinerlei PHP-Kenntnisse habe, bin ich mit der Sache völlig überfordert. Kann mir vielleicht jemand von Euch helfen?
|
21.08.2006, 10:58:50
|
Administrator
|
|
Registriert seit: Jan 2002
Ort: Köln
Alter: 53
Beiträge: 1.276
|
|
AW: Fehlermeldungen bei PHP-Script
Hi,
ich bin zwar kein Hellseher aber ich denke, das es vielleicht an einem falschen Pfadeintrag liegt!!!
Momentan:
/www/usersites/g-l/georgie-boy/pub/gaestebuch
Vielleicht kommt das Skript aber auch nicht mit der Subdomain zurecht!!!!
Bye Damir
|
21.08.2006, 11:34:50
|
Anfänger
|
|
Registriert seit: Aug 2006
Beiträge: 12
|
|
AW: Fehlermeldungen bei PHP-Script
Änder ich dann den Pfadeintrag in "gaestebuch.php" ( beim include) oder in der "index.php" im script selber?
|
21.08.2006, 11:49:26
|
Administrator
|
|
Registriert seit: Jan 2002
Ort: Köln
Alter: 53
Beiträge: 1.276
|
|
AW: Fehlermeldungen bei PHP-Script
Ich kenne das Skript nicht, somit kann ich es dir nicht sagen. Du kannst es hier aber posten, falls es nicht gerade 1000 Zeilen lang ist;-)
|
21.08.2006, 12:41:28
|
Anfänger
|
|
Registriert seit: Aug 2006
Beiträge: 12
|
|
AW: Fehlermeldungen bei PHP-Script
Hier ist mal ein Teil des Codes (der ist furchtbar lang):
PHP-Code:
<?php
if(file_exists("include.txt"))
{
$file_include=file("include.txt");
$pfad=trim($file_include[0]);
}
else
{
$pfad="";
}
$file_config=file($pfad."Data/config.dat");
$datei=$pfad."Data/gb.txt";
$config_inhalt=explode("|||",$file_config[0]);
if($config_inhalt[19]=="center")
{
$left="50%";
$marginleft=$config_inhalt[4]/2;
$position="position:absolute";
}
elseif($config_inhalt[19]=="right")
{
$left="0";
$marginleft="0";
$position="float:right";
}
else
{
$left="0";
$marginleft="0";
$position="float:left";
}
$propage=$config_inhalt[25];
if($config_inhalt[32]=="nureintraege" and $form=="")
{
$form=2;
}
$action=$_GET['action'];
$start=$_GET['start'];
$ende=$_GET['ende'];
$akt_page=$_GET['akt_page'];
$form=$_GET['form'];
$fontcolor_eingabe=$config_inhalt[56];
error_reporting(E_ALL ^ E_NOTICE);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<TITLE>Soraxdesign Gästebuch 3.1</TITLE>
<META NAME="TITLE" CONTENT="soraxdesign.de // version 4.0">
<META NAME="DESCRIPTION" CONTENT="Tutorials für PHP, Flash, Cinema4d, Fotografie, Linksection, Wallpaper, PHP-Scripte und Dokumentationen.">
<META NAME="KEYWORDS" CONTENT="grafik,php,script,forum,portfolio,webseiten,wallpaper,grafiken,fotografie,foto,flash,musik,music,photoshop,cinema,4d,links,guestbook,kann,news,editor,">
<META NAME="OWNER" CONTENT="gaestebuch@soraxdesign.de">
<META NAME="AUTHOR" CONTENT="Rene Kann">
<META HTTP-EQUIV="EXPIRES" CONTENT="">
<META HTTP-EQUIV="CHARSET" CONTENT="ISO-8859-1">
<META HTTP-EQUIV="CONTENT-LANGUAGE" CONTENT="de">
<META HTTP-EQUIV="VW96.OBJECT TYPE" CONTENT="Homepage">
<META NAME="RATING" CONTENT="Alle">
<META NAME="ROBOTS" CONTENT="index,follow">
<META NAME="REVISIT-AFTER" CONTENT="2 Days">
<script>
function addsmily(adding)
{
document.form.message.value=document.form.message.value + " " + adding;
}
function Textfett()
{
sURL = window.prompt('Bitte den Text eingeben, der Fett dargestellt werden soll:', '');
if ((sURL != '') && (sURL != undefined)) {
sNew = new String('[B]' + sURL + '[/B]');
window.document.forms['form'].elements['message'].value += sNew;
}
}
function Textkursiv()
{
sURL = window.prompt('Bitte den Text eingeben, der Kursiv dargestellt werden soll:', '');
if ((sURL != '') && (sURL != undefined)) {
sNew = new String('[I]' + sURL + '[/I]');
window.document.forms['form'].elements['message'].value += sNew;
}
}
function Textunterstrichen()
{
sURL = window.prompt('Bitte den Text eingeben, der Unterstrichen dargestellt werden soll:', '');
if ((sURL != '') && (sURL != undefined)) {
sNew = new String('[U]' + sURL + '[/U]');
window.document.forms['form'].elements['message'].value += sNew;
}
}
function springe(URL) {
self.location.href = URL;
}
function popup2(url)
{
msgWindow=window.open(url,"Gespeicherte_IP","toolbar=no,width=300,height=200,directories=no,status=yes,scrollbars=no,resize=no,menubar=no,marginwidth=0,marginheight=0")
}
function popup(url)
{
msgWindow=window.open(url,"Administration","toolbar=no,width=780,height=600,directories=no,status=yes,scrollbars=no,resize=no,menubar=no,marginwidth=0,marginheight=0,top=100px,left=100px")
}
function popup_smilies(url)
{
msgWindow=window.open(url,"Smilies","toolbar=no,width=400,height=500,directories=no,status=yes,scrollbars=no,resize=no,menubar=no,marginwidth=0,marginheight=0,left=700px")
}
</script>
|
21.08.2006, 12:45:32
|
Anfänger
|
|
Registriert seit: Aug 2006
Beiträge: 12
|
|
AW: Fehlermeldungen bei PHP-Script
so geht es weiter:
PHP-Code:
<style type="text/css">
body, p, div, td {font-family: <?php echo $config_inhalt[0] ?>; font-size: <?php echo $config_inhalt[1] ?>px; color: #<?php echo $config_inhalt[2] ?>}
a.links {text-decoration : <?php echo $config_inhalt[12] ?>}
a.links:link { color: #<?php echo $config_inhalt[9] ?>}
a.links:visited { color: #<?php echo $config_inhalt[9] ?>}
a.links:active { color: #<?php echo $config_inhalt[11] ?>}
a.links:hover {color: #<?php echo $config_inhalt[10] ?>}
body, p, div, td {font-family: <?php echo $config_inhalt[0] ?>; font-size: <?php echo $config_inhalt[1] ?>px; color: #<?php echo $config_inhalt[2] ?>}
a.links_eintrag {text-decoration : <?php echo $config_inhalt[49] ?>}
a.links_eintrag:link { color: #<?php echo $config_inhalt[46] ?>}
a.links_eintrag:visited { color: #<?php echo $config_inhalt[46] ?>}
a.links_eintrag:active { color: #<?php echo $config_inhalt[48] ?>}
a.links_eintrag:hover {color: #<?php echo $config_inhalt[47] ?>}
</style>
</head>
<body style="
<?php
if($config_inhalt[53]=="farbe")
{
echo"background-color:#$config_inhalt[3]";
}
else
{
if(file_exists("".$pfad."Images/Hintergrund"))
{
$subdir=opendir("".$pfad."Images/Hintergrund/");
$bildarray=array();
while($file=readdir($subdir))
{
if($file!="." and $file!=".." and $file!="Thumbs.db")
{
array_push($bildarray,$file);
}
}
if(count($bildarray)>0)
{
echo"background-image:url('".$pfad."Images/Hintergrund/$bildarray[0]'); background-repeat:$config_inhalt[54];$config_inhalt[55]";
}
else
{
echo"background-color:#$config_inhalt[3]";
}
}
else
{
echo"background-color:#$config_inhalt[3]";
}
}
?>
;margin:10px">
<?php
/**
* Extra Funktionen
//*/
/**
* Ende Extra Funktionen
//*/
$config_inhalt[22]=str_replace("\\","",$config_inhalt[22]);
echo"
<table>
<tr>
<td>
<div id=\"1\" style=\"clear:both;$position; left:$left; margin-left:-".$marginleft."px; visibility:visible; width:$config_inhalt[4]px;margin-top:10px\">
<a name=\"top\"></a>";
if($config_inhalt[51]!="nichts")
{
echo "<p align=\"$config_inhalt[52]\" style=\"margin:0px;padding:0px\">";
if($config_inhalt[51]=="logo")
{
if(file_exists("".$pfad."Images/Logo"))
{
$subdir=opendir("".$pfad."Images/Logo/");
$bildarray=array();
while($file=readdir($subdir))
{
if($file!="." and $file!=".." and $file!="Thumbs.db")
{
array_push($bildarray,$file);
}
}
if(count($bildarray)>0)
{
echo"<img src=\"".$pfad."Images/Logo/$bildarray[0]\" border=\"0\">";
}
else
{
echo"<font size=\"$config_inhalt[23]\">$config_inhalt[22]</font>";
}
}
else
{
echo"<font size=\"$config_inhalt[23]\">$config_inhalt[22]</font>";
}
}
else if($config_inhalt[51]=="text")
{
echo"<font size=\"$config_inhalt[23]\">$config_inhalt[22]</font>";
}
echo "</p><br><br>";
}
$size=ceil($config_inhalt[4]/13.2);
if($action=="" or $action=="choosepage")
{
$div_mitte=$config_inhalt[4]-160;
if($form=="" and $config_inhalt[32]=="formundeintraege" or $form=="" and $config_inhalt[32]=="nurform" or $form=="3" and $config_inhalt[32]=="nureintraege" or $form=="3" and $config_inhalt[32]=="nurform")
{
echo"
<form name=\"form\" action=\"$_SERVER[PHP_SELF]?action=eintragen&form=$form\" method=\"post\" style=\"margin:0px\">
<div id=\"layer22\">
<div id=\"layer3\" style=\"float:left;width:155px;\">
<p style=\"margin:4px\">
Name *
</p>
</div>
<div id=\"layer3\" style=\"width:".$div_mitte."px;float:right\">
<input style=\"margin:0px;padding:2px;color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24]\" type=\"text\" value=\"\" name=\"nick\" maxlength=\"50\" size=\"$size\">
</div>
</div>
<div id=\"layer28\" style=\"clear:both\">
<div id=\"layer3\" style=\"float:left;width:155px\">
<p style=\"margin:4px\">
Email";
if($config_inhalt[44]=="ein")
{
echo " *";
}
echo"</p>
</div>
<div id=\"layer7\" style=\"width:".$div_mitte."px;float:right\">
<input style=\"margin:0px;padding:2px;color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24]\" type=\"text\" value=\"\" name=\"mail\" maxlength=\"100\" size=\"$size\">";
if($config_inhalt[45]=="ein")
{
echo"<p style=\"margin:4px\">
<input type=\"checkbox\" name=\"emailcheck\" value=\"1\"> Emailadresse verstecken
</p>";
}
echo "</div>
</div>
";
$array_inputs_text=array(Homepage,ICQ,AIM,MSN,YAHOO,page,icq,aim,msn,yahoo);
$s=0;
for($x=14;$x<=18;$x++)
{
if($config_inhalt[$x]=="ja")
{
$r=$s+5;
echo"
<div id=\"layer22\" style=\"clear:both\">
<div id=\"layer3\" style=\"float:left;width:155px\">
<p style=\"margin:4px\">
$array_inputs_text[$s]
</p>
</div>
<div id=\"layer3\" style=\"width:".$div_mitte."px;float:right\">
<input style=\"margin:0px;padding:2px;color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24]\" type=\"text\" value=\"\" name=\"$array_inputs_text[$r]\" size=\"$size\">
</div>
</div>
";
}
$s++;
}
if($config_inhalt[42]=="ja")
{
$array_bewertungen=array("Sehr gut", "Gut", "Ok", "Geht so", "Schlecht", "Sehr Schlecht");
echo"
<div id=\"layer22\" style=\"clear:both\">
<div id=\"layer3\" style=\"float:left;width:155px\">
<p style=\"margin:4px\">
Bewertung der Seite
</p>
</div>
<div id=\"layer3\" style=\"width:".$div_mitte."px;float:right\">
<select name=\"bewertung\" style=\"margin:2px;padding:2px;color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24]\">
<option value=\"$k\" selected>Keine Bewertung</option>\n";
for($k=1;$k<=6;$k++)
{
$t=$k-1;
echo"<option value=\"$k\">$k - $array_bewertungen[$t]</option>\n";
}
echo"
</select>
</div>
</div>";
}
$r=38;
for($x=34;$x<=37;$x++)
{
$config_inhalt[$x]=trim($config_inhalt[$x]);
$config_inhalt[$x]=str_replace("\\","",$config_inhalt[$x]);
if($config_inhalt[$x]!="")
{
$config_inhalt[$r]=trim($config_inhalt[$r]);
if($config_inhalt[$r]==1)
{
$pflicht="*";
}
else
{
$pflicht="";
}
$nummer=$x-33;
echo"
<div id=\"layer22\" style=\"clear:both\">
<div id=\"layer3\" style=\"float:left;width:155px\">
<p style=\"margin:4px\">
$config_inhalt[$x] $pflicht
</p>
</div>
<div id=\"layer3\" style=\"width:".$div_mitte."px;float:right\">
<input name=\"zusatzfeld_$nummer\" style=\"color:#$config_inhalt[56];margin:0px;padding:2px;font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24]\" type=\"text\" value=\"\" size=\"$size\" maxlength=\"100\">
</div>
</div>
";
}
$r++;
}
echo"
<div id=\"layer6\" style=\"clear:both;width:$config_inhalt[4]px\">
<div id=\"layer24\" style=\"clear:both\">
<div id=\"layer7\" style=\"float:left;width:155px;margin-top:60px\">
<p style=\"margin:9px;margin-top:0px;margin-left:3px\">
Eintrag *<br><br>
Mit * gekennzeichnete Felder sind Pflichtfelder
<br><br>
Internet- und E-Mailadressen werden automatisch umgewandelt
</p>
</div>
<div id=\"layer8\" style=\"width:".$div_mitte."px;float:right;margin-top:10px;margin-bottom:10px\">
<div align=\"center\" style=\"float:left\">
<div id=\"layer54\" align=\"center\" style=\"margin-bottom:9px\">";
if($config_inhalt[43]=="ein")
{
echo"
<a href=\"javascript:addsmily(':)')\"><img src=\"".$pfad."Smilies/smile.gif\" border=\"0\" Alt=\"Grinsen\" Title=\"Grinsen\"></a>
<a href=\"javascript:addsmily(':D')\"><img src=\"".$pfad."Smilies/biggrin.gif\" border=\"0\" Alt=\"Fett Grinsend\" Title=\"Fett Grinsend\"></a>
<a href=\"javascript:addsmily('8)')\"><img src=\"".$pfad."Smilies/cool.gif\" border=\"0\" Alt=\"Cool\" Title=\"Cool\"></a>
<a href=\"javascript:addsmily(':[')\"><img src=\"".$pfad."Smilies/mad.gif\" border=\"0\" Alt=\"Verärgert\" Title=\"Verärgert\"></a>
<a href=\"javascript:addsmily('o_o')\"><img src=\"".$pfad."Smilies/rolleyes.gif\" border=\"0\" Alt=\"Rolleyes\" Title=\"Rolleyes\"></a>
<a href=\"javascript:addsmily(':(')\"><img src=\"".$pfad."Smilies/sad.gif\" border=\"0\" Alt=\"Traurig\" Title=\"Traurig\"></a>
<a href=\"javascript:addsmily(';)')\"><img src=\"".$pfad."Smilies/zwinker.gif\" border=\"0\" Alt=\"Zwinkern\" Title=\"Zwinkern\"></a>
<a href=\"javascript:addsmily(';(')\"><img src=\"".$pfad."Smilies/zwinker_mad.gif\" border=\"0\" Alt=\"Trauriges Zwinkern\" Title=\"Trauriges Zwinkern\"></a>
<a href=\"javascript:popup_smilies('".$pfad."mehr_smilies.php')\" class=\"links\">Mehr</a>
<br>
";
}
echo"<a href=\"javascript:Textfett()\"><img src=\"".$pfad."Images/buttons/fett.gif\" border=\"0\" Alt=\"Fett geschriebenen Text einfügen\" Title=\"Fett geschriebenen Text einfügen\"></a>
<a href=\"javascript:Textkursiv()\"><img src=\"".$pfad."Images/buttons/kursiv.gif\" border=\"0\" Alt=\"Kursiv geschriebenen Text einfügen\" Title=\"Kursiv geschriebenen Text einfügen\"></a>
<a href=\"javascript:Textunterstrichen()\"><img src=\"".$pfad."Images/buttons/unterstrichen.gif\" border=\"0\" Alt=\"Unterstrichenen Text einfügen\" Title=\"Unterstrichenen Text einfügen\"></a>
|
21.08.2006, 12:46:45
|
Anfänger
|
|
Registriert seit: Aug 2006
Beiträge: 12
|
|
AW: Fehlermeldungen bei PHP-Script
und weiter:
PHP-Code:
</div>
<textarea style="font-family: $config_inhalt[0]; color:#$config_inhalt[56];font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"text\" name=\"message\" rows=\"10\" cols=\"$size\" maxlength=\"1000\"></textarea>
</div>
</div>
</div>
<div id=\"layer9\" style=\"clear:both;margin-left:159px\">";
if($config_inhalt[7]=="ja")
{
echo"<input type=\"image\" src=\"".$pfad."Images/buttons/send.gif\" Alt=\"Ins Gästebuch eintragen\" Title=\"Ins Gästebuch eintragen\"> <a href=\"javascript:document.form.reset()\"><img src=\"".$pfad."Images/buttons/reset.gif\" border=\"0\" Alt=\"Zurücksetzen\" Title=\"Zurücksetzen\"></A>";
}
if($config_inhalt[7]=="nein")
{
echo"<input style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"submit\" value=\"Abschicken\"> <input style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"reset\" value=\" Löschen \">";
}
echo"
</div>
</div>
</form>
";
}
else
{
$eintrag_schreiben="ja";
}
$file=file("$datei");
$anzahl=count($file);
if($form=="1" or $config_inhalt[32]=="formundeintraege" or $form=="2" or $config_inhalt[32]=="nureintraege")
{
// Startid festlegen -----------
if($action=="")
{
$akt_page=1;
$file=file("$datei");
if($anzahl>$propage)
{
$ende=$propage;
}
else
{
$ende=$anzahl;
}
$start=0;
}
// ------------------------------
echo"<div id=\"layer18\" style=\"clear:both;width:$config_inhalt[4]px;margin-top:20px;margin-bottom:0px\">";
$file=file("$datei");
$seiten=ceil($anzahl/$propage);
if($seiten==1)
{
$seitentext="Seite";
}
else
{
$seitentext="Seiten";
}
if($anzahl<$propage)
{
$new_ende=$anzahl;
}
else
{
$new_ende=$propage;
}
if($anzahl==1)
{
$eintrag="Eintrag";
}
else
{
$eintrag="Einträge";
}
if($form!="3")
{
echo"<p align=\"$config_inhalt[50]\" style=\"margin:0px;padding:0px\"><b>$anzahl</b> $eintrag auf <b>$seiten</b> $seitentext | Aktuelle Seite: <b>$akt_page</b></p>";
}
if($start<0 and $start!="")
{
$start=0;
}
$nr=$anzahl-$start;
$breite2=$config_inhalt[4]-35;
$breite1=25;
/**
Die Breite des Divs für die Eintragsnummer wird
automatisch an die Anzahl der Einträge angepasst
//*/
if($anzahl>=100)
{
$breite1=25;
$breite2=$config_inhalt[4]-35;
}
if($anzahl>=1000)
{
$breite1=35;
$breite2=$config_inhalt[4]-45;
}
if($anzahl>=10000)
{
$breite1=45;
$breite2=$config_inhalt[4]-55;
}
// Ende Breite ausrechnen
|
21.08.2006, 12:47:48
|
Anfänger
|
|
Registriert seit: Aug 2006
Beiträge: 12
|
|
AW: Fehlermeldungen bei PHP-Script
und weiter:
PHP-Code:
if($ende>$anzahl and $ende!="")
{
$ende=$anzahl;
}
/**
Obere Blätterfunktion ausgeben
//*/
echo"<div id=\"layer20\" align=\"center\" style=\"clear:both;margin-bottom:10px;margin-top:15px\">";
if($eintrag_schreiben=="ja")
{
echo"
[<a href=\"$_SERVER[PHP_SELF]?action=choosepage&start=0&ende=0&akt_page=1&form=3\" class=\"links\"><b>Neuer Eintrag</b></A>] ";
}
if($anzahl>$propage and $form!="3")
{
$pages=ceil($anzahl/$propage);
$startid=0;
$endid=$propage;
if($akt_page==1)
{
$zahl="<b>1</b>";
}
else
{
$zahl="1";
}
echo"
[ <a href=\"$_SERVER[PHP_SELF]?action=choosepage&start=$startid&ende=$endid&akt_page=1&form=$form\" class=\"links\">$zahl</A>";
}
/**
Ausgabe der einzelnen Seiten, abhängig von der Anzahl Einträge/Seite
//*/
for($b=2;$b<$pages+1;$b++)
{
if($endid<$anzahl)
{
$startid+=$propage;
$endid+=$propage;
}
if($endid>$anzahl)
{
$endid=$anzahl;
}
if($akt_page==$b)
{
$zahl="<b>$b</b>";
}
else
{
$zahl=$b;
}
echo" | <a href=\"$_SERVER[PHP_SELF]?action=choosepage&start=$startid&ende=$endid&akt_page=$b&form=$form\" class=\"links\">$zahl</A>";
}
/**
Ende Ausgabe der einzelnen Seiten
//*/
if($anzahl>$propage and $form!="3")
{
echo" ]";
}
echo"
</div>";
/**
* Ende Ausgabe der Blätterfunktion
//*/
for($a=$start;$a<$ende;$a++)
{
$zeile=explode("|||",$file[$a]);
$laenge=ceil($config_inhalt[4]/14);
$zeile[10]=str_replace("[B]","<b>",$zeile[10]);
$zeile[10]=str_replace("[/B]","</b>",$zeile[10]);
$zeile[10]=str_replace("[I]","<i>",$zeile[10]);
$zeile[10]=str_replace("[/I]","</i>",$zeile[10]);
$zeile[10]=str_replace("[U]","<u>",$zeile[10]);
$zeile[10]=str_replace("[/U]","</u>",$zeile[10]);
$zeile[10]=str_replace("\\","","$zeile[10]");
$zeile[1]=str_replace("\\","","$zeile[1]");
$zeile[3]=str_replace("\\","","$zeile[3]");
$zeile[4]=str_replace("\\","","$zeile[4]");
$zeile[5]=str_replace("\\","","$zeile[5]");
$zeile[6]=str_replace("\\","","$zeile[6]");
$zeile[7]=str_replace("\\","","$zeile[7]");
$zeile[8]=str_replace("\\","","$zeile[8]");
$zeile[9]=str_replace("\\","","$zeile[9]");
$zeile[11]=str_replace("\\","",$zeile[11]);
if($config_inhalt[43]=="ein")
{
$zeile[10]=str_replace(":)","<img src=\"".$pfad."Smilies/smile.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":((","<img src=\"".$pfad."Smilies/traurig2.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":D","<img src=\"".$pfad."Smilies/biggrin.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace("8)","<img src=\"".$pfad."Smilies/cool.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":[","<img src=\"".$pfad."Smilies/mad.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace("o_o","<img src=\"".$pfad."Smilies/rolleyes.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":(","<img src=\"".$pfad."Smilies/sad.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(";)","<img src=\"".$pfad."Smilies/zwinker.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(";(","<img src=\"".$pfad."Smilies/zwinker_mad.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":anbet:","<img src=\"".$pfad."Smilies/anbet3.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":dito:","<img src=\"".$pfad."Smilies/dito.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":down:","<img src=\"".$pfad."Smilies/down.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":eiwurf:","<img src=\"".$pfad."Smilies/eiwurf.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":erstaunt:","<img src=\"".$pfad."Smilies/erstaunt3.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":essen:","<img src=\"".$pfad."Smilies/essen2.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":gn8:","<img src=\"".$pfad."Smilies/gutenacht.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":haha:","<img src=\"".$pfad."Smilies/hahaha.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":kiss:","<img src=\"".$pfad."Smilies/kiss2.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":konfetti:","<img src=\"".$pfad."Smilies/konfetti.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":motz:","<img src=\"".$pfad."Smilies/motz.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":nono:","<img src=\"".$pfad."Smilies/no2.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":dish:","<img src=\"".$pfad."Smilies/pillepalle.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":regen:","<img src=\"".$pfad."Smilies/regen.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":respekt:","<img src=\"".$pfad."Smilies/respekt.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":bang:","<img src=\"".$pfad."Smilies/rock2.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":sens:","<img src=\"".$pfad."Smilies/sensationell.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":sleep:","<img src=\"".$pfad."Smilies/sleeping.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":drink:","<img src=\"".$pfad."Smilies/trink2.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":up:","<img src=\"".$pfad."Smilies/up.gif\" border=\"0\">",$zeile[10]);
$zeile[10]=str_replace(":wink:","<img src=\"".$pfad."Smilies/wink2.gif\" border=\"0\">",$zeile[10]);
}
if($config_inhalt[33]=="ein")
{
$array_text=explode(" ",$zeile[10]);
$array_user=explode(" ",$zeile[1]);
$file_badwords=file($pfad."Data/badwords.dat");
$badwords=explode(",",$file_badwords[0]);
foreach($badwords as $badword)
{
if(in_array(trim($badword),$array_text) and trim($badword)!="")
{
$pos=array_search(trim($badword),$array_text);
$array_text[$pos]="***";
}
if(in_array(trim($badword),$array_user) and trim($badword)!="")
{
$pos=array_search(trim($badword),$array_user);
$array_user[$pos]="***";
}
}
$zeile[10]=implode(" ",$array_text);
$zeile[1]=implode(" ",$array_user);
}
if($zeile[13]==0)
{
echo"
<div id=\"eintrag\" style=\"clear:both;width:$config_inhalt[4]px;margin-top:20px;padding:0px;margin-left:0px\">
<div id=\"nr\" style=\"float:left;width:".$breite1."px;padding:0px\">
<p style=\"margin-left:0px;margin-top:5px\">
<b>$nr</b>
</p>
</div>
<div id=\"beitrag\" style=\"float:right;width:".$breite2."px;margin-left:0px;padding:0px;margin-bottom:10px;background-color:#$config_inhalt[26];border:$config_inhalt[27]px solid #$config_inhalt[28]\">
<p style=\"padding:0px;margin-left:10px;margin-top:10px;margin-right:10px;margin-bottom:10px\">
<b>$zeile[1]</b> schrieb am $zeile[2] um $zeile[3]:</p>";
for($g=15;$g<=18;$g++)
{
$zeile[$g]=trim($zeile[$g]);
}
if($zeile[15]!="" and $config_inhalt[34]!="" or $zeile[16]!="" and $config_inhalt[35]!="" or $zeile[17]!="" and $config_inhalt[36]!="" or $zeile[18]!="" and $config_inhalt[37]!="")
{
$breite_hr=$config_inhalt[4]-55;
$l=34;
echo"<div style=\"width:".$breite_hr."px;border-top:1px solid #$config_inhalt[28];border-bottom:1px solid #$config_inhalt[28];padding:0px;margin-left:10px;margin-right:10px;margin-bottom:8px;margin-top:0px\">";
for($f=15;$f<=18;$f++)
{
if($zeile[$f]!="" and $config_inhalt[$l]!="")
{
$config_inhalt[$l]=str_replace("\\","",$config_inhalt[$l]);
$zeile[$f]=str_replace("\\","",$zeile[$f]);
echo"
<div id=\"layer234234\" style=\"clear:left;float:left;margin:5px;padding:0px\">
<b>$config_inhalt[$l]:</b>
</div>
<div id=\"layer234234\" style=\"float:left;margin:5px;padding:0px\">
$zeile[$f]
</div>
<div id=\"layer24424\" style=\"clear:left\"></div>
";
}
$l++;
}
echo"</div>";
}
|
21.08.2006, 12:49:06
|
Anfänger
|
|
Registriert seit: Aug 2006
Beiträge: 12
|
|
AW: Fehlermeldungen bei PHP-Script
noch weiter *grins*:
PHP-Code:
echo"
<p style=\"margin:0px;padding-left:10px;padding-right:10px;padding-bottom:10px;padding-top:0px\">
<font color=\"#$config_inhalt[29]\">";
$eintrags_array=explode("<br>",$zeile[10]);
$zaehler=0;
foreach($eintrags_array as $wort_sequenz)
{
$woerter=explode(" ",$wort_sequenz);
foreach($woerter as $wort)
{
$wort=trim($wort);
if(strlen($wort)>$laenge)
{
$pos_zeichen_pfeil=strpos($wort,"<");
if($pos_zeichen_pfeil===false)
{
if(preg_match("/(^|\s)([a-zA-Z0-9_-]+)(\.[a-zA-Z0-9_-]+)*(@)([a-zA-Z0-9_-]+)(\.[a-zA-Z0-9_-]+)*(\.)([a-zA-Z]{2,6})(\s|$)/im",$wort))
{
$adresse=substr($wort,0,25)."...";
$wort="<a href=\"mailto:$wort\" target=\"_blank\" class=\"links_eintrag\">$adresse</a>";
}
elseif(substr($wort,0,4)=="www." and strlen($wort)>7 or substr($wort,0,5)=="[URL=" and strlen($wort)>7 or substr($wort,0,6)=="ftp://" and strlen($wort)>7 or substr($wort,0,7)=="http://")
{
if(substr($wort,0,4)=="www.")
{
$adresse=substr($wort,0,25)."...";
$wort="http://".$wort;
$wort="<a href=\"$wort\" target=\"_blank\" class=\"links_eintrag\">$adresse</a>";
}
elseif(substr($wort,0,5)=="[URL=")
{
$wort=str_replace("[URL=","<a href=\"",$wort);
$wort=str_replace("[/URL]","</a>",$wort);
$wort=str_replace("]","\" target=\"_blank\" class=\"links_eintrag\">",$wort);
}
else
{
$adresse=substr($wort,0,25)."...";
$wort="<a href=\"$wort\" target=\"_blank\" class=\"links_eintrag\">$adresse</a>";
}
}
else
{
if(substr($wort,0,1)!="<")
{
$wort=wordwrap($wort,$laenge,"\n",1);
}
}
echo $wort." ";
}
else
{
$zulangeswort=$wort;
if(substr($zulangeswort,0,1)!="<")
{
while(strlen($zulangeswort)>$laenge)
{
echo substr($zulangeswort,0,$laenge+1)." ";
$zulangeswort=substr($zulangeswort,$laenge+1);
$pos_zeichen_pfeil=$pos_zeichen_pfeil-$laenge;
}
echo substr($zulangeswort,0,$laenge-$pos_zeichen_pfeil);
}
else
{
echo $wort." ";
}
}
}
else
{
if(preg_match("/(^|\s)([a-zA-Z0-9_-]+)(\.[a-zA-Z0-9_-]+)*(@)([a-zA-Z0-9_-]+)(\.[a-zA-Z0-9_-]+)*(\.)([a-zA-Z]{2,6})(\s|$)/im",$wort))
{
$wort="<a href=\"mailto:$wort\" target=\"_blank\" class=\"links_eintrag\">$wort</a>";
}
elseif(substr($wort,0,4)=="www." and strlen($wort)>7 or substr($wort,0,5)=="[URL=" and strlen($wort)>7 or substr($wort,0,6)=="ftp://" and strlen($wort)>7 or substr($wort,0,7)=="http://")
{
if(substr($wort,0,4)=="www.")
{
$adresse=substr($wort,0,25)."...";
$wort="http://".$wort;
$wort="<a href=\"$wort\" target=\"_blank\" class=\"links_eintrag\">$adresse</a>";
}
elseif(substr($wort,0,5)=="[URL=")
{
$wort=str_replace("[URL=","<a href=\"",$wort);
$wort=str_replace("[/URL]","</a>",$wort);
$wort=str_replace("]","\" target=\"_blank\" class=\"links_eintrag\">",$wort);
}
else
{
$adresse=substr($wort,0,25)."...";
$wort="<a href=\"$wort\" target=\"_blank\" class=\"links_eintrag\">$adresse</a>";
}
}
echo $wort." ";
}
}
$zaehler++;
if($zaehler<count($eintrags_array))
{
echo "<br>";
}
}
echo"</font><br>
";
if($zeile[11]!="" and $zeile[11]!="-")
{
$config_inhalt[30]=str_replace("\\","",$config_inhalt[30]);
echo"
<br>
<i>
$config_inhalt[30]:
<br>
$zeile[11]
<br>
</i>";
}
echo"</p></div>
<div id=\"layer3\" style=\"clear:both;width".$breite2."px;margin-left:30px\">
<a href=\"#top\"><img src=\"".$pfad."Images/top.gif\" alt=\"Nach oben\" Title=\"Nach oben\" border=\"0\"></a>
<a href=\"$_SERVER[PHP_SELF]?action=showedit&id=$zeile[0]&start=$start&ende=$ende&akt_page=$akt_page&form=$form\"><img src=\"".$pfad."Images/edit.gif\" border=\"0\" alt=\"Eintrag editieren\" Title=\"Eintrag editieren\"></a>";
if($config_inhalt[57]=="ja")
{
echo" <a href=\"javascript:popup2('".$pfad."ips.php?id=$zeile[0]')\"><img src=\"".$pfad."Images/ip.gif\" border=\"0\" Title=\"IP wurde gespeichert\" Alt=\"IP wurde gespeichert\"></A>";
}
echo"   ";
if($zeile[4]!="")
{
$zeile[14]=trim($zeile[14]);
if($zeile[14]=="1")
{
echo" <a href=\"javascript:popup2('".$pfad."mail_anzeigen.php?id=$zeile[0]')\"><img src=\"".$pfad."Images/mail_versteckt.gif\" alt=\"Email\" border=\"0\"></a> ";
}
else
{
echo" <a href=\"mailto:$zeile[4]\"><img src=\"".$pfad."Images/mail.gif\" alt=\"Email\" border=\"0\"></a> ";
}
}
$zeile[19]=trim($zeile[19]);
if($zeile[19]!="-" and $zeile[19]!="")
{
switch($zeile[19])
{
case "1":
$bewertung_seite="1 - Sehr gut";
break;
case "2":
$bewertung_seite="2 - Gut";
break;
case "3":
$bewertung_seite="3 - Ok";
break;
case "4":
$bewertung_seite="4 - Geht so";
break;
case "5":
$bewertung_seite="5 - Schlecht";
break;
case "6":
$bewertung_seite="6 - Sehr schlecht";
break;
}
if($zeile[19]!="7")
{
echo"<img src=\"".$pfad."Images/Bewertungen/$zeile[19].gif\" border=\"0\" title=\"Bewertung der Internetseite: $bewertung_seite\" Alt=\"Bewertung der Internetseite\">";
}
}
if($zeile[5]!="")
{
echo" <a href=\"$zeile[5]\" target=\"_blank\"><img src=\"".$pfad."Images/home.gif\" alt=\"Homepage\" title=\"Homepage\" border=\"0\"></A>";
}
if($zeile[6]!="")
{
echo" <a href=\"http://wwp.icq.com/scripts/search.dll?to=$zeile[6]\" target=\"_blank\"><img src=\"".$pfad."Images/icq.gif\" alt=\"ICQ\" Title=\"ICQ\" border=\"0\"></A>";
}
if($zeile[7]!="")
{
echo" <a href=\"javascript:popup2('messenger.php?messenger=AIM&username=$zeile[7]')\"><img src=\"".$pfad."Images/aim.gif\" alt=\"AIM\" Title=\"AIM\" border=\"0\"></A>";
}
if($zeile[8]!="")
{
echo" <a href=\"javascript:popup2('messenger.php?messenger=MSN&username=$zeile[8]')\"><img src=\"".$pfad."Images/msn.gif\" alt=\"MSN - Username: $zeile[8]\" Title=\"MSN - Username: $zeile[8]\" border=\"0\"></A>";
}
if($zeile[9]!="")
{
echo" <a href=\"javascript:popup2('messenger.php?messenger=Yahoo&username=$zeile[9]')\"><img src=\"".$pfad."Images/yahoo.gif\" alt=\"Yahoo Messenger - Username: $zeile[9]\" Title=\"Yahoo Messenger - Username: $zeile[9]\" border=\"0\"></A>";
}
echo"
</div>
</div>
";
}
else
{
echo"
<div id=\"eintrag\" style=\"clear:both;width:$config_inhalt[4]px;margin-top:20px\">
<div id=\"nr\" align=\"center\" style=\"float:left;width:".$breite1."px\">
<p style=\"margin-left:5px;margin-top:5px\">
<b>$nr</b>
</p>
</div>
<div id=\"beitrag\" style=\"float:right;width:".$breite2."px;margin-bottom:10px;background-color:#$config_inhalt[26];border:$config_inhalt[27]px solid #$config_inhalt[28]\">
<p style=\"padding:10px;margin:0px\">
Beitrag wurde durch den Administrator noch nicht freigeschaltet! <br><br>Bitte warten Sie, bis der Administrator den Beitrag freischaltet, damit dieser hier erscheint.
</p>
</div>
</div>
";
}
$nr--;
}
echo"</div>";
// Blätterfunktion
echo"<div id=\"layer20\" align=\"center\" style=\"clear:both;margin-bottom:0px;margin-top:10px;padding:0px\">";
if($eintrag_schreiben=="ja")
{
echo"
[<a href=\"$_SERVER[PHP_SELF]?action=choosepage&start=0&ende=0&akt_page=1&form=3\" class=\"links\"><b>Neuer Eintrag</b></A>] ";
}
if($anzahl>$propage and $form!="3")
{
$pages=ceil($anzahl/$propage);
$startid=0;
$endid=$propage;
if($akt_page==1)
{
$zahl="<b>1</b>";
}
else
{
$zahl="1";
}
echo"
[ <a href=\"$_SERVER[PHP_SELF]?action=choosepage&start=$startid&ende=$endid&akt_page=1&form=$form\" class=\"links\">$zahl</a>";
}
for($b=2;$b<$pages+1;$b++)
{
if($endid<$anzahl)
{
$startid+=$propage;
$endid+=$propage;
}
if($endid>$anzahl)
{
$endid=$anzahl;
}
if($akt_page==$b)
{
$zahl="<b>$b</b>";
}
else
{
$zahl=$b;
}
echo" | <a href=\"$_SERVER[PHP_SELF]?action=choosepage&start=$startid&ende=$endid&akt_page=$b&form=$form\" class=\"links\">$zahl</a> ";
}
if($anzahl>$propage and $form!="3")
{
echo" ]";
}
echo"
</div>";
}
if($config_inhalt[32]=="nurform" and $form=="" or $form=="3" and $config_inhalt[32]=="nureintraege" or $form=="3" and $config_inhalt[32]=="nurform")
{
if($form==3 or $form=="")
{
echo"<br>";
}
echo"
<center><a href=\"$_SERVER[PHP_SELF]?form=2\" target=\"_self\" class=\"links\"><b>Beiträge im Gästebuch anschauen</b></A></center>";
}
}
// Editierfunktion --------------
if($action=="showedit")
{
$fp=fopen("$datei","r");
while(!feof($fp))
{
$inhalt=fgets($fp,3000);
$zeile=explode("|||",$inhalt);
$id=$_GET['id'];
if($zeile[0]==$id)
{
$zeile[10]=str_replace("<br>","\n",$zeile[10]);
$zeile[10]=str_replace("\\","",$zeile[10]);
$zeile[1]=str_replace("\\","",$zeile[1]);
$zeile[4]=str_replace("\\","",$zeile[4]);
$zeile[5]=str_replace("\\","",$zeile[5]);
$zeile[11]=str_replace("\\","",$zeile[11]);
$breite=$config_inhalt[4]-124;
$zeile[14]=trim($zeile[14]);
if($zeile[14]=="1")
{
$email="versteckt";
}
else
{
$email=$zeile[4];
}
$abstand="3.5px";
echo"
<form name=\"form\" action=\"$_SERVER[PHP_SELF]?action=edit&id=$id&start=$start&ende=$ende&akt_page=$akt_page&form=$form\" method=\"post\">
<p style=\"margin-bottom:10px\">
<div id=\"layer17\" style=\"height:60px;margin-left:3px\">
<b><font size=\"2\">Beitrag editieren</font></b>
<hr size=\"1px\" width=\"100%\">
</div>
<div id=\"layer22\" style=\"clear:both;margin:0px\">
<div id=\"layer3\" style=\"float:left;width:124px\">
<p style=\"margin:4px\">
Name:
</p>
</div>
<div id=\"layer3\" style=\"float:left\">
<input value='".$zeile[1]."' style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"text\" name=\"nick\" size=\"$size\">
</div>
</div>
|
21.08.2006, 12:53:02
|
Anfänger
|
|
Registriert seit: Aug 2006
Beiträge: 12
|
|
AW: Fehlermeldungen bei PHP-Script
noch weiter:
PHP-Code:
<div id="layer22\" style=\"clear:both;margin:0px\">
<div id=\"layer3\" style=\"float:left;width:124px\">
<p style=\"margin:4px\">
Email:
</p>
</div>
<div id=\"layer3\" style=\"float:left\">
<input value='".$email."' style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"text\" name=\"mail\" size=\"$size\">
</div>
</div>
<div id=\"layer22\" style=\"clear:both;margin:0px\">
<div id=\"layer3\" style=\"float:left;width:124px\">
<p style=\"margin:4px\">
Homepage:
</p>
</div>
<div id=\"layer3\" style=\"float:left\">
<input value='".$zeile[5]."' style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"text\" name=\"page\" size=\"$size\">
</div>
</div>
<div id=\"layer22\" style=\"clear:both;margin:0px\">
<div id=\"layer3\" style=\"float:left;width:124px\">
<p style=\"margin:4px\">
ICQ:
</p>
</div>
<div id=\"layer3\" style=\"float:left\">
<input value='".$zeile[6]."' style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"text\" name=\"icq\" size=\"$size\">
</div>
</div>
<div id=\"layer22\" style=\"clear:both;margin:0px\">
<div id=\"layer3\" style=\"float:left;width:124px\">
<p style=\"margin:4px\">
AIM:
</p>
</div>
<div id=\"layer3\" style=\"float:left\">
<input value='".$zeile[7]."' style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"text\" name=\"aim\" size=\"$size\">
</div>
</div>
<div id=\"layer22\" style=\"clear:both;margin:0px\">
<div id=\"layer3\" style=\"float:left;width:124px\">
<p style=\"margin:4px\">
MSN:
</p>
</div>
<div id=\"layer3\" style=\"float:left\">
<input value='".$zeile[8]."' style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"text\" name=\"msn\" size=\"$size\">
</div>
</div>
<div id=\"layer22\" style=\"clear:both;margin:0px\">
<div id=\"layer3\" style=\"float:left;width:124px\">
<p style=\"margin:4px\">
Yahoo:
</p>
</div>
<div id=\"layer3\" style=\"float:left\">
<input value='".$zeile[9]."' style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"text\" name=\"yahoo\" size=\"$size\">
</div>
</div>
<div id=\"layer22\" style=\"clear:both;margin:0px\">
<div id=\"layer3\" style=\"float:left;width:124px\">
<p style=\"margin:4px\">
Datum:
</p>
</div>
<div id=\"layer3\" style=\"float:left\">
<input value='".$zeile[2]."' style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"text\" name=\"datum\" size=\"$size\">
</div>
</div>
<div id=\"layer22\" style=\"clear:both;margin:0px\">
<div id=\"layer3\" style=\"float:left;width:124px\">
<p style=\"margin:4px\">
Uhrzeit:
</p>
</div>
<div id=\"layer3\" style=\"float:left\">
<input value='".$zeile[3]."' style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"text\" name=\"zeit\" size=\"$size\">
</div>
</div>";
$m=15;
for($x=34;$x<=37;$x++)
{
$config_inhalt[$x]=trim($config_inhalt[$x]);
$config_inhalt[$x]=str_replace("\\","",$config_inhalt[$x]);
if($config_inhalt[$x]!="")
{
$nummer=$x-33;
echo"
<div id=\"layer22\" style=\"clear:both;margin:0px\">
<div id=\"layer3\" style=\"float:left;width:124px\">
<p style=\"margin:4px\">
$config_inhalt[$x]: $pflicht
</p>
</div>
<div id=\"layer3\" style=\"float:left\">
<input name=\"zusatzfeld_$nummer\" value=\"".$zeile[$m]."\" style=\"color:#$config_inhalt[56];margin:0px;padding:2px;font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24]\" type=\"text\" value=\"\" size=\"$size\">
</div>
</div>
";
}
$r++;
$m++;
}
echo"
<div>
<div id=\"layer3344\" style=\"clear:both;float:left;padding-left:3px;width:121px;padding-top:2px\">
Nachricht:
</div>
<div id=\"layer2455\" style=\"float:left\">
<textarea style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"text\" name=\"message\" rows=\"12\" cols=\"$size\">$zeile[10]</textarea><br><br>
<b>Kommentar:</b><br><textarea style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"text\" name=\"kommentar\" rows=\"5\" cols=\"$size\">$zeile[11]</textarea><br><br>
<b>Eintrag löschen:</b><br>
Ja: </font><input type=radio name=\"del\" value=\"1\"> Nein: <input type=radio name=\"del\" value=\"0\" checked><br><br>
<input type=\"hidden\" value=\"$zeile[12]\" name=\"ip\">
<input name=\"freischalten\" type=\"hidden\" value=\"$zeile[13]\">
<input name=\"emailcheck\" type=\"hidden\" value=\"$zeile[14]\">
</div>
<div id=\"layer14\" style=\"clear:both;width:$breite\">
<div id=\"layer15\" style=\"width:120px; float:left;margin-bottom:15px;height:59px\">
<p style=\"margin-left:2px;margin-top:0px\">
<b>Passwort:</b>
</p>
</div>
<div id=\"layer16\" style=\"float:right;width:".$breite."px;margin-bottom:15px\">
<input style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"password\" name=\"passwort\" size=\"$size\"><br><br>
<input style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"submit\" value=\"Editieren\"> <input onClick=\"springe('$_SERVER[PHP_SELF]?action=choosepage&start=$start&ende=$ende&akt_page=$akt_page&form=$form')\" style=\"color:#$config_inhalt[56];font-family: $config_inhalt[0]; font-size: $config_inhalt[1]px; border: 1px solid #$config_inhalt[6]; background-color: #$config_inhalt[5]; border-style: $config_inhalt[24];padding:2px\" type=\"button\" value=\"Zurück\">
</div>
</div>
</form>
";
}
}
fclose($fp);
}
// ------------------------------
|
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
|
|
Themen-Optionen |
|
Ansicht |
Linear-Darstellung
|
Forumregeln
|
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.
HTML-Code ist aus.
|
|
|
Alle Zeitangaben in WEZ +2. Es ist jetzt 17:53:20 Uhr.
|