123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- <?php /*a:3:{s:66:"/data/web/mall.valimart.net/app/admin/view/inform/inform_list.html";i:1657785096;s:61:"/data/web/mall.valimart.net/app/admin/view/public/header.html";i:1657785098;s:66:"/data/web/mall.valimart.net/app/admin/view/public/admin_items.html";i:1657785098;}*/ ?>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?><?php echo htmlentities(lang('system_backend')); ?></title>
- <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
- <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
- <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
- <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
- <script type="text/javascript">
- var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
- var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
- var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
- var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
- var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
- </script>
- </head>
- <body>
- <div id="append_parent"></div>
- <div id="ajaxwaitid"></div>
- <div class="page">
- <div class="fixed-bar">
- <div class="item-title">
- <div class="subject">
- <h3><?php echo htmlentities(lang('ds_inform')); ?></h3>
- <h5></h5>
- </div>
- <?php if($admin_item): ?>
- <ul class="tab-base ds-row">
- <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
- <li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
- <?php endforeach; endif; else: echo "" ;endif; ?>
- </ul>
- <?php endif; ?>
- </div>
- </div>
- <form id="search_form" method="get" name="formSearch">
- <div class="ds-search-form">
- <dl>
- <dt><?php echo htmlentities(lang('ds_goods_name')); ?></dt>
- <dd><input class="txt" type="text" name="input_inform_goods_name" id="input_inform_goods_name" value="<?php echo htmlentities(app('request')->get('input_inform_goods_name')); ?>"></dd>
- </dl>
- <dl>
- <dt><?php echo htmlentities(lang('inform_type')); ?></dt>
- <dd>
- <input class="txt" type="text" name="input_inform_type" id="input_inform_type" value="<?php echo htmlentities(app('request')->get('input_inform_type')); ?>" style=" width:100px;">
- <?php echo htmlentities(lang('inform_member_name')); ?>
- <input class="txt" type="text" name="input_inform_member_name" id="input_inform_member_name" value="<?php echo htmlentities(app('request')->get('input_inform_member_name')); ?>" style=" width:100px;">
- </dd>
- </dl>
- <dl>
- <dt><?php echo htmlentities(lang('inform_subject')); ?></dt>
- <dd><input class="txt" type="text" name="input_inform_subject" id="input_inform_subject" value="<?php echo htmlentities(app('request')->get('input_inform_subject')); ?>"></dd>
- </dl>
- <dl>
- <dt><?php echo htmlentities(lang('inform_datetime')); ?></dt>
- <dd><input id="time_from" class="txt date" type="text" name="input_inform_datetime_start" value="<?php echo htmlentities(app('request')->get('input_inform_datetime_start')); ?>">
- ~
- <input id="time_to" class="txt date" type="text" name="input_inform_datetime_end" value="<?php echo htmlentities(app('request')->get('input_inform_datetime_end')); ?>">
- </dd>
- </dl>
- <div class="btn_group">
- <a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
-
- <a href="<?php echo url('Inform/inform_list'); ?>" class="btn btn-small" title="<?php echo htmlentities(lang('ds_cancel_search')); ?>"><span><?php echo htmlentities(lang('ds_cancel_search')); ?></span></a>
-
- </div>
- </div>
- </form>
- <div class="explanation" id="explanation">
- <div class="title" id="checkZoom">
- <h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
- <span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
- </div>
- <ul>
- <li><?php echo htmlentities(lang('inform_help1')); ?></li>
- <li><?php echo htmlentities(lang('inform_help2')); ?></li>
- </ul>
- </div>
-
- <table class="ds-default-table">
- <thead>
- <tr>
- <th><?php echo htmlentities(lang('ds_goods_name')); ?></th>
- <th><?php echo htmlentities(lang('inform_member_name')); ?></th>
- <th><?php echo htmlentities(lang('inform_type')); ?></th>
- <th><?php echo htmlentities(lang('inform_subject')); ?></th>
- <th><?php echo htmlentities(lang('inform_pic')); ?></th>
- <th><?php echo htmlentities(lang('inform_datetime')); ?></th>
- <th><?php echo htmlentities(lang('ds_handle')); ?></th>
- </tr>
- </thead>
- <tbody>
- <?php if(!(empty($inform_list) || (($inform_list instanceof \think\Collection || $inform_list instanceof \think\Paginator ) && $inform_list->isEmpty()))): if(is_array($inform_list) || $inform_list instanceof \think\Collection || $inform_list instanceof \think\Paginator): if( count($inform_list)==0 ) : echo "" ;else: foreach($inform_list as $key=>$v): ?>
- <tr class="line">
- <td><a href="<?php echo url('home/Goods/index',['goods_id'=>$v['inform_goods_id']]); ?>" target="_blank"><?php echo htmlentities($v['inform_goods_name']); ?></a></td>
- <td><span><?php echo htmlentities($v['inform_member_name']); ?></span></td>
- <td><span><?php echo htmlentities($v['informsubject_type_name']); ?></span></td>
- <td><span><?php echo htmlentities($v['informsubject_content']); ?></span></td>
- <td>
- <?php if(empty($v['inform_pic1']) && empty($v['inform_pic2']) && empty($v['inform_pic3'])): ?>
- <?php echo htmlentities(lang('inform_pic_none')); else: if(!(empty($v['inform_pic1']) || (($v['inform_pic1'] instanceof \think\Collection || $v['inform_pic1'] instanceof \think\Paginator ) && $v['inform_pic1']->isEmpty()))): ?>
- <a href="<?php echo ds_get_pic(ATTACH_PATH.'/inform',$v['inform_pic1']); ?>" target="_blank" data-lightbox="lightbox-image"><img class="show_image" src="<?php echo ds_get_pic(ATTACH_PATH.'/inform',$v['inform_pic1']); ?>" width="50"></a>
- <?php endif; if(!(empty($v['inform_pic2']) || (($v['inform_pic2'] instanceof \think\Collection || $v['inform_pic2'] instanceof \think\Paginator ) && $v['inform_pic2']->isEmpty()))): ?>
- <a href="<?php echo ds_get_pic(ATTACH_PATH.'/inform',$v['inform_pic2']); ?>" target="_blank" data-lightbox="lightbox-image"><img class="show_image" src="<?php echo ds_get_pic(ATTACH_PATH.'/inform',$v['inform_pic2']); ?>" width="50"></a>
- <?php endif; if(!(empty($v['inform_pic3']) || (($v['inform_pic3'] instanceof \think\Collection || $v['inform_pic3'] instanceof \think\Paginator ) && $v['inform_pic3']->isEmpty()))): ?>
- <a href="<?php echo ds_get_pic(ATTACH_PATH.'/inform',$v['inform_pic3']); ?>" target="_blank" data-lightbox="lightbox-image"><img class="show_image" src="<?php echo ds_get_pic(ATTACH_PATH.'/inform',$v['inform_pic3']); ?>" width="50"></a>
- <?php endif; ?>
- <?php endif; ?>
- </td>
- <td><span><?php echo htmlentities(date("Y-m-d",!is_numeric($v['inform_datetime'])? strtotime($v['inform_datetime']) : $v['inform_datetime'])); ?></span></td>
- <td>
- <a href="JavaScript:void(0);" class="dsui-btn-view show_detail"><i class="iconfont"></i><?php echo htmlentities(lang('ds_detail')); ?></a>
- <a href="javascript:dsLayerOpen('<?php echo url('Inform/show_handle_page',['inform_id'=>$v['inform_id'],'inform_goods_name'=>$v['inform_goods_name']]); ?>','<?php echo htmlentities(lang('inform_text_handle')); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('inform_text_handle')); ?></a>
- </td>
- </tr>
- <tr class="inform_detail">
- <td colspan="15"><div class="shadow2">
- <div class="content">
- <dl>
- <dt><?php echo htmlentities(lang('inform_content')); ?></dt>
- <dd><?php echo htmlentities($v['inform_content']); ?></dd>
- </dl>
- <div class="close_detail"><a href="JavaScript:void(0);" title="<?php echo htmlentities(lang('ds_close')); ?>"><?php echo htmlentities(lang('ds_close')); ?></a></div>
- </div>
- </div></td>
- </tr>
- <?php endforeach; endif; else: echo "" ;endif; else: ?>
- <tr class="no_data">
- <td colspan="7"><?php echo htmlentities(lang('ds_no_record')); ?></td>
- </tr>
- <?php endif; ?>
- </tbody>
- </table>
- <?php if(!(empty($inform_list) || (($inform_list instanceof \think\Collection || $inform_list instanceof \think\Paginator ) && $inform_list->isEmpty()))): ?>
- <?php echo $show_page; ?>
- <?php endif; ?>
- </div>
- <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.lightbox/css/lightbox.min.css">
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.lightbox/js/lightbox.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- //表格移动变色
- $(".inform_detail").hide();
- $(".show_detail").click(function(){
- $(".inform_detail").hide();
- $(this).parents("tr").next(".inform_detail").show();
- });
- $(".close_detail").click(function(){
- $(this).parents(".inform_detail").hide();
- });
- $("tbody .line").hover(
- function()
- {
- $(this).addClass("inform_highlight");
- },
- function()
- {
- $(this).removeClass("inform_highlight");
- });
- $('#time_from').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
- var year2 = dateText.split('-') ;
- $('#time_to').datepicker( "option", "minDate", new Date(parseInt(year2[0]),parseInt(year2[1])-1,parseInt(year2[2])) );
- }});
- $('#time_to').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
- var year1 = dateText.split('-') ;
- $('#time_from').datepicker( "option", "maxDate", new Date(parseInt(year1[0]),parseInt(year1[1])-1,parseInt(year1[2])) );
- }});
- });
- </script>
|