Пример #1
0
 public function __construct($totalSize = 0, $config = 'pagination')
 {
     $config = ConfigUtil::loadConfig($config);
     $instance = get_instance();
     $config['total_rows'] = $totalSize;
     $config['base_url'] = RequestUtil::CM();
     $instance->load->library('pagination', $config);
     $this->pagination = $instance->pagination;
 }
Пример #2
0
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('coupon/index');
?>
">优惠券管理</a>
        <span class="crumb-step">&gt;</span><span>新增优惠券</span></div>
</div>
<div class="result-wrap">
    <div class="result-content">
        <div class="error">
            <?php 
echo validation_errors();
?>
        </div>

        <?php 
echo form_open(RequestUtil::CM());
?>
        <table class="insert-tab" width="100%">
            <tbody>

            <tr>
                <th><i class="require-red">*</i>优惠券名称:</th>
                <td>
                    <input class="common-text required" name="coupon_name"
                           value="<?php 
echo set_value('coupon_name');
?>
" size="50" type="text">
                </td>
            </tr>
Пример #3
0
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('coupon/index');
?>
">优惠券管理</a>
        <span class="crumb-step">&gt;</span><span>新增优惠券</span></div>
</div>
<div class="result-wrap">
    <div class="result-content">
        <div class="error">
            <?php 
echo validation_errors();
?>
        </div>

        <?php 
echo form_open_multipart(RequestUtil::CM(array($exchangeGoods['exchange_goods_id'], $limit)));
?>
        <table class="insert-tab" width="100%">
            <tbody>

            <tr>
                <th><i class="require-red">*</i>兑换商品名称:</th>
                <td>
                    <input class="common-text required" name="exchange_goods_name"
                           value="<?php 
echo $exchangeGoods['exchange_goods_name'];
?>
" size="50" type="text">
                </td>
            </tr>
Пример #4
0
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('coupon/index');
?>
">优惠券管理</a>
        <span class="crumb-step">&gt;</span><span>新增优惠券</span></div>
</div>
<div class="result-wrap">
    <div class="result-content">
        <div class="error">
            <?php 
echo validation_errors();
?>
        </div>

        <?php 
echo form_open_multipart(RequestUtil::CM());
?>
        <table class="insert-tab" width="100%">
            <tbody>

            <tr>
                <th><i class="require-red">*</i>兑换商品名称:</th>
                <td>
                    <input class="common-text required" name="exchange_goods_name"
                           value="<?php 
echo set_value('exchange_goods_name');
?>
" size="50" type="text">
                </td>
            </tr>
Пример #5
0
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('couponCode/index');
?>
">优惠码管理</a>
        <span class="crumb-step">&gt;</span><span>修改优惠码</span></div>
</div>
<div class="result-wrap">
    <div class="result-content">
        <div class="error">
            <?php 
echo validation_errors();
?>
        </div>

        <?php 
echo form_open(RequestUtil::CM(array($coupon['coupon_code_id'], $limit)));
?>
        <table class="insert-tab" width="100%">
            <tbody>

            <tr>
                <th><i class="require-red">*</i>优惠码:</th>
                <td>
                    <input class="common-text required" name="coupon_code" maxlength="6"
                           value="<?php 
echo $coupon['coupon_code'];
?>
" size="20" type="text">(6位)
                </td>
            </tr>
Пример #6
0
    <div class="result-content">
        <div class="error">
            <?php 
echo validation_errors();
?>
        </div>
        <div class="result-title">
            <div class="result-list">
                <h1><?php 
echo $beautician['name'];
?>
 的工作时间</h1>
            </div>
        </div>
        <?php 
echo form_open(RequestUtil::CM(array('beautician_id' => $beauticianId)));
?>
        <table class="insert-tab" width="100%">
            <tbody>
            <?php 
