<?
$g4_path = ".."; // 상대 경로
include_once("$g4_path/common.php");
$sql_common = " from $g4[board_table] a where (1) and bo_use_search = '1' ";
$sql = " select count(*) as cnt $sql_common";
$row = sql_fetch($sql);
$total_count = $row[cnt];
$sql = " select * $sql_common";
$result = sql_query($sql);
$g4[title] = "포인트정책";
include_once("$g4[path]/head.php");
?>
<style>
.tbline1 { border-top: 1px solid #D7D7D7; border-left: 1px solid #D7D7D7; }
.tbline2 { border-right: 1px solid #D7D7D7; border-bottom: 1px solid #D7D7D7; }
</style>
* 회원가입시 : <?=$config[cf_register_point]?> 점<br />
* 회원추천시 : <?=$config[cf_recommend_point]?> 점<br />
* 회원로긴시 : <?=$config[cf_login_point]?> 점 (하루 한번만 가능)<br /><br />
각 게시판별로 글읽기, 글쓰기, 코멘트쓰기(답변쓰기), 다운로드시 포인트 가감 점수가 틀리므로 아래 표를 참고하세요.
[게시판수 : <?=number_format($total_count)?>개]
<table width="98%" cellpadding="5" cellspacing="0" class="tbline1">
<tr align="center">
<td class="tbline2">게시판명</td>
<td class="tbline2">글읽기</td>
<td class="tbline2">글쓰기</td>
<td class="tbline2">코멘트쓰기</td>
<td class="tbline2">다운로드</td>
</tr>
<? for ($i=0; $row=sql_fetch_array($result); $i++) { ?>
<tr>
<td class="tbline2">
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$row[bo_table]?>'><?=$row[bo_subject]?></a>
</td>
<td align="right" class="tbline2"><?=$row[bo_read_point]?> 점</td>
<td align="right" class="tbline2"><?=$row[bo_write_point]?> 점</td>
<td align="right" class="tbline2"><?=$row[bo_comment_point]?> 점</td>
<td align="right" class="tbline2"><?=$row[bo_download_point]?> 점</td>
</tr>
<? } if ($i == 0) echo "<tr><td colspan=5 align=center height=100>자료가 없습니다.</td></tr>"; ?>
</table>
<?
include_once("$g4[path]/tail.php");
?>
어디 사용하시는지 아시죠...??? 상대경로 설정하시는거 필수 입니다.
디자인은 각자 개개인의 몫으로 돌립니다.
$g4_path = ".."; // 상대 경로
include_once("$g4_path/common.php");
$sql_common = " from $g4[board_table] a where (1) and bo_use_search = '1' ";
$sql = " select count(*) as cnt $sql_common";
$row = sql_fetch($sql);
$total_count = $row[cnt];
$sql = " select * $sql_common";
$result = sql_query($sql);
$g4[title] = "포인트정책";
include_once("$g4[path]/head.php");
?>
<style>
.tbline1 { border-top: 1px solid #D7D7D7; border-left: 1px solid #D7D7D7; }
.tbline2 { border-right: 1px solid #D7D7D7; border-bottom: 1px solid #D7D7D7; }
</style>
* 회원가입시 : <?=$config[cf_register_point]?> 점<br />
* 회원추천시 : <?=$config[cf_recommend_point]?> 점<br />
* 회원로긴시 : <?=$config[cf_login_point]?> 점 (하루 한번만 가능)<br /><br />
각 게시판별로 글읽기, 글쓰기, 코멘트쓰기(답변쓰기), 다운로드시 포인트 가감 점수가 틀리므로 아래 표를 참고하세요.
[게시판수 : <?=number_format($total_count)?>개]
<table width="98%" cellpadding="5" cellspacing="0" class="tbline1">
<tr align="center">
<td class="tbline2">게시판명</td>
<td class="tbline2">글읽기</td>
<td class="tbline2">글쓰기</td>
<td class="tbline2">코멘트쓰기</td>
<td class="tbline2">다운로드</td>
</tr>
<? for ($i=0; $row=sql_fetch_array($result); $i++) { ?>
<tr>
<td class="tbline2">
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$row[bo_table]?>'><?=$row[bo_subject]?></a>
</td>
<td align="right" class="tbline2"><?=$row[bo_read_point]?> 점</td>
<td align="right" class="tbline2"><?=$row[bo_write_point]?> 점</td>
<td align="right" class="tbline2"><?=$row[bo_comment_point]?> 점</td>
<td align="right" class="tbline2"><?=$row[bo_download_point]?> 점</td>
</tr>
<? } if ($i == 0) echo "<tr><td colspan=5 align=center height=100>자료가 없습니다.</td></tr>"; ?>
</table>
<?
include_once("$g4[path]/tail.php");
?>
어디 사용하시는지 아시죠...??? 상대경로 설정하시는거 필수 입니다.
디자인은 각자 개개인의 몫으로 돌립니다.
댓글 17개
게시글 목록
| 번호 | 제목 |
|---|---|
| 620 | |
| 605 | |
| 594 | |
| 590 | |
| 589 | |
| 578 | |
| 563 | |
| 551 | |
| 550 | |
| 542 | |
| 536 | |
| 531 | |
| 529 | |
| 522 | |
| 511 | |
| 497 | |
| 471 | |
| 467 | |
| 466 | |
| 479 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기