사용자단 따옴표 작업 bbs/write_update.php 할 차례

This commit is contained in:
whitedot
2012-11-30 19:10:49 +09:00
parent 68ae98cd95
commit de88c60cd2
54 changed files with 1264 additions and 1247 deletions

View File

@ -2,22 +2,22 @@
// 상대 경로
$g4_path = '..';
include_once($g4_path.'/common.php');
include_once("$g4['path']/lib/latest.lib.php");
include_once($g4['path'].'/lib/latest.lib.php');
$g4['title'] = $group[gr_subject];
include_once('./_head.php');
?>
<!-- 메인화면 최신글 시작 -->
<table width="100%" cellpadding=0 cellspacing=0>
<table>
<tr>
<td valign=top>
<td>
<?
// 최신글
$sql = " select bo_table, bo_subject from $g4[board_table]
where gr_id = '$gr_id'
and bo_list_level <= '$member[mb_level]'
order by bo_table ";
$sql = " select bo_table, bo_subject from {$g4[board_table]}
where gr_id = '{$gr_id}'
and bo_list_level <= '{$member[mb_level]}'
order by bo_table ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
@ -25,8 +25,8 @@ include_once('./_head.php');
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
echo latest("basic", $row[bo_table], 5, 70);
echo "<p>";
echo latest('basic', $row[bo_table], 5, 70);
echo '<p>';
}
?>
</td>