{literal}
{/literal}
{php}
if($GLOBALS['lang'] == 'zh'){
$sql = "SELECT * FROM ".$GLOBALS['eces']->table('firms_nav')." WHERE FirmID = '". $GLOBALS['FrimID']."' AND pid='0' and soder!='0' order by `soder` asc ";
}elseif($GLOBALS['lang'] == 'tw'){
$sql = "SELECT * FROM ".$GLOBALS['eces']->table('firms_nav_tw')." WHERE FirmID = '". $GLOBALS['FrimID']."' AND pid='0' and soder!='0' order by `soder` asc ";
}else{
$sql = "SELECT * FROM ".$GLOBALS['eces']->table('firms_nav_en')." WHERE FirmID = '". $GLOBALS['FrimID']."' AND pid='0' and soder!='0' order by `soder` asc ";
}
$RS = $GLOBALS['dbes']->getAll($sql);
foreach($RS as $v){
$ico_img = explode('.',$v[action]);
if($v[action] == 'other.php' || $v[action] == 'othertw.php' || $v[action] == 'otheren.php' ){
$list_nav .= "- $v[name]
";
}elseif($v[action] == 'productcart.php' || $v[action] == 'ordercheck.php'){
$list_nav .= "";
}else{
$list_nav .= "- $v[name]
";
}
}
echo $list_nav;
{/php}
-
{$news_inside.NewsTitle}
{$news_inside.OutDate}
{$news_inside.picimg}
{$news_inside.NewsText}