{if $add_handler}
|
{foreach from=$add_handler item=handler}
{/foreach}
{/if}
它的下面加入
修改admin/comment_manage.php
$where = (!empty($filter['keywords'])) ? " AND content LIKE '%" . mysql_like_quote($filter['keywords']) . "%' " : '';
它的下面加入
/** by neo **/
$filter['goods_id'] = (is_numeric($_REQUEST['goods_id']) && $_REQUEST['goods_id'] > 0) ? intval($_REQUEST['goods_id']) : 0;
if($filter['goods_id'] > 0) {
$goods_id = intval($_REQUEST['goods_id']);
$where .= " AND id_value = '$goods_id' ";
}
/** by neo **/
另外为了删除后跳转回当前商品的评论
它的下面加入
修改admin/comment_manage.php 2处
$link[] = array('text' => $_LANG['back_list'], 'href' => 'comment_manage.php?act=list'
修改成
$link[] = array('text' => $_LANG['back_list'], 'href' => 'comment_manage.php?act=list'.'&goods_id='.$_REQUEST['goods_id']);//by neo
版权声明: 本站资源均来自互联网或会员发布,如果侵犯了您的权益请与我们联系,我们将在24小时内删除!谢谢!
转载请注明: ecshop商品列表显示对应商品评论管理功能