| 1 |
<? |
<? |
| 2 |
require_once "./lml.inc.php"; |
require_once "../lib/lml.inc.php"; |
| 3 |
require_once "./user_level.inc.php"; |
require_once "./user_level.inc.php"; |
| 4 |
require_once "./photo_path.inc.php"; |
require_once "./photo_path.inc.php"; |
| 5 |
require_once "./ip_mask.inc.php"; |
require_once "./ip_mask.inc.php"; |
| 10 |
$color_index=0; |
$color_index=0; |
| 11 |
$color_count=2; |
$color_count=2; |
| 12 |
|
|
| 13 |
$rs=mysql_query("SELECT * from bbs". |
$rs=mysql_query("SELECT * from bbs where AID=$id and TID=0 and visible" . |
| 14 |
" where AID=$id and TID=0 and visible and ".$ex_str. |
($ex ? " AND excerption = 1 " : "") . " limit 1") |
|
" limit 1") |
|
| 15 |
or die("Query article error!"); |
or die("Query article error!"); |
| 16 |
$row=mysql_fetch_array($rs) or die("Read article error!"); |
$row=mysql_fetch_array($rs) or die("Read article error!"); |
| 17 |
|
|
| 152 |
<? |
<? |
| 153 |
mysql_free_result($rs); |
mysql_free_result($rs); |
| 154 |
|
|
| 155 |
$rs=mysql_query("SELECT * from bbs". |
$rs=mysql_query("SELECT * from bbs where TID=$id and visible" . |
| 156 |
" where TID=$id and visible and ".$ex_str. |
($ex ? " AND excerption = 1 " : "") . " order by sub_dt") |
|
" order by sub_dt") |
|
| 157 |
or die("Read reply error!"); |
or die("Read reply error!"); |
| 158 |
|
|
| 159 |
while($row=mysql_fetch_array($rs)) |
while($row=mysql_fetch_array($rs)) |
| 232 |
<tr height="2"> |
<tr height="2"> |
| 233 |
<td> |
<td> |
| 234 |
</td> |
</td> |
| 235 |
<td style="background-color:#909090; "> |
<td style="background-color:#909090;"> |
| 236 |
</td> |
</td> |
| 237 |
<td> |
<td> |
| 238 |
</td> |
</td> |