📄 help_lookup_topic.php
字号:
<?
include "aup.php";
?>
<html>
<head>
<title>WoP Admin Panel - Lookup Help Topic</title>
<link rel=stylesheet type="text/css" href="..\styles\phaos.css">
</head>
<body bgcolor="#000000" text="#FFFFFF" link="#FFFFFF" alink="#FFFFFF" vlink="#FFFFFF">
<br><div align=center>
<hr>
<img src="..\images\top_logo.png">
<br>
<font size="4">Help System Admin</font>
<br>
<a href="index.php">[Back to Admin Panel]</a>
<hr>
<?
$connection = mysql_connect("$mysql_server","$mysql_user","$mysql_password") or die ("Unable to connect to MySQL server.");
$db = mysql_select_db("$mysql_database") or die ("Unable to select requested database.");
print "<table border=0 cellspacing=0 cellpadding=0 class=default>
<tr class=trhead>
<td>ID #: </td>
<td>Subject: </td>
<td>File Name: </td>
</tr>";
if($number == "") {$number = 0;}
$result = mysql_query ("SELECT id FROM phaos_help WHERE $hlpfield LIKE '$hlpvalue%'");
$count_rows = mysql_num_rows($result);
$result = mysql_query ("SELECT title,file,id FROM phaos_help WHERE $hlpfield LIKE '$hlpvalue%' ORDER BY title ASC limit $number,30");
if ($row = mysql_fetch_array($result)) {
do {
print "<form action=\"admin_help_modify_topic.php\">";
print "<tr><td><b>";
print "<input type=\"hidden\" name=\"topic\" value=\"$row[id]\"><input type=submit class=lookup_button value=\"  $row[id]  \">";
print "</b> </td><td><b>";
print htmlspecialchars(stripslashes($row[title]));
print "</b> </td><td><b>";
print htmlspecialchars(stripslashes($row[file]));
print "</b> </td></tr></form>";
} while($row = mysql_fetch_array($result));
} else {print "<tr><td colspan=7 align=center><br>Sorry, no records were found!</td></tr>";}
print ("</table>");
$number_prev = $number-30;
$number_next = $number+30;
?>
<p>
<?
if($number != '0') {
?>
<a href="<? print $PHP_SELF; ?>?number=<? print $number_prev; ?>&hlpfield=<? print $hlpfield; ?>&value=<? print $hlpvalue; ?>">Previous</a>
<?
}
if($count_rows >= $number_next) {
?>
<a href="<? print $PHP_SELF; ?>?number=<? print $number_next; ?>&hlpfield=<? print $hlpfield; ?>&value=<? print $hlpvalue; ?>">Next</a>
<?
}
?>
<p>
<a href="admin_help_Modify_Topic.php">Back</a>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -