{literal} {/literal}
{php} if($GLOBALS['lang'] == 'zh'){ $sql = "SELECT cat_id,cat_name,parent_id FROM ".$GLOBALS['eces']->table('category_zh')." WHERE FirmID = '". $GLOBALS['FrimID']."' AND parent_id = '0' ORDER BY `sort_order` ASC "; }elseif($GLOBALS['lang'] == 'tw'){ $sql = "SELECT cat_id,cat_name,parent_id FROM ".$GLOBALS['eces']->table('category_tw')." WHERE FirmID = '". $GLOBALS['FrimID']."' AND parent_id = '0' ORDER BY `sort_order` ASC "; }else{ $sql = "SELECT cat_id,cat_name,parent_id FROM ".$GLOBALS['eces']->table('category_en')." WHERE FirmID = '". $GLOBALS['FrimID']."' AND parent_id = '0' ORDER BY `sort_order` ASC "; } $RS = $GLOBALS['dbes']->getAll($sql); $count = 1; foreach($RS as $v){ $contenall .= ''.$v[cat_name].''; } echo $contenall; {/php}
产品展示
{section name=prod loop=$prod_return start=0 step=1 max=10}
{/section}
最新产品
{section name=prod loop=$prod_return start=0 step=1 max=8}
{$prod_return[prod].Name}
{/section}
新闻资讯
新闻动态
    {foreach from=$news_foreach item=news} {if $ewhhh++ <4}
  • {$news.OutDate|date_format:"%Y-%m-%d"} {$news.NewsTitle}
  • {/if} {/foreach}
{php}title_list04(){/php}
{$base.FirmName} {if $base.Address neq ''}{$lang.Address}{$base.Address}{/if}
{if $base.LinkMan neq ''}{$lang.LinkMan}{$base.LinkMan}{/if} {if $base.Cellphone neq ''}{$lang.Cellphone}{$base.Cellphone}{/if} {if $base.Telephone neq ''}{$lang.Telephone}{$base.Telephone}{/if} {if $base.Fax neq ''}{$lang.Fax}{$base.Fax}{/if} {if $base.QQNo neq ''}{$lang.QQNo}{$base.QQNo}{/if} {$lang.Email}{$base.Email} {if $set.beian neq ''}{$lang.beian}{$set.beian}{/if} {if $base.browsetime neq ''}{$lang.browsetime}{$base.browsetime}{/if}
{$flaotQQ} {literal} {/literal}