ecshop 模版中直接写php源码 分类id如何获得
$GLOBALS['db']->getOne("select attribute_line from ".$GLOBALS['ecs']->table('category')." where cat_id=".$this->_var['category'])
分类id
$this->_var['category']
ecshop 模版中直接写php源码 分类id如何获得
$GLOBALS['db']->getOne("select attribute_line from ".$GLOBALS['ecs']->table('category')." where cat_id=".$this->_var['category'])
分类id
$this->_var['category']