arrow Wednesday, 01 June 2016  
ѭѡɳõ
5 ͺ 60
çѹͧҨҡҪ㹾鹷ѧѴɮҹ çѹͧҨҡҪ㹾鹷ѧѴɮҹ
ç 㹻 2558 ç 㹻 2558
ҪèѧѴ
˹ѡ ˹ѡ
ºèѧѴ ºèѧѴ
áԨҪèѧѴ áԨҪèѧѴ
ҧѴ¼ ҧѴ¼
˹ѧ¹/ǹŴ
СûЪзǧҴ СûЪзǧҴ
ػ觡ûЪ . ػ觡ûЪ .
СûЪ˹ǹ СûЪ˹ǹ
§ҹûЪ˹ǹ §ҹûЪ˹ǹ
СûЪ蹤 СûЪ蹤
§ҹûЪ蹤 §ҹûЪ蹤
Ъ Ⱦ..ʮ. Ъ Ⱦ..ʮ.
ûЪ ...ʮ. ûЪ ...ʮ.
ǹŴ˹ѧ ǹŴ˹ѧ
ǹŴ ǹŴ
 ... ...
ԷԹûЪ˹ǹҪ ԷԹûЪ˹ǹҪ
ŢѾ
º˹ǹ º˹ǹ

calanda.gif

