Esempio n. 1
0
 /**
  * 编辑保存
  */
 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;
         case 'unionpay':
             $payment_config = array('unionpay_account' => $_POST['unionpay_account'], 'cert_passwd' => $_POST['cert_passwd']);
             break;
         default:
             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) {
         showMessage(Language::get('nc_common_save_succ'), urlAdmin('mb_payment', 'payment_list'));
     } else {
         showMessage(Language::get('nc_common_save_fail'), urlAdmin('mb_payment', 'payment_list'));
     }
 }
</span></a></td>
          <td class="align-center"><?php 
        echo date('Y-m-d', $val['booth_quota_starttime']);
        ?>
</td>
          <td class="align-center"><?php 
        echo date('Y-m-d', $val['booth_quota_endtime']);
        ?>
</td>
          <td class="align-center">
            <?php 
        echo $output['state_array'][$val['booth_state']];
        ?>
          </td>
          <td class="align-center"><a href="<?php 
        echo urlAdmin('promotion_booth', 'goods_list', array('store_id' => $val['store_id']));
        ?>
">查看商品</a></td>
        </tr>
        <?php 
    }
    ?>
        <?php 
} else {
    ?>
        <tr class="no_data">
          <td colspan="16"><?php 
    echo $lang['nc_no_record'];
    ?>
</td>
        </tr>
    }
    ?>
        <?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 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'];
Esempio n. 4
0
if (!empty($output['mb_payment_list']) && is_array($output['mb_payment_list'])) {
    ?>
        <?php 
    foreach ($output['mb_payment_list'] as $k => $v) {
        ?>
      <tr class="hover">
        <td><?php 
        echo $v['payment_name'];
        ?>
</td>
        <td class="w25pre align-center"><?php 
        echo $v['payment_state_text'];
        ?>
</td>
        <td class="w156 align-center"><a href="<?php 
        echo urlAdmin('mb_payment', 'payment_edit', array('payment_id' => $v['payment_id']));
        ?>
"><?php 
        echo $lang['nc_edit'];
        ?>
</a></td>
      </tr>
      <?php 
    }
}
?>
    </tbody>
    <tfoot>
      <tr class="tfoot">
        <td colspan="15"></td>
      </tr>
Esempio n. 5
0
        echo $menu['menu_url'];
        ?>
" ><span><?php 
        echo $menu['menu_name'];
        ?>
</span></a></li>
                <?php 
    }
}
?>
            </ul>
        </div>
    </div>
    <div class="fixed-empty"></div>
    <form id="add_form" method="post" action="<?php 
echo urlAdmin('waybill', 'waybill_save');
?>
" enctype="multipart/form-data">
        <?php 
if ($output['waybill_info']) {
    ?>
        <input type="hidden" name="waybill_id" value="<?php 
    echo $output['waybill_info']['waybill_id'];
    ?>
">
        <input type="hidden" name="old_waybill_image" value="<?php 
    echo $output['waybill_info']['waybill_image'];
    ?>
">
        <?php 
}
Esempio n. 6
0
        echo $menu['menu_url'];
        ?>
" ><span><?php 
        echo $menu['menu_name'];
        ?>
</span></a></li>
        <?php 
    }
}
?>
      </ul>
    </div>
  </div>
  <div class="fixed-empty"></div>
  <form id="add_form" method="post" enctype="multipart/form-data" action="<?php 
echo urlAdmin('groupbuy', 'groupbuy_setting_save');
?>
">
    <input type="hidden" id="submit_type" name="submit_type" />
    <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 type="text" id="groupbuy_price" name="groupbuy_price" value="<?php 
echo $output['setting']['groupbuy_price'];
?>
" class="txt">
            </td>
Esempio n. 7
0
 private function member_tpl_update_showmessage($result)
 {
     if ($result) {
         showMessage(L('nc_common_op_succ'), urlAdmin('message', 'member_tpl'));
     } else {
         showMessage(L('nc_common_op_fail'));
     }
 }
