Пример #1
0
        echo "<script language=\"javascript\">alert('删除成功!');history.back(-1);</script>";
        die;
    }
}
$tid = isset($_GET['tid']) ? $_GET['tid'] : "";
$limit = isset($_GET['page']) ? (intval($_GET['page']) - 1) * 20 : "0";
if ($tid == "") {
    if ($user->getPower() == 0) {
        $u = "";
    } else {
        $u = $user->getUser();
    }
} else {
    $u = "";
}
$list = $talk->getList($tid, 20, $limit, $u);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 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>
        <link rel="stylesheet" href="css/frame.css" type="text/css" />
    </head>
    <body>
    	<center>
        	<br />
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="150">
                        ID