<!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"><!-- InstanceBegin template="/Templates/Default_Agent.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
        <!--系统页头信息标签-->
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <%<Hishop:HeadContainer ID="HeadContainer1" runat="server" />%>
        <%<Hishop:PageTitle runat="server" />%>
        <%<Hishop:MetaTags runat="server" />%>
        <!--结束-->
		<link href="/style/css.css" rel="stylesheet" type="text/css" />
		<link href="/style/style_agent.css" rel="stylesheet" type="text/css" />
		<link rel="stylesheet" href="/utility/validate/pagevalidator.css" type="text/css" media="screen" />
		<script src="/utility/jquery-1.1.3.1.pack.js" type="text/javascript"></script>
        <script src="/utility/validate/pagevalidator.js" type="text/javascript"></script>    
        <script src="/utility/Calendar/WdatePicker.js" type="text/javascript"></script>
        ><!-- InstanceBeginEditable name="head" --><title>Untitled Document</title><!-- InstanceEndEditable -->
</head>

<body>
<form runat="server" id="form1">
<%<Hishop:TQOnlineServer runat="server" />%>
<div class="web_width">
<div class="top_head">
<ul>

 <li class="top_head_link"><%<Hishop:Common_Link_Login ID="Common_Link_Login1" runat="server" />%>
 <%<Hishop:Common_Link_CreateUser Text="注册" runat="server" />%>
<%<Hishop:SiteUrl UrlName="shoppingCart" Text="购物车" runat="server" />%>
<%<Hishop:Common_Link_MyAccount runat="server" />%> <%<Hishop:SiteUrl UrlName="AllHelps" Text="帮助中心" runat="server" />%>
<%<Hishop:SiteUrl UrlName="AllArticles" Text="文章中心" runat="server" />%>
<%<Hishop:Common_Link_LeaveComments Text="客户留言" runat="server" />%> </li>
<li><%<Hishop:Common_ShoppingCart_Info  SkinName="/custom/common_shoppingcart_info.ascx" runat="server" />%></li>
<li><%<Hishop:Common_CurrentUser runat="server" ID="lblCurrentUser"/>%></li>

</ul>
</div>

<div class="top"> 
<div class="logo"><%<Hishop:Common_Logo runat="server" />%></div>
<div class="top_nav">
<ul>
<li><%<Hishop:SiteUrl UrlName="shoppingCart"  SkinName="/custom/user-search.ascx" Text=" "  ImageUrl="/images/buycart_nav.jpg" runat="server" />%></li>
<li>
<%<Hishop:Common_Link_MyAccount ImageUrl="images/myaccount_nav.jpg"  runat="server" />%> </li>
<li><%<Hishop:Common_Link_IntegrateDiscuz ImageUrl="images/bbs_nav.jpg" runat="server" />%></li>
<li><%<Hishop:SiteUrl UrlName="Promotes"  ImageUrl="/images/offer_nav.jpg"   Text="优惠活动中心" runat="server" />%></li>
</ul>
</div>
</div>



<div class="nav">
<div class="float_left"><img src="/images/nav_left.jpg" /></div>
<div  class="nav_link">
<ul class="nav_link_all">
<li><%<Hishop:SiteUrl UrlName="home" runat="server">首页</Hishop:SiteUrl>%><%<Hishop:Common_PrimaryClass RepeatColumns="6" SeparatorString="" runat="server" MaxNum="15" />%>
</li>
</ul>
</div>
<div class="float_right"><img src="/images/nav_right.jpg" /></div> 
</div>

<div class="search">
<div class="hot_key">
<span>热门：</span> <%<Hishop:HotKeywords ID="HotKeywords1" runat="server" MaxNum="4" />%></div>
<div class="search_top"><%<Hishop:SiteUrl UrlName="ProductSearch" runat="server"><img src="/images/search_top.gif"/></Hishop:SiteUrl>%></div>
<div class="search_right">
	<%<Hishop:Common_Search ID="Search" SkinName="/custom/user-search.ascx" runat="server" />%>
</div>
</div>

<div class="notice_index">
<table width="960" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="20" height="36" align="center" valign="middle"><img src="/images/icon_1.jpg" width="5" height="12" /></td>
    <td width="84" valign="middle" class="notice_index_font">商城公告：</td>
    <td width="856" valign="middle">
	<table width="855" border="0" cellpadding="0" cellspacing="0" class="notice_index_bg2">
      <tr>
        <td width="1" height="25" align="left"><img src="/images/notice_index_left.jpg" width="1" height="25" /></td>
        <td width="853">
		<%<Hishop:Common_Affiche ID="Common_Affiche1" RepeatColumns="4" RepeatDirection="Vertical" MaxNum="4" SkinName="/custom/user-affiche.ascx" runat="server"  />%>
		</td>
        <td width="1" align="right"><img src="/images/notice_index_right.jpg" width="1" height="25" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</div>

