📄 content.php
字号:
<?php
@include("global.inc");
@include("database.inc");
?>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<center>
<table width=100%>
<?php
$type_rst = mysql_query("SELECT * FROM $table_type WHERE 1");
while ($type_row = mysql_fetch_array($type_rst)) {
echo "<tr><th colspan=3 bgcolor=#FFFFFF>".$type_row["type"];
$db_rst = mysql_query("SELECT * FROM $table_db WHERE type='".$type_row["type"]."' ORDER BY id");
while ($db_row = mysql_fetch_array($db_rst)) {
echo "<tr><td bgcolor=#CCFFFF>".$db_row["id"];
echo "<td bgcolor=#CCFFFF><a href=view.php?id=";
echo $db_row["id"];
echo">";
echo $db_row["prog_name"]."</a>";
echo "<td bgcolor=#CCFFFF>".$db_row["last_update"];
echo "<tr><td colspan=3 bgcolor=#99FFFF>".$db_row["introduction"];
}
}
?>
</table>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -