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


PHP uk86_urlAdmin函数代码示例

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


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

示例1: payment_saveOp

 /**
  * 编辑保存
  */
 public function payment_saveOp()
 {
     $payment_id = intval($_POST["payment_id"]);
     $data = array();
     $data['payment_state'] = intval($_POST["payment_state"]);
     switch ($_POST['payment_code']) {
         case 'alipay':
             $payment_config = array('alipay_account' => $_POST['alipay_account'], 'alipay_key' => $_POST['alipay_key'], 'alipay_partner' => $_POST['alipay_partner']);
             break;
         case 'wxpay':
             $payment_config = array('wxpay_appid' => $_POST['wxpay_appid'], 'wxpay_mch_id' => $_POST['wxpay_mch_id'], 'wxpay_appsecret' => $_POST['wxpay_appsecret'], 'wxpay_key' => $_POST['wxpay_key']);
             break;
         default:
             uk86_showMessage(L('param_error'), '');
     }
     $data['payment_config'] = $payment_config;
     $model_mb_payment = Model('mb_payment');
     $result = $model_mb_payment->editMbPayment($data, array('payment_id' => $payment_id));
     if ($result) {
         uk86_showMessage(Uk86Language::uk86_get('nc_common_save_succ'), uk86_urlAdmin('mb_payment', 'payment_list'));
     } else {
         uk86_showMessage(Uk86Language::uk86_get('nc_common_save_fail'), uk86_urlAdmin('mb_payment', 'payment_list'));
     }
 }
开发者ID:wangjiang988,项目名称:ukshop,代码行数:27,代码来源:mb_payment.php

示例2: uk86_urlAdmin

echo uk86_urlAdmin('circle_setting', 'sec');
?>
"><span><?php 
echo $lang['circle_setting_sec'];
?>
</span></a></li>
        <li><a href="<?php 
echo uk86_urlAdmin('circle_setting', 'exp');
?>
"><span><?php 
echo $lang['circle_setting_exp'];
?>
</span></a></li>
        <li><a href="JavaScript:void(0);" class="current"><span>设置超管</span></a></li>
        <li><a href="<?php 
echo uk86_urlAdmin('circle_setting', 'super_list');
?>
"><span>超管列表</span></a></li>
      </ul>
    </div>
  </div>
  <div class="fixed-empty"></div>
  <form id="super_form" method="post" enctype="multipart/form-data">
    <input type="hidden" name="form_submit" value="ok" />
    <table class="table tb-type2">
      <tbody>
        <tr class="noborder">
          <td colspan="2" class="required"><label for="menber_name">会员名称:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform">
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:circle_setting.super_add.php

示例3: uk86_urlAdmin

      <tr>
        <td><ul>
            <li>勾选需要打印的项目,勾选后可以用鼠标拖动确定项目的位置、宽度和高度,也可以点击项目后边的微调按钮手工录入</li>
            <li>设置完成后点击提交按钮完成设计</li>
          </ul></td>
      </tr>
    </tbody>
  </table>
  <table class="table tb-type2">
    <tbody>
      <tr>
        <td class="required">选择打印项:</td>
      </tr>
      <tr class="noborder">
        <td class="vatop rowform"><form id="design_form" action="<?php 
echo uk86_urlAdmin('waybill', 'waybill_design_save');
?>
" method="post">
            <input type="hidden" name="waybill_id" value="<?php 
echo $output['waybill_info']['waybill_id'];
?>
">
            <ul id="waybill_item_list" class="waybill-item-list">
              <?php 
if (!empty($output['waybill_item_list']) && is_array($output['waybill_item_list'])) {
    ?>
              <?php 
    foreach ($output['waybill_item_list'] as $key => $value) {
        ?>
              <li>
                <input id="check_<?php 
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:waybill.design.php

示例4: defined

<?php

defined('InUk86') or exit('Access Invalid!');
?>
<div class="page">
  <div class="fixed-bar">
    <div class="item-title">
      <h3>平台客服</h3>
      <ul class="tab-base">
        <li><a href="<?php 
echo uk86_urlAdmin('mall_consult', 'index');
?>
"><span>平台客服咨询列表</span></a></li>
        <li><a href="<?php 
echo uk86_urlAdmin('mall_consult', 'type_list');
?>
"><span>平台咨询类型</span></a></li>
        <li><a href="JavaScript:void(0);" class="current"><span>新增类型</span></a></li>
      </ul>
    </div>
  </div>
  <div class="fixed-empty"></div>
  <form method="post" name="form_typeadd" id="form_typeadd">
    <input type="hidden" name="form_submit" value="ok" />
    <table class="table tb-type2">
      <tbody>
        <tr class="noborder">
          <td colspan="2" class="required"><label class="validation">类型名称:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><input class="txt" type="text" name="mct_name" value="" /></td>
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:mall_consult.type_add.php

示例5: uk86_urlAdmin

    }
    ?>
        <?php 
} else {
    ?>
        <tr class="no_data">
          <td colspan="10"><?php 
    echo $lang['nc_no_record'];
    ?>
</td>
        </tr>
        <?php 
}
?>
        <tr><td colspan="20"><a href="<?php 