<div style="width:960px;overflow:hidden; margin-top:8px; margin-bottom:12px;">
  <%<Hishop:Common_ShowAds  AdsID="1" runat="server" />%>
</div>

<table width="960" border="0" cellspacing="0" cellpadding="0" class="bodycontent">
  <tr>
    <td align="left" valign="top">
		<div class="web_width">

	<div class="user_center_left">
	<h2  class="user_center_left_title">代理管理中心</h2>
	<div class="agent_left">
			  <h2>代理站点配置</h2>
		  <ul>
			<li><%<Hishop:SiteUrl UrlName="user_AgentSettings" runat="server">基本设置</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentManageThemes" runat="server">模板设置</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentAfficheList" runat="server">公告管理</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentHelpList" runat="server">帮助中心</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentHelpCategories" runat="server">帮助分类</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentAdvPositions" runat="server">广告管理</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentFriendlyLinks" runat="server">友情链接</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentOnlineService" runat="server">在线客服</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentHotKeywords" runat="server">热门关键字</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentTQOnLineServerSet" runat="server">TQ客服</Hishop:SiteUrl>%></li>
		  </ul>
		  <h2>下属会员管理</h2>
		  <ul>
			<li><%<Hishop:SiteUrl UrlName="user_AgentManageMembers" runat="server">下属会员列表</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentMemberRanks" runat="server">下属会员等级</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentMemberOrders" runat="server">下属订单管理</Hishop:SiteUrl>%></li>
			<li><%<Hishop:Common_Link_AgentLeaveComments Text="下属客户留言" IsShowParentNode="false" runat="server"/>%></li>
		  </ul>
		  <h2>预付款账户管理</h2>
		  <ul>
			<li><%<Hishop:SiteUrl UrlName="user_AgentAccountSummary" runat="server">预付款账户</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentReCharge" runat="server">预付款充值</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentTakePercentageRecords" runat="server">代理商提成明细</Hishop:SiteUrl>%></li>
		  </ul>
		  <h2>站内消息</h2>
		  <ul>
			<li><%<Hishop:SiteUrl UrlName="user_AgentReceivedMessages" runat="server">收件箱</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentSendedMessages" runat="server">发件箱</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentSendMessage" runat="server">写新消息</Hishop:SiteUrl>%></li>
		  </ul>
		  <h2>个人设置</h2>
		  <ul>
			<li><%<Hishop:SiteUrl UrlName="user_AgentProfile" runat="server">修改/补充个人信息</Hishop:SiteUrl>%></li>
			<li><%<Hishop:SiteUrl UrlName="user_AgentUpdatePassword" runat="server">修改密码</Hishop:SiteUrl>%></li>
		  </ul>
	</div>
	</div>
	<div class="user_center_right"><!-- InstanceBeginEditable name="EditRegion" -->

<style type="text/css">
#dmenulist3
{
	color:#248AB0!important;
	background-position:left bottom!important;
}
#dmenulist3 a
{
	color:#248AB0!important;
	background-position:left bottom!important;
}
</style>