web link suratthani
зǧҴ зǧҴ
зǧ зǧ
зǧäѧ зǧäѧ
зǧҸóآ зǧҸóآ
зǧ֡Ҹԡ зǧ֡Ҹԡ
зǧçҹ зǧçҹ
зǧҳԪ зǧҳԪ
зǧɵˡó зǧɵˡó
зǧصˡ зǧصˡ
зǧصԸ зǧصԸ
зǧ÷ͧ зǧ÷ͧ
зǧѾҡøҵ зǧѾҡøҵ
зǧѲѧ зǧѲѧ
.෤ʹ .෤ʹ
зǧѧҹ зǧѧҹ
зǧѲ зǧѲ
зǧҤ зǧҤ
ӹѡ¡Ѱ ӹѡ¡Ѱ
صԸ صԸ
ӹѡ¡٧ش ӹѡ¡٧ش
ӹѡҹǨ觪ҵ ӹѡҹǨ觪ҵ
ӹѡоطʹ觪ҵ ӹѡоطʹ觪ҵ
ѰˡԨ ѰˡԨ
ͧǹͧ, ͧǹͧ,
ͧ ͧ
ʶҺѹҧ֡ ʶҺѹҧ֡
ʶҺѹҧʹ ʶҺѹҧʹ
áԨ-͡ áԨ-͡
sitemap
ѧ䫵 ѧ䫵
ػ
ػѧѴ ػѧѴ
ػ ػ
ѵͧ ѵͧ
ؤӤѭͧѧѴ ؤӤѭͧѧѴ
ʶҹͧ ʶҹͧ
Թҧ Թҧ
ç-ѡ ç-ѡ
Web Link ҤѰ
ҹɰԨ ҹɰԨ
ҹѧ ҹѧ
ҹͧûͧ ҹͧûͧ
ҹú ҹú
get('menutype') ? strval( $params->get('menutype') ) : "mainmenu"; $parentid=@$params->get('parentid') ? strval( $params->get('parentid') ) : "0"; $levels=@$params->get('levels') ? strval( $params->get('levels') ) : "25"; $query = "SELECT * FROM #__swmenufree_config WHERE id = 1"; $database->setQuery( $query ); $new_data = $database->query(); $swmenufree= mysql_fetch_assoc($new_data); $navigator_user_agent = ( isset( $_SERVER['HTTP_USER_AGENT'] ) ) ? strtolower( $_SERVER['HTTP_USER_AGENT'] ) : ''; if (!stristr($navigator_user_agent, "msie")|| stristr($navigator_user_agent, "opera")){ $padding1 = explode("px", $swmenufree['main_padding']); $padding2 = explode("px", $swmenufree['sub_padding']); for($i=0;$i<4; $i++){ $padding1[$i]=trim($padding1[$i]); $padding2[$i]=trim($padding2[$i]); } if($swmenufree['main_width']!=0){$swmenufree['main_width'] = ($swmenufree['main_width'] - ($padding1[1]+$padding1[3]));} if($swmenufree['main_height']!=0){$swmenufree['main_height'] = ($swmenufree['main_height'] - ($padding1[0]+$padding1[2]));} if($swmenufree['sub_width']!=0){$swmenufree['sub_width'] = ($swmenufree['sub_width'] - ($padding2[1]+$padding2[3]));} if($swmenufree['sub_height']!=0){$swmenufree['sub_height'] = ($swmenufree['sub_height'] - ($padding2[0]+$padding2[2]));} } if($menu && $swmenufree){ $sql = "SELECT #__menu.* FROM #__menu WHERE #__menu.menutype = '".$menu."' AND published = '1' AND access <= '$my->gid' ORDER BY parent, ordering "; $database->setQuery( $sql ); $result = $database->loadObjectList(); $swmenufree_array=array(); foreach ($result as $result2) { if ($mosConfig_mbf_content) { $result2 = MambelFish::translate( $result2, 'menu', $mosConfig_lang); } switch ($result2->type) { case 'separator'; //$result2->link = "seperator"; break; case 'url': if (eregi( "index.php\?", $result2->link )) { if (!eregi( "Itemid=", $result2->link )) { $result2->link .= "&Itemid=$result2->id"; } } break; default: $result2->link .= "&Itemid=$result2->id"; break; } if($result2->parent==$parentid){ $parent_count++; } //$result2->link = str_replace( '&', '&', $result2->link ); if ( strcasecmp( substr( $result2->link,0,4 ), 'http' ) ) { $result2->link = sefRelToAbs( $result2->link ); } $swmenufree_array[] =array("TITLE" => $result2->name, "URL" => $result2->link , "ID" => $result2->id , "PARENT" => $result2->parent , "ORDER" => $result2->ordering, "TARGET" => $result2->browserNav ); } if($parent_count){ $ordered = chainmenu('ID', 'PARENT', 'ORDER', $swmenufree_array, $parentid,$levels); echo ""; ?> \n"; echo " \n"; if ($swmenufree['orientation']=="horizontal"){echo " \n";} foreach($topmenu as $top){ if ($top['indent'] == 0){ $topcounter++; $image_url = ""; $name = $top['TITLE']; $top['URL'] = str_replace( '&', '&', $top['URL'] ); if ($swmenufree['orientation']=="vertical"){ echo " \n"; } if($topcounter==$number){ echo " \n"; if ($swmenufree['orientation']=="vertical"){ echo " \n"; } if ($topcounter == ($number)){ $doMenu = 0;} } } if ($swmenufree['orientation']=="horizontal"){echo " \n";} echo "
\n"; }else{ echo " \n"; } switch ($top['TARGET']) { // cases are slightly different case 1: // open in a new window echo ''. $name .''; break; case 2: // open in a popup window echo "". $name ."\n"; break; case 3: // don't link it echo ''. $name .''; break; default: // formerly case 2 echo ''; echo $name .''; break; } $counter++; echo "
\n"; ?> $row) { $parent[$key] = $row['PARENT']; $order[$key] = $row['ORDER']; } array_multisort($parent, SORT_ASC, $order, SORT_ASC, $ordered); $i=0; $counter=0; $par=$ordered[$i]['PARENT']; while($par==@$ordered[$i]['PARENT']){ //echo $counter; $counter++; $ordered[$i]['ORDER']=$counter; if(($ordered[$i]['PARENT'])!=(@$ordered[($i+1)]['PARENT'])&&($i<(count($ordered)-1))){ $par=$ordered[$i+1]['PARENT']; $counter=0; } $i++; } $submenu = chainmenu('ID', 'PARENT', 'ORDER', $ordered, $parent_id, 25); return $submenu; } function chainmenu($primary_field, $parent_field, $sort_field, $rows, $root_id=0, $maxlevel=25) { $c = new chainmenu($primary_field, $parent_field, $sort_field, $rows, $root_id, $maxlevel); return $c->chainmenu_table; } class chainmenu { var $table; var $rows; var $chainmenu_table; var $primary_field; var $parent_field; var $sort_field; function chainmenu($primary_field, $parent_field, $sort_field, $rows, $root_id, $maxlevel) { $this->rows = $rows; $this->primary_field = $primary_field; $this->parent_field = $parent_field; $this->sort_field = $sort_field; $this->buildchainmenu($root_id,$maxlevel); } function buildchainmenu($rootcatid,$maxlevel) { foreach($this->rows as $row) { $this->table[$row[$this->parent_field]][ $row[$this->primary_field]] = $row; } $this->makeBranch($rootcatid,0,$maxlevel); } function makeBranch($parent_id,$level,$maxlevel) { $rows=$this->table[$parent_id]; foreach($rows as $key=>$value) { $rows[$key]['key'] = $this->sort_field; } usort($rows,'chainmenuCMP'); foreach($rows as $item) { $item['indent'] = $level; $this->chainmenu_table[] = $item; if((isset($this->table[$item[$this->primary_field]])) && (($maxlevel>$level+1) || ($maxlevel==0))) { $this->makeBranch($item[$this->primary_field], $level+1, $maxlevel); } } } } function chainmenuCMP($a,$b) { if($a[$a['key']] == $b[$b['key']]) { return 0; } return($a[$a['key']]<$b[$b['key']])?-1:1; } ?>

about.gif

ʶҹͧ
ͧ
ѡͧ 24582
͹Ѫ͹ҹ 65581
йҧǹ 14584
طҹ觪ҵ 10627
оЧѹ 12845
16293
ҹ§⾸ 26001
ǹ 19189
طҹ觪ҵԷҧҧͧ 13514
طҹ觪ҵʡ 21464
оҹŨ 22815
ѴкҵҪ 44925
top of page

ѴӹѡҹѧѴɮҹ ҡҧѧѴɮҹ
Ѿ 0-77272-926 0-77282-175
E-mail webmaster@suratthani.go.th
´˹Ҩͷ 800X600 pixels
Power By Mambo Open Source