س͡Թ͹"; echo"
"; echo""; echo""; echo""; echo""; echo"
Name
Password
"; echo"
"; } Function Check($text) { $text = stripslashes(htmlspecialchars($text)); $text = eregi_replace ( "\n","
",$text); $text = eregi_replace ( "<","<",$text); $text = eregi_replace ( ">",">",$text); return ($text); } //ѧ蹵ѴҺöӷͧõѴ function CheckRude($text){ $wordrude = array( "ashole","a s h o l e","a.s.h.o.l.e","bitch","b i t c h","b.i.t.c.h","shit","s h i t","s.h.i.t","fuck", "dick","f u c k","d i c k","f.u.c.k","d.i.c.k","֧"," ","",""," ","..", " ","--","","","","ҵ","Ҵ"," ","....."," ", ".....","","Ѵ","Ѵ","","","ѹҹ","","","鹵չ","ᵴ") ; $wordchange = ("+++") ; for ( $i=0 ; $i"; echo""; echo""; echo""; echo""; //echo""; echo""; echo""; echo""; echo"
ྨ http://
$question"; //echo"
ʹ:
 
"; } echo"

͢ͺس.. Ъҹͧ."; $totalfile=fopen("total.txt","r"); $total=fread($totalfile,filesize("total.txt")); echo"ռ繵ش $total ҹ"; fclose($totalfile); echo""; echo""; echo"
繵ش
"; if(empty($action)) echo"$power"; if($action=="sign") { Formguest(); } if($sign) { $total=$total+1; $listfile="./list/user$total.txt"; if($homepage=="") $homepage="nohomepage"; $openlistfile=fopen($listfile,"w"); $name=Check($name); $email=Check($email); $homepage=Check($homepage); $comment=Check($comment); $name=CheckRude($name); $email=CheckRude($email); $homepage=CheckRude($homepage); $comment=CheckRude($comment); if(fputs($openlistfile,"$name\n$email\n$homepage\n$list_choice\n$comment\n$mdate")) echo"
****ѺǤѺ****

Ѻ˹ Guest Book"; else echo"
!!!!öѹ֡!!!!"; fclose($openlistfile); $totalfile=fopen("total.txt","w"); fputs($totalfile,$total); fclose($totalfile); } if($action=="view") { $font="blue"; if(isset($nextpage)) $nextpage=$nextpage; else $nextpage=1; for($i=44;$i<$nextpage+$listpage;$i--) { $listfile="./list/user$i.txt"; if(file_exists($listfile)) { echo""; $listarr=file($listfile); echo ""; echo ""; echo ""; echo ""; else echo""; echo""; //echo ""; echo ""; echo""; echo ""; echo ""; echo"
ӴѺ : $i
: $listarr[0]
: $listarr[1]
ྨ : "; $home=trim($listarr[2]); if($home!="nohomepage") echo"$home
$question : $listarr[3]
ʹ
$listarr[4]
繵ѹ : $listarr[5]
ź
"; echo"
"; } else // echo"
"; if($i==1) break; } $over=$total%$listpage; if($over!=0) $totalpage=floor($total/$listpage)+1; else $totalpage=floor($total/$listpage); if($total>$listpage) { echo"˹ҷ"; for($i=1;$i<=$totalpage;$i++) { $nextpage=($i-1)*$listpage; $nextpage=$nextpage+1; echo"$i "; } } } if($action=="delete") { if(!$loggin) { AdminLogin($no); } else { if(($uname==$username) and ($pword==$password)) { if(!$confirm) { $font="cc9933"; $listfile="./list/user$no.txt"; $listarr=file($listfile); echo"

سͧź"; echo"
"; echo""; echo ""; echo ""; echo ""; echo ""; else echo""; echo""; //echo ""; echo ""; echo""; echo ""; echo"
ӴѺ : $no
: $listarr[0]
: $listarr[1]
ྨ : "; $home=trim($listarr[2]); if($home!="nohomepage") echo"$home
$question : $listarr[3]
ʹ
$listarr[4]
繵ѹ : $listarr[5]
"; echo"
"; echo""; echo"
"; echo"
"; } else { $file="./list/user$no.txt"; if(unlink($file)) { $fp=fopen("total.txt","r"); $count=fgets($fp,1024); fclose($fp); $fw=fopen("total.txt","w"); $countnew=fputs($fw,$count-1); fclose($fw); echo"
****ź****"; echo"

Ѻ˹ Guest Book";} else echo"
!!!!ź!!!!!"; } } else { echo"
Username Password Դ"; AdminLogin($no); } } } ?>