论坛源代码我的论坛源代码九
时间:2021-07-01 10:21:17
帮助过:25人阅读
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 " "; ?> |
|
以上就介绍了论坛源代码 我的论坛源代码九,包括了论坛源代码方面的内容,希望对PHP教程有兴趣的朋友有所帮助。