我的论坛源代码(九)
<html><head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<STYLE type=text/css>
P {FONT-FAMILY: normal; FONT-SIZE: 9pt; LINE-HEIGHT: 14pt}
DIV {FONT-FAMILY: normal; FONT-SIZE: 9pt; LINE-HEIGHT: 14pt}
</STYLE>
<LINK href="js/cpcw.css" rel=stylesheet /LINK>
<?php(做为现在的主流开发语言)
include "linkfox.inc.php(做为现在的主流开发语言)";
include "info.inc.php(做为现在的主流开发语言)";
?>
</head>
<body bgcolor="#FFFFFF">
<?
$query="select * from foxbbs where id=".$bbsid."";
$req=MySQL(和PHP搭配之最佳组合)_query($query);
if ($req) {
$bbsmes=MySQL(和PHP搭配之最佳组合)_fetch_array($req);
$djnum=$bbsmes["djnum"]+1;
$query="update foxbbs set djnum=$djnum where id=".$bbsid."";
$req=MySQL(和PHP搭配之最佳组合)_query($query);
}
$query="select * from useinfo where usename=".$bbsmes["usename"]."";
$req=MySQL(和PHP搭配之最佳组合)_query($query);
if ($req) {
$useinfo=MySQL(和PHP搭配之最佳组合)_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 id=".$bbsid."";
$req=MySQL(和PHP搭配之最佳组合)_query($query);
if ($req)
{
err_info("锁定成功");
echo "<script language=JavaScript> javascript:location.href=superuse.php(做为现在的主流开发语言)?d=editbbs; </script>;";
echo "<div align=center><a href=superuse.php(做为现在的主流开发语言)?d=editbbs>信息修改成功,返回</a></div>";
}
}
if ($unlock==yes)
{
$query="update foxbbs set lockes=0 where id=".$bbsid."";
$req=MySQL(和PHP搭配之最佳组合)_query($query);
if ($req)
{
err_info("锁定成功");
echo "<script language=JavaScript> javascript:location.href=superuse.php(做为现在的主流开发语言)?d=editbbs; </script>;";
echo "<div align=center><a href=superuse.php(做为现在的主流开发语言)?d=editbbs>信息修改成功,返回</a></div>";
}
}
?>
<table width="100%" cellpadding="4" cellspacing="0" border="0">
<tr>
<td height="20">
<div align="right"></div>
</td>
<td height="20" width="75"> </td>
<td height="20" width="75"> </td>
<td height="20" width="75"> </td>
补充:Web开发 , php ,