Esempio n. 8
0
 public function add_cardOp()
 {
     if (!chksubmit()) {
         Tpl::showpage('rechargecard.add_card');
         return;
     }
     $denomination = (double) $_POST['denomination'];
     if ($denomination < 0.01) {
         showMessage('面额不能小于0.01', '', 'html', 'error');
         return;
     }
     if ($denomination > 1000) {
         showMessage('面额不能大于1000', '', 'html', 'error');
         return;
     }
     $snKeys = array();
     switch ($_POST['type']) {
         case '0':
             $total = (int) $_POST['total'];
             if ($total < 1 || $total > 9999) {
                 showMessage('总数只能是1~9999之间的整数', '', 'html', 'error');
                 exit;
             }
             $prefix = (string) $_POST['prefix'];
             if (!preg_match('/^[0-9a-zA-Z]{0,16}$/', $prefix)) {
                 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) {
                 showMessage('文件上传失败', '', 'html', 'error');
                 exit;
             }
             if (!is_uploaded_file($f['tmp_name'])) {
                 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:
             showMessage('参数错误', '', 'html', 'error');
             exit;
     }
     $totalKeys = count($snKeys);
     if ($totalKeys < 1 || $totalKeys > 9999) {
         showMessage('只能在一次操作中增加1~9999个充值卡号', '', 'html', 'error');
         exit;
     }
     if (empty($snKeys)) {
         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)) {
         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)) {
         showMessage('操作失败', '', 'html', 'error');
         exit;
     }
     $countInsert = count($snToInsert);
     $this->log("新增{$countInsert}张充值卡(面额¥{$denomination},批次标识“{$batchflag}”)");
     $msg = '操作成功';
     if ($snOccupied > 0) {
         $msg .= "有 {$snOccupied} 个卡号与已有的未使用卡号冲突";
     }
     showMessage($msg, urlAdmin('rechargecard', 'index'));
 }
echo urlAdmin('circle_setting', 'sec');
?>
"><span><?php 
echo $lang['circle_setting_sec'];
?>
</span></a></li>
        <li><a href="<?php 
echo 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 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">
<?php

defined('InShopNC') 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 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>
Esempio n. 11
0
?>
</h3>
      <ul class="tab-base">
        <li><a href="<?php 
echo urlAdmin('consulting', 'consulting');
?>
"><span><?php 
echo $lang['nc_manage'];
?>
</span></a></li>
        <li><a href="<?php 
echo urlAdmin('consulting', 'setting');
?>
"><span>设置</span></a></li>
        <li><a href="<?php 
echo urlAdmin('consulting', '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">
Esempio n. 12
0
      <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 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 
Esempio n. 13
0
    });

    $("#btn_fail").click(function(){
        $("#joinin_form").submit();
    });

    $('#store_form').validate({
        errorPlacement: function(error, element){
            error.appendTo(element.parentsUntil('tr').parent().prev().find('td:first'));
        },
		ignore:"#end_time",
        rules : {
             store_name: {
                 required : true,
                 remote : '<?php 
echo urlAdmin('store', 'ckeck_store_name', array('store_id' => $output['store_array']['store_id']));
?>
'
              }
        },
        messages : {
            store_name: {
                required: '<?php 
echo $lang['please_input_store_name'];
?>
',
                remote : '店铺名称已存在'
            }
        }
    });
Esempio n. 14
0
if (!empty($output['evalstore_list']) && is_array($output['evalstore_list'])) {
    ?>
      <tr class="tfoot">
        <td colspan="15" id="dataFuncs"><div class="pagination"><?php 
    echo $output['show_page'];
    ?>
</div></td>
      </tr>
    </tfoot>
    <?php 
}
?>
  </table>
</div>
<form id="submit_form" action="<?php 
echo urlAdmin('evaluate', 'evalstore_del');
?>
" method="post">
    <input id="seval_id" name="seval_id" type="hidden">