echo uk86_urlAdmin('groupbuy', 'price_add');
?>
" class="btn-add marginleft"><?php 
echo $lang['groupbuy_price_add'];
?>
</a></td></tr>
      </tbody>
      <?php 
if (!empty($output['list']) && is_array($output['list'])) {
    ?>
      <tfoot>
        <tr class="tfoot">
          <td><input type="checkbox" class="checkall" id="checkall_1"></td>
          <td id="batchAction" colspan="15"><span class="all_checkbox">
            <label for="checkall_1"><?php 
    echo $lang['nc_select_all'];
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:groupbuy_price.list.php

示例6: member_tpl_update_uk86_showMessage

 private function member_tpl_update_uk86_showMessage($result)
 {
     if ($result) {
         uk86_showMessage(L('nc_common_op_succ'), uk86_urlAdmin('message', 'member_tpl'));
     } else {
         uk86_showMessage(L('nc_common_op_fail'));
     }
 }
开发者ID:wangjiang988,项目名称:ukshop,代码行数:8,代码来源:message.php

示例7: uk86_urlAdmin

echo uk86_urlAdmin('consulting', 'consulting');
?>
"><span><?php 
echo $lang['nc_manage'];
?>
</span></a></li>
        <li><a href="<?php 
echo uk86_urlAdmin('consulting', 'setting');
?>
"><span>设置</span></a></li>
        <li><a href="<?php 
echo uk86_urlAdmin('consulting', 'type_list');
?>
"><span>咨询类型</span></a></li>
        <li><a href="<?php 
echo uk86_urlAdmin('consulting', 'type_add');
?>
"><span>新增类型</span></a></li>
        <li><a href="JavaScript:void(0);" class="current"><span>编辑类型</span></a></li>
      </ul>
    </div>
  </div>
  <div class="fixed-empty"></div>
  <form method="post" name="form_typeadd" id="form_typeadd">
    <input type="hidden" name="form_submit" value="ok" />
    <input type="hidden" name="ct_id" value="<?php 
echo $output['ct_info']['ct_id'];
?>
" />
    <table class="table tb-type2">
      <tbody>
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:consulting.type_edit.php

示例8: uk86_urlAdmin

</script> 
<script type="text/javascript">
    var special_id = <?php 
echo $output['special_id'];
?>
;
    var url_item_add = "<?php 
echo uk86_urlAdmin('mb_special', 'special_item_add');
?>
";
    var url_item_del = "<?php 
echo uk86_urlAdmin('mb_special', 'special_item_del');
?>
";
    var url_item_edit = "<?php 
echo uk86_urlAdmin('mb_special', 'special_item_edit');
?>
";
    $(document).ready(function(){
        //添加模块
        $('[nctype="btn_add_item"]').on('click', function() {
            var data = {
                special_id: special_id,
                item_type: $(this).attr('data-module-type')
            };
            $.post(url_item_add, data, function(data) {
                if(typeof data.error === 'undefined') {
                    location.reload();
                } else {
                    showError(data.error);
                }
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:mb_special_item.list.php

示例9: uk86_urlShop

</td>
          <td class="align-center">
            <?php 
        echo $output['state_array'][$val['bl_state']];
        ?>
          </td>
          <td class="nowrap align-center">
          	<a target="block" href="<?php 
        echo uk86_urlShop('goods', 'index', array('goods_id' => $val['goods_id']));
        ?>
"><?php 
        echo $lang['nc_view'];
        ?>
</a>
          	<a href="<?php 
        echo uk86_urlAdmin('promotion_bundling', 'del_bundling', array('bl_id' => $val['bl_id']));
        ?>
"><?php 
        echo $lang['nc_del'];
        ?>
</a>
          </td>
        </tr>
        <?php 
    }
    ?>
        <?php 
} else {
    ?>
        <tr class="no_data">
          <td colspan="16"><?php 
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:promotion_bundling.list.php

示例10: date

        echo $val['member_id'];
        ?>
" name="del_id[]"></td>
            <td><?php 
        echo $val['member_name'];
        ?>
</td>
            <td><?php 
        echo date('Y-m-d H-i:s', $val['cm_jointime']);
        ?>
</td>
            <td><a href="javascript:void(0);" onclick="if(confirm('<?php 
        echo $lang['nc_ensure_del'];
        ?>
')){location.href='<?php 
        echo uk86_urlAdmin('circle_setting', 'del_super', array('member_id' => $val['member_id']));
        ?>
'}"><?php 
        echo $lang['nc_del'];
        ?>
</a></td>
          </tr>
          <?php 
    }
    ?>
          <?php 
} else {
    ?>
          <tr class="no_data">
            <td colspan="15"><?php 
    echo $lang['nc_no_record'];
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:circle_setting.super_list.php

示例11: uk86_urlAdmin

">查看</a>&nbsp;&nbsp;<a href="index.php?act=store&op=store_edit&store_id=<?php 
        echo $v['store_id'];
        ?>
"><?php 
        echo $lang['nc_edit'];
        ?>
</a>&nbsp;&nbsp;
                <a href="index.php?act=store&op=store_bind_class&store_id=<?php 
        echo $v['store_id'];
        ?>
">经营类目</a>
            <?php 
        if (uk86_getStoreStateClassName($v) != 'open' && uk86_cookie('remindRenewal' . $v['store_id']) == null) {
            ?>
<a href="<?php 
            echo uk86_urlAdmin('store', 'remind_renewal', array('store_id' => $v['store_id']));
            ?>
">提醒续费</a><?php 
        }
        ?>
&nbsp;&nbsp; <a href="index.php?act=store&op=del&id=<?php 
        echo $v['store_id'];
        ?>
">删除</a>
            </td>
        </tr>
        <?php 
    }
    ?>
        <?php 
} else {
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:store.index.php

示例12: add_cardOp


//.........这里部分代码省略.........
     if (!uk86_chksubmit()) {
         Tpl::showpage('rechargecard.add_card');
         return;
     }
     $denomination = (double) $_POST['denomination'];
     if ($denomination < 0.01) {
         uk86_showMessage('面额不能小于0.01', '', 'html', 'error');
         return;
     }
     if ($denomination > 1000) {
         uk86_showMessage('面额不能大于1000', '', 'html', 'error');
         return;
     }
     $snKeys = array();
     switch ($_POST['type']) {
         case '0':
             $total = (int) $_POST['total'];
             if ($total < 1 || $total > 9999) {
                 uk86_showMessage('总数只能是1~9999之间的整数', '', 'html', 'error');
                 exit;
             }
             $prefix = (string) $_POST['prefix'];
             if (!preg_match('/^[0-9a-zA-Z]{0,16}$/', $prefix)) {
                 uk86_showMessage('前缀只能是16字之内字母数字的组合', '', 'html', 'error');
                 exit;
             }
             while (count($snKeys) < $total) {
                 $snKeys[$prefix . md5(uniqid(mt_rand(), true))] = null;
             }
             break;
         case '1':
             $f = $_FILES['_textfile'];
             if (!$f || $f['error'] != 0) {
                 uk86_showMessage('文件上传失败', '', 'html', 'error');
                 exit;
             }
             if (!is_uploaded_file($f['tmp_name'])) {
                 uk86_showMessage('未找到已上传的文件', '', 'html', 'error');
                 exit;
             }
             foreach (file($f['tmp_name']) as $sn) {
                 $sn = trim($sn);
                 if (preg_match('/^[0-9a-zA-Z]{1,50}$/', $sn)) {
                     $snKeys[$sn] = null;
                 }
             }
             break;
         case '2':
             foreach (explode("\n", (string) $_POST['manual']) as $sn) {
                 $sn = trim($sn);
                 if (preg_match('/^[0-9a-zA-Z]{1,50}$/', $sn)) {
                     $snKeys[$sn] = null;
                 }
             }
             break;
         default:
             uk86_showMessage('参数错误', '', 'html', 'error');
             exit;
     }
     $totalKeys = count($snKeys);
     if ($totalKeys < 1 || $totalKeys > 9999) {
         uk86_showMessage('只能在一次操作中增加1~9999个充值卡号', '', 'html', 'error');
         exit;
     }
     if (empty($snKeys)) {
         uk86_showMessage('请输入至少一个合法的卡号', '', 'html', 'error');
         exit;
     }
     $snOccupied = 0;
     $model = Model('rechargecard');
     // chunk size = 50
     foreach (array_chunk(array_keys($snKeys), 50) as $snValues) {
         foreach ($model->getOccupiedRechargeCardSNsBySNs($snValues) as $sn) {
             $snOccupied++;
             unset($snKeys[$sn]);
         }
     }
     if (empty($snKeys)) {
         uk86_showMessage('操作失败,所有新增的卡号都与已有的卡号冲突', '', 'html', 'error');
         exit;
     }
     $batchflag = $_POST['batchflag'];
     $adminName = $this->admin_info['name'];
     $ts = time();
     $snToInsert = array();
     foreach (array_keys($snKeys) as $sn) {
         $snToInsert[] = array('sn' => $sn, 'denomination' => $denomination, 'batchflag' => $batchflag, 'admin_name' => $adminName, 'tscreated' => $ts);
     }
     if (!$model->insertAll($snToInsert)) {
         uk86_showMessage('操作失败', '', 'html', 'error');
         exit;
     }
     $countInsert = count($snToInsert);
     $this->log("新增{$countInsert}张充值卡(面额¥{$denomination},批次标识“{$batchflag}”)");
     $msg = '操作成功';
     if ($snOccupied > 0) {
         $msg .= "有 {$snOccupied} 个卡号与已有的未使用卡号冲突";
     }
     uk86_showMessage($msg, uk86_urlAdmin('rechargecard', 'index'));
 }
开发者ID:wangjiang988,项目名称:ukshop,代码行数:101,代码来源:rechargecard.php

示例13: function

?>
";
                $('#submit_form').attr('action', action);
                $('#xianshi_id').val($(this).attr('data-xianshi-id'));
                $('#submit_form').submit();
            }
        })

        //删除限时折扣
        $('[nctype="btn_del"]').on('click', function() {
            if(confirm('<?php 
echo $lang['nc_ensure_del'];
?>
')) {
                var action = "<?php 
echo uk86_urlAdmin('promotion_xianshi', 'xianshi_del');
?>
";
                $('#submit_form').attr('action', action);
                $('#xianshi_id').val($(this).attr('data-xianshi-id'));
                $('#submit_form').submit();
            }
        })
    });
