현재 아래와 같은 소스를 이용중인데요...
그림파일 첨부에 보시면 내가 올린글인데..그걸 그위에 있는 방명록처럼
블랙네모난 박스에 내가 올린글이 나오고제목부분이
그리고 게시물에 1.2.3.4.5.6.7번방명록처럼 저렇게 나오게 하고 싶은데 도무지 모르겠습니다.ㅜㅜ
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!$skin_title) {
$skin_title = $board[bo_subject];
$skin_title_link = "$g4[bbs_path]/board.php?bo_table=$bo_table";
}
?>
<style type="text/css">
<!--
.latest_body {
line-height: 18px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 15px;
}
.latest_file {
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #CCCCCC;
padding-top: 10px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 5px;
}
.btn_more {
padding-right: 15px;
}
.line {
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #efefef;
padding-top: 10px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 5px;
font-family: "굴림", "돋움";
font-size: 11px;
color: #999999;
}
-->
</style>
<style>
.sh_latest dt { padding-top:8px; float:left; clear:left; font-size:9pt; color:#696969; font-weight: normal; }
</style>
<table width="100%" cellpadding="0" cellspacing="0" border="0" style='border-width:3; border-color:#222222; border-style:dotted;'><tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<colgroup width=30>
<colgroup>
<colgroup width=37>
<colgroup width=30>
<tr bgcolor="#222222" style="border-style:dotted;" background-image:url('<?=$comment_skin_path?>/img2/header.gif'); >
<dt><strong><?=$skin_title?></strong></font></a> </dt></td>
</tr>
<tr bgcolor="#222222"><td colspan=4 height="1"></td></tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan=3 height="5"></td>
</tr>
<? if (count($list) == 0) { ?>
<tr><td colspan=3 align=center height=30>내가 작성한 글이 없습니다.</td></tr>
<? } else { ?>
<? for ($i=0; $i<count($list); $i++) {
if ($list[$i][ca_name] !== $member[mb_id])
;
{
?>
<tr>
<td nowrap width="15" height="18" align="center" valign="middle" background="<?=$latest_skin_path?>/img/bg_line.gif"></td>
<td nowrap background="<?=$latest_skin_path?>/img/bg_line.gif" style='word-break:break-all;'>
<?
if ($list[$i][bo_name])
$list_title = $list[$i][bo_name] . " : " . $list[$i][subject] . " (". $list[$i][datetime] . ")" ;
else
$list_title = $list[$i][subject] . " (". $list[$i][datetime] . ")" ;
echo $list[$i][icon_reply] . " ";
echo "<a href='{$list[$i][href]}' onfocus='this.blur()' title='{$list_title}'>";
if ($list[$i][is_notice])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>" . cut_str($list[$i][subject],50) . "</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>" . cut_str($list[$i][subject],50) . "</font>";
echo "</a>";
if ($list[$i][comment_cnt])
echo " <a href=\"{$list[$i][comment_href]}\" onfocus=\"this.blur()\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span></a> ";
//echo " " . $list[$i][icon_new];
?>
</td>
</tr>
<? } ?>
<? } ?>
<? } ?>
</table>
</td></tr></table>
댓글 1개