( 총7000포인트 )가로두줄나오게 하는방법 정보
( 총7000포인트 )가로두줄나오게 하는방법본문
5000번인트더드립니다...부탁드려요...
<table style="border-top:0px solid #eeeeee;" width='100%' cellpadding='0' cellspacing='0' border='0'>
<img src="<?=$board_skin_path?>/imgs/wrs1224.gif" align="absmiddle" border="0">
<? for ($i=0; $i<count($listw); $i++) {
$lis6 = explode("|", $listw[$i][wr_6]);
if ($listw[$i][wr_4]) {
if ($listw[$i][wr_4] == 1) {
$span_f = "style='color:#484648; font:bold;'";
}elseif ($listw[$i][wr_4] == 2) {
$span_f = "style='color:#484648'";
}elseif ($listw[$i][wr_4] == 3) {
$span_f = "style='color:#484648; font:bold;'";
}
} else {
$span_f = "style='color:#222222;'";
}
if ($is_admin == "super") {
if ($listw[$i][wr_8] < $g4[server_time]) {
$sty = "style='background:$colors;'";
} else {
$sty = "";
}
}else{
$sty = "";
}
?>
<tr height=45 >
</td>
<td align=center width=110> <font color= #3B7BB2 >
<b><?=$listw[$i][wr_name]?></font></b> </td>
<td style="line-height:200%;">
<img src="<?=$board_skin_path?>/imgs/latest_icon.gif"> <?=$marquee_f?><a href='<?=$listw[$i][href]?>' <?=$span_f?>><?=cut_str($listw[$i][wr_subject],80,"")?><br></a> <font color= #BBBCBD >분류: <?=$listn[$i][ca_name]?> 조회수: <?=number_format($listw[$i][wr_hit])?></font><?=$marquee_e?>
</td>
<td width=100 align=center>
<?if ($lis6[0]==1)echo"천안"; else echo"아산";?> <?=$lis6[1]?>
</td>
<!--<td width=80 align=center><?=$listw[$i][ca_name]?></td>-->
<td align=center width=70><?=substr($listw[$i][wr_datetime],2,8)?></td>
<!-- <td align=center width=40><?=number_format($listw[$i][wr_hit])?></td>-->
</tr>
<tr><td colspan=<?=$colspan?> height="1" bgcolor="#dddddd"></td></tr>
<? } ?>
</table>
댓글 전체
<img src="<?=$board_skin_path?>/imgs/wrs1224.gif" align="absmiddle" border="0">==> 이건 필요한지 모르겠구요
<tr height=45 >
<? for ($i=0; $i<count($listw); $i++) {
// 여기 추가입니다.
if($i && $i%2==0){
echo "</tr><tr>";
}
$lis6 = explode("|", $listw[$i][wr_6]);
if ($listw[$i][wr_4]) {
if ($listw[$i][wr_4] == 1) {
$span_f = "style='color:#484648; font:bold;'";
}elseif ($listw[$i][wr_4] == 2) {
$span_f = "style='color:#484648'";
}elseif ($listw[$i][wr_4] == 3) {
$span_f = "style='color:#484648; font:bold;'";
}
} else {
$span_f = "style='color:#222222;'";
}
if ($is_admin == "super") {
if ($listw[$i][wr_8] < $g4[server_time]) {
$sty = "style='background:$colors;'";
} else {
$sty = "";
}
}else{
$sty = "";
}
?>
<td>
<table width=100% border=0>
<tr>
<td align=center width=110> <font color= #3B7BB2 >
<b><?=$listw[$i][wr_name]?></font></b> </td>
<td style="line-height:200%;">
<img src="<?=$board_skin_path?>/imgs/latest_icon.gif"> <?=$marquee_f?><a href='<?=$listw[$i][href]?>' <?=$span_f?>><?=cut_str($listw[$i][wr_subject],80,"")?></a>
<br><?if ($lis6[0]==1)echo"천안"; else echo"아산";?> <?=$lis6[1]?> 등록일: <?=substr($listw[$i][wr_datetime],2,8)?>
<br>
<font color= #BBBCBD >분류: <?=$listn[$i][ca_name]?> 조회수: <?=number_format($listw[$i][wr_hit])?></font><?=$marquee_e?>
<?=number_format($listw[$i][wr_hit])?>
</td>
</tr></table>
</td>
<? } ?>
</tr>
</table>
이정도로 하셔서 디자인 다듬으시면 될듯합니다.