1、$pages; $startpos = $page*$eachpage; $sql .= limit $startpos,$eachpage /function showpage() global $page,$pages,$prepage,$nextpage,$queryString; /param from genpage function $shownum =10/2; $startpage = ($page=$shownum)?$page-$shownum: $endpage = ($page+$shownum0)echo a href=$PHP_SELF?page=0$querySt
2、ring if($startpage0) echo . page=.($page-$shownum*2).$queryString/b for($i=$startpage;$i=$endpage;$i+) if($i=$page) echo .($i+1). if($endpage$pages).($page+$shownum*2). . if($page67棨1)select * from liuyan where ly_id=$_GETid$rs=mysql_fetch_array($conn);2=$rsly_title?38update liuyan set ly_t
3、itle=$ly_title,ly_content=$ly_content,ly_time=$ly_time,ly_author=$ly_author,ly_email=$ly_email where ly_id=$_GETid./index.php9delete from liuyan where ly_id=$_GETid10session_start();$username=$_POSTusername$password=$_POSTpasswordselect * from admin where username=.$username. & password=.$password.$
4、result=mysql_query($sql,$connec);if($row=mysql_fetch_array($result)session_register(admin$admin=$username;admin.phpelselogin.php11SESSION飨if(!isset($_SESSION)header(location:login.phpexit;12javascriptSCRIPT language=javascript!-function confirmlogin()if (document.frmmain.username.value.length4 | doc
5、ument.frmmain.username.value=) document.frmmain.username.focus(); document.frmmain.username.select; window.alert(! return false;if (document.frmmain.password.value.length/SCRIPT13PHP12input name=content type=hidden value=IFRAME ID=eWebEditor1 src=eWebEditorPHP38/ewebeditor.htm?id=content&style=coolb
6、lue frameborder=0 scrolling=no width=550 height=350/IFRAMEeWebEditorPHP38 id=contentcontent14 1$i=1;table /td if ($i % 2=0) echo /tr $i+; ?/table15()select name=select * from fenleibiaowhile($rs1=mysql_fetch_array($conn) option value=$rs1?if ($rs=$rs1) echo selected ;flname/option 16strlen($c)121712
7、8) $out.=$c; $pos+; $c=substr($in,$pos,1); $out.=$c; else $pos+; if($pos=$num) break; if($out!=$in) $out = $out . . return $out;18is_numeric(qq)19PHP$ptime=date(y-m-d20PHPif ($admin= or (strlen($admin)16) or (strlen($admin)alert(162) echothis.location.href=vbscript:history.back()if ($password= or st
8、rlen($password)16 or strlen($password)150) 150 echo24 if ($rsactive=1) font color=#ff0000 else25.=substr($rszixun_biaoti,0,28 )?26.input type=radio name=hy_zhuangtai value=php if ($rshy_zhungtai=) echo checked? 27.php if ($rshy_zhuangtai=)? a href=Userzt.php?action=yes&id=./DIV29.body ondragstart=wi
9、ndow.event.returnValue=false oncontextmenu=window.event.returnValue=false onselectstart=event.returnValue=false30. 仯script type=text/javascriptfunction doZoom(size)document.getElementById(zoom).style.fontSize=size+pxspan id=zoomjavascript:doZoom(16)doZoom(14)doZoom(12)document.write(: + document.las
10、tModified + ) 32.Script Language=JavaScript var timedate= new Date(October 1,2002 var times= var now = new Date(); var date = timedate.getTime() - now.getTime(); var time = Math.floor(date / (1000 * 60 * 60 * 24); if (time = 0) document.write( +times+:+time +/Script33.script language=- Begi
11、n self.moveTo(0,0) self.resizeTo(screen.availWidth,screen.availHeight) / End -34.bgsound src=mid/windblue1.mid loop=-1 IEembed src=music.mid autostart=true hidden= Netscape ,IE 35.marquee direction=up height=146 onmouseout=start() onmouseover=stop() scrollAmount=2/marquee36.javascript:void(null)#37.
12、CTRL+A!body oncontextmenu=window.event.returnValue=falseonkeypress=onkeydown=onkeyup=ondragstart=onselectstart=event.returnValue=false/body任 image = new Array(4); /image image 0 = tu0.gif / image 1 = tu1.gif image 2 = tu2.gif image 3 = tu3.gif image 4 = tu4.gif number = Math.floor(Math.random() * image.length); document.write(BODY BACKGROUND=+imagenumber+38. style=cursor:hand39.div id=Layer1/div# onClick=Layer1.style.display=none42. table width=100% onclick=window.open( _blank style=CURSOR:td height=100 bgcolor=f4f4f443.&javascript:history.back(1)javascript:window.close();44.,45.