다중게시물 추출에서 게시판명대신 그룹명으로 정보
다중게시물 추출에서 게시판명대신 그룹명으로본문
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" type="text/css" href="<?=$latest_skin_path?>/arr_new.css">
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td height="20" style="padding-top:5px;"> <img src='<?=$latest_skin_path?>/img/icon.gif' align="absmiddle"> <font color=#8B0000 font-size="9pt">최근 업데이트 컨텐츠</font></td>
<td width="50" align="center" style="padding-top:5px;"></td>
</tr>
<tr>
<td height=2 colspan=2></td>
</tr>
<tr>
<td height=1 colspan=2 bgcolor="#c5c5c5"></td>
</tr>
</table>
<table width="100%" cellpadding=0 cellspacing=0>
<?
for ($i=0; $i<count($list); $i++) {
?>
<tr>
<td class="arr_new_list" align="left">
<?
echo "<img src='$latest_skin_path/img/board_icon.gif' align=absmiddle>";
echo "<a href='{$list[$i][href]}'>";
echo " <span style='font-size:8pt; color:#6495ED;'>[{$board_list[$i][bo_subject]}]</span> ";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#333333;'>{$list[$i][subject]}</font>";
echo "</a>";
if ($list[$i][comment_cnt])
echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span></a>";
echo " " . $list[$i][icon_new];
echo " " . $list[$i][icon_secret];
?>
</td>
<!-- td align="center" width="60" class="arr_new_list">
<font color=#bababa class=small><?=$list[$i][datetime2];?></font>
</td -->
</tr>
<?
}//end for
?>
<? if (count($list) == 0) { ?><tr><td align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
그룹별로 동일한 자유게시판이 있다보니 게시물추출에서 구분이 되지 않습니다.
그래서 그룹명으로 구분하고 싶은데 아무리 검색을 해봐도 해결책을 찾지 못하고 도움을 요청드립니다. ^^
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" type="text/css" href="<?=$latest_skin_path?>/arr_new.css">
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td height="20" style="padding-top:5px;"> <img src='<?=$latest_skin_path?>/img/icon.gif' align="absmiddle"> <font color=#8B0000 font-size="9pt">최근 업데이트 컨텐츠</font></td>
<td width="50" align="center" style="padding-top:5px;"></td>
</tr>
<tr>
<td height=2 colspan=2></td>
</tr>
<tr>
<td height=1 colspan=2 bgcolor="#c5c5c5"></td>
</tr>
</table>
<table width="100%" cellpadding=0 cellspacing=0>
<?
for ($i=0; $i<count($list); $i++) {
?>
<tr>
<td class="arr_new_list" align="left">
<?
echo "<img src='$latest_skin_path/img/board_icon.gif' align=absmiddle>";
echo "<a href='{$list[$i][href]}'>";
echo " <span style='font-size:8pt; color:#6495ED;'>[{$board_list[$i][bo_subject]}]</span> ";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#333333;'>{$list[$i][subject]}</font>";
echo "</a>";
if ($list[$i][comment_cnt])
echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span></a>";
echo " " . $list[$i][icon_new];
echo " " . $list[$i][icon_secret];
?>
</td>
<!-- td align="center" width="60" class="arr_new_list">
<font color=#bababa class=small><?=$list[$i][datetime2];?></font>
</td -->
</tr>
<?
}//end for
?>
<? if (count($list) == 0) { ?><tr><td align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
그룹별로 동일한 자유게시판이 있다보니 게시물추출에서 구분이 되지 않습니다.
그래서 그룹명으로 구분하고 싶은데 아무리 검색을 해봐도 해결책을 찾지 못하고 도움을 요청드립니다. ^^
댓글 전체
echo "<a href='{$list[$i][href]}'>"; echo " <span style='font-size:8pt; color:#6495ED;'>[{$board_list[$i][bo_subject]}]</span> "; if ($list[$i]['is_notice']) echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>"; else echo "<font style='font-family:돋움; font-size:9pt; color:#333333;'>{$list[$i][subject]}</font>"; echo "</a>";
를
echo "<a href='{$list[$i][href]}'>"; echo " <span style='font-size:8pt; color:#6495ED;'>[{$board_list[$i][gr_subject]}]</span> "; if ($list[$i]['is_notice']) echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>"; else echo "<font style='font-family:돋움; font-size:9pt; color:#333333;'>{$list[$i][subject]}</font>"; echo "</a>";
로 변경해주세요 핸드폰이라 힘드네요ㅜ
를
echo "<a href='{$list[$i][href]}'>"; echo " <span style='font-size:8pt; color:#6495ED;'>[{$board_list[$i][gr_subject]}]</span> "; if ($list[$i]['is_notice']) echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>"; else echo "<font style='font-family:돋움; font-size:9pt; color:#333333;'>{$list[$i][subject]}</font>"; echo "</a>";
로 변경해주세요 핸드폰이라 힘드네요ㅜ
답변 주셔서 감사해요~
알려주신대로 했는데 그룹명이 뜨지 않습니다. 바쁘시더라도 조금 더 도움을 부탁드리겠습니다. ^^
알려주신대로 했는데 그룹명이 뜨지 않습니다. 바쁘시더라도 조금 더 도움을 부탁드리겠습니다. ^^