123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- {include file="public/header" /}
- <div class="page">
- <div class="fixed-bar">
- <div class="item-title">
- <div class="subject">
- <h3>{$Think.lang.ds_exppoints}</h3>
- <h5></h5>
- </div>
- {include file="public/admin_items" /}
- </div>
- </div>
- <form method="get" name="formSearch" id="formSearch" action="">
- <div class="ds-search-form">
- <dl>
- <dt>{$Think.lang.explog_membername}</dt>
- <dd><input type="text" name="mname" class="txt" value='{$Request.param.mname}'></dd>
- </dl>
- <dl>
- <dt>{$Think.lang.mg_addtime}</dt>
- <dd>
- <input type="text" id="stime" name="stime" class="txt date" value="{$Request.param.stime}">
- <label>~</label>
- <input type="text" id="etime" name="etime" class="txt date" value="{$Request.param.etime}">
- </dd>
- </dl>
- <dl>
- <dd>
- <select name="stage">
- <option value="" {notempty name="$Request.param.stage"}selected=selected{/notempty}>{$Think.lang.explog_stage}</option>
- {foreach name="stage_arr" item="v" key="k" }
- <option value="{$k}" {if condition="$Request.param.stage eq $k"}selected=selected{/if}>{$v}</option>
- {/foreach}
- </select>
- </dd>
- </dl>
- <dl>
- <dt>{$Think.lang.explog_desc}</dt>
- <dd><input type="text" id="description" name="description" class="txt2" value="{$Request.param.description}" ></dd>
- </dl>
- <div class="btn_group">
- <input type="submit" class="btn" value="{$Think.lang.ds_query}"/>
- <a href="{:url('Exppoints/index')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
- <a class="btn btn-default" href="javascript:export_xls('{:url('Exppoints/export_step1')}')">{$Think.lang.ds_export}Excel</a>
- </div>
- </div>
- </form>
- <div class="explanation" id="explanation">
- <div class="title" id="checkZoom">
- <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
- <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
- </div>
- <ul>
- <li>{$Think.lang.exppoints_index_help1}</li>
- </ul>
- </div>
- <table class="ds-default-table">
- <thead>
- <tr>
- <th>{$Think.lang.explog_membername}</th>
- <th>{$Think.lang.exp_value}</th>
- <th>{$Think.lang.explog_addtime}</th>
- <th>{$Think.lang.explog_stage}</th>
- <th>{$Think.lang.explog_desc}</th>
- </tr>
- </thead>
- <tbody>
- {notempty name="list_log"}
- {foreach name="list_log" item="log"}
- <tr>
- <td>{$log.explog_membername}</td>
- <td>{$log.explog_points}</td>
- <td>{$log.explog_addtime|date="Y-m-d H:i:s"}</td>
- <td>{$stage_arr[$log.explog_stage]}</td>
- <td>{$log.explog_desc}</td>
- </tr>
- {/foreach}
- {else /}
- <tr class="no_data">
- <td colspan="15">{$Think.lang.ds_no_record}</td>
- </tr>
- {/notempty}
- </tbody>
- </table>
- {$show_page|raw}
- </div>
- <script language="javascript">
- $(function () {
- $('#stime').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
- var year2 = dateText.split('-') ;
- $('#etime').datepicker( "option", "minDate", new Date(parseInt(year2[0]),parseInt(year2[1])-1,parseInt(year2[2])+1) );
- }});
- $('#etime').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
- var year1 = dateText.split('-') ;
- $('#stime').datepicker( "option", "maxDate", new Date(parseInt(year1[0]),parseInt(year1[1])-1,parseInt(year1[2])-1) );
- }});
- });
- </script>
|