고수분만 답변 부탁드립니다. > 그누3질답

그누3질답

고수분만 답변 부탁드립니다. 정보

고수분만 답변 부탁드립니다.

본문

최신글 소스 인데요 다음 소스에서 카테고리 표시는 어떻게 해야 하나요?
카테고리: '.$list[$i][ca_name].'  이렇게 했는데 안보이네요
급합니다. 제발좀 도와주세요


<?
$java_script = "";
for ($i=0; $i<count($list); $i++) {
$linker = "./?doc=bbs/gblink.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}&index=1";
if ($list[$i][file_image1]=="") $list[$i][file_image1]=noimage;
$mclub='<table style="font-family:굴림; color:rgb(51,51,51); line-height:150%;" width=100% cellpadding=1 cellspacing=0 border=0><tr><td width="170" align=center><a href='.$list[$i][href].'><img src=\"'.$list[$i][file_image1].'\" width=\"130\" height=\"167\" border=0></a></td><td width="150" align=left><p style="line-height:180%;"><font color=\"#005cab\">  <b><span style="font-size:9pt;"><font color="#FF9900">⊙</font> 아이디:</b> <b>'.$list[$i][subject].'</b></font></b><br> <b><span style="font-size:9pt;"><font color="#FF9900">⊙</font></b> 카테고리: '.$list[$i][ca_name].'<br> <b><span style="font-size:9pt;"><font color="#FF9900">⊙</font></b> 출생년도: '.$list[$i][wr_2].'<br><b> <span style="font-size:9pt;"><font color="#FF9900">⊙</font></b> 직업: '.$list[$i][wr_6].'<br> <b><span style="font-size:9pt;"><font color="#FF9900">⊙</font></b> 학력: '.$list[$i][wr_5].'<br> <b><span style="font-size:9pt;"><font color="#FF9900">⊙</font></b> 거주지: '.$list[$i][wr_4].'<br> <b><span style="font-size:9pt;"><font color="#FF9900">⊙</font></b> 신장: '.$list[$i][wr_3].'</font></p></td></tr></table>';
$java_script .= "scroll_content[$i]='$mclub'\n";
}
echo $java_script;
?>
  • 복사

댓글 전체

카테고리 이름은 다른 디비 테이블에 따로 저장 되고
최신글 추출시 카테고리 이름은 불러오지 않습니다.
lib/latest.lib.php 파일을 수정해야 합니다.
© SIRSOFT
현재 페이지 제일 처음으로