public function __construct() { parent::__construct(); if (!UserUtil::getUserId()) { ResponseUtil::redirect(UrlUtil::createBackendUrl('login')); } $controller = strtolower($this->router->class); $method = strtolower($this->router->method); if (UserUtil::isShopKeeper()) { if (!array_key_exists($controller, $this->shopKeeperPermissions)) { $this->message('你没有权限执行本步骤!'); } $methods = $this->shopKeeperPermissions[$controller]; if ($methods == '*') { return true; } else { if (!in_array($method, $methods)) { $this->message('你没有权限执行本步骤!'); } else { return true; } } } }
?> </td> <td> <a class="link-view btn btn-success" href="<?php echo UrlUtil::createBackendUrl('article/articleDetail/' . $article['article_id']); ?> ">详情</a> <a class="link-update btn btn-warning" href="<?php echo UrlUtil::createBackendUrl('article/updateArticle/' . $article['article_id']); ?> ">修改</a> <a class="link-del btn btn-danger" href="<?php echo UrlUtil::createBackendUrl('article/deleteArticle/' . $article['article_id']); ?> ">删除</a> </td> </tr> <?php } ?> </table> <div class="list-page"><?php echo $pages; ?> </div> <?php } else { ?>
echo $coupon['expire_time']; ?> </td> <td><?php echo $coupon['create_time']; ?> </td> <td> <a class="link-update btn btn-warning" href="<?php echo UrlUtil::createBackendUrl('coupon/updateCoupon/' . $coupon['coupon_id'] . "/{$limit}"); ?> ">修改</a> <a class="link-del btn btn-danger" href="<?php echo UrlUtil::createBackendUrl('coupon/deleteCoupon/' . $coupon['coupon_id'] . "/{$limit}"); ?> ">删除</a> </td> </tr> <?php } ?> </table> <div class="list-page"><?php echo $pages; ?> </div> <?php } else { ?>
<th><i class="require-red">*</i>过期时间:</th> <td> <input class="common-text required" name="expire_time" value="<?php echo $exchangeGoods['expire_time']; ?> " size="20" type="text"> </td> </tr> <tr> <th></th> <td> <input class="btn btn-primary btn6 mr10" value="提交" type="submit"> <a class="btn btn6" href="<?php echo UrlUtil::createBackendUrl('exchangeGoods/index'); ?> ">返回</a> </td> </tr> </tbody> </table> </form> </div> <script> $(document).ready(function() { $('[name="expire_time"], [name="start_time"]').datetimepicker({ lang:'ch', timepicker:false, format:'Y-m-d',
echo $category['projects']; ?> </td> <td><?php echo $category['create_time']; ?> </td> <td> <a class="link-update btn btn-warning" href="<?php echo UrlUtil::createBackendUrl("category/updateCategory/{$categoryId}"); ?> ">修改</a> <a class="link-del btn btn-danger" href="<?php echo UrlUtil::createBackendUrl("category/deleteCategory/{$categoryId}"); ?> ">删除</a> </td> </tr> <?php } ?> </table> </div> <?php } else { ?> <div class="error">暂无分类</div> <?php }
?> ">修改</a> <a class="link-del btn btn-danger" href="<?php echo UrlUtil::createBackendUrl("beautician/deleteBeautician/{$beautician_id}"); ?> ">删除</a> <a class="link-update btn btn-info" href="<?php echo UrlUtil::createBackendUrl("beautician/rest?beautician_id={$beautician_id}"); ?> ">请假记录</a> <a class="link-update btn btn-primary" href="<?php echo UrlUtil::createBackendUrl("beautician/updateBeauticianWorkTime/{$beautician_id}"); ?> ">工作时间</a> </td> </tr> <?php } ?> </table> </div> <?php } else { ?> <div class="error">请添加美容师</div> <?php }
.appointment-time { height: 60px; } </style> <div class="crumb-wrap"> <div class="crumb-list"><i class="icon-font"></i> <a href="<?php echo UrlUtil::createBackendUrl('project/index'); ?> ">首页</a> <span class="crumb-step">></span><span>线下预约</span></div> </div> <div class="result-wrap"> <div class="result-content"> <?php echo form_open(UrlUtil::createBackendUrl('offlineAppointment/appointment')); ?> <input type="hidden" name="appointment_times" value=""> <table class="insert-tab" width="100%"> <tbody> <tr> <th><i class="require-red">*</i>预约商品:</th> <td> <input type="hidden" name="project_id" value="<?php echo $project['project_id']; ?> "> <input type="hidden" name="use_time" value="<?php echo $project['use_time']; ?>
echo $backup['file_path']; ?> </td> <td><?php echo $backup['create_time']; ?> </td> <td> <a class="link-update btn btn-success" href="<?php echo UrlUtil::createBackendUrl('tool/download/' . $backup['backup_id']); ?> ">下载</a> <a class="link-del btn btn-danger" href="<?php echo UrlUtil::createBackendUrl('tool/deleteBackup/' . $backup['backup_id']); ?> ">删除</a> </td> </tr> <?php } ?> </table> <div class="list-page"><?php echo $pages; ?> </div> <?php } else { ?>
echo $goods['expire_time']; ?> </td> <td><?php echo $goods['create_time']; ?> </td> <td> <a class="link-update btn btn-warning" href="<?php echo UrlUtil::createBackendUrl('exchangeGoods/updateExchangeGoods/' . $goods['exchange_goods_id'] . "/{$limit}"); ?> ">修改</a> <a class="link-del btn btn-danger" href="<?php echo UrlUtil::createBackendUrl('exchangeGoods/deleteExchangeGoods/' . $goods['exchange_goods_id'] . "/{$limit}"); ?> ">删除</a> </td> </tr> <?php } ?> </table> <div class="list-page"><?php echo $pages; ?> </div> <?php } else { ?>
<th width="120"><i class="require-red">*</i>备注:</th> <td> <input class="common-text required" name="ps" size="50" value="<?php echo set_value('ps'); ?> " type="text"> </td> </tr> <tr> <th></th> <td> <input class="btn btn-primary btn6 mr10" value="提交" type="submit"> <a class="btn btn6" href="<?php echo UrlUtil::createBackendUrl("beautician/rest?beautician_id={$beautician_id}"); ?> ">返回</a> </td> </tr> </tbody> </table> </form> </div> <script> $(document).ready(function() { $('[name="rest_day"]').datetimepicker({ lang:'ch', timepicker:false, format:'Y-m-d',
<div class="crumb-wrap"> <div class="crumb-list"><i class="icon-font"></i> <a href="<?php echo UrlUtil::createBackendUrl('project/index'); ?> ">首页</a> <span class="crumb-step">></span> <a class="crumb-name" href="<?php echo UrlUtil::createBackendUrl("order/index/{$limit}"); ?> ">订单管理</a> <span class="crumb-step">></span><span>订单详情</span></div> </div> <div class="result-wrap"> <div class="result-content"> <h1 class="table-title">订单详情</h1> <table class="insert-tab" width="100%"> <tbody> <tr> <th width="120">订单号:</th> <td width="400"> <?php echo $order['order_no']; ?> </td> <th width="120">预约日期:</th> <td> <?php echo $order['appointment_day']; ?> </td>
echo UrlUtil::createBackendUrl('order/orderDetail/' . $order['order_no'] . "/{$limit}"); ?> ">详情</a> <a class="link-del btn btn-danger" href="<?php echo UrlUtil::createBackendUrl('order/deleteOrder/' . $order['order_id']); ?> ">删除</a> <?php if ($order['order_sign'] == OrderModel::ORDER_PAYED) { ?> <br> <a class="link-complete btn btn-warning" href="<?php echo UrlUtil::createBackendUrl('order/CancelOrder/' . $order['order_id']); ?> ">取消</a> <?php } ?> </td> </tr> <?php } ?> </table> <div class="list-page"><?php echo $pages; ?> </div>
<td><?php echo $beauticianRest['start_time']; ?> </td> <td><?php echo $beauticianRest['end_time']; ?> </td> <td><?php echo $beauticianRest['ps']; ?> </td> <td> <a class="link-del btn btn-danger" href="<?php echo UrlUtil::createBackendUrl("beautician/deleteBeauticianRest/{$beautician_rest_id}"); ?> ">删除</a> </td> </tr> <?php } ?> </table> <div class="list-page"><?php echo $pages; ?> </div> </div> <?php } else {
echo $shop['contact_number']; ?> </td> <td><?php echo $shop['address']; ?> </td> <td> <a class="link-update btn btn-warning" href="<?php echo UrlUtil::createBackendUrl('shop/updateShop/' . $shop['shop_id']); ?> ">修改</a> <a class="link-del btn btn-danger" href="<?php echo UrlUtil::createBackendUrl('shop/deleteShop/' . $shop['shop_id']); ?> ">删除</a> </td> </tr> <?php } ?> </table> <div class="list-page"><?php echo $pages; ?> </div> <?php } else { ?>
/** * 退出 */ public function logout() { session_destroy(); ResponseUtil::redirect(UrlUtil::createBackendUrl('login')); }
?> <li> <a href="#"><i class="icon-font"></i>系统管理</a> <ul class="sub-menu"> <!--<li><a href="<?php echo UrlUtil::createBackendUrl('setting/cleanCache'); ?> "><i class="icon-font"></i>清理缓存</a></li>--> <li><a href="<?php echo UrlUtil::createBackendUrl('tool/index'); ?> "> <i class="icon-font"></i>数据备份</a></li> <li><a href="<?php echo UrlUtil::createBackendUrl('workTime/index'); ?> "><i class="icon-font"></i>工作时间设置</a></li> <!--<li><a href=""><i class="icon-font"></i>数据还原</a></li>--> </ul> </li> <?php } ?> </ul> </div> </div> <div class="main-wrap"><?php echo $content; ?> </div>
echo $timeKey; ?> "<?php echo $selected; ?> > <?php echo $setting; ?> <?php } ?> </td> </tr> <?php } ?> <tr> <th></th> <td> <input class="btn btn-primary btn6 mr10" value="提交" type="submit"> <a class="btn btn6" href="<?php echo UrlUtil::createBackendUrl('beautician/index'); ?> ">返回</a> </td> </tr> </tbody> </table> </form> </div>
<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> <tr> <th><i class="require-red">*</i>确认密码:</th> <td><input class="common-text" name="re_password" size="20" type="password"></td> </tr> <tr> <th></th> <td> <input class="btn btn-primary btn6 mr10" value="提交" type="submit"> <a class="btn btn6" href="<?php echo UrlUtil::createBackendUrl('user/index'); ?> ">返回</a> </td> </tr> </tbody> </table> </form> </div>
echo $slider['slider_type']; ?> </td> <td><?php echo $slider['order_sort']; ?> </td> <td> <a class="btn btn-warning" href="<?php echo UrlUtil::createBackendUrl('slider/updateSlider/' . $slider['slider_id']); ?> ">修改</a> <a class="link-del btn btn-danger" href="<?php echo UrlUtil::createBackendUrl('slider/deleteSlider/' . $slider['slider_id']); ?> ">删除</a> </td> </tr> <?php } ?> </table> <div class="list-page"><?php echo $pages; ?> </div> <?php } else { ?>
<div class="crumb-wrap"> <div class="crumb-list"><i class="icon-font"></i><a href="<?php echo UrlUtil::createBackendUrl('customer/index'); ?> ">首页</a><span class="crumb-step">></span><span class="crumb-name">客户管理</span></div> </div> <div class="search-wrap"> <div class="search-content"> <form action="<?php echo UrlUtil::createBackendUrl('customer/index'); ?> ?" method="get"> <table class="search-tab"> <tr> <th width="70">微信昵称:</th> <td><input class="common-text" placeholder="微信昵称" type="text" name="nick_name" value="<?php echo defaultValue($params['nick_name']); ?> "></td> <td><input class="btn btn-primary btn2" type="submit"></td> </tr> </table> </form> </div> </div> <div class="result-wrap"> <div class="result-content"> <?php
</tr> <tr> <th><i class="require-red">*</i>分类:</th> <td> <select name="slider_type" class="select"> <option value="幻灯片">幻灯片</option> <option value="福利栏">福利栏</option> </select> </td> </tr> <tr> <th><i class="require-red">*</i>图片:</th> <td><input name="pic" id="" type="file" class="common-text"></td> </tr> <tr> <th></th> <td> <input class="btn btn-primary btn6 mr10" value="提交" type="submit"> <a class="btn btn6" href="<?php echo UrlUtil::createBackendUrl('slider/index'); ?> ">返回</a> </td> </tr> </tbody> </table> </form> </div>
value="<?php echo set_value('category_name') ? set_value('category_name') : $category_name; ?> " type="text"> </td> </tr> <tr> <th><i class="require-red">*</i>排序:</th> <td> <input class="common-text required" name="order_sort" size="10" value="<?php echo set_value('order_sort') ? set_value('order_sort') : $order_sort; ?> " type="text"> </td> </tr> <tr> <th></th> <td> <input class="btn btn-primary btn6 mr10" value="提交" type="submit"> <a class="btn btn6" href="<?php echo UrlUtil::createBackendUrl('category/index'); ?> ">返回</a> </td> </tr> </tbody> </table> </form> </div>
} ?> </select> </td> </tr> <tr> <th><i class="require-red">*</i>选择项目:</th> <td> <select class="select" name="project_id" id="project_id"> </select> </td> </tr> <tr> <th></th> <td> <input class="btn btn-primary btn6 mr10" value="提交" type="submit"> <a class="btn btn6" href="<?php echo UrlUtil::createBackendUrl('ProjectProperty/projectForNewUserList'); ?> ">返回</a> </td> </tr> </tbody> </table> </form> </div>
</label> </td> </tr> <tr> <th><i class="require-red">*</i>别名:</th> <td><?php echo $article['alias_name']; ?> </td></tr> </tr> <tr> <th><i class="require-red">*</i>内容:</th> <td><?php echo $article['content']; ?> </td> </tr> <tr> <th></th> <td> <a class="btn btn6" href="<?php echo UrlUtil::createBackendUrl('article/index'); ?> ">返回</a> </td> </tr> </tbody> </table> </div>
<td> <?php if ($order['order_status'] == OfflineOrderModel::ORDER_WAIT) { ?> <a class="btn btn-info" href="<?php echo UrlUtil::createBackendUrl('offlineOrder/service/' . $order['offline_order_id']); ?> ">已服务</a> <?php } ?> <a class="link-del btn btn-warning" href="<?php echo UrlUtil::createBackendUrl('offlineOrder/cancel/' . $order['offline_order_id']); ?> ">删除</a> </td> </tr> <?php } ?> </table> <div class="list-page"><?php echo $pages; ?> </div> <?php } else { ?>
?> " id="user" size="40" class="admin_input_style"/> </li> <li> <label for="pwd">密码:</label> <input type="password" name="password" id="pwd" size="40" class="admin_input_style"/> </li> <li> <label for="pwd">验证码:</label> <input type="text" name="verify_code" size="10" class="admin_input_style"/> <img src="<?php echo UrlUtil::createBackendUrl('login/code'); ?> ?<?php echo mt_rand(); ?> " class="image-verify"> </li> <li> <input type="submit" tabindex="3" value="提交" class="btn btn-primary"/> </li> </ul> </form> </div> </div> <p class="admin_copyright">© <?php
<div class="crumb-wrap"> <div class="crumb-list"><i class="icon-font"></i> <a href="<?php echo UrlUtil::createBackendUrl('project/index'); ?> ">首页</a> <span class="crumb-step">></span><span>提示</span></div> </div> <div class="result-wrap"> <div class="result-content"> <div class="tips"> <?php echo $message; ?> <br> <br> <?php if ($returnBack) { ?> <a class="btn btn6" href="<?php echo $returnBack; ?> ">返回</a> <?php } else { ?> <input class="btn btn6" onClick="history.go(-1)" value="返回" type="button"> <?php } ?> </div>
<th><i class="require-red">*</i>过期时间:</th> <td> <input class="common-text required" name="expire_time" value="<?php echo $coupon['expire_time']; ?> " size="20" type="text"> </td> </tr> <tr> <th></th> <td> <input class="btn btn-primary btn6 mr10" value="提交" type="submit"> <a class="btn btn6" href="<?php echo UrlUtil::createBackendUrl('coupon/index/' . $limit); ?> ">返回</a> </td> </tr> </tbody> </table> </form> </div> <script> $(document).ready(function() { $('[name="expire_time"], [name="start_time"]').datetimepicker({ lang:'ch', timepicker:false, format:'Y-m-d',
<th><i class="require-red">*</i>过期时间:</th> <td> <input class="common-text required" name="expire_time" value="<?php echo set_value('expire_time'); ?> " size="20" type="text"> </td> </tr> <tr> <th></th> <td> <input class="btn btn-primary btn6 mr10" value="提交" type="submit"> <a class="btn btn6" href="<?php echo UrlUtil::createBackendUrl('coupon/index'); ?> ">返回</a> </td> </tr> </tbody> </table> </form> </div> <script> $(document).ready(function() { $('[name="expire_time"], [name="start_time"]').datetimepicker({ lang:'ch', timepicker:false, format:'Y-m-d',
<td> <textarea name="suitable_skin" class="common-textarea" rows="5" maxlength="500"><?php echo $project['suitable_skin']; ?> </textarea></td> </tr> <tr> <th>功效:</th> <td> <?php echo $this->view('backend/editor', array('editorName' => 'effects', 'content' => $project['effects'])); ?> </textarea></td> </tr> <tr> <th></th> <td> <input class="btn btn-primary btn6 mr10" value="提交" type="submit"> <a class="btn btn6" href="<?php echo UrlUtil::createBackendUrl("project/index/{$limit}"); ?> ">返回</a> </td> </tr> </tbody> </table> </form> </div>