<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.Navi_SysRewrite" %>

<!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>
    <title>系统Url优化</title>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <script type="text/javascript" src="Script/Jquery.js"></script>
    <script type="text/javascript" src="Script/Common.js"></script>
    <script src="Script/Eoyoo.FormControl.js" type="text/javascript"></script>
    <script type="text/javascript" src="Script/Navi_SysRewrite.js"></script>
    <link href="Style/Iframe.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="FormControl" action="<%=getFormUrl %>" method="post" enctype="multipart/form-data">
    <input type="hidden" id="postData_hide" name="postData_hide" value="<%=getDefault() %>" />
<div class="wrapper-div">
	<!-- 添加栏目 -->
    	<div class="title1">
        	<div class="right">
            	<span class="title-ico f_right titico3 X"> ctrl + s 快捷保存</span>
            	<span class="title-ico titico4 F B">系统Url优化</span>
                
            </div>
        </div>
        
        <!-- 表单 -->
        <div class="tbox_form">
        <div class="clear-4"></div>
        <a href="#" id="rewriteItemAddBtn" rel="<%=EoyooCMS.CoreCalls.GetSiteConfig.siteConfigSuffix == "（无后缀）" ? "" : "（." + EoyooCMS.CoreCalls.GetSiteConfig.siteConfigSuffix + ")" %>" class="green-add-btn f_left W">添加重写项</a> <span class="point ico-remind V">自定义Url支持正则表达式，匹配的结果用$1,$2...替换。<span class="R">请勿删除系统自带的重写项</span></span>
        <div class="clear-4"></div>
        <hr />

        <span id="itemBox">
        <%foreach (System.Collections.Generic.KeyValuePair<string, string> pair in sysUrlRewrite) %>
        <%{ %>
        <p>
            <label class="name">自定义Url<%=EoyooCMS.CoreCalls.GetSiteConfig.siteConfigSuffix == "（无后缀）" ? "" : "（." + EoyooCMS.CoreCalls.GetSiteConfig.siteConfigSuffix + ")"%>:</label>
            <input class="input200 f_left" value="<%=pair.Key %>" name="key_group" type="text" /> 
            <label style="width:60px;" class="name">匹配Url:</label>
            <input class="input200 f_left m_right8" value="<%=pair.Value %>" name="value_group" type="text" />
            <label class="name"><a href="#" rel="del" class="R">[移除]</a></label>
            <span style="display:block;height:6px;border-bottom:1px solid #A7DDE7;" class="clear-0"></span>
        </p>
        <%} %>
        </span>
        <p>
            <label class="name">&nbsp;</label><input type="submit" class="bule-btn W" value="确定保存" />
            <span></span>
        </p>
        </div>
        <!-- end 表单 -->
    <!-- end 添加栏目 -->
</div>

    </form>
</body>
</html>
