<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Tag.aspx.cs" Inherits="TotCms.Web.Tag" %>

<!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 id="Head1" runat="server">
    <title>标签(Tag)</title>
    <link href="/style/global.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/js/commen.js"></script>    
</head>
<body>
<div class="container">
    <%
      Response.WriteFile("Template/head.htm");    
    %>
    <form id="tagform" runat="server">
  <div class="br"></div>
  <table width="960" align="center" cellpadding="0" cellspacing="0" class="brd">
    <tr>
      <th class="th">最新标签</th>
    </tr>
    <tr>
      <td height="22" bgcolor="#FFFFFF" class="padleft5">
          <asp:Repeater ID="RpTopTag" runat="server">
          <ItemTemplate>
          <a href='/tags/<%# Server.UrlEncode(Eval("Title").ToString()) %>'><%# Eval("Title") %>(<%# Eval("Count") %>)</a>
          </ItemTemplate>
          </asp:Repeater>
        </td>
    </tr>
    </table>
    <div class="br"></div>
   <table width="960" align="center" cellpadding="0" cellspacing="0" class="brd">
    <tr>
      <th class="th">热门标签</th>
    </tr>
    <tr>
      <td height="22" bgcolor="#FFFFFF" class="padleft5">
          <asp:Repeater ID="RpHotTag" runat="server">
          <ItemTemplate>
          <a href='/tags/<%# Server.UrlEncode(Eval("Title").ToString()) %>'><%# Eval("Title") %></a>
          </ItemTemplate>
          </asp:Repeater>
        </td>
    </tr>
    </table>
     <div class="br"></div>
    <table width="960" align="center" cellpadding="0" cellspacing="0" class="brd">
    <tr>
      <th class="th">随机标签</th>
    </tr>
    <tr>
      <td height="22" bgcolor="#FFFFFF" class="padleft5">
          <asp:Repeater ID="RpRndTag" runat="server">
          <ItemTemplate>
          <a href='/tags/<%# Server.UrlEncode(Eval("Title").ToString()) %>'><%# Eval("Title") %>(<%# Eval("Count") %>)</a>
          </ItemTemplate>
          </asp:Repeater>
        </td>
    </tr>
    </table>
    </form>
    <%# Eval("Title") %>
    <%
      Response.WriteFile("Template/root.htm");    
    %>
</div>
</body>
</html>
