{if $set.logo} {$base.FirmName} {else} {$base.FirmName} {/if}

{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}
{php}navname('contactus'){/php}
{$base.FirmName}
{if $base.LinkMan neq ''}{$lang.LinkMan}{$base.LinkMan}
{/if} {if $base.QQNo neq ''}{$lang.QQNo}{$base.QQNo}
{/if} {if $base.Telephone neq ''}{$lang.Telephone}{$base.Telephone}
{/if} {if $base.Cellphone neq ''}{$lang.Cellphone}{$base.Cellphone}
{/if} {if $base.Fax neq ''}{$lang.Fax}{$base.Fax}
{/if} {if $base.Email neq ''}{$lang.Email}{$base.Email}
{/if} {if $base.MainPage neq ''}{$lang.MainPage}{$base.MainPage}
{/if} {if $base.Address neq ''}{$lang.Address}{$base.Address}{/if}
{literal} {/literal}