</form>
<script type="text/javascript" src="<?php 
echo RESOURCE_SITE_URL;
?>
/js/jquery-ui/jquery.ui.js"></script> 
<script type="text/javascript" src="<?php 
echo RESOURCE_SITE_URL;
?>
/js/jquery-ui/i18n/zh-CN.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="<?php 
echo RESOURCE_SITE_URL;
?>
<?php

defined('InShopNC') or exit('Access Invalid!');
?>

<div class="page">
  <form method="post" name="form1" id="form1" action="<?php 
echo urlAdmin('decoration', 'designer_work_del');
?>
">
    <input type="hidden" name="form_submit" value="ok" />
    <input type="hidden" value="<?php 
echo $output["commonids"];
?>
" name="commonids">
    <table class="table tb-type2 nobdb">
      <tbody>
        <tr class="noborder">
          <td colspan="2" class="required"><label for="close_reason">违规删除理由:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><textarea rows="6" class="tarea" cols="60" name="close_reason" id="close_reason"></textarea></td>
        </tr>
      </tbody>
      <tfoot>
        <tr class="tfoot">
          <td colspan="2"><a href="javascript:void(0);" class="btn" nctype="btn_submit"><span><?php 
echo $lang['nc_submit'];
?>
</span></a></td>
        </tr>
    <div class="item-title">
      <h3>物流自提服务站管理</h3>
      <ul class="tab-base">
        <li><a href="<?php 
echo urlAdmin('delivery', 'index');
?>
"><span><?php 
echo $lang['nc_manage'];
?>
</span></a></li>
        <li><a href="<?php 
echo urlAdmin('delivery', 'index', array('sign' => 'verify'));
?>
"><span>等待审核</span></a></li>
        <li><a href="<?php 
echo urlAdmin('delivery', 'setting');
?>
"><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="get" name="formSearch">
    <input type="hidden" value="delivery" name="act">
    <input type="hidden" value="order_list" name="op">
    <input type="hidden" value="<?php 
echo $_GET['d_id'];
?>
" name="d_id">
    <table class="tb-type1 noborder search">
Esempio n. 17
0
 /**
  * 编辑保存
  */
 public function save_editOp()
 {
     $dlyp_id = intval($_POST['did']);
     if (!chksubmit() || $dlyp_id <= 0) {
         showMessage(L('param_error'));
     }
     $where = array('dlyp_id' => $dlyp_id);
     $update = array();
     $update['dlyp_mobile'] = $_POST['dmobile'];
     $update['dlyp_telephony'] = $_POST['dtelephony'];
     $update['dlyp_address_name'] = $_POST['daddressname'];
     $update['dlyp_address'] = $_POST['daddress'];
     if ($_POST['dpasswd'] != '') {
         $update['dlyp_passwd'] = md5($_POST['dpasswd']);
     }
     $update['dlyp_state'] = intval($_POST['dstate']);
     $update['dlyp_fail_reason'] = $_POST['fail_reason'];
     $result = Model('delivery_point')->editDeliveryPoint($update, $where);
     if ($result) {
         // 删除相关联的收货地址
         Model('address')->delAddress(array('dlyp_id' => $dlyp_id));
         $this->log('编辑物流自提服务站功能,ID:' . $dlyp_id, 1);
         showMessage(L('nc_common_op_succ'), urlAdmin('delivery', 'index'));
     } else {
         $this->log('编辑物流自提服务站功能,ID:' . $dlyp_id, 0);
         showMessage(L('nc_common_op_fail'));
     }
 }
Esempio n. 18
0
        ?>
</td>
          <td><?php 
        echo $lang['currency'] . $v['goods_price'] * $output['storage_array'][$v['goods_commonid']]['sum'];
        ?>
</td>
          <td class="align-center"><?php 
        echo $output['state'][$v['goods_state']];
        ?>
</td>
          <td class="align-center"><?php 
        echo $output['verify'][$v['goods_verify']];
        ?>