</script>
<div class="page">
  <!-- 页面导航 -->
  <div class="fixed-bar">
    <div class="item-title">
      <h3><?php 
echo $lang['promotion_xianshi'];
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:promotion_xianshi.list.php

示例14: confirm

            ?>
 领取
<?php 
        } else {
            ?>
            未被领取
<?php 
        }
        ?>
          </td>
          <td class="align-center">
<?php 
        if ($val['state'] == 0) {
            ?>
            <a onclick="return confirm('确定删除?');" href="<?php 
            echo uk86_urlAdmin('rechargecard', 'del_card', array('id' => $val['id']));
            ?>
" class="normal"><?php 
            echo $lang['nc_del'];
            ?>
</a>
<?php 
        }
        ?>
          </td>
        </tr>
<?php 
    }
    ?>
      </tbody>
      <tfoot>
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:rechargecard.index.php

示例15: function

    //按钮先执行验证再提交表单
    $("#submitBtn").click(function(){
        if($("#store_form").valid()){
            $("#store_form").submit();
        }
    });

    $('#store_form').validate({
        errorPlacement: function(error, element){
            error.appendTo(element.parentsUntil('tr').parent().prev().find('td:first'));
        },
        rules : {
            store_name: {
                required : true,
                remote : '<?php 
echo uk86_urlAdmin('ownshop', 'ckeck_store_name');
?>
'
            },
            member_name: {
                required : true,
                minlength : 3,
                maxlength : 15,
                remote   : {
                    url : 'index.php?act=ownshop&op=check_member_name',
                    type: 'get',
                    data:{
                        member_name : function(){
                            return $('#member_name').val();
                        }
                    }
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:store.newshop.add.php


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