$q_issue = "SELECT * FROM `tbl_issue` WHERE `id` = ".$curIssueID ;
$r_info = mysql_query($q_issue, $link) or die(mysql_error());
$r_issue = mysql_fetch_assoc($r_info);
$browser = $_SERVER['HTTP_USER_AGENT'];
if(preg_match('/iPhone|iPad|iPod|Android|Opera|Blackberry/i', $browser)) {
$r_issuelink = "http://m.igafencu.com/ipad/index.php?iid=".$curIssueCode."&lang=hk" ;
$extraInfo = "iPhone ";
} else {
$r_issuelink = $r_issue['urlE'];
$extraInfo = "";
}
echo "";
echo "ISSUE: ".$curIssueTxt." | ";
echo " | ";
echo " ";
echo "".$extraInfo."VIEW E-MAGAZINE ";
echo " | ";
?>
|
|
include('3video_en.php');
mysql_select_db($dbname1, $link ) or die("Could not select database");
?>
|
|
|
if ($goshow == 1) {
echo "\r\n";
echo " | \r\n";
echo "".getIssueNo($rCA['issue_id'])." | \r\n";
echo "".$rCA['etitle']."";
if ($rCA['urlE']) {
$videoFile = explode("/",$rCA['urlE']);
$imgVideo="";
$browser = $_SERVER['HTTP_USER_AGENT'];
if(preg_match('/iPhone|iPad|iPod|Android|Opera|Blackberry/i', $browser)) {
echo " ".$imgVideo."";
} else {
echo " ".$imgVideo."";
}
}
if (getEssCatInfo($rCA['g_id'], "dispStyle") == 1 ){
$showSubT = ($rCA['title1'])?$rCA['title1']:$rCA['etitleD'];
echo "
".$showSubT." ";
}
echo " | | ";
//echo " | ";
echo "";
?>
echo " | \r\n | \r\n";
echo " ";
} else {
echo "";
}
?>
|
|
|
|
include("rightAdv.php"); ?>
|
|