' ; endif ; include "top.php"; include "header_add.php"; //////////////////// show useronline if ( $useuseronline == 'y' ) : include_once ("usersonline.php"); $visitors_online = new usersOnline(); $uol = $visitors_online->count_users() ; $todayip = $visitors_online->todayip() ; $yesterdayip = $visitors_online->yesterdayip() ; $thismonthip = $visitors_online->thismonthip() ; $thisyearip = $visitors_online->thisyearip() ; $totalip = $visitors_online->totalip() ; echo '
'; echo ''; echo '
'; echo ''; echo ' '.$tuseronline.'    : '.$uol.'   '.$ttoday.'    : '.$todayip.'    '.$tyesterday.'    : '.$yesterdayip.'    '.$tthismonth.'    : '.$thismonthip.'    '.$tthisyear.'    : '.$thisyearip.'    '.$tsinceopened.'    : '.$totalip.'  
'; endif ; //////////////////////////////////////////////// end of useronline //////////////////////////////// /* if ( $useuseronline == 'y' ) : include_once ("usersonline.php"); $visitors_online = new usersOnline(); $uol = $visitors_online->count_users() ; // $todayip = $visitors_online->todayip() ; // $yesterdayip = $visitors_online->yesterdayip() ; // $thismonthip = $visitors_online->thismonthip() ; // $thisyearip = $visitors_online->thisyearip() ; $totalip = $visitors_online->totalip() ; // $countmember = $visitors_online->count_users_member() ; if (!isset($countmember )) : $countmember = 0 ; endif ; $uol = $uol - $countmember ; ///////////////////// show useronline */ //include 'set.php'; // ถ้าเอาไว้ใต้ top เมนู top จะเท่ากันเป๊ะเแม้จะเปลี่ยนไปหน้าอื่น //ถ้าจะใช้ต้องแน่ใจว่า มีข้อมูลเพราะมันจะทำให้ช้าลงหลายวิ //include "showmsg.php" ; //echo "
";
////////// ตัวที่ให้เลือกภาษาอยู่ที่นี่
			$jfm = $_REQUEST['jfm']   ;//				$lang = $_REQUEST['lang']   ;//				$brow = $_REQUEST['brow']   ;



if (substr($instcode,0,1) == 'v' ) : 
	$useart = 'n' ; 
	$useper = 'n';
endif ; 

if ($instcode == 'iais' or $instcode == 'iaia' ) : $useart = 'n' ; 	$useper = 'n'; endif ; 

include "langmix.php";


if ($instcode == 'sdebs' or $instcode == 'ippch') :

else :
	echo "
" ;// ถ้าต้องการให้มีวิธีค้น ก็เอา ตัวเครื่องหมายคำถามไปชิดกับ เครื่องหมายมากกว่่า ? > | "; $xx1 = 'n' ; if ( $useart == 'n' and $useper == 'n') : else : if ($instcode == 'iyarn') : else : $xx1 = 'y' ; if (strtolower($lang) == 'eng'): if ($cta == 'cat') : echo ""; else : echo " "; endif ; else : if ($instcode == 'ishin') : if ($cta == 'cat') : echo ""; else : echo " "; endif; else : if ($cta == 'cat') : echo ""; else : echo " "; endif ; endif ; endif ; endif ; endif; if ( $useart != 'n' ) : if ($xx1 == 'y') : echo " " ; endif ; if (strtolower($lang) == 'eng'): if ($cta == 'art') : echo ""; else : echo " "; endif; else : if ($instcode == 'ishin') : if ($cta == 'art') : echo ""; else : echo " "; endif ; else : if ($cta == 'art') : echo ""; else : echo " "; endif; endif ; endif ; endif ; if ( $useper != 'n' ) : if (strtolower($lang) == 'eng'): if ($cta == 'jour') : echo ""; else : echo " "; endif ; else : if ($instcode == 'ishin') : if ($cta == 'jour') : echo ""; else : echo " "; endif ; else : if ($cta == 'jour') : echo ""; else : echo " "; endif; endif ; endif ; endif ; endif; /* if ( $useper != 'n' ) : if (strtolower($lang) == 'eng'): echo " "; else : echo " "; endif ; endif ; */ if ($instcode == 'iptro' ) : if (strtolower($lang) == 'eng'): echo " "; else : echo " "; endif ; endif ; if ($instcode == 'spaya' ) : if ($lang == 'eng') : $tabpaya = 'Abstract' ; else : $tabpaya = 'บทคัดย่องานวิจัยและวิทยานิพนธ์' ; endif ; echo " ".$tabpaya." "; endif ; // ถ้าเอา พรบ. ก็เอาอันนี้ออก if ($useprb == 'y' ) : if (strtolower($lang) == 'eng'): echo " ".$tprb." "; else : echo " ".$tprb." "; endif ; endif ; if ($useboard == 'y' ) : echo " "?> "; echo " "?> "; endif ; if ($instcode == 'iicpd') : echo " สถานะห้องสมุด "; endif; //////////// //if ($instcode == 'iyarn') : $cta = 'art' ; endif ; if ($instcode == 'iyarn' and $cta == 'cat') : $cta = 'art' ; endif ; echo "
" ; if ($instcode == 'icoop' ) : // for กรมส่งเสริมสหกรณ์ ?> "; if ($cta == 'cat' ) : if ($jfm =='complex') : if ($instcode == 'sdebs' or $instcode == 'iaia' ) : else : // echo "
".$tsefrom." " .$tindex."
" ; endif ; include "searchonlycat.php"; else : if ($instcode == 'sdebs' or $instcode == 'iaia' ) : else : // echo "
 ".$tsefrom." " .$tresc.""; include "old.php" ; echo "
" ; endif ; include "searchonlycat_onecon.php"; endif ; elseif ($cta == 'art' ) : if ($jfm =='complex') : if ($instcode == 'sdebs' or $instcode == 'iaia' ) : else : // echo "
".$tsefrom." " .$tindex."
" ; include "searchonlyart.php"; endif ; else : if ($instcode == 'sdebs' or $instcode == 'iaia' ) : else : // echo "
 ".$tsefrom." " .$tindex.""; include "old.php" ; echo "
" ; endif ; include "searchonlyart_onecon.php"; endif ; elseif ($cta == 'jour' ) : // echo "
".$tsefrom." " .$tjour."
" ; include "searchonlyjour.php"; elseif ($cta == 'prb' ) : // echo "
 ".$tsefrom." " .$tprb.""; include "old.php" ; echo "
" ; include "searchonlyprb.php"; endif ; ?>
"; ?> "; $whatx = 'allgmd' ; $reptitle = 'จำนวนวัสดุสารนิเทศแยกตามประเภทวัสดุ'; echo ''; echo ""; $whatx = 'alldewey' ; $reptitle = 'จำนวนวัสดุสารนิเทศแยกตามหมวดหมู่'; echo '   '; echo ""; */ include ("footer.php") ; ?>