|
Server : Apache System : Linux iZ6xhqomji47p1Z 5.10.134-15.al8.x86_64 #1 SMP Thu Jul 20 00:44:04 CST 2023 x86_64 User : www ( 1000) PHP Version : 8.1.30 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv Directory : /www/wwwroot/fsjlkj.cn/application/admin/template/notify/ |
{include file="public/layout" /}
<body class="bodystyle" style="cursor: default; -moz-user-select: inherit; min-width:400px;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page" style="min-width: 400px;">
{include file="users_notice/bar" /}
<div class="flexigrid">
<div class="hDiv">
<div class="hDivBox">
<table cellspacing="0" cellpadding="0" style="width: 100%">
<thead>
<tr>
<th abbr="article_title" axis="col3" class="w150">
<div class="text-l10">模板名称</div>
</th>
<th abbr="article_title" axis="col3" class="">
<div class="text-l10">站内信标题</div>
</th>
<!-- <th abbr="ac_id" axis="col4">
<div class="">模板内容</div>
</th> -->
<th abbr="article_time" axis="col6" class="w60">
<div class="tc">接收者</div>
</th>
<th abbr="article_time" axis="col6" class="w50">
<div class="tc">启用</div>
</th>
<th abbr="article_time" axis="col6" class="w100">
<div class="tc">更新时间</div>
</th>
</tr>
</thead>
</table>
</div>
</div>
<div class="bDiv" style="height: auto;">
<div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
<table style="width: 100%">
<tbody>
{empty name="list"}
<tr>
<td class="no-data" align="center" axis="col0" colspan="50">
<div class="no_row">
<div class="no_pic"><img src="__SKIN__/images/null-data.png"></div>
</div>
</td>
</tr>
{else/}
{foreach name="list" item="vo" key="k" }
<tr>
<td class="">
<div class="w150 text-l10">
{$vo.tpl_name}
</div>
</td>
<td style="width: 100%">
<div class="">
{php}
$disabled_str = '';
$web_users_switch = !empty($global['web_users_switch']) ? $global['web_users_switch'] : 0;
if ((empty($shop_open) || $php_servicemeal <= 1) && in_array($vo['send_scene'], [5,6])) {
$disabled_str = 'disabled="disabled" title="请开启商城中心"';
}
{/php}
<input type="text" name="tpl_title" value="{$vo.tpl_title}" onchange="changeTableVal('users_notice_tpl','tpl_id','{$vo.tpl_id}','tpl_title',this);" style="width: 94%;" {$disabled_str}>
</div>
</td>
<!-- <td style="width: 100%">
<div style="">
{$vo.tpl_content}
</div>
</td> -->
<td class="">
<div class="w60 tc">
{eq name="$vo['send_scene']" value='6'}
会员
{else /}
站长
{/eq}
</div>
</td>
<td class="">
<div class="w50 tc">
{eq name="$vo['is_open']" value='1'}
<span class="yes" onClick="changeTableVal('users_notice_tpl','tpl_id','{$vo.tpl_id}','is_open',this);"><i class="fa fa-check-circle"></i>是</span>
{else /}
<span class="no" onClick="changeTableVal('users_notice_tpl','tpl_id','{$vo.tpl_id}','is_open',this);"><i class="fa fa-ban"></i>否</span>
{/eq}
</div>
</td>
<td class="">
<div class="w100 tc">
{$vo.update_time|MyDate='Y-m-d',###}
</div>
</td>
</tr>
{/foreach}
{/empty}
</tbody>
</table>
</div>
<div class="iDiv" style="display: none;"></div>
</div>
<div class="tDiv">
<div class="tDiv2">
{include file="public/page" /}
</div>
<div style="clear:both"></div>
</div>
</div>
</div>
<script>
$(document).ready(function(){
// 表格行点击选中切换
$('#flexigrid > table>tbody >tr').click(function(){
$(this).toggleClass('trSelected');
});
// 点击刷新数据
$('.fa-refresh').click(function(){
location.href = location.href;
});
});
</script>
{include file="public/footer" /}