</td>
          <td class="align-center"><p><a href="<?php 
        echo urlAdmin('goods', 'edit_goods', array('commonid' => $v['goods_commonid']));
        ?>
" ><?php 
        echo $lang['nc_edit'];
        ?>
</a></p>
            <p><a href="javascript:void(0);" onclick="goods_lockup(<?php 
        echo $v['goods_commonid'];
        ?>
);">商品下架</a></p></td>
        </tr>
        <tr style="display:none;">
          <td colspan="20"><div class="ncsc-goods-sku ps-container"></div></td>
        </tr>
        <?php 
    }
?>
<div class="page">
  <div class="fixed-bar">
    <div class="item-title">
      <h3>平台客服</h3>
      <ul class="tab-base">
        <li><a href="<?php 
echo urlAdmin('mall_consult', 'index');
?>
"><span>平台客服咨询列表</span></a></li>
        <li><a href="<?php 
echo urlAdmin('mall_consult', 'type_list');
?>
"><span>平台咨询类型</span></a></li>
        <li><a href="<?php 
echo urlAdmin('mall_consult', '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="mct_id" value="<?php 
echo $output['mct_info']['mct_id'];
?>
" />
    <table class="table tb-type2">
      <tbody>
Esempio n. 20
0
        $('#goods_class').val(category_id);
        $('#add_form').submit();
    });

    $('#gcategory select').live('change', function() {
        var cr = $(this).children(':selected').attr('data-explain');
        $('#commis_rate').val(parseInt(cr) || 0);
    });

    // 删除现有类目
    $('[nctype="btn_del_store_bind_class"]').on('click', function() {
        if(confirm('确认删除?删除后店铺对应分类商品将全部下架')) {
            var bid = $(this).attr('data-bid');
            $this = $(this);
            $.post('<?php 
echo urlAdmin('ownshop', 'bind_class_del');
?>
', {bid: bid}, function(data) {
                 if(data.result) {
                     $this.parents('tr').hide();
                 } else {
                     showError(data.message);
                 }
            }, 'json');
        }
    });

    // 修改分佣比例
    $('span[nc_type="commis_rate"]').inline_edit({act: 'ownshop',op: 'bind_class_update'});
});
Esempio n. 21
0
        <h5><?php 
echo $lang['dashboard_wel_goods_des'];
?>
</h5>
      </dt>
      <dd>
        <ul>
          <li class="w25pre normal"><a href="index.php?act=goods&op=goods"><?php 
echo $lang['dashboard_wel_new_add'];
?>
<sub title="<?php 
echo $lang['dashboard_wel_count_goods'];
?>
"><em id="statistics_week_add_product"></em></sub></a></li>
          <li class="w25pre none"><a href="<?php 
echo urlAdmin('goods', 'goods', array('type' => 'waitverify', 'search_verify' => 10));
?>
">商品审核<sub><em id="statistics_product_verify">0</em></sub></a></li>
          <li class="w25pre none"><a href="index.php?act=inform&op=inform_list"><?php 
echo $lang['dashboard_wel_inform'];
?>
<sub><em id="statistics_inform_list">0</em></sub></a></li>
          <li class="w25pre none"><a href="index.php?act=brand&op=brand_apply"><?php 
echo $lang['dashboard_wel_brnad_applay'];
?>
<sub><em id="statistics_brand_apply">0</em></sub></a></li>
        </ul>
      </dd>
    </dl>
    <dl class="trade">
      <dt>
