| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- {// 引入标签库 }
- <tagLib name="html" />
- <include file="Public:header" />
- <include file="Public:new" />
- <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" src="__TMPL__Common/js/calendar/calendar.php?lang=zh-cn" ></script>
- <load href='__TMPL__Common/js/calendar/calendar.css' />
- <load href='__TMPL__Common/js/calendar/calendar.js' />
- <div class="main">
- <div class="main_title_list"><div class="list-line-ico"></div>图文列表</div>
- <php>
- function get_weibo_type($type){
- switch($type){
- case 'imagetext':
- return '图文动态';
- case 'video':
- return '视频动态';
- case 'weixin':
- return '微信账号';
- case 'goods':
- return '虚拟商品动态';
- case 'red_photo':
- return '红包图片动态';
- case 'photo':
- return '写真动态';
- }
- }
- function get_nickname($id){
- $get_nickname=$GLOBALS['db']->getOne("select nick_name from ".DB_PREFIX."user where id=".$id);
- return emoji_decode($get_nickname);
- }
- function screenshot($screenshot){
- return "<img src='".$screenshot."' style='height:35px;width:35px;'/>";
- }
- function get_weibo_status($status){
- if($status){
- return '上架';
- }else{
- return '下架';
- }
- }
- function get_is_recommend($is_recommend){
- if($is_recommend){
- return '是';
- }else{
- return '否';
- }
- }
- </php>
- <div class="button_row">
- <!--<input type="button" class="button" value="{%ADD}" onclick="add();" />-->
- </div>
- <div class="search_row">
- <form name="search" action="__APP__" method="get" class="clearfix">
- <div>动态ID:<input type="text" class="textbox" name="weibo_id" value="{:trim($_REQUEST['weibo_id'])}" style="width:100px;" /></div>
- <div>发布人ID:<input type="text" class="textbox" name="user_id" value="{:trim($_REQUEST['user_id'])}" style="width:100px;" /></div>
- <div>发布时间:<span><input type="text" class="textbox" name="create_time_1" id="create_time_1" value="{$_REQUEST['create_time_1']}" onfocus="this.blur(); return showCalendar('create_time_1', '%Y-%m-%d', false, false, 'btn_create_time_1');" /><input type="button" class="button" id="btn_create_time_1" value="{%SELECT_TIME}" onclick="return showCalendar('create_time_1', '%Y-%m-%d', false, false, 'btn_create_time_1');" /></span> - <span><input type="text" class="textbox" name="create_time_2" id="create_time_2" value="{$_REQUEST['create_time_2']}" onfocus="this.blur(); return showCalendar('create_time_2', '%Y-%m-%d', false, false, 'btn_create_time_2');" /><input type="button" class="button" id="btn_create_time_2" value="{%SELECT_TIME}" onclick="return showCalendar('create_time_2', '%Y-%m-%d', false, false, 'btn_create_time_2');" /></span>
- <input type="hidden" value="WeiboList" name="m" />
- <input type="hidden" value="imagetext" name="a" />
- <input type="submit" class="button" value="{%SEARCH}" />
- </div> </form>
- </div>
- <?php if (defined('OPEN_SVIDEO_MODULE') && OPEN_SVIDEO_MODULE) { ?>
- <html:list
- id="dataTable"
- style="dataTable"
- name="weibo"
- checkbox="true"
- action="true"
- datasource="list"
- show="id:{%ID}|90px
- ,user_id:发布人ID|90px
- ,user_id|get_nickname=$weibo['user_id']:发布人|180px
- ,type|get_weibo_type=$weibo['type']:动态类型|90px
- ,content:发布内容|270px
- ,status|get_weibo_status=$weibo['status']:动态状态|90px
- ,is_recommend|get_recommend=$weibo['id']:是否推荐|90px
- ,create_time:发布时间|90px
- "
- actionlist="foreverdel:{%DEL}" />
- <?php } else { ?>
- <html:list
- id="dataTable"
- style="dataTable"
- name="weibo"
- checkbox="true"
- action="true"
- datasource="list"
- show="id:{%ID}|90px
- ,user_id:发布人ID|90px
- ,user_id|get_nickname=$weibo['user_id']:发布人|180px
- ,type|get_weibo_type=$weibo['type']:动态类型|90px
- ,content:发布内容|270px
- ,price:发布价格|90px
- ,status|get_weibo_status=$weibo['status']:动态状态|90px
- ,is_recommend|get_recommend=$weibo['id']:是否推荐|90px
- ,create_time:发布时间|90px
- "
- actionlist="foreverdel:{%DEL}" />
- <?php } ?>
- <table class="dataTable">
- <tbody>
- <td colspan="8">
- <input type="button" class="button button-del" value="{%DEL}" onclick="foreverdel();" />
- </td>
- </tbody>
- </table>
- <div class="page">{$page}</div>
- </div>
- <include file="Public:footer" />
|