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

<!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 runat="server">
    <title>选择公文模板</title>
    <link href="../style/global.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    .photos{}
    .photos ul{ margin:0px; padding:0px; list-style:none;}
    .photos li{ margin:5px; padding:0px; float:left;}
    .photos h2{ margin:0px; padding:0px; text-align:center; font-size:12px; font-weight:bold;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="br"></div>
    <table style="width:100%;" border="0" cellpadding="0" cellspacing="1" 
      class="border">
      <tr class="suphead">
        <td>选择公文模板</td>
    </tr>
    <tr>
      <td class="fields_text" width="120">
      <div class="photos">
        <ul>
          <asp:Repeater ID="rpTemplate" runat="server">
          <ItemTemplate>
          <li><img src="<%# Eval("Photo") %>" width="160" height="120" />
            <h2><input id='templateid_<%# Eval("id") %>' name="templateid" type="radio" value='<%# Eval("id") %>' /><label for='templateid_<%# Eval("id") %>'><%# Eval("Title") %></label></h2></li>
          </ItemTemplate>
          </asp:Repeater>          
        </ul>
      </div>
      </td>
    </tr>
    <tr>
      <td height="35" align="center">
          <asp:Button CssClass="button_blue" ID="Button1" runat="server" Text="下一步" onclick="Button1_Click" />
      <input type="button" class="button_gray" id="Button2" onclick="javascript:history.back();" value="返  回" /></td>
    </tr>
    </table>
    </form>
</body>
</html>
