www.gusucode.com > mcms手机网站系统 v3.1源码程序 > mcms_v3.1.0/upload/app_tpl_pc/default/admin/tpl.gov.plugin.vars.php
<?php if(!defined('INC_MCMS')) die('No Access !');?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>插件-自定义变量-<?php echo(SITE_NAME);?></title> <meta content="" name="keywords"> <meta content="" name="description"> <?php require_once(assign_tpl_inc("inc.admin.js.style.php"));?> <!--本页JS和样式--> <script src="<?php echo(DOMAIN_CSS);?>/sty_default/js/plugin.js"></script> <link rel="stylesheet" type="text/css" href="<?php echo(DOMAIN_CSS);?>/sty_default/admin.css"> </head> <body> <!-- 加载头部 --> <?php require_once(assign_tpl_inc('inc.admin.head.php'));?> <!-- 主体内容 --> <div class="content"> <ul class="manage_btn"> <?php son_menu('GPA');?> </ul> <p class="line-t-6"></p> <div class="crumbs"> <span class="cbs_left"> <b>插件</b><em>></em><a href="gov.plugin.vars.php">自定义变量</a> </span> </div> <p class="line-t-20"></p> <div class="box_948 r box4"> <table class="table_lists table_click"> <thead> <tr> <td width="40"><input type="checkbox" onclick="C.form.check_all('.chk_list');"></td> <td width="60">ID</td> <td width="200">变量名</td> <td>变量内容</td> <td width="80">操作</td> </tr> </thead> <tbody> <?php foreach($result['list'] as $v) { ?> <tr id="formli<?php echo $v['var_id'];?>"> <td><input type="checkbox" class="chk_list" value="<?php echo $v['var_id'];?>"></td> <td><?php echo($v['var_id']);?></td> <td><input type="text" id="var_name" pid="<?php echo $v['var_id'];?>" class="comm_ipt corder" style="width:150px;" value="<?php echo($v['var_name']);?>"></td> <td><textarea id="var_content" class="comm_ipt " style="width:90%;"><?php echo($v['var_content']);?></textarea></td> <td></td> </tr> <?php } ?> <tr id="varform" class="foot_add"> <td></td> <td></td> <td><input type="text" id="var_name" class="comm_ipt " style="width:150px;" value=""></td> <td><textarea id="var_content" class="comm_ipt " style="width:90%;"></textarea></td> <td><a class="btn" href="javascript:void(0);" onclick="add_var();">添加</a></td> </tr> </tbody> </table> <!--分页 开始--> <p class="line-t-20"></p> <div class="pagebar"> <?php echo($result['pagebar']['pagecode'].(PAGESIZE_AUTO?$result['pagebar']['set_pagesize']:'')); ?> </div> <p class="line-t-20"></p> <!--分页 结束--> </div> <p class="line-t-20"></p> <!-- 加载底部 --> <?php require_once(assign_tpl_inc('inc.admin.foot.php'));?> </div> <div class="footer_fixed"> <div class="box_1000"> <span>操作:</span> <a href="javascript:void(0);" class="btn3" onclick="C.form.update_field('gov.plugin.vars.php?m=save_all&ajax=1','.corder');">批量修改</a> <a href="javascript:void(0);" class="btn3" onclick="del_vars()">批量删除</a> </div> </div> </body> </html>