Untitled Document include "linkfox.inc.php";
include "info.inc.php";
?>
$query="select * from foxbbs where";
$req=mysql_query($query);
if ($req) {
$bbsmes=mysql_fetch_array($req);
$djnum=$bbsmes["djnum"]+1;
$query="update foxbbs set djnum='$djnum' where";
$req=mysql_query($query);
}
$query="select * from useinfo where usename='".$bbsmes["usename"]."'";
$req=mysql_query($query);
if ($req) {
$useinfo=mysql_fetch_array($req);
switch ($useinfo[11])
{
case ($useinfo[11]==1):
$useinfo[11]="会员";
break;
case ($useinfo[11]==2):
$useinfo[11]="版主";
break;
case ($useinfo[11]==3):
$useinfo[11]="管理员";
break;
case ($useinfo[11]==4):
$useinfo[11]="站长";
break;
default:
$useinfo[11]="游客";
break;
}
}
if ($lock==yes)
{
$query="update foxbbs set lockes=1 where";
$req=mysql_query($query);
if ($req)
{
err_info("锁定成功");
echo ";";
echo "
";
}
}
if ($unlock==yes)
{
$query="update foxbbs set lockes=0 where";
$req=mysql_query($query);
if ($req)
{
err_info("锁定成功");
echo ";";
echo "
";
}
}
?>
|
|
|
|
|
|
|
|
|
|
当前位置:狐网─>狐网论坛─>论题: |
|
|
echo " "; ?> |
|
原贴作者 | 原 贴 内 容 | echo $useinfo[2]." "; echo " "; echo $useinfo[11]." "; echo "发帖数 [".$useinfo["ftnum"]."] "; ?> | $ft="foxbbs/".$bbsmes[5].".fox"; $message=@file($ft); for ($i=0;$i { if (ord(substr($message[$i],0,1))==161) //第一位是否全角空格 echo $message[$i]; else { $message[$i]=" ".trim($message[$i]); echo $message[$i]; } } ?> | echo $bbsmes[4]; ?>
| echo ""; o: ."'>"; "; echo " "; echo " "; echo " "; " "; echo " "; ?> | 鎖住? 解鎖?
陳述:本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn |