文章分类 -  ecshop

摘要:$page = isset($_REQUEST['page']) ? intval($_REQUEST['page']) : 1; $record_count = $db->getOne("SELECT COUNT(*) FROM " .$ecs->table('goods'). " ".$where.""); $pager = get_pager('shangpi... 阅读全文
posted @ 2016-06-02 17:04 xbaobao 阅读(261) 评论(0) 推荐(0)
摘要:if ($_REQUEST['act'] == 'list') { $smarty->assign('action', $_REQUEST['act']); $where = 'where 1';//横真 $where .= " AND goods_name'' ";//判断字段不为空 $where .= " AND cat_id =2934 ";//指定表中字段特定ID $listm ... 阅读全文
posted @ 2016-06-02 16:33 xbaobao 阅读(273) 评论(0) 推荐(0)