".fncStrCut(strip_tags($data['bbs_subject']),36)."".substr($data['bbs_wdate'],5,5)." "; $knum++; } For ($jnum = $knum ; $jnum < 6 ; $jnum++) { echo "   "; } } Else { For ($jnum = 0 ; $jnum < 6 ; $jnum++) { echo "   "; } } } Function fncTitleimg($id){ $Query = "SELECT cfg_titleimg FroM tblbbsconfig WHERE cfg_id='".$id."' "; $data = fncDbRow1($Query); if($data['cfg_titleimg']<>""){ echo ""; }else{ echo "Noimage"; } } Function fncMainBbsImg($id) { If ($id == 'pg6_gallery') { //공지사항 $LinkURL = "/program/pg6_gallery.php?code=customer&subp=01&bbsid=".$id."&gbn=view&ix="; } $Query = "SELECT b.bbs_subject, a.cfg_id, a.bbs_fname, a.bbs_idx, b.bbs_wdate, b.bbs_name, b.bbs_hit FroM tblbbsfile a, tblbbs b WHERE a.bbs_idx=b.bbs_idx and b.cfg_id='".$id."' ORDER BY a.bbs_num desc limit 5"; $Arrdata = fncDbQuery($Query); If (fncIsData($Arrdata)) { $knum = 0; while($data = mysql_fetch_array($Arrdata,MYSQL_ASSOC)) { $bbs_subject = fncStrCut($data['bbs_subject'],16); echo " "; echo " "; echo " "; echo " "; echo " "; echo " "; echo " "; echo " "; echo "
"; echo " ".$data["; echo "
"; echo " "; echo " "; echo " "; echo " "; echo "
".$bbs_subject."
".$data['bbs_name']."
D: ".substr($data['bbs_wdate'],0,10)." / H: ".$data['bbs_hit']."
"; echo "
"; echo " "; $knum++; } For ($jnum = $knum ; $jnum < 5 ; $jnum++) { echo " "; echo " "; echo " "; echo " "; echo " "; echo " "; echo " "; echo " "; echo "
"; echo " "; echo "
"; echo " "; echo " "; echo " "; echo " "; echo "
 
"; echo "
"; echo " "; } } Else { For ($jnum = 0 ; $jnum < 5 ; $jnum++) { echo " "; echo " "; echo " "; echo " "; echo " "; echo " "; echo " "; echo " "; echo "
"; echo " "; echo "
"; echo " "; echo " "; echo " "; echo " "; echo "
 
"; echo "
"; echo " "; } } } ?> 녹색교육센터
 
 
 
   
 
 
홈 > 교육프로그램 > 녹색명상
 
 
알림마당
 
이야기마당
 
 
 
사진마당