<div class="right_area" >
        <div class="positionbox color-blue225982" style="margin-bottom:20px;">您当前的位置：<%<Hishop:SiteUrl UrlName="home" runat="server">首页</Hishop:SiteUrl><Hishop:SiteUrl UrlName="user_AgentDefault" runat="server" class="positionlink">代理商管理中心</Hishop:SiteUrl>%> <a class="positionlink" href="#"> 友情链接</a></div>
        <%<Hishop:Common_Literal_AgentTips id="litAgentTips" runat="server" /> %>
        <p class="font-14 m_bottom" style="position:relative;">管理代理子站点的所有友情链接，您可以添加、修改或删除友情链接</p>
        <%<Hishop:SmallStatusMessage id="Status" runat="server" width="195px" visible="False" />%>
       <div class="action_bar"><a class="link_selectall" href="#a" onclick="CheckClickAll()">全部选定</a><a class="link_anti_select" href="#a" onclick="CheckReverse()">反向选择</a><%<Hishop:DeleteImageLinkButton ID="lkbtnDeleteCheck" runat="server" class="link_dele_select" Text="删除选定"/>%></div>
         <%<Hishop:CustomGridView ID="grdGroupList" runat="server" AutoGenerateColumns="false" Width="100%" AllowSorting="true" 
            ShowHeader="true" DataKeyNames="LinkId"  GridLines="None" CssClass="datalist" HeaderStyle-CssClass="dlth1" HeaderStyle-HorizontalAlign="left" 
            SortAscIcon="/images/asc.gif"
            SortDescIcon="/images/desc.gif"
            DefaultSortIcon="/images/por_arrow_13.gif" >
               <Columns>
                    <Hishop:CheckBoxColumn ReadOnly="true"/>
                    
                    <asp:TemplateField HeaderText="友情链接Logo" ItemStyle-Width="20%">
                       <ItemTemplate>
                          <div>
                             <Hishop:Common_Image runat="server" EnabledTimestamp="true" DataField="ImageUrl"  />
                          </div>
                       </ItemTemplate>
                     </asp:TemplateField>

                    <asp:TemplateField HeaderText="网站名称" ItemStyle-Width="20%">
                       <ItemTemplate>
                           <div><UI:BindableLabel ID="liblTitle" runat="server" DataField="Title"  /> </div>
                       </ItemTemplate>
                    </asp:TemplateField>

                    <asp:TemplateField HeaderText="网站地址" ItemStyle-Width="20%">
                       <ItemTemplate>
                           <div><UI:BindableLabel ID="liblLinkUrl" runat="server" DataField="LinkUrl"  /></div>
                       </ItemTemplate>
                    </asp:TemplateField>
                    
                    <Hishop:SortImageColumn  HeaderText="排列顺序" ReadOnly="true"/>
                    
                    <Hishop:YesNoImageColumn DataField="Visible" HeaderText="是否显示"></Hishop:YesNoImageColumn>
                                             
                    <asp:TemplateField HeaderText="操作">
                        <ItemStyle HorizontalAlign="Right" CssClass="handleRightSelect"/>
                        <ItemTemplate>
                            <asp:LinkButton ID="lkEdit" Text="编辑" CommandName="Edit" CssClass="SmallCommonTextButton" runat="server"></asp:LinkButton>
                            <Hishop:DeleteImageLinkButton ID="lkDelete" Text="删除" CommandName="Delete" CssClass="SmallCommonTextButton" runat="server" />
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Right" />
                    </asp:TemplateField>
                </Columns>
         </Hishop:CustomGridView>  %>
         <h3 class="bar_addcontent"><%<asp:Label ID="lblUserGroupTitle" Text="添加友情链接 " runat="server"></asp:Label> %></h3>
         <div class="TabbedPanelsContent"> 
                    <table>
                        <tr>
                            <td class="leftTD" style="width: 100px; text-align:right">友情链接Logo：</td>
                            <td class="rightTD">
                               <%<asp:FileUpload ID="uploadImageUrl" Width="238" runat="server" /> %>
                            </td>
                            <td class="rightTD">
                               <div class="msgNormal" style="width:300px">此处如上传LOGO,则前台显示友情链接显示为图片,为空显示为文字链接,文字链接内容即为下面填写的网站名称 </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="leftTD" style="width: 100px; text-align:right">网站名称：</td>
                            <td class="rightTD">
                                <%<asp:TextBox ID="txtaddtitle" runat="server" CssClass="input_short" Width="230"></asp:TextBox> %>
                            </td>
                            <td class="rightTD">
                                <div id="txtaddtitleTip" runat="server" style="width:300px"></div>
                               <%<Hishop:ValidateTarget runat="server" ContainerId="ValidatorContainer" ControlToValidate="txtaddtitle" 
                                Description="友情链接网站的名称，长度限制在100个字符以内" Nullable="true" 
                                FocusMessage="??100?">
                                    <Validators>
                                       <Hishop:InputStringClientValidator ErrorMessage="友情链接网站的名称，长度限制在100个字符以内" LowerBound="1" UpperBound="100" />
                                    </Validators>
                               </Hishop:ValidateTarget> %>
                            </td>
                        </tr>
                       <tr>
                            <td class="leftTD" style="width: 100px; text-align:right">显示顺序：</td>
                            <td class="rightTD">
                                <%<asp:TextBox ID="txtaddDisplaySequence" Text="1" runat="server" CssClass="input_short" Width="230"></asp:TextBox> %>
                            </td>
                            <td class="rightTD">
                               <div id="txtaddDisplaySequenceTip" runat="server" style="width:300px"></div>
                               <%<Hishop:ValidateTarget runat="server" ContainerId="ValidatorContainer" ControlToValidate="txtaddDisplaySequence" 
                                Description="设置友情链接的显示顺序，只能输入大于等于1的整数" Nullable="false" 
                                FocusMessage="设置友情链接的显示顺序，只能输入大于等于1的整数">
                                    <Validators>
                                       <Hishop:InputNumberClientValidator ErrorMessage="设置友情链接的显示顺序，只能输入大于等于1的整数" />
                                       <Hishop:NumberRangeClientValidator ErrorMessage="设置友情链接的显示顺序，只能输入大于等于1的整数" MinValue="1" />
                                    </Validators>
                               </Hishop:ValidateTarget> %>
                            </td>
                        </tr>
                        <tr>
                            <td class="leftTD" style="width: 100px; text-align:right">是否显示：</td>
                            <td class="rightTD">
                                <%<Hishop:YesNoRadioButtonList id="radioShowLinks" runat="server" /> %>
                            </td>
                            <td class="rightTD">
                                <label class="msgNormal">设置是否显示友情链接，选择是以后友情链接才会显示在店铺里面 </label>
                            </td>
                        </tr>
                        <tr>
                            <td class="leftTD" style="width: 100px; text-align:right">网站地址：</td>
                            <td class="rightTD">
                                <%<asp:TextBox ID="txtaddLinkUrl" CssClass="input_short" runat="server" Text="http://" Width="230" ></asp:TextBox> %>
                            </td>
                            <td class="rightTD">
                               <div id="txtaddLinkUrlTip" runat="server"></div>
                               <%<Hishop:ValidateTarget runat="server" ContainerId="ValidatorContainer" ControlToValidate="txtaddLinkUrl" 
                                 Description="友情链接网站的URL地址" Nullable="true" FocusMessage="友情链接网站的URL地址">
                                    <Validators>
                                       <Hishop:InputStringClientValidator ErrorMessage="?URL?" LowerBound="1" UpperBound="255" Regex="^(http)://.*" />
                                    </Validators>
                               </Hishop:ValidateTarget> %>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="padding-left:10px">
                                <%<asp:Button ID="btnSubmitLinks" OnClientClick="return PageIsValid();" runat="server" class="btn_save" Text="添加"></asp:Button>%>
                                <%<asp:Button ID="btnCancel" runat="server" Visible ="false" Text="取消" class="btn_save"/>%>
                            </td>
                        </tr>
                    </table>    
                  </div>
  </div>
 <%<Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" /> %>
	<!-- InstanceEndEditable --></div>
	</div>
	</td>
    </tr>
