www.gusucode.com > mcms手机网站系统 v3.1源码程序 > mcms_v3.1.0/upload/app_tpl_pc/default/admin/tpl.url.rewrite.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/url.rewrite.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('C');?> </ul> <p class="line-t-6"></p> <div class="crumbs"> <span class="cbs_left"> <b>系统</b><em>></em><a href="url.rewrite.php">伪静态</a> </span> </div> <p class="line-t-10"></p> <div class="func_desc"> <b>功能说明</b>:<br> 1)伪静态地址目录形式地址必须以 / 结束;<br> 2){id}=文档ID,{cid}=分类ID,{cpy}=分类字母别名,{p}分页页码;<br> 3)伪静态地址中 cate , show 这样的前缀必须要有,可以改名 </div> <p class="line-t-10"></p> <div class="box4"> <table class="table_lists table_click"> <thead> <tr> <td width="40"><input type="checkbox" onclick="C.form.check_all('.chk_list');"></td> <td>规则节点名称</td> <td>伪静态地址</td> <td>动态地址</td> <td width="80">操作</td> </tr> </thead> <tbody> <?php foreach($result['list'] as $v){ ?> <tr id="formli<?php echo $v['url_id'];?>"> <td><input type="checkbox" class="chk_list" value="<?php echo $v['url_id'];?>" <?php if(in_array($v['url_title'],array('list_info','cpy_list_info','content_info','list_info_index','cpy_list_info_index','content_info_page'))) echo('readonly disabled');?>></td> <td><?php echo $v['url_title'];?></td> <td><input id="url_rule" type="text" pid="<?php echo $v['url_id'];?>" class="comm_ipt url_rule" value="<?php echo $v['url_rule'];?>"></td> <td><?php echo $v['url_true'];?></td> <td></td> </tr> <?php } ?> <tr id="urlform" class="foot_add"> <td></td> <td><input type="text" id="url_title" class="comm_ipt " style="width:150px;" value=""></td> <td><input type="text" id="url_rule" class="comm_ipt " value=""></td> <td><input type="text" id="url_true" class="comm_ipt " value=""></td> <td> <a class="btn" href="javascript:void(0);" onclick="save();">添加</a> </td> </tr> </tbody> </table> </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 onclick="C.form.update_field('url.rewrite.php?m=save_all','.url_rule');" class="btn3" href="javascript:void(0);">批量修改</a> <a href="javascript:void(0);" class="btn3" onclick="del();">批量删除</a> <a onclick="update_rule_file('.htaccess');" class="btn3" href="javascript:void(0);">生成Apache规则</a> <a onclick="update_rule_file('nginx.conf');" class="btn3" href="javascript:void(0);">生成Nginx规则</a> <a onclick="update_rule_file('httpd.ini');" class="btn3" href="javascript:void(0);">生成ISAPI_Rewrite规则</a> <a onclick="update_rule_file('web.config.rewrite');" class="btn3" href="javascript:void(0);">生成IIS7规则</a> </div> </div> </body> </html>