도움 구걸합니다ㅣ > 그누4 질문답변

그누4 질문답변

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

도움 구걸합니다ㅣ 정보

도움 구걸합니다ㅣ

본문

최근게시물의 이름을 김**님 처럼
성을 뺀 마너지는 *표시를 하고 싶습니다  <?=$is_admin=='super'? $list[$i][name]:cut_str($list[$i][name],2).'**'?>  인거는 알겠는데 소스가 약간 틀려서 아래 소스에 맡게 할려면 어케하는지요 ㅠㅠ

디자이너인네 php는 젬병이라 ㅠㅠ 도움 구걸합니다ㅣ

<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
    <td colspan=4 align=center>
        <table width=100%>
        <tr>
            <td height=20>
            <?
            echo $list[$i]['icon_reply'] . " ";
            echo "<a href='{$list[$i]['href']}'>";
            if ($list[$i]['is_notice'])
                echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
            else
                echo
"
<table width=100% cellpadding=0 cellspacing=0>
              <tr>
    <td class=mems width=25%>- ******님<td>
    <td class=mems width=10%>{$list[$i]['wr_1']}<td>
<td class=mems width=20%>{$list[$i]['wr_2']}<td>
<td class=mems width=10%>{$list[$i]['wr_3']}<td>
<td class=mems width=10%>{$list[$i]['wr_4']}<td>
<td class=mems width=10%>{$list[$i]['wr_5']}<td>
<td class=mems width=15%>{$list[$i]['wr_6']}<td>
  </tr>
</table>

";
            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>";

            ?></td></tr>
        </table></td>
</tr>
<? } ?>

<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>

</table>
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로