// testgit
// echo "test";
// exit;
@include("connect.inc.php3");
@include("convert85.php");
if(substr($dbName,0,6)=='system')
$replace_name=substr($dbName,7);
else{
$sql ="select * from advice_co_th.system_display where format_adv = 'advs' and cuscode ='".cus8to5(substr($dbName,3,8))."'";
$result = mysql_query($sql);
$row = @mysql_num_rows($result);
if($row > 0)
{
$replace_name=cus8to5(substr($dbName,3,8));
}
else{
$replace_name=substr($dbName,3);
}
}
if(substr($dbName,0,2)=='as')
$replace_name=substr($dbName,3);
if(!$qry=mysql_query("
select intro from oaweb9_advice.seo_meta
where cuscode='$replace_name'
and intro='T'
")){
?>
mysql_close();
}
if(mysql_num_rows($qry)>0){
?>
}else{
if(substr($dbName,0,6)=='system'){
?>
}else{
$sql ="select * from advice_co_th.system_display where format_adv = 'advs' and cuscode ='".cus8to5(substr($dbName,3,8))."'";
$result = mysql_query($sql);
$row = mysql_num_rows($result);
if($row > 0)
{
?>
}
else{
?>
}
}
}
?>