![](../images/mainimage.jpg)
"News Release", "main" => "News", 'cn' => 'Chinese','cnt' => 'Chinense t', "fr" => 'French',"ge" => "German","jp" => "Japnaese", 'kr' => 'Korean','sp' => 'Spanish', 'de' => "German", 'pt' => 'Português', 'ru' => 'Russian', ß); $postcat = isset($_GET['cat']) ? $_GET['cat'] : 'main'; if(!$catname = $cat_arr[$postcat]){ die("Category Error"); } $open_DB =new Admin_DB('posts',$postcat,''); $open_DB -> connect(); $startnum = 32; $page = isset($_GET['page']) ? $_GET['page'] : 1; $limitlist = 10; $open_DB -> where .= "and output='Y'"; $query = "select count(id) from ".$open_DB -> prefix.$open_DB -> table. " ".$open_DB -> where; $Page = new Page($open_DB,$query,5,10); $Page -> where = "&cat=".$postcat; $list = $open_DB -> boardlist("","registdate DESC ",$page,$limitlist); ?>