Esempio n. 22
0
 public function editOp()
 {
     $storeModel = model('store');
     $storeArray = $storeModel->find($_GET['id']);
     if (!$storeArray['is_own_shop']) {
         showMessage('不能在此管理非自营店铺', '', 'html', 'error');
     }
     if (chksubmit()) {
         if (!$this->checkSellerName($_POST['seller_name'], $_GET['id'])) {
             showMessage('店主卖家账号名称已被其它店铺占用', '', 'html', 'error');
         }
         $saveArray = array();
         $saveArray['store_name'] = $_POST['store_name'];
         $saveArray['seller_name'] = $_POST['seller_name'];
         $saveArray['bind_all_gc'] = $_POST['bind_all_gc'] ? 1 : 0;
         $saveArray['store_state'] = $_POST['store_state'] ? 1 : 0;
         $saveArray['store_close_info'] = $_POST['store_close_info'];
         $storeModel->editStore($saveArray, array('store_id' => $_GET['id']));
         if ($saveArray['seller_name'] != $storeArray['seller_name']) {
             model('seller')->editSeller(array('seller_name' => $_POST['seller_name']), array('store_id' => $_GET['id'], 'seller_group_id' => 0, 'is_admin' => 1));
         }
         /* 自营店不下架商品
         
                     if ($storeArray['bind_all_gc'] == '1' && $saveArray['bind_all_gc'] == '0' && $_POST['offshelf'] == '1') {
                         // 全部商品下架
                         Model('goods')->editProducesLockUp(array(
                             'goods_stateremark' => '管理员编辑经营类目',
                         ), array(
                             'store_id' => $_GET['id'],
                         ));
                     }
         
                     */
         // 删除自营店id缓存
         Model('store')->dropCachedOwnShopIds();
         $this->log("编辑自营店铺: {$saveArray['store_name']}");
         showMessage('操作成功', urlAdmin('ownshop', 'list'));
     }
     if (empty($storeArray)) {
         showMessage('店铺不存在', '', 'html', 'error');
     }
     Tpl::output('store_array', $storeArray);
     Tpl::showpage('ownshop.edit');
 }
Esempio n. 23
0
</h3>
      <ul class="tab-base">
        <li><a href="<?php 
echo urlAdmin('consulting', 'consulting');
?>
"><span><?php 
echo $lang['nc_manage'];
?>
</span></a></li>
        <li><a href="JavaScript:void(0);" class="current"><span>设置</span></a></li>
        <li><a href="<?php 
echo urlAdmin('consulting', 'type_list');
?>
"><span>咨询类型</span></a></li>
        <li><a href="<?php 
echo urlAdmin('consulting', 'type_add');
?>
"><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>
/js/fileupload/jquery.iframe-transport.js" charset="utf-8"></script> 
<script type="text/javascript" src="<?php 
echo RESOURCE_SITE_URL;
?>
/js/fileupload/jquery.ui.widget.js" charset="utf-8"></script> 
<script type="text/javascript" src="<?php 
echo RESOURCE_SITE_URL;
?>
/js/fileupload/jquery.fileupload.js" charset="utf-8"></script> 
<script type="text/javascript" src="<?php 
echo RESOURCE_SITE_URL;
?>
/js/template.min.js" charset="utf-8"></script> 
<script type="text/javascript">
    var url_upload_image = '<?php 
