쇼핑몰: 커뮤니티 페이지 마크업 수정

This commit is contained in:
whitedot
2013-07-02 09:21:33 +09:00
parent 447ffa0c85
commit d35cdb30ce
12 changed files with 3 additions and 17 deletions

View File

@ -10,38 +10,24 @@ $g4['title'] = '커뮤니티';
include_once('./_head.php');
?>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<?php
// 최신글 시작
$sql = " select bo_table, bo_subject from {$g4['board_table']} order by gr_id, bo_table ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
// tr 바꾸기
if (($i > 0) && ($i % $list_mod == 0))
echo "</tr><tr>";
echo "
<td width=50% valign=top>
<table width=98% cellpadding=0 cellspacing=0 align=center>
<tr>
<td colspan=2>";
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
// 스킨은 입력하지 않을 경우 운영자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
echo latest("", $row['bo_table'], $list_row, $subject_len);
echo latest(shop_basic, $row['bo_table'], $list_row, $subject_len);
echo "</td></tr></table><br></td>";
echo "";
}
if ($i > 0 && ($i % $list_mod == 1))
echo "<td width=50% valign=top>&nbsp;</td>";
echo '';
?>
</tr>
</table>
<?php
include_once('./_tail.php');

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B