■ 신문기사 >

",$nsstorycomment); $nsstorynocomment = ereg_replace("<img","",$nsstorynocomment); // 제목 글자수 자르기 $str0=$nsstorytitle; $length0=30; ///////////////////////////////////////////////////////////////////////// 필요할 경우 수정 $str0 = chop(substr($str0, 0, $length0)); preg_match('/^([\x00-\x7e]|.{2})*/', $str0, $nsstorytitle); // 그림 있는 내용 글자수 자르기 $str1=$nsstorycomment; $length1=150; ///////////////////////////////////////////////////////////////////////// 필요할 경우 수정 $str1 = chop(substr($str1, 0, $length1)); preg_match('/^([\x00-\x7e]|.{2})*/', $str1, $nsstorycomment); // 그림 없는 내용 글자수 자르기 $str2=$nsstorynocomment; $length2=300; ///////////////////////////////////////////////////////////////////////// 필요할 경우 수정 $str2 = chop(substr($str2, 0, $length2)); preg_match('/^([\x00-\x7e]|.{2})*/', $str2, $nsstorynocomment); $nsstoryfilename=$nsrow[filename]; $nsfilepix=$nsrow[filepix]; $uriggano=$urigga%2; if($uriggano==0) { ?>

...

...

 

10){ ?> \n"); ?> \n"); } ?>
No  관련 기사 제목 기자 날짜
"; }else{ echo " "; } echo ""; $type=$row[filetype]; if($row[filename]){ if ($type=="image/gif"){ echo " "; }elseif($type=="image/pjpeg"){ echo " "; }elseif($type=="image/x-png"){ echo " "; }elseif($type=="image/bmp"){ echo " "; }else{ echo " "; } } if( $step ) { echo ""; } echo "$storytitle "; echo " "; $day=explode(" ",$row[date]); $today=date("Y-m-d"); if($day[0] == $today){ echo ""; } echo ""; echo (" "); echo ("
 
[이전10page] \n"; } for( $i=$nowpage; $i<=$nowpageend; $i++) { $nowoffset=$limit*($i-1); if($numrows >= $nowoffset) { if ($offset != $nowoffset ){ echo ""; echo "[$i]"; echo ""; } else { echo " "; echo ""; echo $i; echo ""; echo " "; } } } if($numrows >= $hanoffsetpage) { echo " [다음10page]\n"; } ?>   

>   &boardname=>    9){ ?>   사진첨부
&find=&search=&boardname= method=post name=musimsl onSubmit="return musimsl_check(this);">