|
|
|
12-04-29
|
조회 979
|
|
|
|
12-04-29
|
조회 1,807
|
|
|
|
12-04-29
|
조회 1,001
|
|
|
|
12-04-29
|
조회 876
|
|
|
|
12-04-29
|
조회 1,814
|
|
|
|
12-04-29
|
조회 912
|
|
|
|
12-04-29
|
조회 911
|
|
|
|
12-04-29
|
조회 1,611
|
|
|
|
12-04-29
|
조회 1,139
|
|
|
|
12-04-29
|
조회 919
|
|
|
|
12-04-29
|
조회 1,689
|
|
|
|
12-04-29
|
조회 914
|
|
|
|
12-04-29
|
조회 1,036
|
|
|
|
12-04-29
|
조회 838
|
|
|
|
12-04-29
|
조회 1,618
|
|
|
|
12-04-29
|
조회 1,524
|
|
|
|
12-04-29
|
조회 999
|
|
|
|
12-04-29
|
조회 872
|
|
|
|
12-04-29
|
조회 1,558
|
|
|
|
12-04-29
|
조회 1,735
|
댓글 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>
<? } ?>