|
Помогите вставить HTML в PHP заранье говорю спасибо точо даде посмотрели
|
|||
---|---|---|---|
#18+
Здравсвуйте мне както неудобно просить чтобу ктото думал о моих проблемах ну просто очень нужно но если ето тежело то ладно сам попробую покапатся вот кот Мне надо вот ето всавить <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> <meta name="Arkadiy Kireev" content="Arkadiy Kireev"> <title>Guestbook</title> </head> <body bgcolor="#000000" background="back.gif" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF" bgproperties="fixed" style="tab-interval:36.0pt"> <div align="left"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="150" height="500" valign="top"><br><br><br><br><br><br><a href="News.html"><img src="button/news.gif" alt="News" border="0" width="85" height="43"></a><a href="video.html"><img src="button/video.gif" alt="Video" border="0" width="100" height="43"></a><a href="photo_gallery.html"><img src="button/photo_gallery.gif" alt="Photo Gallery" border="0" width="142" height="43"></a><img src="button/guest1.gif" alt="Guestbook" width="128" height="43" "border="0"> <a href="about.html"><img src="button/About.gif" alt="About us" border="0" width="113" height="43"></a><a href="contact.html"><img src="button/contact.gif" alt="Contact Us" border="0" width="128" height="43"></a></td> <td align="center" valign="top" width="700"> <br><br> Здесь должен стаять PHP год </td> </tr> </table> </div> </html> вот сюда <? include "config.php"; include "passwd.php"; function a1(){ global $a11,$a12,$a13,$a25; if(!empty($a25))$a25="$a25"; else{ $a25="0";} ?> <html> <head> <meta charset=windows-1251> <title><?echo$a11?></title> </head> <body alink=<?echo$a13?> background=<?echo$a25?> bgcolor=<?echo$a12?> link=<?echo$a13?> text=<?echo$a13?> vlink=<?echo$a13?>> <style> a:visited{text-decoration:none} a:hover{text-decoration:underline} a:link{text-decoration:none} </style> <?} function a2(){ ?> </body> </html> <?} function a3(){ global $a1,$a2,$a3,$a5,$a6,$a7,$a14,$a15,$a16,$a17,$a18,$a19,$a20,$a21,$a22,$a23,$a24,$a26,$a39; a1(); ?> <center><font face=verdana size=2><a href=<?echo$a1?>?a66=a1>Add mesage</a></font></center> <br> <? $a27=file($a2); $a28=count($a27); if(!isset($a26))$a26=0; ?> <center> <table bgcolor=<?echo$a14?> border=0 cellpadding=1 cellspacing=0 width=530> <tr> <td> <table bgcolor=<?echo$a15?> border=0 cellpadding=2 cellspacing=0 width=530> <tr> <td> <br> <? for($a29=$a26;$a29<min($a26+$a3,$a28);$a29++){ list($a30,$a31,$a32,$a33,$a34,$a35,$a36,$a37,$a38,$a39,$a40,$a41)=split("\|","$a27[$a29]"); if(empty($a5)||$a39=="n/a"){ $a42=""; $a43="";} else{ $a42="<a href=$a5?qm=form&name=Anonymous&touin=$a39>"; $a43="</a>";} if($a39=="n/a"){ $a44="<img src=icq_na.gif>";} else{ $a44="<img src=http://online.mirabilis.com/scripts/online.dll?icq=$a39&img=5>";} if(empty($a41)){ $a41="";} else{ $a41=" <font face=verdana size=1><b><a href=mailto:Kireeva1@mail.ru><font color=$a24>$a6</font></a>: $a41</b></font>";} ?> <center> <table bgcolor=<?echo$a16?> border=0 cellpadding=1 cellspacing=0 width=448> <tr> <td> <table border=0 cellpadding=2 cellspacing=0 height=120 width=448> <tr> <td bgcolor=<?echo$a17?> height=1 valign=top><font face=verdana size=2> <a href=mailto:<?echo$a34?>><font color=<?echo$a18?>><?echo$a33?></font></a></font></td> <td align=right bgcolor=<?echo$a17?> height=1 valign=top><font color=<?echo$a18?> face=verdana size=2>[ <a href=<?echo$a35?> target=_top><?echo$a36?></a> ]</font></td> </tr> <tr> <td bgcolor=<?echo$a19?> colspan=2 height=1 valign=top><font color=<?echo$a20?> face=verdana size=1> <?echo$a37?> [<?echo$a32?>]</font></td> </tr> <tr> <td bgcolor=<?echo$a21?> colspan=2 style=text-align:justify valign=top><font color=<?echo$a22?> face=arial size=2> <?echo$a38?><br><br><?echo$a41?></font></td> </tr> <tr> <td bgcolor=<?echo$a21?> colspan=2 height=1> <table border=0 width=100%> <tr> <td width=20><?echo$a44?></td> <td align=left width=80><?echo$a42?><font color=<?echo$a23?> face=verdana size=1><?echo$a39?><?echo$a43?></font></td> <td align=right width=348><font color=<?echo$a23?> face=verdana size=1><?echo$a31?></font></td> </tr> </table> </td> </tr> </table> </td> </tr> </table> <br> </center> <?} ?> </td> </tr> </table> </td> </tr> </table> </center> <br> <div align=center> <table border=0> <tr> <? $a45=$a26+$a3; $a46=$a26-$a3; if($a26>=$a3){ ?> <td align=left><a href=<?echo$a1?>?a26=0&a28=<?echo$a28?>><img alt=First border=0 src=first.gif></a> <a href=<?echo$a1?>?a26=<?echo$a46?>&a28=<?echo$a28?>><img alt="Previous <?echo$a3?>" border=0 src=prev.gif></a></td> <?} if($a26+$a3<$a28){ ?> <td align=right><a href=<?echo$a1?>?a26=<?echo$a45?>&a28=<?echo$a28?>><img alt="Next <?echo$a3?>" border=0 src=next.gif></a> <a href=<?echo$a1?>?a26=<?echo"".floor($a28/$a3)*$a3.""?>&a28=<?echo$a28?>><img alt=Last border=0 src=last.gif></a></td> <?} ?> </tr> </table> </div> <? a2();} function a4(){ global $a1,$a11,$a13,$a14,$a15,$a16,$a17,$a18,$a19,$a21,$a22,$a33,$a34,$a35,$a36,$a37,$a38,$a39,$a47; if(!isset($a33))$a33=""; if(!isset($a34))$a34=""; if(!isset($a35))$a35=""; if(!isset($a36))$a36="HomePage"; if(!isset($a37))$a37=""; if(!isset($a38))$a38=""; if(!isset($a39))$a39=""; if(!isset($a48))$a48=""; if($a47=="1")$a48="<br><b>All fields marked *, should be filled.</b>"; elseif($a47=="a34")$a48="<br><b>Your E-mail address is incorrect.</b>"; a1(); ?> <center> <form action=<?echo$a1?> method=post> <input name=a66 type=hidden value=a2> <table bgcolor=<?echo$a16?> border=0 cellpadding=1 cellspacing=0 width=448> <tr> <td> <table border=0 cellpadding=2 cellspacing=0 width=448> <tr> <td bgcolor=<?echo$a17?>><font color=<?echo$a18?> face=verdana size=2><b>#</b>Guestbook</font></td> <td align=right bgcolor=<?echo$a17?>><font color=<?echo$a18?> face=verdana size=2><b><?echo$a11?> </b></font></td> </tr> <tr> <td bgcolor=<?echo$a21?> colspan=2 height=1> </td> </tr> <tr> <td align=right bgcolor=<?echo$a19?> height=1 width=120><font color=<?echo$a13?> face=verdana size=2>* <b>Name</b></font></td> <td bgcolor=<?echo$a21?> height=1 width=330> <input maxlength=16 name=a33 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:250" type=text value="<?echo$a33?>"></td> </tr> <tr> <td align=right bgcolor=<?echo$a21?> height=1 width=120><font color=<?echo$a13?> face=verdana size=2>E-mail</font></td> <td bgcolor=<?echo$a21?> height=1 width=330> <input maxlength=64 name=a34 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:250" type=text value=<?echo$a34?>></td> </tr> <tr> <td align=right bgcolor=<?echo$a19?> height=1 width=120><font color=<?echo$a13?> face=verdana size=2>URL</font></td> <td bgcolor=<?echo$a21?> height=1 width=330> <input maxlength=64 name=a35 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:250" type=text value=<?echo$a35?>></td> </tr> <tr> <td align=right bgcolor=<?echo$a21?> height=1 width=120><font color=<?echo$a13?> face=verdana size=2>Name URL</font></td> <td bgcolor=<?echo$a21?> height=1 width=330> <input maxlength=32 name=a36 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:250" type=text value="<?echo$a36?>"></td> </tr> <tr> <td align=right bgcolor=<?echo$a19?> height=1 width=120><font color=<?echo$a13?> face=verdana size=2>* <b>City</b></font></td> <td bgcolor=<?echo$a21?> height=1 width=330> <input maxlength=24 name=a37 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:250" type=text value="<?echo$a37?>"></td> </tr> <tr> <td align=right bgcolor=<?echo$a21?> height=1 width=120><font color=<?echo$a13?> face=verdana size=2>* <b>Message</b></font></td> <td bgcolor=<?echo$a21?> height=1 width=330> <textarea cols=28 name=a38 rows=5 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-family:arial;font-size:13;height:100;scrollbar-3dlight-color:<?echo$a14?>;scrollbar-arrow-color:<?echo$a17?>;scrollbar-darkshadow-color:<?echo$a17?>;scrollbar-face-color:<?echo$a21?>;scrollbar-highlight-color:<?echo$a15?>;scrollbar-shadow-color:<?echo$a14?>;scrollbar-track-color:<?echo$a15?>;width:250"><?echo$a38?></textarea></td> </tr> <tr> <td align=right bgcolor=<?echo$a19?> height=1 width=120><font color=<?echo$a13?> face=verdana size=2>ICQ</font></td> <td bgcolor=<?echo$a21?> height=1 width=330> <input maxlength=9 name=a39 onkeypress="if(event.keyCode<46||event.keyCode>57)event.returnValue=false" style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:250" type=text value=<?echo$a39?>></td> </tr> <tr> <td bgcolor=<?echo$a21?> colspan=2> <br> <center> <input name=a70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=submit value=Submit> <input name=reset style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=reset value=Erase all> <p></p> </center> </center> </td> </tr> </table> </table> </form> <table border=0 cellpadding=0 cellspacing=0 width=448> <tr> </tr> </table> <p align=right><font face=verdana size=1><a href=<?echo$a1?>?a66=a5>Admin</a></font></p> <? a2();} function a5(){ global $a1,$a5,$a49; a1(); if(!isset($a49))$a49=""; if(empty($a5)){ $a50="n/a"; $a51=""; $a52="";} else{ $a50="$a5"; $a51="<a href=$a5>"; $a52="</a>";} a2();} function a6(){ global $HTTP_USER_AGENT,$HTTP_X_FORWARDED_FOR,$REMOTE_ADDR,$REMOTE_HOST,$a1,$a2,$a4,$a6,$a7,$a8,$a9,$a10,$a11,$a31,$a33,$a34,$a35,$a36,$a37,$a38,$a39,$a53; if(!empty($a34)){ if(!eregi("^[a-z0-9\._-]+@[a-z0-9\._-]+\.[a-z]{2,4}\$",$a34)){ header("location:$a1?a66=a1&a33=$a33&a34=$a34&a35=$a35&a36=$a36&a37=$a37&a38=$a38&a39=$a39&a47=a34"); exit;}} if(empty($a33)||empty($a37)||empty($a38)){ header("location:$a1?a66=a1&a33=$a33&a34=$a34&a35=$a35&a36=$a36&a37=$a37&a38=$a38&a39=$a39&a47=1"); exit;} if(empty($a34))$a34=""; if(empty($a35))$a35=""; if(empty($a36))$a36="HomePage"; if(!ereg("^http://(.*)",$a35))$a35="http://$a35"; if(isset($HTTP_X_FORWARDED_FOR)){ $a54=gethostbyaddr($HTTP_X_FORWARDED_FOR);} else{ $a54=gethostbyaddr($REMOTE_ADDR);} $a31=gethostbyname("$a54"); if($a9=="1"){ include "badwords.php"; $a55=sizeof($a56); for($a29=0;$a29<$a55;$a29++){ $a57=$a56[$a29]; if(eregi($a57,$a33)||eregi($a57,$a34)||eregi($a57,$a35)||eregi($a57,$a36)||eregi($a57,$a37)||eregi($a57,$a38)){ $a33=str_replace($a57,"***",$a33); $a34=str_replace($a57,"***",$a34); $a35=str_replace($a57,"***",$a35); $a36=str_replace($a57,"***",$a36); $a37=str_replace($a57,"***",$a37); $a38=str_replace($a57,"***",$a38);}}} if(crypt($a39,"$a10")!=$a53){ $a33=htmlspecialchars($a33); $a33=stripcslashes($a33); $a33=trim($a33); $a33=str_replace("@","a",$a33); $a33=str_replace("|","I",$a33); $a33=str_replace("$","S",$a33); $a33=str_replace("][","X",$a33); $a33=str_replace("}{","X",$a33); $a33=str_replace("[","/",$a33); $a33=str_replace("]","/",$a33); $a33=str_replace("{","/",$a33); $a33=str_replace("}","/",$a33); $a33=str_replace("#","№",$a33); $a33=substr($a33,0,16); $a34=htmlspecialchars($a34); $a34=stripcslashes($a34); $a34=trim($a34); $a34=str_replace("|","",$a34); $a34=str_replace("$","",$a34); $a34=str_replace("*","",$a34); $a34=str_replace("!","",$a34); $a34=str_replace("[","",$a34); $a34=str_replace("]","",$a34); $a34=str_replace("{","",$a34); $a34=str_replace("}","",$a34); $a34=str_replace("#","",$a34); $a34=str_replace("/","",$a34); $a34=substr($a34,0,64); $a35=htmlspecialchars($a35); $a35=stripcslashes($a35); $a35=trim($a35); $a35=str_replace("@","a",$a35); $a35=str_replace("|","I",$a35); $a35=str_replace("$","S",$a35); $a35=str_replace("][","X",$a35); $a35=str_replace("}{","X",$a35); $a35=str_replace("[","/",$a35); $a35=str_replace("]","/",$a35); $a35=str_replace("{","/",$a35); $a35=str_replace("}","/",$a35); $a35=str_replace("#","№",$a35); $a35=substr($a35,0,64); $a36=htmlspecialchars($a36); $a36=stripcslashes($a36); $a36=trim($a36); $a36=str_replace("@","a",$a36); $a36=str_replace("|","I",$a36); $a36=str_replace("$","S",$a36); $a36=str_replace("][","X",$a36); $a36=str_replace("}{","X",$a36); $a36=str_replace("[","/",$a36); $a36=str_replace("]","/",$a36); $a36=str_replace("{","/",$a36); $a36=str_replace("}","/",$a36); $a36=str_replace("#","№",$a36); $a36=substr($a36,0,32); $a37=htmlspecialchars($a37); $a37=stripcslashes($a37); $a37=trim($a37); $a37=str_replace("@","a",$a37); $a37=str_replace("|","I",$a37); $a37=str_replace("$","S",$a37); $a37=str_replace("][","X",$a37); $a37=str_replace("}{","X",$a37); $a37=str_replace("[","/",$a37); $a37=str_replace("]","/",$a37); $a37=str_replace("{","/",$a37); $a37=str_replace("}","/",$a37); $a37=str_replace("#","№",$a37); $a37=substr($a37,0,24); $a38=htmlspecialchars($a38); $a38=str_replace(" ","<br>",$a38); $a38=stripcslashes($a38); $a38=trim($a38); $a38=str_replace("@","a",$a38); $a38=str_replace("|","I",$a38); $a38=str_replace("$","S",$a38); $a38=str_replace("][","X",$a38); $a38=str_replace("}{","X",$a38); $a38=str_replace("[","/",$a38); $a38=str_replace("]","/",$a38); $a38=str_replace("{","/",$a38); $a38=str_replace("}","/",$a38); $a38=str_replace("#","№",$a38); $a38=substr($a38,0,1024);} else{ $a39="";} $a39=ereg_replace("[^0-9]","",$a39); $a39=substr($a39,0,9); if(empty($a39))$a39="n/a"; $a58=array("january","february","march","april","may","june","july","august","september","october","november","december"); $a103=array("1-е","2-е","3-е","4-е","5-е","6-е","7-е","8-е","9-е","10-е","11-е","12-е","13-е","14-е","15-е","16-е","17-е","18-е","19-е","20-е","21-е","22-е","23-е","24-е","25-е","26-е","27-е","28-е","29-е","30-е","31-е"); $a59=$a103[date("d")-1]." ".$a58[date("m")-1]." ".date("Y")."г."." ".date("H:i"); $a60=fopen("counter.php","r"); $a61=fread($a60,filesize("counter.php")); fclose($a60); $a61++; $a60=fopen("counter.php","w"); flock($a60,2); fputs($a60,$a61); flock($a60,3); fclose($a60); $a62=file("$a2"); $a63="$a61|$a31|$a59|$a33|$a34|$a35|$a36|$a37|$a38|$a39|$HTTP_USER_AGENT||"; $a60=fopen("$a2","w"); flock($a60,1); fwrite($a60,"$a63\n"); for($a29=0;$a29<$a4;$a29++){ @fwrite($a60,"$a62[$a29]");} flock($a60,3); fclose($a60); if($a8=="1"&&!empty($a7)){ $a64="From:Guestbook: $a11<>\nReply-To:$a34"; $a65="Новое сообщение от: $a33"; $a63="[$a59] $a37 $a34 $a35 ICQ: $a39\n\n$a33: $a38\n\nip: $a31\nhost: $REMOTE_HOST\nsystem: $HTTP_USER_AGENT"; $a63=str_replace("<br>","\n",$a63); $a6=convert_cyr_string($a6,'w','k'); $a63=convert_cyr_string($a63,'w','k'); $a64=convert_cyr_string($a64,'w','k'); $a65=convert_cyr_string($a65,'w','k'); mail("$a6 <$a7>",$a65,$a63,$a64);} header("location:$a1?a66=a3"); exit;} function a7(){ global $a1,$a12,$a13,$a16,$a17,$a19,$a22,$a53,$a66,$a67; a1(); ?> <center> <br> <br> <br> <font face=verdana size=5>Admin</font> <br> <form action=<?echo$a1?> method=post> <input name=a66 type=hidden value=a6> <font face=verdana size=2>Password </font> <input maxlength=8 name=a67 onkeypress="if((event.keyCode>32&&event.keyCode<48)||(event.keyCode>57&&event.keyCode<65)||(event.keyCode>90&&event.keyCode<97)||(event.keyCode==34||event.keyCode==39))event.returnValue=false" style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:16;height:20;width:120" type=password> <br> <br> <input onclick=javascript:history.back() style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=button value=< Back> <input name=a70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;height:22;width:90" type=submit value=Enter> </form> </center> <? a2(); exit;} function a8(){ global $a1,$a2,$a3,$a4,$a5,$a10,$a14,$a15,$a16,$a17,$a19,$a20,$a21,$a22,$a26,$a28,$a53,$a66,$a67; if($a67!=$a53){ if(!empty($a67)){ $a67=escapeshellcmd($a67); $a67=substr($a67,0,8); $a67=htmlspecialchars($a67); $a67=crypt($a67,$a10);}} if($a67==$a53){ a1(); ?> <table align=center border=1 bordercolor=<?echo$a16?> cellpadding=1 cellspacing=1 width=448> <tr> <td align=center><font face=verdana size=2><a href=<?echo$a1?>?a66=a10&a67=<?echo$a67?>>интерфейс</a> | <a href=<?echo$a1?>?a66=a9&a67=<?echo$a67?>>настройки</a> | <a href=<?echo$a1?>?a66=a7&a67=<?echo$a67?>>изменить пароль</a> | <a href=<?echo$a1?>?a66=a1>добавить запись</a></font></td> </tr> </table> <br> <? $a27=file($a2); $a28=count($a27); if(!isset($a26)){ $a26=0;} $a68=($a4-$a28)+1; if($a28>=$a4+1)$a69="более старые сообщения удаляются"; else $a69="осталось: $a68"; ?> <center><font face=verdana size=1>Total recordings: <?echo$a28?> (<?echo$a69?>)</font></center> <? for($a29=$a26;$a29<min($a26+$a3,$a28);$a29++){ list($a30,$a31,$a32,$a33,$a34,$a35,$a36,$a37,$a38,$a39,$a40,$a41)=split("\|","$a27[$a29]"); $a41=str_replace("<br>","\n",$a41); ?> <center> <form action=<?echo$a1?> method=post> <input name=a26 type=hidden value=<?echo$a26?>> <input name=a28 type=hidden value=<?echo$a28?>> <input name=a30 type=hidden value=<?echo$a30?>> <input name=a32 type=hidden value="<?echo$a32?>"> <input name=a40 type=hidden value="<?echo$a40?>"> <input name=a66 type=hidden value=a8> <input name=a67 type=hidden value=<?echo$a67?>> <table bgcolor=<?echo$a16?> border=0 cellpadding=1 cellspacing=0> <tr> <td> <table border=0 cellpadding=2 cellspacing=0 width=448> <tr> <td bgcolor=<?echo$a17?> height=1 valign=top> <input name=a33 size=13 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:108" type=text value="<?echo$a33?>"> <input name=a34 size=13 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:108" type=text value=<?echo$a34?>> <input name=a36 size=13 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:108" type=text value="<?echo$a36?>"> <input name=a35 size=13 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:108" type=text value=<?echo$a35?>> </td> </tr> <tr> <td bgcolor=<?echo$a19?> colspan=2 height=1 valign=top><input name=a37 size=20 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-family:verdana;font-size:10;width:108" type=text value="<?echo$a37?>"><font color=<?echo$a20?> face=verdana size=1> [<?echo$a32?>]</font></td> </td> </tr> <tr> <td bgcolor=<?echo$a21?> colspan=2 valign=top><center><textarea cols=54 name=a38 rows=3 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-family:arial;font-size:13;height:80;scrollbar-3dlight-color:<?echo$a14?>;scrollbar-arrow-color:<?echo$a17?>;scrollbar-darkshadow-color:<?echo$a17?>;scrollbar-face-color:<?echo$a21?>;scrollbar-highlight-color:<?echo$a15?>;scrollbar-shadow-color:<?echo$a14?>;scrollbar-track-color:<?echo$a15?>;width:445"><?echo$a38?></textarea></center></td> </tr> <tr> <td bgcolor=<?echo$a21?> colspan=2 height=1> <table border=0 cellpadding=0 cellspacing=0> <tr> <td align=left width=149><input name=a39 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-family:verdana;font-size:10;width:108" type=text value=<?echo$a39?>></td> <td align=center width=150><font color=<?echo$a20?> face=verdana size=1>[<a href=<?echo$a1?>>читать книгу</a>]</font></td> <td align=right width=149><input name=a31 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-family:verdana;font-size:10;width:108" type=text value=<?echo$a31?>></td> </tr> </table> </td> </tr> </table> </td> </tr> </table> <table border=0 cellpadding=1 cellspacing=0 width=452> <tr> <td bgcolor=<?echo$a15?> rowspan=2 width=55><font color=<?echo$a20?> face=verdana size=1><center>№: <?echo$a30?><br>----------<br>ком-<br>ментарий</center></font></td> <td rowspan=2 width=317><center><textarea cols=40 name=a41 rows=2 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-family:verdana;font-size:10;font-weight:bold;height:46;scrollbar-3dlight-color:<?echo$a14?>;scrollbar-arrow-color:<?echo$a17?>;scrollbar-darkshadow-color:<?echo$a17?>;scrollbar-face-color:<?echo$a21?>;scrollbar-highlight-color:<?echo$a15?>;scrollbar-shadow-color:<?echo$a14?>;scrollbar-track-color:<?echo$a15?>;width:307"><?echo$a41?></textarea></center></td> <td align=right width=80><input name=a70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:12;height:22;width:80" type=submit value=Принять></td> </tr> <tr> <td align=right><input name=a70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:12;height:22;width:80" type=submit value=Удалить></td> </tr> </table> <font face=verdana size=1><?echo$a40?></font> <hr color=<?echo$a16?> size=1 width=448> </form> </center> <?} ?> <div align=center> <table border=0> <tr> <? $a45=$a26+$a3; $a46=$a26-$a3; if($a26>=$a3){ ?> <td align=left><a href=<?echo$a1?>?a66=a6&a26=0&a28=<?echo$a28?>&a67=<?echo$a67?>><img alt=Первая border=0 src=first.gif></a> <a href=<?echo$a1?>?a66=a6&a26=<?echo$a46?>&a28=<?echo$a28?>&a67=<?echo$a67?>><img alt="Предыдущие <?echo$a3?>" border=0 src=prev.gif></a></td> <?} if($a26+$a3<$a28){ ?> <td align=right><a href=<?echo$a1?>?a66=a6&a26=<?echo$a45?>&a28=<?echo$a28?>&a67=<?echo$a67?>><img alt="Следующие <?echo$a3?>" border=0 src=next.gif></a> <a href=<?echo$a1?>?a66=a6&a26=<?echo"".floor($a28/$a3)*$a3.""?>&a28=<?echo$a28?>&a67=<?echo$a67?>><img alt=Последняя border=0 src=last.gif></a></td> <?} ?> </tr> </table> </div> <? a2();} else{ a1(); ?> <center> <br> <br> <br> <br> <br> <br> <table align=center border=1 bordercolor=<?echo$a16?> cellpadding=1 cellspacing=1 width=448> <tr> <td align=center><font face=verdana size=2><a href=<?echo$a1?>>read the book</a> | <a href=<?echo$a1?>?a66=a5>enter again</a> | <a href=<?echo$a1?>?a66=a1>add message</a></font></td> </tr> </table> </center> <? a2();}} function a9(){ global $a1,$a2,$a26,$a28,$a30,$a31,$a32,$a33,$a34,$a35,$a36,$a37,$a38,$a39,$a40,$a41,$a53,$a66,$a67,$a70; if($a67!=$a53){ a1(); a7(); a2();} else{ if($a70=="Принять"){ $a41=str_replace("|","I",$a41); $a41=str_replace("#","№",$a41); $a41=str_replace("<?","<?",$a41); $a41=str_replace("?>","?>",$a41); $a41=str_replace(" ","<br>",$a41); $a71=file($a2); for($a29=0;$a29<=count($a71);$a29++){ if(@ereg("^$a30\|",$a71[$a29]))$a71[$a29]="$a30|$a31|$a32|$a33|$a34|$a35|$a36|$a37|$a38|$a39|$a40|$a41|\n";} $a60=fopen($a2,"w"); flock($a60,2); for($a29=0;$a29<=count($a71);$a29++){ if(isset($a71[$a29]))fputs($a60,$a71[$a29]);} flock($a60,3); fclose($a60); header("location:$a1?a66=a6&a26=$a26&a28=$a28&a67=$a67"); exit;} else{ $a71=file($a2); for($a29=0;$a29<=count($a71);$a29++){ if(ereg("^$a30\|",$a71[$a29]))unset($a71[$a29]);} $a60=fopen($a2,"w"); flock($a60,2); for($a29=0;$a29<=count($a71);$a29++){ if(isset($a71[$a29]))fputs($a60,$a71[$a29]);} flock($a60,3); fclose($a60); header("location:$a1?a66=a6&a26=$a26&a28=$a28&a67=$a67"); exit;}}} function a10(){ global $a1,$a10,$a12,$a13,$a16,$a17,$a19,$a22,$a42,$a53,$a66,$a67,$a72,$a73,$a74; if($a67!=$a53){ if(!empty($a67)){ $a67=crypt($a67,$a10);}} if($a67!=$a53){ a1(); a7(); a2();} else{ if(empty($a42)){ a1(); ?> <center> <br> <br> <br> <font face=verdana size=5>Изменение пароля</font> <form action=<?echo$a1?> method=post> <input name=a42 type=hidden value=ok> <input name=a66 type=hidden value=a7> <input name=a67 type=hidden value=<?echo$a67?>> <table border=0> <tr> <td><font face=verdana size=2>старый пароль</font></td> <td><input maxlength=8 name=a72 onkeypress="if((event.keyCode>32&&event.keyCode<48)||(event.keyCode>57&&event.keyCode<65)||(event.keyCode>90&&event.keyCode<97)||(event.keyCode==34||event.keyCode==39))event.returnValue=false" style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:16;height:20;width:120" type=password></td> </tr> <tr> <td><font face=verdana size=2>новый пароль</font></td> <td><input maxlength=8 name=a73 onkeypress="if((event.keyCode>32&&event.keyCode<48)||(event.keyCode>57&&event.keyCode<65)||(event.keyCode>90&&event.keyCode<97)||(event.keyCode==34||event.keyCode==39))event.returnValue=false" style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:16;height:20;width:120" type=password></td> </tr> <tr> <td><font face=verdana size=2>ещё раз новый</font></td> <td><input maxlength=8 name=a74 onkeypress="if((event.keyCode>32&&event.keyCode<48)||(event.keyCode>57&&event.keyCode<65)||(event.keyCode>90&&event.keyCode<97)||(event.keyCode==34||event.keyCode==39))event.returnValue=false" style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:16;height:20;width:120" type=password></td> </tr> </table> <br> <input name=a70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;height:22;width:90" type=submit value=Изменить> </form> </center> <? a2(); exit;} else{ if(!empty($a72)){ $a72=substr($a72,0,8); $a72=crypt($a72,$a10);} if($a72!=$a53){ a1(); ?> <center> <br> <br> <br> <font face=verdana size=4>Неверно введён старый пароль.</font> <br> <br> <input onclick=javascript:history.back() style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=button value=< Назад> </center> <? a2(); exit;} if(empty($a73)){ $a73=substr($a73,0,8); a1(); ?> <center> <br> <br> <br> <font face=verdana size=4>Новый пароль не введён.</font> <br> <br> <input onclick=javascript:history.back() style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=button value=< Назад> </center> <? a2(); exit;} if($a73!=$a74){ $a74=substr($a74,0,8); a1(); ?> <center> <br> <br> <br> <font face=verdana size=4>Ошибка при повторном введении нового пароля.</font> <br> <br> <input onclick=javascript:history.back() style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=button value=< Назад> </center> <? a2(); exit;} $a73=crypt($a73,$a10); $a60=@fopen("passwd.php","w")or die("Error open file"); flock($a60,2); fwrite($a60,"<?\n"); fwrite($a60,"\$a53=\"$a73\";\n"); fwrite($a60,"?>"); flock($a60,3); fclose($a60); a1(); ?> <center> <br> <br> <br> <br> <br> <br> <table align=center border=1 bordercolor=<?echo$a16?> cellpadding=1 cellspacing=1 width=448> <tr> <td align=center><font face=verdana size=2><a href=<?echo$a1?>>читать книгу</a> | <a href=<?echo$a1?>?a66=a5>войти заново</a> | <a href=<?echo$a1?>?a66=a1>добавить запись</a></font></td> </tr> </table> </center> <? a2();}}} function a11(){ global $a1,$a2,$a3,$a4,$a5,$a6,$a7,$a8,$a9,$a16,$a17,$a18,$a19,$a22,$a50,$a53,$a66,$a67,$a75,$a76,$a77,$a78,$a79,$a80,$a81,$a82,$a83; if($a67!=$a53){ a1(); a7(); a2();} else{ if(empty($a50)){ a1(); if($a8=="1")$a84="checked"; else $a84=""; if($a9=="1")$a85="checked"; else $a85=""; ?> <center> <br> <form action=<?echo$a1?> method=post> <input name=a50 type=hidden value=ok> <input name=a66 type=hidden value=a9> <input name=a67 type=hidden value=<?echo$a67?>> <table border=0 width=650> <tr> <td bgcolor=<?echo$a17?> colspan=2><font color=<?echo$a18?> face=verdana size=2><b> Настройки</b></font></td> </tr> <tr> <td><input name=a75 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a1?>></td> <td><font face=verdana size=2> имя файла скрипта php_self (после чего - переименовать сам файл)</font></td> </tr> <tr> <td><input name=a76 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a2?>></td> <td><font face=verdana size=2> имя файла базы сообщений (после чего - переименовать сам файл)</font></td> </tr> <tr> <td><input name=a77 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a3?>></td> <td><font face=verdana size=2> количество записей на одной странице</font></td> </tr> <tr> <td><input name=a78 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a4?>></td> <td><font face=verdana size=2> максимальное количество записей, хранящихся в базе</font></td> </tr> <tr> <td><input name=a79 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a5?>></td> <td><font face=verdana size=2> путь к QIM (Quick ICQ Message)</font></td> </tr> <tr> <td><input name=a80 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value="<?echo$a6?>"></td> <td><font face=verdana size=2> имя администратора</font></td> </tr> <tr> <td><input name=a81 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value="<?echo$a7?>"></td> <td><font face=verdana size=2> E-Mail администратора</font></td> </tr> <tr> <td align=right width=155><input <?echo$a84?> name=a82 type=checkbox value=1></td> <td><font face=verdana size=2> отсылать новые сообщения на E-Mail администратору</font></td> </tr> <tr> <td align=right width=155><input <?echo$a85?> name=a83 type=checkbox value=1></td> <td><font face=verdana size=2> использовать фильтр 'антимат'</font></td> </tr> </table> <br> <input name=a70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;height:22;width:90" type=submit value=Применить> </form> <br> <table align=center border=1 bordercolor=<?echo$a16?> cellpadding=1 cellspacing=1 width=448> <tr> <td align=center><font face=verdana size=2><a href=<?echo$a1?>>читать книгу</a> | <a href=<?echo$a1?>?a66=a5>войти заново</a> | <a href=<?echo$a1?>?a66=a1>добавить запись</a></font></td> </tr> </table> </center> <? a2();} else{ $a86=file("config.php"); for($a29=0;$a29<=count($a86);$a29++){ if(@ereg("^\\\$a1=",$a86[$a29]))$a86[$a29]="\$a1=\"$a75\";\n"; if(@ereg("^\\\$a2=",$a86[$a29]))$a86[$a29]="\$a2=\"$a76\";\n"; if(@ereg("^\\\$a3=",$a86[$a29]))$a86[$a29]="\$a3=\"$a77\";\n"; if(@ereg("^\\\$a4=",$a86[$a29]))$a86[$a29]="\$a4=\"$a78\";\n"; if(@ereg("^\\\$a5=",$a86[$a29]))$a86[$a29]="\$a5=\"$a79\";\n"; if(@ereg("^\\\$a6=",$a86[$a29]))$a86[$a29]="\$a6=\"$a80\";\n"; if(@ereg("^\\\$a7=",$a86[$a29]))$a86[$a29]="\$a7=\"$a81\";\n"; if(@ereg("^\\\$a8=",$a86[$a29]))$a86[$a29]="\$a8=\"$a82\";\n"; if(@ereg("^\\\$a9=",$a86[$a29]))$a86[$a29]="\$a9=\"$a83\";\n";} $a60=@fopen("config.php","w")or die("Error open file"); flock($a60,2); for($a29=0;$a29<=count($a86);$a29++){ if(isset($a86[$a29]))fputs($a60,$a86[$a29]);} flock($a60,3); fclose($a60); header("location:$a1?a66=a9&a67=$a67"); exit;}}} function a12(){ global $a1,$a11,$a12,$a13,$a14,$a15,$a16,$a17,$a18,$a19,$a20,$a21,$a22,$a23,$a24,$a25,$a53,$a66,$a67,$a87,$a88,$a89,$a90,$a91,$a92,$a93,$a94,$a95,$a96,$a97,$a98,$a99,$a100,$a101,$a102; if($a67!=$a53){ a1(); a7(); a2();} else{ if(empty($a87)){ a1(); ?> <form action=<?echo$a1?> method=post> <input name=a66 type=hidden value=a10> <input name=a67 type=hidden value=<?echo$a67?>> <input name=a87 type=hidden value=ok> <center> <table border=0 width=448> <tr> <td bgcolor=<?echo$a17?> colspan=3><font color=<?echo$a18?> face=verdana size=2><b> Интерфейс</b></font></td> </tr> <tr> <td><input name=a88 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value="<?echo$a11?>"></td> <td align=center width=25>-</td> <td width=260><font face=verdana size=2> название книги</font></td> </tr> <tr> <td><input name=a89 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a25?>></td> <td align=center width=25>-</td> <td width=260><font face=verdana size=2> фоновое изображение</font></td> </tr> <tr> <td><input name=a90 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a12?>></td> <td bgcolor=<?echo$a12?> width=25> </td> <td width=260><font face=verdana size=2> цвет основного фона</font></td> </tr> <tr> <td><input name=a91 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a14?>></td> <td bgcolor=<?echo$a14?> width=25> </td> <td width=260><font face=verdana size=2> цвет основной рамки</font></td> </tr> <tr> <td><input name=a92 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a15?>></td> <td bgcolor=<?echo$a15?> width=25> </td> <td width=260><font face=verdana size=2> цвет фона подкладки</font></td> </tr> <tr> <td><input name=a93 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a13?>></td> <td bgcolor=<?echo$a13?> width=25> </td> <td width=260><font face=verdana size=2> цвет текста</font></td> </tr> <tr> <td><input name=a94 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a16?>></td> <td bgcolor=<?echo$a16?> width=25> </td> <td width=260><font face=verdana size=2> цвет рамки сообщения</font></td> </tr> <tr> <td><input name=a95 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a17?>></td> <td bgcolor=<?echo$a17?> width=25> </td> <td width=260><font face=verdana size=2> цвет заголовка сообщения</font></td> </tr> <tr> <td><input name=a96 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a18?>></td> <td bgcolor=<?echo$a18?> width=25> </td> <td width=260><font face=verdana size=2> цвет текста заголовка</font></td> </tr> <tr> <td><input name=a97 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a19?>></td> <td bgcolor=<?echo$a19?> width=25> </td> <td width=260><font face=verdana size=2> цвет подзаголовка сообщения</font></td> </tr> <tr> <td><input name=a98 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a20?>></td> <td bgcolor=<?echo$a20?> width=25> </td> <td width=260><font face=verdana size=2> цвет текста подзаголовка</font></td> </tr> <tr> <td><input name=a99 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a21?>></td> <td bgcolor=<?echo$a21?> width=25> </td> <td width=260><font face=verdana size=2> цвет фона сообщения</font></td> </tr> <tr> <td><input name=a100 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a22?>></td> <td bgcolor=<?echo$a22?> width=25> </td> <td width=260><font face=verdana size=2> цвет текста сообщения</font></td> </tr> <tr> <td><input name=a101 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a23?>></td> <td bgcolor=<?echo$a23?> width=25> </td> <td width=260><font face=verdana size=2> цвет текста ICQ UIN'а и IP-адреса</font></td> </tr> <tr> <td><input name=a102 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a24?>></td> <td bgcolor=<?echo$a24?> width=25> </td> <td width=260><font face=verdana size=2> цвет имени администратора</font></td> </tr> </table> <br> <input name=a70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;height:22;width:90" type=submit value=Применить> </form> <br> <table align=center border=1 bordercolor=<?echo$a16?> cellpadding=1 cellspacing=1 width=448> <tr> <td align=center><font face=verdana size=2><a href=<?echo$a1?>>читать книгу</a> | <a href=<?echo$a1?>?a66=a5>войти заново</a> | <a href=<?echo$a1?>?a66=a1>добавить запись</a></font></td> </tr> </table> </center> <? a2();} else{ $a86=file("config.php"); for($a29=0;$a29<=count($a86);$a29++){ if(@ereg("^\\\$a11=",$a86[$a29]))$a86[$a29]="\$a11=\"$a88\";\n"; if(@ereg("^\\\$a12=",$a86[$a29]))$a86[$a29]="\$a12=\"$a90\";\n"; if(@ereg("^\\\$a13=",$a86[$a29]))$a86[$a29]="\$a13=\"$a93\";\n"; if(@ereg("^\\\$a14=",$a86[$a29]))$a86[$a29]="\$a14=\"$a91\";\n"; if(@ereg("^\\\$a15=",$a86[$a29]))$a86[$a29]="\$a15=\"$a92\";\n"; if(@ereg("^\\\$a16=",$a86[$a29]))$a86[$a29]="\$a16=\"$a94\";\n"; if(@ereg("^\\\$a17=",$a86[$a29]))$a86[$a29]="\$a17=\"$a95\";\n"; if(@ereg("^\\\$a18=",$a86[$a29]))$a86[$a29]="\$a18=\"$a96\";\n"; if(@ereg("^\\\$a19=",$a86[$a29]))$a86[$a29]="\$a19=\"$a97\";\n"; if(@ereg("^\\\$a20=",$a86[$a29]))$a86[$a29]="\$a20=\"$a98\";\n"; if(@ereg("^\\\$a21=",$a86[$a29]))$a86[$a29]="\$a21=\"$a99\";\n"; if(@ereg("^\\\$a22=",$a86[$a29]))$a86[$a29]="\$a22=\"$a100\";\n"; if(@ereg("^\\\$a23=",$a86[$a29]))$a86[$a29]="\$a23=\"$a101\";\n"; if(@ereg("^\\\$a24=",$a86[$a29]))$a86[$a29]="\$a24=\"$a102\";\n"; if(@ereg("^\\\$a25=",$a86[$a29]))$a86[$a29]="\$a25=\"$a89\";\n";} $a60=@fopen("config.php","w")or die("Error open file"); flock($a60,2); for($a29=0;$a29<=count($a86);$a29++){ if(isset($a86[$a29]))fputs($a60,$a86[$a29]);} flock($a60,3); fclose($a60); header("location:$a1?a66=a10&a67=$a67"); exit;}}} if(!isset($a66))$a66=""; switch($a66){ case "a1": a4(); break; case "a2": a6(); break; case "a3": a3(); break; case "a4": a5(); break; case "a5": a7(); break; case "a6": a8(); break; case "a7": a10(); break; case "a8": a9(); break; case "a9": a11(); break; case "a10": a12(); break; default: a3(); break;} ?> ... |
|||
:
Нравится:
Не нравится:
|
|||
11.06.2004, 17:59 |
|
Помогите вставить HTML в PHP заранье говорю спасибо точо даде посмотрели
|
|||
---|---|---|---|
#18+
спасибо я уже сам зделал нечайно извините ... |
|||
:
Нравится:
Не нравится:
|
|||
11.06.2004, 23:17 |
|
Помогите вставить HTML в PHP заранье говорю спасибо точо даде посмотрели
|
|||
---|---|---|---|
#18+
ты все это сам написал ? ... |
|||
:
Нравится:
Не нравится:
|
|||
12.06.2004, 12:07 |
|
Помогите вставить HTML в PHP заранье говорю спасибо точо даде посмотрели
|
|||
---|---|---|---|
#18+
нет я пхп тока начинаю учить ... |
|||
:
Нравится:
Не нравится:
|
|||
12.06.2004, 15:08 |
|
Помогите вставить HTML в PHP заранье говорю спасибо точо даде посмотрели
|
|||
---|---|---|---|
#18+
Не лучший код для обучения 1. давай переменным осмысленные имена ( а не $a45, $a23), имена функций - тоже самое 2. пока не станешь профи в ПХП не используй собак (@) для подавления ошибок 3. вместо ereg(i) используй preg_match (они почти всегда быстрее) 4. не надо пытаться делать все в одном файле. Делать вывод собшений гостевой в одном файле, добвление - во втором, администрирование - в третьем, будет гораздо проще и избавит тебя от некоторых ошибок (типа http://phpfaq.ru/headers) ... |
|||
:
Нравится:
Не нравится:
|
|||
12.06.2004, 17:07 |
|
Помогите вставить HTML в PHP заранье говорю спасибо точо даде посмотрели
|
|||
---|---|---|---|
#18+
Макс М но ету гастевую не я написал я тока ее скачал ... |
|||
:
Нравится:
Не нравится:
|
|||
12.06.2004, 17:38 |
|
Помогите вставить HTML в PHP заранье говорю спасибо точо даде посмотрели
|
|||
---|---|---|---|
#18+
Аркадий Киреев , я думаю, не стоит лезть на любой форум с тем, что ты скачал (и уж тем более, если твоя цель - не научиться) - обращайся в тех. поддержку скачанного тобою скрипта. ... |
|||
:
Нравится:
Не нравится:
|
|||
12.06.2004, 21:39 |
|
|
start [/forum/topic.php?fid=23&msg=32558767&tid=1479674]: |
0ms |
get settings: |
8ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
135ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
50ms |
get tp. blocked users: |
2ms |
others: | 32ms |
total: | 258ms |
0 / 0 |