최신글에 <UL><LI> 부분이 출력이 안됩니다. > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

최신글에 <UL><LI> 부분이 출력이 안됩니다. 정보

최신글에 <UL><LI> 부분이 출력이 안됩니다.

본문



위의 그럼처럼 내용을 입력을 했는데 상세보기페이지에서는 아래의 링크처럼 제대로 보입니다.

http://www.truemobile.com/webgamja/bbs/board.php?bo_table=sub_02_02&wr_id=15

근데 메인페이지에서 최근글로 불러오면 아래 링크처럼 UL LI 부분 태크가 출력이 안되는데 어떻게 해야 할까요?

http://www.truemobile.com/main/main.html

아시는분 계시면 좀 알려주세요!!

최근글 소스는 아래에 복사해서 붙이겠습니다.

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

$cols  = 2; //  이미지 가로갯수 //  이미지 세로 갯수는 메인에서 지정(총 이미지 수)
$imgwidth=120; //표시할 이미지의 가로사이즈
$imgheight=180; //표시할 이미지의 세로사이즈
$image_h  = 15; // 이미지 상하 간격

$col_width = (int)(99 / $cols);

$data_path = $g4[path]."/data/file/$bo_table";
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
    <tr>
        <td height="89">
            <table width="100%" border="0" cellpadding="0" cellspacing="4" bgcolor="#FFFFFF">
                <tr>
                    <td align=center valign="top" bgcolor="#FFFFFF" style="padding:0px" height="71">   

<!-- 최신글 제목 -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>

<? for ($i=0; $i<count($list); $i++) {
  if ($i>0 && $i%$cols==0) { echo "</tr><tr><td colspan='$cols' height='$image_h'></td></tr><tr>"; }
?>

<td width="<?=$col_width?>%" align="center" valign='top'>

<?

$image = $list[$i][file][0][file]; //원본
$img=$data_path. "/".$image;  //썸네일이 없을경우 원본출력

     echo $list[$i][icon_reply] . " ";
  echo "<table width='100%' height='180' style='table-layout:fixed' cellpadding='0' cellspacing='0' border='0'>";
  echo "<tr><td valign='top' align='center'><a href='{$list[$i]['href']}'><img src='$img' width='{$imgwidth}' height='{$imgheight}' align='absmiddle' style='width:{$imgwidth}px;height:{$imgheight}px;border:0px solid #51b0c3; padding:0px'></a></td>";
  echo "<td align='left' height='21' valign=top style='padding-left:10;'><a href='{$list[$i]['href']}'><span style='font-size:9pt;'><b>{$list[$i]['subject']}</b></span></a><br>{$list[$i][wr_content]}</td></tr></table>";

?>
</td>
<? } ?>

<?
$cnt = ($i%$cols);
for ($k=$cnt; $k<$cols && $cnt; $k++) {
    echo "<td width=$col_width%> </td>";
}
?>

  <? if (count($list) == 0) { echo "<td align=center>등록된 제품이 없습니다.</td>"; } ?>
  </tr>
  <tr>
                                <td width="1%" height="1" align="center" valign="top">
                                    <tr>
                                        </td></tr>
</table>

</td></tr>
</table>
</td></tr>
</table>

댓글 전체

소스를 보니까 위에 스타일이 정의되어 있네요^^

<style type="text/css">
ul, li { list-style:none; margin:0; padding:0;}  <== list-style:none 없애시고 이 부분을 적당히 고쳐 보세요.
#ifocus { width:653px; height:350px; margin:0px; border:0px }
#ifocus_img { display:inline; position:relative; float:left; width:653px; height:350px; border:0px; overflow:hidden; }
#ifocus_imglist { position:absolute; }
#ifocus_imglist li { width:653px; height:350px; overflow:hidden; }
#ifocus_imglist img { width:653px; height:350px;}
#ifocus_ico { display:inline; float:center; width:1px;}
#ifocus_ico li { width:10px; height:57px; cursor:pointer; opacity:0.5; -moz-opacity:0.5; filter:alpha(opacity=50); }
#ifocus_ico img { width:653px; height:350px; }
#ifocus_ico .current { background: url('../webgamja/skin/latest/latest_onetap07/image/ifocus_ico_bg.gif') no-repeat; opacity:1; -moz-opacity:1; filter:alpha(opacity=100); }
#ifocus_subjbar { position:absolute; left:0; bottom:0; width:653px; height:30px; background:#000; opacity:0.5; -moz-opacity:0.5; filter:alpha(opacity=50); }
#ifocus_subject { position:absolute; left:8px; bottom:5px; color:#FFFFFF; font-weight:bold;}
#ifocus_subject .normal { display:none; }
</style>
전체 16 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT