| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- {// 引入标签库 }
- <tagLib name="html" />
- <include file="Public:header" />
- <load href='__TMPL__Common/js/jquery.bgiframe.js' />
- <load href='__TMPL__Common/js/jquery.weebox.js' />
- <load href='__TMPL__Common/js/user.js' />
- <load href='__TMPL__Common/style/weebox.css' />
- <script type="text/javascript">
- function show_content(id)
- {
- $.ajax({
- url: ROOT+'?m=PromoteMsgList&a=show_content&id='+id,
- data: "ajax=1",
- dataType: "json",
- success: function(msg){
- if(msg.status==0){
- alert(msg.info);
- }
- },
- error: function(){
- $.weeboxs.open(ROOT+'?m=PromoteMsgList&a=show_content&id='+id, {contentType:'ajax',showButton:false,title:LANG['SHOW_CONTENT'],width:800,height:400});
- }
- });
- //$.weeboxs.open(ROOT+'?m=PromoteMsgList&a=show_content&id='+id, {contentType:'ajax',showButton:false,title:LANG['SHOW_CONTENT'],width:800,height:400});
- }
- function send(id)
- {
- $.ajax({
- url: ROOT+"?"+VAR_MODULE+"="+MODULE_NAME+"&"+VAR_ACTION+"=send&id="+id,
- data: "ajax=1",
- success: function(msg){
- alert(msg);
- }
- });
- }
- </script>
- <div class="main">
- <div class="main_title_list"><div class="list-line-ico"></div>{$main_title}</div>
- <div class="button_row">
- </div>
- <div class="search_row">
- <form name="search" action="__APP__" method="get">
- {%SEND_DEST}:<input type="text" class="textbox" name="dest" value="{:trim($_REQUEST['dest'])}" style="width:100px;" />{%CONTENT}:<input type="text" style="margin:0" class="textbox" name="content" value="{:trim($_REQUEST['content'])}" /><input type="hidden" value="PromoteMsgList" name="m" /><input type="hidden" value="index" name="a" /><input type="submit" class="button" value="{%SEARCH}" />
- </form>
- </div>
- <html:list
- id="dataTable"
- style="dataTable"
- name="msg"
- checkbox="true"
- action="true"
- datasource="list"
- show="id:{%ID}|90px
- ,send_type|get_send_type_msg:{%SEND_TYPE}
- ,dest:{%SEND_DEST}
- ,title:{%TITLE}
- ,content|show_content=$msg['id']:{%CONTENT}
- ,create_time|to_date:{%CREATE_TIME}
- ,send_time|to_date:{%SEND_TIME}
- ,is_send|get_is_send:{%SEND_STATUS}
- ,is_success|get_send_result:{%SEND_RESULT}
- ,result:{%SEND_INFO}"
- actionlist="send:{%SEND_NOW},foreverdel:{%FOREVERDEL}" />
- <table class="dataTable">
- <tbody>
- <td colspan="12">
- <input type="button" class="button button-add" value="{%FOREVERDEL}" onclick="foreverdel();" />
- <input type="button" id="reset_sending" class="button button-del" value="{%CANCEL_SENDING}" onclick="reset_sending('PROMOTE_MSG_LOCK');" />
- </td>
- </tbody>
- </table>
- <div class="page">{$page}</div>
- </div>
- <include file="Public:footer" />
|