define('SITE', true);
include_once($_SERVER[DOCUMENT_ROOT]."/2018/CONFIG/const.php");
define("__CASTLE_PHP_VERSION_BASE_DIR__", HOME_DIRECTOY."/web_boan/");
include_once(__CASTLE_PHP_VERSION_BASE_DIR__ . "/castle_referee.php");
include_once($_SERVER[DOCUMENT_ROOT]."/2018/NEW_MASTER/DB_CON.PHP");
include_once($_SERVER[DOCUMENT_ROOT]."/2018/FUNC/FUNC.php");
$tbl_name="news";
include_once($_SERVER[DOCUMENT_ROOT]."/2018/board/inc/list_top.php");
$_dep = array(3,1);
$_tit = array('공공시장 정보','새소식');
include_once './inc/pub.config.php';
include_once PATH.'/inc/common.php';
?>
번호 |
제목 |
등록일 |
조회수 |
//*********리스트 출력*************//
for($i=$start;$i<$end;$i++) { //현재 페이지에 해당 하는 리스트만 출력
$row=mysql_fetch_object($result);
echo mysql_error();
$title=stripslashes($row->bbs_title);
$title=strcut_utf8($title,200);
if($row->bbs_name=="관리자") {
$view_name="관리자";
} else if($name!="관리자"){
$view_name=$name;
}
if($row->ck=="1") {
$num="공지";
$cls="notice";
$cls2="icon_notice";
} else {
$num=$eee;
$cls="";
$cls2="";
}
if($row->screet=="on") $s_im=" ";
else $s_im="";
if($row->bbs_tab > 0) $cls="tit re";
else $cls="tit";
if($view_name !="관리자") {
$vpass=substr($view_name,0,3)."*".substr($view_name,6,8);
} else {
$vpass=$view_name;
}
?>
|
|
|
|
|
}?>