decodeProperties(array ( 'file_dependency' => array ( '8f1992510c820a625ae20dc11cc97473e2e9506d' => array ( 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_news_list.htm', 1 => 1634883865, 2 => 'file', ), ), 'nocache_hash' => '1387367ff7552b2a436-99037085', 'function' => array ( ), 'variables' => array ( 'config' => 0, 'property' => 0, 'pset' => 0, 'property_row_set' => 0, 'pytoken' => 0, 'adminnews' => 0, 'key' => 0, 'v' => 0, 'Dname' => 0, 'total' => 0, 'pagenum' => 0, 'pages' => 0, 'pagenav' => 0, 'propertys' => 0, 'pvset' => 0, 'pv' => 0, 'one_class' => 0, 'two_class' => 0, 'val' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.21-dev', 'unifunc' => 'content_67ff7552b8b8e4_61724968', ),false); /*/%%SmartyHeaderCode%%*/?> src="tpl_vars['config']->value['sy_weburl'];?> /js/jquery-1.8.0.min.js?v=tpl_vars['config']->value['cachecode'];?> "> > src="js/admin_public.js?v=tpl_vars['config']->value['cachecode'];?> " language="javascript"> > src="js/show_pub.js?v=tpl_vars['config']->value['cachecode'];?> "> > src="tpl_vars['config']->value['sy_weburl'];?> /js/layui/layui.js?v=tpl_vars['config']->value['cachecode'];?> "> > src="tpl_vars['config']->value['sy_weburl'];?> /js/layui/phpyun_layer.js?v=tpl_vars['config']->value['cachecode'];?> "> > type="text/javascript"> $(document).ready(function() { $('#classbutton').click(function() { $('#nid_name').val('请选择'); $('#nid_val').val(0); var pytoken = $('#pytoken').val(); var keyword = $('#classkeyword').val(); $.post("index.php?m=admin_news&c=selclass", { pytoken: pytoken, keyword: keyword }, function(data) { $('#nid_select').html(data); }); }); }); function changeClass() { var codewebarr = ""; $(".check_all:checked").each(function() { //由于复选框一般选中的是多个,所以可以循环输出 if (codewebarr == "") { codewebarr = $(this).val(); } else { codewebarr = codewebarr + "," + $(this).val(); } }); if (codewebarr == "") { parent.layer.msg('您还未选择任何信息!', 2, 8); return false; } else { $('#classid').val(codewebarr); $.layer({ type: 1, title: '批量转移新闻类别', closeBtn: [0, true], border: [10, 0.3, '#000', true], area: ['350px', '250px'], page: { dom: "#infoboxclass" } }); } } function update(id, name, value) { $("#upid").val(id); $("#nameid").val(name); $("#valueid").val(value); $("#submit").val('修改'); } function check_form(myform) { if (myform.name.value == "") { parent.layer.msg('请填写名称!', 2, 8); myform.name.focus(); return (false); } if (myform.value.value == "") { parent.layer.msg('请填写标识符!', 2, 8); myform.name.focus(); return (false); } } function add_pro() { var codewebarr = ""; $("input[name='del[]']:checked").each(function() { if ($.trim($(this).val())) { if (codewebarr == "") { codewebarr = $(this).val(); } else { codewebarr = codewebarr + "," + $(this).val(); } } }); if (codewebarr == "") { parent.layer.msg('您必须选择一个或多个!', 2, 8); } else { $("#protype").val('add'); $("#proid").val(codewebarr); $.layer({ type: 1, title: '批量设置属性', closeBtn: [0, true], offset: ['20%', '30%'], border: [10, 0.3, '#000', true], area: ['380px', '220px'], page: { dom: '#property' } }); } } function del_pro() { var codewebarr = ""; $("input[name='del[]']:checked").each(function() { if ($.trim($(this).val())) { if (codewebarr == "") { codewebarr = $(this).val(); } else { codewebarr = codewebarr + "," + $(this).val(); } } }); if (codewebarr == "") { parent.layer.msg('您必须选择一个或多个!', 2, 8); } else { $("#protype").val('del'); $("#proid").val(codewebarr); $.layer({ type: 1, title: '批量取消属性', closeBtn: [0, true], offset: ['20%', '30%'], border: [10, 0.3, '#000', true], area: ['380px', '220px'], page: { dom: '#property' } }); } } > 后台管理
tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['adminnews']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) { $_smarty_tpl->tpl_vars['v']->_loop = true; $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key; ?> tpl_vars['key']->value+1)%2=='0') {?>class="admin_com_td_bg" id="listtpl_vars['v']->value['id'];?> "> tpl_vars['total']->value>$_smarty_tpl->tpl_vars['config']->value['sy_listnum']) {?> tpl_vars['pagenum']->value==1) {?> tpl_vars['pagenum']->value>1&&$_smarty_tpl->tpl_vars['pagenum']->value<$_smarty_tpl->tpl_vars['pages']->value) {?> tpl_vars['pagenum']->value==$_smarty_tpl->tpl_vars['pages']->value) {?>
编号 编号 新闻类别 标题 显示时间 发布时间 发布时间 浏览量 浏览量 排序 排序 分站 操作
tpl_vars['v']->value['id'];?> tpl_vars['v']->value['name'];?> tpl_vars['v']->value['starttime'],"%Y-%m-%d");?> 开始 tpl_vars['v']->value['endtime']==0) {?>
永久显示
tpl_vars['v']->value['endtime'],"%Y-%m-%d");?> 结束
tpl_vars['v']->value['datetime'],"%Y-%m-%d");?> tpl_vars['v']->value['hits'];?> tpl_vars['v']->value['sort'];?>
tpl_vars['Dname']->value[$_smarty_tpl->tpl_vars['v']->value['did']];?>
修改 删除
 
从 1 到 tpl_vars['config']->value['sy_listnum'];?> ,总共 tpl_vars['total']->value;?> 条 tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?> 到 tpl_vars['pagenum']->value*$_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?> ,总共 tpl_vars['total']->value;?> 条 tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?> 到 tpl_vars['total']->value;?> ,总共 tpl_vars['total']->value;?> 条 tpl_vars['pagenav']->value;?>
getSubTemplate (((string)$_smarty_tpl->tpl_vars['adminstyle']->value)."/checkdomain.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> > layui.use(['layer', 'form'], function() { var layer = layui.layer, form = layui.form, $ = layui.$; }); >