} /* 调查 */ $vote = get_vote(); if (!empty($vote)) { $smarty->assign('vote_id', $vote['id']); $smarty->assign('vote', $vote['content']); } assign_template(); assign_dynamic('snatch'); $smarty->assign('page_title', $position['title']); $smarty->assign('ur_here', $position['ur_here']); $smarty->assign('categories', get_categories_tree()); // 分类树 $smarty->assign('helps', get_shop_help()); // 网店帮助 $smarty->assign('snatch_list', get_snatch_list()); //所有有效的夺宝奇兵列表 $smarty->assign('price_list', get_price_list($id)); $smarty->assign('promotion_info', get_promotion_info()); $smarty->assign('feed_url', $_CFG['rewrite'] == 1 ? "feed-typesnatch.xml" : 'feed.php?type=snatch'); // RSS URL $smarty->display('snatch.dwt'); exit; } /* 最新出价列表 */ if ($_REQUEST['act'] == 'new_price_list') { $smarty->assign('price_list', get_price_list($id)); $smarty->display('library/snatch_price.lbi'); exit; } /* 用户出价处理 */
/* 调查 */ $vote = get_vote(); if (!empty($vote)) { $smarty->assign('vote_id', $vote['id']); $smarty->assign('vote', $vote['content']); } assign_template(); assign_dynamic('snatch'); $smarty->assign('page_title', $position['title']); $smarty->assign('ur_here', $position['ur_here']); $smarty->assign('categories', get_categories_tree()); // 分类树 $smarty->assign('helps', get_shop_help()); // 网店帮助 $smarty->assign('snatch_list', get_snatch_list()); //所有有效的夺宝奇兵列表 $smarty->assign('price_list', get_price_list($id)); $smarty->assign('promotion_info', get_promotion_info()); $smarty->assign('feed_url', ($_CFG['rewrite'] == 1) ? "feed-typesnatch.xml" : 'feed.php?type=snatch'); // RSS URL $smarty->display('snatch.dwt'); exit; } /* 最新出价列表 */ if ($_REQUEST['act'] == 'new_price_list') { $smarty->assign('price_list', get_price_list($id)); $smarty->display('library/snatch_price.lbi'); exit;