本文整理匯總了PHP中shipping_list函數的典型用法代碼示例。如果您正苦於以下問題:PHP shipping_list函數的具體用法?PHP shipping_list怎麽用?PHP shipping_list使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了shipping_list函數的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: order_list
$smarty->assign('full_page', 1);
$order_list = order_list();
$smarty->assign('order_list', $order_list['orders']);
$smarty->assign('filter', $order_list['filter']);
$smarty->assign('record_count', $order_list['record_count']);
$smarty->assign('page_count', $order_list['page_count']);
$smarty->assign('sort_order_time', '<img src="images/sort_desc.gif">');
/* 顯示模板 */
assign_query_info();
$smarty->display('order_list.htm');
} else {
if ($_REQUEST['act'] == 'order_query') {
/* 檢查權限 */
admin_priv('order_view');
/* 載入配送方式 */
$smarty->assign('shipping_list', shipping_list());
/* 載入支付方式 */
$smarty->assign('pay_list', payment_list());
/* 載入國家 */
$smarty->assign('country_list', get_regions());
/* 載入訂單狀態、付款狀態、發貨狀態 */
$smarty->assign('os_list', get_status_list('order'));
$smarty->assign('ps_list', get_status_list('payment'));
$smarty->assign('ss_list', get_status_list('shipping'));
/* 模板賦值 */
$smarty->assign('ur_here', $_LANG['03_order_query']);
$smarty->assign('action_link', array('href' => 'order.php?act=list', 'text' => $_LANG['02_order_list']));
/* 顯示模板 */
assign_query_info();
$smarty->display('order_query.htm');
} elseif ($_REQUEST['act'] == 'query') {
示例2: get_disease
$isexistHF = $healthy_file['baseInfo']['total'];
$smarty->assign('healthy_file', $healthy_file);
$smarty->assign('case_list', $case['case_list']);
//idsease
$smarty->assign('before_case', $case['before_case']);
//idsease
$smarty->assign('isexistHF', $isexistHF);
$smarty->assign('disease', get_disease());
// diseases
$smarty->assign('characters', get_characters());
// characters
$smarty->assign('payment', payment_list());
// payment
$smarty->assign('surplus_payment', payment_list());
// 充值提現支付方式
$smarty->assign('shipping', shipping_list(3));
// shipping
$smarty->assign('service_class', get_service_class());
// servcie class
$smarty->assign('service_manner', get_service_manner());
// sercie manner
$smarty->assign('integral_log', get_integral_log($user_id));
// integral log
$smarty->assign('bmi', get_user_bmi($user_id));
if (in_array($_SESSION['admin_id'], $ADMIN_POWER)) {
$admin_list = get_admin_tmp_list();
$smarty->assign('all_power', true);
} elseif (in_array($_SESSION['admin_id'], array(520))) {
$sql = 'SELECT user_id,user_name FROM ' . $GLOBALS['ecs']->table('admin_user') . " WHERE role_id={$_SESSION['role_id']}";
$admin_list = $GLOBALS['db']->getAll($sql);
if ($admin_list === false) {