|
|
|
12-04-29
|
조회 978
|
|
|
|
12-04-29
|
조회 1,805
|
|
|
|
12-04-29
|
조회 992
|
|
|
|
12-04-29
|
조회 875
|
|
|
|
12-04-29
|
조회 1,813
|
|
|
|
12-04-29
|
조회 911
|
|
|
|
12-04-29
|
조회 910
|
|
|
|
12-04-29
|
조회 1,610
|
|
|
|
12-04-29
|
조회 1,137
|
|
|
|
12-04-29
|
조회 917
|
|
|
|
12-04-29
|
조회 1,689
|
|
|
|
12-04-29
|
조회 913
|
|
|
|
12-04-29
|
조회 1,034
|
|
|
|
12-04-29
|
조회 837
|
|
|
|
12-04-29
|
조회 1,615
|
|
|
|
12-04-29
|
조회 1,521
|
|
|
|
12-04-29
|
조회 998
|
|
|
|
12-04-29
|
조회 871
|
|
|
|
12-04-29
|
조회 1,556
|
|
|
|
12-04-29
|
조회 1,733
|
댓글 2개
지금보니 수동이네요.
<?
$sql1 = " select gr_id, gr_subject from $g4[group_table] where gr_id = '$gr_id'";
$result1 = sql_query($sql1);
$rows=mysql_fetch_array($result1);
?>
<td width=150><a href="<?=$g4[path]?>"><span style='color:#FADE00; font-weight: bold;'><?=$rows[gr_subject];?></span></a></td>
<td valign="middle" align=left>
<?
$sql = " select gr_id, gr_subject from $g4[group_table] where gr_id = '$gr_id'";
$result = sql_query($sql);
while ($row=mysql_fetch_array($result)) {
$sql2 = "select * from $g4[board_table] where gr_id = '$row[gr_id]'
and bo_list_level <= '$member[mb_level]'
order by bo_order_search asc";
$result2 = sql_query($sql2);
while ($row2=mysql_fetch_array($result2)) {
if ($row2[bo_table] == $bo_table)
echo " <a href='$g4[bbs_path]/board.php?bo_table=$row2[bo_table]' onfocus='this.blur()'><span style='color:{$sub_a};'><b>$row2[bo_subject]</b></span></a>";
else
echo " <a href='$g4[bbs_path]/board.php?bo_table=$row2[bo_table]' onfocus='this.blur()'><span style='color:{$sub_b};'>$row2[bo_subject]</span></a>";
}
}
?>
</td>
<? } ?>