</table>


<table width="960" border="0" cellpadding="0" cellspacing="0" class="border_b5 mar_top10">
  <tr>
    <td width="231" align="left" valign="top"><div style="width:214px;overflow:hidden;  "><%<Hishop:Common_ShowAds  AdsID="19" runat="server" />%></div></td>
    <td width="725" align="left" valign="middle">&nbsp;</td>
  </tr>
  <tr>
    <td height="30" colspan="2" align="center" valign="middle" bgcolor="#b5b5b5" class="color_white"><%<Hishop:SiteUrl UrlName="shoppingCart" Text="购物车" runat="server" />%> | <%<Hishop:Common_Link_MyAccount Text="我的帐户" runat="server" />%> | <%<Hishop:Common_Link_LeaveComments Text="客户留言" runat="server" />%> | <%<Hishop:SiteUrl UrlName="OrderStatusDetails" Text="订单查询" runat="server" />%> | <%<Hishop:SiteUrl UrlName="Promotes" Text="优惠活动中心" runat="server" />%> | <%<Hishop:SiteUrl UrlName="AllHelps" Text="帮助中心" runat="server" />%> | <%<Hishop:SiteUrl UrlName="AllArticles" Text="文章中心" runat="server" />%> </td>
  </tr>
</table>
<table width="960" height="32" border="0" cellpadding="0" cellspacing="0" class="mar_tb6">
  <tr>
    <td width="91" align="center" class="font_16b">友情连接:</td>
    <td width="869">
<table width="868" height="32" border="0" cellpadding="0" cellspacing="0">
      <tr>
      
        <td width="868"><img src="/images/bottom_frendlinktp.jpg" width="868" height="3" /></td>
      </tr>
      <tr>
        <td align="left" valign="top" class="border_lr2"><%<Hishop:Common_FriendLinks SkinName="custom/user-FriendLinks.ascx" runat="server"  />%></td>
      </tr>
      <tr>
        <td><img src="/images/bottom_frendlinkbo.jpg" width="868" height="3" /></td>
      </tr>
    </table>
	</td>
  </tr>
</table>
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mar_tb6" >
  <tr>
    <td  align="center" class="bottom"><%<Hishop:PageFooter ID="PageFooter" runat="server"></Hishop:PageFooter>%></td>
  </tr>
</table>
</form>
</body>
<!-- InstanceEnd --></html>
