| 30 |
or die("Query article error!"); |
or die("Query article error!"); |
| 31 |
while($row=mysql_fetch_array($rs)) |
while($row=mysql_fetch_array($rs)) |
| 32 |
{ |
{ |
| 33 |
echo ("<tr class=title_list><td height=18>·<a href=\"show_article.php?aid=". |
echo ("<tr class=title_list><td height=18>·<a href=\"view_article.php?id=". |
| 34 |
$row["AID"]."\" target=_blank>".htmlspecialchars(split_line($row["title"], "", $length, 1), ENT_HTML401, 'UTF-8')." </a></td></tr>\n"); |
$row["AID"]."\" target=_blank>".htmlspecialchars(split_line($row["title"], "", $length, 1), ENT_HTML401, 'UTF-8')." </a></td></tr>\n"); |
| 35 |
} |
} |
| 36 |
mysql_free_result($rs); |
mysql_free_result($rs); |
| 87 |
echo ("<tr><td height=8></td></tr>\n"); |
echo ("<tr><td height=8></td></tr>\n"); |
| 88 |
while ($row = mysqli_fetch_array($rs)) |
while ($row = mysqli_fetch_array($rs)) |
| 89 |
{ |
{ |
| 90 |
echo ("<tr><td height=18>·[".$row["section_title"]. |
echo ("<tr><td height=18>·<a href=\"view_article.php?id=". |
|
"]<a href=\"show_article.php?aid=". |
|
| 91 |
$row["AID"]."\" target=_blank>" . |
$row["AID"]."\" target=_blank>" . |
| 92 |
htmlspecialchars(split_line($row["title"], "", $length, 1), ENT_HTML401, 'UTF-8') . |
htmlspecialchars(split_line("[" . $row["s_title"] . "] " . $row["title"], "", $length, 1), ENT_HTML401, 'UTF-8') . |
| 93 |
" </a></td></tr>\n"); |
" </a></td></tr>\n"); |
| 94 |
} |
} |
| 95 |
echo ("<tr><td height=8></td></tr>\n"); |
echo ("<tr><td height=8></td></tr>\n"); |
| 107 |
echo ("<tr class=title_list><td height=8></td></tr>\n"); |
echo ("<tr class=title_list><td height=8></td></tr>\n"); |
| 108 |
while ($row=mysql_fetch_array($rs)) |
while ($row=mysql_fetch_array($rs)) |
| 109 |
{ |
{ |
| 110 |
echo ("<tr class=title_list><td height=18>·<a href=\"show_article.php?aid=". |
echo ("<tr class=title_list><td height=18>·<a href=\"view_article.php?id=". |
| 111 |
$row["AID"]."\" target=_blank>" . |
$row["AID"]."\" target=_blank>" . |
| 112 |
htmlspecialchars(split_line($row["title"], "", $length, 1), ENT_HTML401, 'UTF-8') . |
htmlspecialchars(split_line($row["title"], "", $length, 1), ENT_HTML401, 'UTF-8') . |
| 113 |
" </a></td></tr>\n"); |
" </a></td></tr>\n"); |