Home >Backend Development >PHP Tutorial >marc by marc jacobs official website forum based on mysql (5)
## manage_read.php
require ("func.php");
if (check_admin_password()) {
$board=$jl_forum[board];
switch ($job){
case "setgood":
set_good($jl_forum[board],$uid);
$work=1;
break;
case "setnogood":
set_no_good($jl_forum[board],$uid);
$work=1;
break;
case "delete":
del_doc($jl_forum[board],$uid);
$work=1;
break;
}
if (!$word) {
add_one_hit($board,$id);
}
$sql="select * from $board where id=$id";
$sql_result=mysql_query($sql);
$sum=mysql_num_rows($sql_result);
$sql_row=mysql_fetch_array($sql_result);
$title=$sql_row[title];
$writer=$sql_row[writer];
$c
$writetime=$sql_row[writetime];
$hits=$sql_row[hits];
$good=$sql_row[good];
$rootid=$sql_row[id];
$fromip=$sql_row[fromip];
$sql="select * from $board where slaveid=$id";
$sql_result=mysql_query($sql);
if ($sum<>0) {
?>
标题: ◎操作:";?>转进精华区 ";?>删除if ($good=="y"){ ?> ";?>转出精华区 } ?> |
作者:(,点击:) ')"> |
※ 来源: [◆FROM:] |
标题: $id=$sql_row[id]; ?> ◎操作:";?>转进精华区 ";?>删除if ($good=="y"){ ?> ";?>转出精华区 } ?> |
作者:() ')"> "> |
※ 来源: [◆FROM:] |
|
修改资料登陆 |
|
论坛信息 |