【php开源代码栏目提醒】:网学会员为需要php开源代码的朋友们搜集整理了system32.php相关资料,希望对各位网友有所帮助!
<?php
require_once('global.php');
if($do=="boot"){
print <<<EOT
<!DOCTYPE html PUBLIC "-//W3C//DTD X
HTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>鏃犳爣棰樻枃妗?/title>
</head>
<body>
<div style="margin:0 auto;padding:20px; border:1px solid #dddddd;width:60%">
<form id="form1" name="form1" method="post" action="boot.php">
<input name="num" type="text" style="width:250px;height:40px;"/><br>
<input name="action" type="hidden" value="set" style="width:250px;height:40px;"/>
<input name="" type="submit" value="鎻愪氦璁剧疆" style="margin-top:20px;width:250px;height:40px;"/>
</form>
</div>
</body>
</html>
EOT;
}elseif($do=="start"){
$data=$DB->fetch_one_array("select * from choujiang ORDER BY rand() DESC LIMIT 0 ,1");
echo $data[id];
}
if($go=="frist"){
for($i=1;$i<6;$i++){
$data=$DB->fetch_one_array("select * from choujiang ORDER BY rand() DESC LIMIT 0 ,1");
$DB->query("delete from choujiang where id=$data[id]");
if(strlen($data[id])==1){
$data[id]="00".$data[id];
}
if(strlen($data[id])==2){
$data[id]="0".$data[id];
}
echo "<li class=\"goodluck\" >$data[id]</li>";
}
}
?>