include("common_function/variables.phtml");
include("common_function/db_connect.phtml");
include("common_function/getList.php");
$lang = get_lang($lang);
$dbh = db_connect_set($sys_ip, $sys_db);
$today = get_date($today, $dbh, $sys_table, $sys_year);
// $date_str = get_wdate(date("Ymd"), $lang);
$cat = trim($_GET['cat']);
$idx = trim($_GET['idx']);
$loc = trim($_GET['loc']);
if(!get_magic_quotes_gpc()) {
$cat = addslashes($cat);
$idx = addslashes($idx);
$loc = addslashes($loc);
}
$cat_desc = getCatDescription($cat, $dbh);
if(empty($idx)) {$idx = 0;}
if (empty($cat)) {
$cat = 1;
}
if (preg_match('/^\d+$/',$cat)) {
}else{
header("Location: index.php");
}
switch ($cat) {
case "1":
$catdesc = "香港政府/社團";
break;
case "2":
$catdesc = "香港企業";
break;
case "3":
$catdesc = "內地政府/綜合";
break;
case "4":
$catdesc = "內地企業";
break;
}
?>
=$cat_desc?> 香港文匯報
|
$hLines = &get_sidelink_by_category_top('especially', $cat, $today, $lang, $dbh);
$tmpcount = 0;
while ($row = array_shift($hLines)) {
$tmpcount++ ;
?>
if ($tmpcount % 5 == 1) {
?>
|
}
?>
=$row['description']?>
|
} ?>
|
|
|
|
|
include("include_module/footer.php");
?>
if ($dbh){
mysql_close($dbh);
}
?>