{literal} {/literal}
{$base.FirmName} { if $langzh eq zh}中文 |{/if} { if $langtw eq tw}{$lang.tw}|{/if} { if $langen eq en}{$lang.en}{/if}
{if $set.stats eq 'swf' } {else} {if $set.hengfu neq ''} {else}{/if} {/if}
{php}navname('productshow'){/php}
{php}othername2('5182',0,1){/php}
    {php}othernews(20,0,5,'fleft','mainrwewd',99,2,'5182',0,1){/php}
{php}navname('contactus'){/php}

{$base.FirmName}

{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.Email neq ''}
{$lang.Email}{$base.Email}
{/if} {if $base.Address neq ''}
{$lang.Address}{$base.Address}
{/if}
{php}navname('productshow'){/php}
{php} $size = 6; $page = isset($_REQUEST['page']) ? intval($_REQUEST['page']) : 1; if(!empty($_GET['classid'])){ $where = " AND ClassID = '".$_GET['classid']."' "; $classidsql = "&classid=".$_GET['classid'] ; } if($GLOBALS['lang'] == 'zh'){ $sql = "SELECT COUNT(*) FROM ".$GLOBALS['eces']->table('firm_products')." WHERE FirmID = '". $GLOBALS['FrimID']."' $where "; }elseif($GLOBALS['lang'] == 'tw'){ $sql = "SELECT COUNT(*) FROM ".$GLOBALS['eces']->table('firm_products_tw')." WHERE FirmID = '". $GLOBALS['FrimID']."' $where "; }else{ $sql = "SELECT COUNT(*) FROM ".$GLOBALS['eces']->table('firm_products_en')." WHERE FirmID = '". $GLOBALS['FrimID']."' $where "; } $record_count = $GLOBALS['dbes']->getOne($sql); $start = ($page-1)*$size; $pages = ceil($record_count/$size); $pageq = $page-1; $pagel = $page+1; if($pageq < '1'){ $pageq = '1'; } if($pagel>$pages){ $pagel=$pages; } $limit = "LIMIT $start,$size "; for($i=1;$i<=$pages;$i++){ if($i==$page){$selected="selected";}else{$selected="";} $option .=""; } $pagesstr = "
第".$page."页/共".$pages."页  第一页  上一页  下一页  最后页  跳到    页 
"; if($GLOBALS['lang'] == 'zh'){ $sql = "SELECT * FROM ".$GLOBALS['eces']->table('firm_products')." WHERE FirmID = '". $GLOBALS['FrimID']."' $where "; }elseif($GLOBALS['lang'] == 'tw'){ $sql = "SELECT * FROM ".$GLOBALS['eces']->table('firm_products_tw')." WHERE FirmID = '". $GLOBALS['FrimID']."' $where "; }else{ $sql = "SELECT * FROM ".$GLOBALS['eces']->table('firm_products_en')." WHERE FirmID = '". $GLOBALS['FrimID']."' $where "; } $sql .= "ORDER BY `addTime` DESC ".$limit ; $RS = $GLOBALS['dbes']->getAll($sql); foreach($RS AS $v){ if(!empty($v[PicPath])){ $picimg = $v[PicPath] ; }else{ $picimg = $GLOBALS['tpl']['img']."imgjs/erreso.gif"; } $v[Description_len] = cutstr(strip_tags(htmlspecialchars_decode($v[Description])),200); $contenet .= '
'.$v[Name].'
'.$v[Name].'
'.$v[Description_len].'
'; } echo $contenet; {/php}
{php} echo $pagesstr; {/php}
{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}
{literal} {/literal} {$flaotQQ}