echo urlAdmin('mb_special', 'special_image_upload');
?>
';

    $(document).ready(function(){
        var $current_content = null;
        var $current_image = null;
        var $current_image_name = null;
        var $current_image_type = null;
        var $current_image_data = null;
        var old_image = '';
        var $dialog_item_image = $('#dialog_item_image');
        var $dialog_item_image_name = $('#dialog_item_image_name');
        var special_id = <?php 
echo $output['item_info']['special_id'];
?>
Esempio n. 25
0
        <li><a href="<?php 
echo urlAdmin('goods', 'goods');
?>
" ><span><?php 
echo $lang['goods_index_all_goods'];
?>
</span></a></li>
        <li><a href="<?php 
echo urlAdmin('goods', 'goods', array('type' => 'lockup'));
?>
"><span><?php 
echo $lang['goods_index_lock_goods'];
?>
</span></a></li>
        <li><a href="<?php 
echo urlAdmin('goods', 'goods', array('type' => 'waitverify'));
?>
"><span>等待审核</span></a></li>
        <li><a href="JavaScript:void(0);" class="current"><span><?php 
echo $lang['nc_goods_set'];
?>
</span></a></li>
      </ul>
    </div>
  </div>
  <div class="fixed-empty"></div>
  <form method="post" name="form_goodsverify">
    <input type="hidden" name="form_submit" value="ok" />
    <table class="table tb-type2">
      <tbody>
        <tr class="noborder">
Esempio n. 26
0
<?php

defined('InSchoolAssistant') 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 urlAdmin('mall_consult', 'index');
?>
"><span>平台客服咨询列表</span></a></li>
        <li><a href="<?php 
echo 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>
Esempio n. 27
0
              <?php 
}
?>
            </select>
            <a href="javascript:void(0);" id="ncsubmit" class="btn-search " title="<?php 
echo $lang['nc_query'];
?>
">&nbsp;</a>
            
            </td>
        </tr>
      </tbody>
    </table>
  </form>
  <form method='post' id="form_goods" action="<?php 
echo urlAdmin('goods', 'goods_del');
?>
">
    <input type="hidden" name="form_submit" value="ok" />
    <table class="table tb-type2">
      <thead>
        <tr class="space">
          <th colspan="15"><?php 
echo $lang['nc_list'];
?>
</th>
        </tr>
        <tr class="thead">
          <th></th>
          <th class="w24"></th>
          <th>平台货号</th>
Esempio n. 28
0
<?php

defined('InShopNC') or exit('Access Invalid!');
?>

<div class="page">
  <form method="post" name="form1" id="form1" action="<?php 
echo urlAdmin('decoration', 'dw_verify');
?>
">
    <input type="hidden" name="form_submit" value="ok" />
    <input type="hidden" value="<?php 
echo $output["commonids"];
?>
" name="commonids">
    <table class="table tb-type2 nobdb">
      <tbody>
          <tr>
              <td colspan="1" class="required"><label>标题:</label><?php 
echo $output['dw']['dw_name'];
?>
</td>
              
          </tr>
          <tr>
              <td colspan="1" class="required"><label>创建时间:</label><?php 
echo @date('Y-m-d', $output['dw']['dw_add_time']);
?>
</td>
        </tr>
          <tr>
Esempio n. 29
0
        <div class="ico"><i></i></div>
        <h3>微商城</h3>
        <h5>随心看/个人秀/店铺街</h5>
      </dt>
      <dd>
        <ul>
          <li class="w33pre none"><a href="<?php 
    echo urlAdmin('microshop', 'goods_manage');
    ?>
">随心看</a></li>
          <li class="w33pre none"><a href="<?php 
    echo urlAdmin('circle_theme', 'theme_list');
    ?>
">个人秀</a></li>
          <li class="w34pre none"><a href="<?php 
    echo urlAdmin('circle_inform', 'inform_list');
    ?>
">店铺街</a></li>
        </ul>
      </dd>
    </dl>
    <?php 
}
?>
    <dl class="system">
      <dt>
        <div class="ico"><i></i></div>
        <h3><?php 
echo $lang['dashboard_welcome_sys_info'];
?>
</h3>
Esempio n. 30
0
<?php

defined('InSchoolAssistant') or exit('Access Invalid!');
?>

<div class="page">
  <form method="post" name="form1" id="form1" action="<?php 
echo urlAdmin('goods', 'goods_verify');
?>
">
    <input type="hidden" name="form_submit" value="ok" />
    <input type="hidden" value="<?php 
echo $output["commonids"];
?>
" name="commonids">
    <table class="table tb-type2 nobdb">
      <tbody>
        <tr class="noborder">
          <td colspan="2" class="required"><label>审核通过:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform onoff"><label for="rewrite_enabled"  class="cb-enable selected" title="<?php 
echo $lang['nc_yes'];
?>
"><span><?php 
echo $lang['nc_yes'];
?>
</span></label>
            <label for="rewrite_disabled" class="cb-disable" title="<?php 
echo $lang['nc_no'];
?>