foreach ($beauticianWorkTime as $key => $workTime) {
    ?>
            <tr>
                <th><?php 
    echo DateUtil::inWeekName($key);
    ?>
 :</th>
                <td>
                    <?php 
    foreach ($timeSetting as $timeKey => $setting) {
        ?>
Пример #7
0
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('slider/index');
?>
">幻灯片/福利管理</a>
        <span class="crumb-step">&gt;</span><span>修改</span></div>
</div>
<div class="result-wrap">
    <div class="result-content">
        <div class="error">
            <?php 
echo validation_errors();
?>
        </div>

        <?php 
echo form_open_multipart(RequestUtil::CM(array('sliderId' => $slider['slider_id'])));
?>
        <table class="insert-tab" width="100%">
            <tbody>

            <tr>
                <th><i class="require-red">*</i>标题:</th>
                <td>
                    <input class="common-text required" name="title"
                           value="<?php 
echo $slider['title'];
?>
" size="50" type="text">
                </td>
            </tr>
            <tr>
Пример #8
0
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('project/index');
?>
">项目管理</a>
        <span class="crumb-step">&gt;</span><span>修改项目</span></div>
</div>
<div class="result-wrap">
    <div class="result-content">
        <div class="error">
            <?php 
echo validation_errors();
?>
        </div>

        <?php 
echo form_open_multipart(RequestUtil::CM(array('project_id' => $project['project_id'], 'limit' => $limit)));
?>
        <table class="insert-tab" width="100%">
            <tbody>
            <tr>
                <th width="120"><i class="require-red">*</i>分类:</th>
                <td>
                    <select name="category_id" class="required select">
                        <option value="">请选择分类</option>
                        <?php 
foreach ($categories as $key => $category) {
    ?>
                            <?php 
    $checked = $key == $project['category_id'] ? ' selected' : '';
    ?>
                            <option value="<?php 
Пример #9
0
        <span class="crumb-step">&gt;</span>
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('category/index');
?>
">分类管理</a>
        <span class="crumb-step">&gt;</span><span>新增分类</span></div>
</div>
<div class="result-wrap">
    <div class="result-content">
        <div class="error">
            <?php 
echo validation_errors();
?>
        </div>
        <?php 
echo form_open(RequestUtil::CM(array($category_id)));
?>
        <table class="insert-tab" width="100%">
            <tbody>
            <tr>
                <th><i class="require-red">*</i>分类标题:</th>
                <td>
                    <input class="common-text required" name="category_name" size="50"
                           value="<?php 
echo set_value('category_name') ? set_value('category_name') : $category_name;
?>
" type="text">
                </td>
            </tr>

            <tr>
Пример #10
0
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('article/index');
?>
">文章管理</a>
        <span class="crumb-step">&gt;</span><span>修改文章</span></div>
</div>
<div class="result-wrap">
    <div class="result-content">
        <div class="error">
            <?php 
echo validation_errors();
?>
        </div>

        <?php 
echo form_open(RequestUtil::CM(array('article_id' => $article['article_id'])));
?>
        <table class="insert-tab" width="100%">
            <tbody>
            <tr>
                <th><i class="require-red">*</i>标题:</th>
                <td>
                    <input class="common-text required" name="title"
                           value="<?php 
echo $article['title'];
?>
" size="50" type="text">
                </td>
            </tr>
            <tr>
                <th><i class="require-red">*</i>别名:</th>
Пример #11
0
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('user/index');
?>
">账户管理</a>
        <span class="crumb-step">&gt;</span><span>修改密码</span></div>
</div>
<div class="result-wrap">
    <div class="result-content">
        <div class="error">
            <?php 
echo validation_errors();
?>
        </div>

        <?php 
echo form_open(RequestUtil::CM(array('user_id' => $user['user_id'])));
?>
        <table class="insert-tab" width="100%">
            <tbody>
            <tr>
                <th><i class="require-red">*</i>账户名:</th>
                <td><?php 
echo $user['user_name'];
?>
</td>
            </tr>

            <tr>
                <th><i class="require-red">*</i>密码:</th>
                <td><input class="common-text"  name="password" size="20" type="password"></td>
            </tr>
Пример #12
0
        <span class="crumb-step">&gt;</span>
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('beautician/index');
?>
">美容师管理</a>
        <span class="crumb-step">&gt;</span><span>修改美容师</span></div>
</div>
<div class="result-wrap">
    <div class="result-content">
        <div class="error">
            <?php 
echo validation_errors();
?>
        </div>
        <?php 
echo form_open_multipart(RequestUtil::CM(array('beautician_id' => $beautician['beautician_id'])));
?>
        <table class="insert-tab" width="100%">
            <tbody>
            <tr>
                <th><i class="require-red">*</i>姓名:</th>
                <td>
                    <input class="common-text required" name="name" size="30"
                           value="<?php 
echo $beautician['name'];
?>
" type="text">
                </td>
            </tr>

Пример #13
0
        <a class="crumb-name" href="<?php 
echo UrlUtil::createBackendUrl('shop/index');
?>
">店铺管理</a>
        <span class="crumb-step">&gt;</span><span>新增店铺</span></div>
</div>
<div class="result-wrap">
    <div class="result-content">
        <div class="error">
            <?php 
echo validation_errors();
?>
        </div>

        <?php 
echo form_open_multipart(RequestUtil::CM(array('shop_id' => $shop['shop_id'])));
?>
        <table class="insert-tab" width="100%">
            <tbody>
            <tr>
                <th><i class="require-red">*</i>店铺名:</th>
                <td>
                    <input class="common-text required" name="shop_name"
                           value="<?php 
echo $shop['shop_name'];
?>
" size="50" type="text">
                </td>
            </tr>

            <tr>