当前位置: 首页>>代码示例>>PHP>>正文


PHP payment_list函数代码示例

本文整理汇总了PHP中payment_list函数的典型用法代码示例。如果您正苦于以下问题:PHP payment_list函数的具体用法?PHP payment_list怎么用?PHP payment_list使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了payment_list函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: assign_query_info

    $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') {
        /* 检查权限 */
        admin_priv('order_view');
开发者ID:norain2050,项目名称:benhu,代码行数:31,代码来源:order.php

示例2: get_healthy

 $smarty->assign('order_type', $order_type);
 $healthy_file = get_healthy($user_id);
 $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']}";
开发者ID:554119220,项目名称:kjrscrm,代码行数:31,代码来源:users.php

示例3: payment_list

    //支付商
    $payment_list = payment_list();
    $smarty->assign('payment_list', $payment_list);
    //支付方式
    $typ_list = typ_lis();
    $smarty->assign('typ_list', $typ_list);
    //跳转页面
    make_json_result($smarty->fetch('pay_message.htm'), '', array('filter' => $message_list['filter'], 'page_count' => $message_list['page_count']));
}
//修改信息显示
if ($_REQUEST['act'] == 'message_edit') {
    $sql = "SELECT b.Is_delete,b.enabled,b.pay_type,b.Local_bank_code,b.bank_pay_num,b.bank_name,b.bank_code,b.pay_id,b.paybank_id,p.pay_name,t.type_name FROM " . $ecs->table('pay_bank') . " AS b left join " . $ecs->table('payment') . " As p on b.pay_id = p.pay_id left join " . $ecs->table('pay_type') . "As t on b.pay_type = t.paytype_id where paybank_id={$_REQUEST['paybank_id']}";
    $message_list = $db->getRow($sql);
    $smarty->assign('message', $message_list);
    //支付商
    $payment_list = payment_list();
    $smarty->assign('payment_list', $payment_list);
    //支付方式
    $typ_list = typ_lis();
    $smarty->assign('typ_list', $typ_list);
    $smarty->display('pay_message_edit.htm');
}
//修改过程
if ($_REQUEST['act'] == 'message_edit_end') {
    $sql = "UPDATE " . $ecs->table('pay_bank') . "SET pay_id = {$_REQUEST['pay_way_id']},bank_code = '{$_REQUEST['query_pay_num']}',bank_name = '{$_REQUEST['query_pay_bank_name']}',bank_pay_num = '{$_REQUEST['bank_pay_num']}',pay_type = '{$_REQUEST['pay_mode']}',enabled = '{$_REQUEST['status']}' WHERE \tpaybank_id = {$_REQUEST['paybank_id']}";
    $db->query($sql);
    header('location:pay_message.php?act=message');
}
//支付商银行删除
if ($_REQUEST['act'] == 'message_del') {
    $sql = "DELETE FROM " . $ecs->table('pay_bank') . " WHERE paybank_id = '{$_REQUEST['paybank_id']}'";
开发者ID:dlpc,项目名称:ecshop,代码行数:31,代码来源:pay_message.php

示例4: session_start

<?php

session_start();
is_login(DOCROOT . "admin/login/");
//checking whether admin logged in or not.
echo '<div class="deals_desc1">';
payment_list();
echo '</div>';
?>

开发者ID:AdoSalkic,项目名称:personal,代码行数:9,代码来源:payment_list.php


注:本文中的payment_list函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。