//列出栏目列表,对其进行操作 default: //begin echo "<div id='navigation'>" . gettext_r("quickLink") . ":"; echo "<a href=\"admin_log.php?logtype=0\">" . gettext_r("login") . gettext_r("log") . "</a>\n"; echo "<a href=\"admin_log.php?logtype=1\">" . gettext_r("do") . gettext_r("log") . "</a>\n"; echo "</div>"; echo "<table width='100%' border='0' cellpadding='0' cellspacing='1' class='function'>\n"; echo "<tr class='header'>\n"; echo "<td align='center' width='40'>" . gettext_r("checkIn") . "</td>\n"; echo "<td align='center' width='40'>" . gettext_r("serialNumber") . "</td>\n"; echo "<td align='center' width='100'>" . gettext_r("manager") . "</td>\n"; echo "<td align='center'>" . gettext_r("do") . gettext_r("contents") . "</td>\n"; echo "<td align='center' width='100'>IP</td>\n"; echo "<td align='center' width='150'>" . gettext_r("do") . gettext_r("time") . "</td>\n"; echo "</tr>\n"; $allLogs = new Logs(); $allLogs->getAllLog($currentpage, $pagesize, $logtype); $allLogs->showAllLog(); echo "</table>\n"; echo "<div style='height:5px;'></div>"; echo "<input type='checkbox' id='checkall' onclick='checkall()' value='全选' /><span>" . gettext_r("checkAll") . " </span> "; echo "<input type='button' onclick=\"deleteall('admin_log.php')\" value='" . gettext_r("deleteAll") . "' />"; echo "<div id='showpage'>"; $allLogs->showLogpage($currentpage, $pagesize, $logtype); echo "</div>"; } ?> </body> </html>