include "mtop_head_v2.php"; ?> include "mtop_body.php"; ?>
function format_date($time){ $t=time()-$time+1; $f=array( '31536000'=>'년 전', '2592000'=>'개월 전', '604800'=>'주 전', '86400'=>'일 전', '3600'=>'시간 전', '60'=>'분 전', '1'=>'초 전' ); foreach ($f as $k=>$v) { if (0 !=$c=floor($t/(int)$k)) { return $c.$v; } } } $by=$_GET['by']; $dw = $argv[1]; $delbbs=array(); /* if ($dw==0) $delbbs=array('1admin','1cebbs','yretsym'); if ($dw==1) $delbbs=array('mento','sjtalk','ob','funlife','offline','1admin','1cebbs','yretsym'); if ($dw==2) $delbbs=array('talk2','sjtalk','ob','funlife','offline','1admin','1cebbs','yretsym'); if ($dw==3) $delbbs=array('talk2','mento','sjtalk','ob','funlife','offline','1admin','1cebbs','yretsym'); if ($dw==4) $delbbs=array('club','mento','sjtalk','ob','funlife','offline','1admin','1cebbs','yretsym'); if ($dw==5) $delbbs=array('club','talk2','sjtalk','ob','funlife','offline','1admin','1cebbs','yretsym'); if ($dw==6) $delbbs=array('club','talk2','mento','sjtalk','ob','funlife','offline','1admin','1cebbs','yretsym'); if ($dw==7) $delbbs=array('club','mento','sjtalk','1admin','1cebbs','yretsym'); if ($dw==8) $delbbs=array('club','talk2','sjtalk','1admin','1cebbs','yretsym'); if ($dw==9) $delbbs=array('club','talk2','mento','sjtalk','1admin','1cebbs','yretsym'); if ($dw==10) $delbbs=array('club','talk2','mento','jobs','1admin','1cebbs','yretsym'); if ($dw==11 || !$dw) $delbbs=array('club','talk2','mento','sjtalk','ob','funlife','offline','gosi','plaza','pb','1test','vt','gra','lawschool','pegasusb_a2157','jobs','1admin','1cebbs','yretsym'); */ if ($dw==0 || !$dw) { $delbbs=array('ob','funlife','offline','talk2','1admin','1cebbs','yretsym'); } else { $delbbs=array('club','talk2','1admin','1cebbs','yretsym'); } $today = mktime(); $bestdata = $today-(60*60*24); $now_time = time();// 현재시간 $a=0; ?> //if (!$member[no]) { error("로그인이 필요합니다."); } ?> //if ($member[level]>8) { error("이용권한이 없습니다."); } ?> $posi=$_REQUEST[posi]; $posi=urldecode($posi); if (!is_numeric($posi)) { $posi=0; } /* 기본 */ $q="select * from camf_board "; $q.=" where no= ".$no." "; $query=mysql_query($q); $page=0; $data=mysql_fetch_array($query); ?> if ($os_now) { ?> } ?> include "../skku_bnr_m.php"; ?> if ($data[file_name]) { $imgurlist=explode(",",$data[file_name]); } else { $imgurlist=""; } $imgurlist_thumb=str_replace('[','',$imgurlist[0]); $imgurlist_thumb=str_replace(']','',$imgurlist_thumb); //$title = $title_bbs[$data[bbs_id]]; //게시판 TITLE 저장 $target = "view_m.php?no=".$data[no]."&back=1"; //타겟 설정 $thumb='https://firebasestorage.googleapis.com/v0/b/bamboo-3c4f7.appspot.com/o/post_'.$imgurlist_thumb.'?alt=media&token=4673c5ce-56ab-4c1d-b6a0-8d1c2886a11d'; $original='https://firebasestorage.googleapis.com/v0/b/bamboo-3c4f7.appspot.com/o/'.$imgurlist_thumb.'?alt=media&token=4673c5ce-56ab-4c1d-b6a0-8d1c2886a11d'; ?>
Warning: Use of undefined constant reg_date - assumed 'reg_date' (this will throw an Error in a future version of PHP) in /home/skku/htdocs/bbs/view_m.php on line 210
Notice: Undefined variable: data in /home/skku/htdocs/bbs/view_m.php on line 210
1970-01-01 00:00:00