123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- {template 'common/header'}
-
- </style>
- <ul class="nav nav-tabs">
- <li class="{$active8}"><a href="{php echo $this->createWebUrl('typeList');}">产品列表</a></li>
- <li class="{$active7}"><a href="{php echo $this->createWebUrl('payList');}">支付记录</a></li>
- </ul>
-
-
- {if $active8== 'active'}
- <div class="clearfix" ng-controller="memberProperty" id="memberProperty">
- <div class="panel panel-default">
- <div class="panel-heading">
- 续费产品列表 <a target="_blank" class="label label-success" href="{$openurl}"> 预览[请在微信打开]</a>
- </div>
- <div class="panel-body">
- <table class="table table-hover">
- <thead>
- <tr>
-
- <th>名称</th>
- <th>类型</th>
- <th>价格</th>
-
- <th>操作</th>
- <th>操作</th>
-
- </tr>
- </thead>
- <tbody id="list">
-
- {loop $navmsg $index $items}
- <tr>
-
- <th> {$items['title']} </th>
- <th> {$items['type']} </th>
- <th> {$items['jiage']} </th>
- <th> <a href="{php echo $this->createWebUrl('typeList')}&sid={$items['id']}"> 编辑 </a> </th>
- <th>
-
- <form action="{php echo $this->createWebUrl('Delfeetype')}" method="post">
-
-
- <input type="hidden" name="id" value="{$items['id']}" />
-
- <input name="submit" type="submit" value="删除" class="btn btn-primary">
-
- </form>
- </th>
-
- </tr>
- {/loop}
- </tbody>
- </table>
-
- </div>
- </div>
- </div>
- <div class="clearfix" ng-controller="memberProperty" id="memberProperty">
- <form action="{php echo $this->createWebUrl('savefeetype');}" method="post" class="form-horizontal">
- <div class="panel panel-default">
- <div class="panel-heading">
- {if $add}
- 编辑产品
- {else}
- 添加产品
- {/if}
- </div>
- <div class="panel-body">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">名称</label>
- <div class="col-sm-9 col-xs-12">
- <input type="text" name="title" value="{$s[0]['title']}" class="form-control">
- <span class="help-block">如:</span>
- </div>
-
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">分类</label>
- <div class="col-sm-9 col-xs-12">
- <input type="text" name="type" value="{$s[0]['type']}" class="form-control">
- <span class="help-block">如:次 时长 </span>
- <span class="help-block"></span>
- </div>
-
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">金额</label>
- <div class="col-sm-9 col-xs-12">
- <input type="text" name="jiage" value="{$s[0]['jiage']}" class="form-control">
- <span class="help-block">单位:元</span>
- </div>
-
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">图片</label>
- <div class="col-sm-9 col-xs-12">
- {php echo tpl_form_field_image('add1', $s[0]['add1']);}
- <span class="help-block"> </span>
- </div>
-
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">详细介绍</label>
- <div class="col-sm-9 col-xs-12">
- {php echo tpl_ueditor("detail", $s[0]['detail'], $options = array("height"=>500));}
- <span class="help-block"> </span>
- </div>
-
-
- </div>
- </div>
- <div class="form-group col-sm-12">
- <input type="hidden" name="add" value="{$add}" />
- <input type="hidden" name="sid" value="{$s[0]['id']}" />
- <input name="submit" type="submit" value="保存" class="btn btn-primary">
- </div>
- </form>
- </div>
- <div class="clearfix" ng-controller="memberProperty" id="memberProperty">
- <div class="panel panel-default">
- <div class="panel-heading">
- 扫码预览
- </div>
- <div class="panel-body">
- <img src="{$erweima}">
-
- </div>
- </div>
- <div class="form-group col-sm-12">
- </div>
-
- </div>
-
- {else}
- {/if}
- {if $active7 == 'active'}
- <div class="clearfix" ng-controller="memberProperty" id="memberProperty">
- {if $isfounder==true}
-
-
- <div class="panel panel-default">
- <div class="panel-heading">
- 操作记录
- </div>
- <div class="panel-body">
- <div class="form-group">
-
- <table class="table table-hover">
- <tr><th> 操作人 </th><th> 详情 </th> <th> 时间 </th>
- {loop $alllist $indexid $nav}
- <tr>
-
- <th width=20%> {$nav['laiyuan']}</th>
- <th width=20%> {$nav['beizhu']}</th>
-
- <th width=20%> {php echo date('Y-m-d h:i:s',($nav['updatetime']));}</th>
- </tr>
- {/loop}
-
- </table>
-
- <div class="form-controls col-sm-3 help-block"> </div>
- </div>
-
-
-
-
- </div>
-
-
- {else} 无权限 {/if}
-
-
- </div>
- {else}
- {/if}
-
- {template 'common/footer'}
|