<%@ Page Language="C#" AutoEventWireup="false" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Management" Assembly="Hishop.Web.Management" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Validator" Assembly="Hishop.Web.Validator" %>
<%@ Import Namespace="Hishop.SystemServices" %>

<!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>
    <Hishop:HeadContainer ID="HeadContainer1" runat="server" />
    <Hishop:PageTitle ID="PageTitle1" runat="server" />
    <link rel="stylesheet" href="../../utility/validate/pagevalidator.css" type="text/css" />
    <link rel="stylesheet" href="../css/Hishopv5.css" type="text/css" />
    <script type="text/javascript" src="../../utility/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../utility/validate/pagevalidator.js"></script>
    
    <script type="text/javascript" src="../js/Hishopv5.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div class="PageTitleArea">
                <div class="PageTitle">
                    <asp:Literal ID="litManagerTop" runat="server" Text="<%$ Resources:ManageThemes, IDS_PageTitle %>" ></asp:Literal>
                </div>
                <div style="width: 80%;">
                    <asp:Literal ID="litManagerDisciption" runat="server" Text="<%$ Resources:ManageThemes, IDS_PageDesc %>" ></asp:Literal>
                </div>
            </div>
            
            <Hishop:ManageThemes ID="ManageThemes" runat="server">
            <SkinTemplate>
<Hishop:StatusMessage id="Status" runat="server" Visible="False" />

<asp:DataList runat="server" ID="dtManageThemes" RepeatColumns="3"  RepeatDirection="Horizontal"  CssClass="dataListCss">                                    
    <HeaderTemplate>
        <table style="width:100%" cellspacing="0" cellpadding="0" border="0">                                                                
         <tr>
    </HeaderTemplate>
    <ItemTemplate>
           <td><table class="tableheight" width="100%" border="0" cellspacing="0" cellpadding="0">             
                    <tr style="width:150px; height:150px;">
                    <td style="text-align:center"><Hishop:DisplayThemesImages ID="themeImg" runat="server" Src='<%# Eval("ThemeImgUrl") %>' Width="150" Height="150"  ThemeName='<%# Eval("ThemeName") %>'></Hishop:DisplayThemesImages></td>
                </tr>
                <tr>
                   <td style="text-align:center">                                                                                                          
                        <Hishop:GroupRadioButton ID="rbCheckThemes" runat="server" Checked='<%# String.Equals(Convert.ToString(Eval("ThemeName")),Convert.ToString(HiContext.Current.SiteSettings.DefaultTheme))?true: false %>'/><asp:Label ID="lblName" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
                   </td>                               
                </tr>                
            </table></td>               
    </ItemTemplate>
    <FooterTemplate>                 
           </tr> 
         </table>
    </FooterTemplate>
</asp:DataList>    
 <div class="botCopyInfo">  
    <asp:Button ID="btnManageThemesOK" runat="server" Text="<%$ Resources:ManageThemes, IDS_Button_ManageThemes %>"  CssClass="inp_L1" />
 </div>
            </SkinTemplate>
            </Hishop:ManageThemes>
            
        </div>
        <br />
        <div class="botCopyInfo">
            <hr style="width:500px;" />
            <Hishop:SiteCopyright runat="server" />
        </div>
        <br />
        <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
    </form>
</body>
</html>
