本文整理汇总了PHP中uk86_urlAdmin函数的典型用法代码示例。如果您正苦于以下问题:PHP uk86_urlAdmin函数的具体用法?PHP uk86_urlAdmin怎么用?PHP uk86_urlAdmin使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了uk86_urlAdmin函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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> <a href="index.php?act=store&op=store_edit&store_id=<?php
echo $v['store_id'];
?>
"><?php
echo $lang['nc_edit'];
?>
</a>
<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
}
?>
<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
示例16: function
<div class="goods-pic"><img nctype="image" src="<%=goods_image%>" alt=""></div>
<div class="goods-name" nctype="goods_name"><%=goods_name%></div>
<div class="goods-price" nctype="goods_price"><%=goods_price%></div>
<input nctype="goods_id" name="item_data[item][]" type="hidden" value="<%=goods_id%>">
<a nctype="btn_del_item_image" href="javascript:;">删除</a>
</div>
</script>
<script src="<?php
echo RESOURCE_SITE_URL;
?>
/js/jquery.ajaxContent.pack.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#btn_mb_special_goods_search2016').on('click', function() {
var url = '<?php
echo uk86_urlAdmin('mb_special', 'goods_list');
?>
';
var keyword = 2016;
if(keyword) {
$('#mb_special_goods_list').load(url, {keyword: keyword});
}
});
$('#mb_special_goods_list').on('click', '[nctype="btn_add_goods"]', function() {
var item = {};
item.goods_id = $(this).attr('data-goods-id');
item.goods_name = $(this).attr('data-goods-name');
item.goods_price = $(this).attr('data-goods-price');
item.goods_image = $(this).attr('data-goods-image');
var html = template.render('item_goods_template', item);
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:mb_special_item.module_goods2.php
示例17: uk86_urlAdmin
?>
"><span>等待审核</span></a></li>
<li><a href="<?php
echo uk86_urlAdmin('delivery', 'setting');
?>
"><span>设置</span></a></li>
<li><a href="JavaScript:void(0);" class="current"><span><?php
echo $lang['nc_edit'];
?>
</span></a></li>
</ul>
</div>
</div>
<div class="fixed-empty"></div>
<form id="delivery_form" method="post" action="<?php
echo uk86_urlAdmin('delivery', 'save_edit');
?>
">
<input type="hidden" name="form_submit" value="ok" />
<input type="hidden" name="did" value="<?php
echo $output['dlyp_info']['dlyp_id'];
?>
">
<table class="table tb-type2">
<tbody>
<tr class="noborder">
<td colspan="2" class="required"><label for="">物流自提服务站用户名:</label></td>
</tr>
<tr class="noborder">
<td class="vatop rowform"><?php
echo $output['dlyp_info']['dlyp_name'];
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:delivery.edit.php
示例18: defined
<?php
defined('InUk86') or exit('Access Invalid!');
?>
<style>
.switch-tab-title {font-size:14px; margin-right:15px; }
</style>
<div class="page">
<div class="fixed-bar">
<div class="item-title">
<h3>平台充值卡</h3>
<ul class="tab-base">
<li><a href="<?php
echo uk86_urlAdmin('rechargecard', 'index');
?>
"><span>列表</span></a></li>
<li><a href="javascript:void(0);" class="current"><span>新增</span></a></li>
</ul>
</div>
</div>
<div class="fixed-empty"></div>
<table class="table tb-type2" id="prompt">
<tbody>
<tr class="space odd">
<th colspan="12"><div class="title"><h5><?php
echo $lang['nc_prompts'];
?>
</h5><span class="arrow"></span></div></th>
</tr>
<tr>
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:rechargecard.add_card.php
示例19: uk86_urlAdmin
<tfoot>
<tr class="tfoot">
<td colspan="16"><div class="pagination"> <?php
echo $output['page'];
?>
</div></td>
</tr>
</tfoot>
<?php
}
?>
</table>
</form>
</div>
<form id="del_form" action="<?php
echo uk86_urlAdmin('waybill', 'waybill_del');
?>
" method="post">
<input type="hidden" id="del_waybill_id" name="waybill_id">
</form>
<script type="text/javascript" src="<?php
echo RESOURCE_SITE_URL;
?>
/js/jquery.nyroModal/custom.min.js" charset="utf-8"></script>
<link href="<?php
echo RESOURCE_SITE_URL;
?>
/js/jquery.nyroModal/styles/nyroModal.css" rel="stylesheet" type="text/css" id="cssfile2" />
<script type="text/javascript">
$(document).ready(function(){
$('[nctype="btn_del"]').on('click', function() {
开发者ID:wangjiang988,项目名称:ukshop,代码行数:31,代码来源:waybill.list.php
示例20: show_menu
/**
* 页面内导航菜单
* @param string $menu_key 当前导航的menu_key
* @param array $array 附加菜单
* @return
*/
private function show_menu($menu_key = '')
{
$menu_array = array(1 => array('menu_key' => 'waybill_list', 'menu_name' => '列表', 'menu_url' => uk86_urlAdmin('waybill', 'waybill_list')), 2 => array('menu_key' => 'waybill_add', 'menu_name' => '添加', 'menu_url' => uk86_urlAdmin('waybill', 'waybill_add')));
if ($menu_key == 'waybill_edit') {
$menu_array[] = array('menu_key' => 'waybill_edit', 'menu_name' => '编辑', 'menu_url' => 'javascript:;');
}
if ($menu_key == 'waybill_design') {
$menu_array[] = array('menu_key' => 'waybill_design', 'menu_name' => '设计', 'menu_url' => 'javascript:;');
}
Tpl::output('menu', $menu_array);
Tpl::output('menu_key', $menu_key);
}
开发者ID:wangjiang988,项目名称:ukshop,代码行数:18,代码来源:waybill.php
注:本文中的uk86_urlAdmin函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论