<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PhotoClassEdit.aspx.cs" Inherits="Admin_PhotoClassEdit" %>
<%@ Import Namespace ="Spaces" %>
<!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>无标题页</title>
    <link href="Admin.css" rel="stylesheet" type="text/css">
 
    <script src="<%=Globals.ApplicationPath %>/Include/js/dialog.js" type="text/javascript"></script>

    <script src="<%=Globals.ApplicationPath %>/Include/js/base.js" type="text/javascript"></script></head>
<body>
 
    <table   cellspacing="0" cellpadding="0" width="640"
        align="center" border="0">
        <tbody>
            <tr>
                <td>&nbsp;
                    </td>
            </tr>
            <tr>
                <td>
                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                        <tbody>
                            <tr>
                                <td width="3" height="3">
                                    <img height="3" src="img/O_angle_up_left.gif" width="3" /></td>
                                <td width="100%" bgcolor="#acd373">
                                    </td>
                                <td width="3">
                                    <img height="3" src="img/O_angle_up_right.gif" width="3" /></td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td bgcolor="#acd373" height=30>&nbsp;&nbsp;&nbsp;&nbsp;<strong><font color="#ffffff"><%=Globals.Text["albumadmin_admin"]%></font></strong></td>
            </tr>
            <tr>
                <td class="form_border">
                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                        <tbody>
                            <tr>
                                <td width="20">&nbsp;
                                    </td>
                                <td>&nbsp;
                                    </td>
                                <td width="20">&nbsp;
                                    </td>
                            </tr>
                            <tr>
                                <td>&nbsp;
                                    </td>
                                <td>
                                    <table   cellspacing="0" cellpadding="0" width="100%"
                                        border="0">
                                        <tbody>
                                           
                                            <tr>
                                                <td>
                                                    <fieldset>
                                                        <legend>&nbsp;<%=Globals.Text["albumadmin_newcata"]%>&nbsp;</legend>
                                                        <div align="right">
                                                            <%=Globals.Text["albumadmin_cata"]%><br />
                                                            <br />
                                                        </div>
                                                    </fieldset>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="5">
                                                <table><tr>
                                                <td><a href="PhotoClassEdit.aspx"><%=Globals.Text["albumadmin_new"]%></a></td>
                                                <td><a href="UploadPhoto.aspx"><%=Globals.Text["albumadmin_upphoto"]%></a></td>
                                                <td><a href="AlbumList.aspx"><%=Globals.Text["albumadmin_seephoto"]%></a></td>
                                                </tr></table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
        <table width="100%"  border="0" cellspacing="0" cellpadding="3"   bgcolor="#FFFFFF">
            <tr>
                <td colspan="2" align="center" bgcolor="#669900">
                    <font color="#FFFFFF"><%=Globals.Text["albumadmin_newcata"]%></font></td>
            </tr>
            <tr bgcolor="#EEF5E2">
                <td> <form name="modifyalbum" method="post"  runat=Server>
                    <table width="90%" border="0" align="center" cellpadding="0" cellspacing="3" class="fixedTable">
 
    <tr>
      <td width="19%"><%=Globals.Text["albumadmin_photoname"]%></td>
      <td width="81%">
          <asp:TextBox ID="albumTitle" runat="server" Width="160px" CssClass="input"  ></asp:TextBox><%=Globals.Text["albumadmin_size"]%>
        <script>$('<%=albumTitle.ClientID%>').focus();</script></td>
    </tr>
    
    
    <tr>
      <td><%=Globals.Text["albumadmin_synopsis"]%></td>
    <td colspan="3">
        <asp:TextBox ID="albumDesc" runat="server" Rows="4" Columns="50" CssClass="input"   style="overflow:hidden" MaxLength="2000" TextMode="MultiLine"></asp:TextBox>
            </tr>
    <tr>
      <td colspan="2">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="4" align="center">
          <asp:Button ID="albumBtn" runat="server" Text="提交" CssClass="input" OnClick="albumBtn_Click" OnClientClick="return checkAlbum();" />
 
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input name="button" type="button" onClick="document.location = 'AlbumList.aspx'" value="返回" class="input">      </td>
    </tr>
  
</table></form>

<script>
function checkAlbum()
{
var title=$('<%=albumTitle.ClientID%>');
if(title.value.trim()=='')
  {
   alert('请输入相册名称！');
   return false;
  }
  var desc=$('<%=albumDesc.ClientID%>');
  if(desc.value.trim()=='')
  {
   alert('请输入目录名称！');
   return false;
  }
}
</script>
</td>
            </tr>
        </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="height: 15px">
                                                    <!-- 功能列表 -->
                                                    <!-- /功能列表 -->
                                                    <!-- 分类列表 -->
                                                    <!-- /分类列表 -->
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                                <td>&nbsp;
                                    </td>
                            </tr>
                            <tr>
                                <td>&nbsp;
                                    </td>
                                <td>&nbsp;
                                    </td>
                                <td>&nbsp;
                                    </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="center"   bgcolor="#e3f0d0" height="30">
                    &nbsp;&nbsp;
                </td>
            </tr>
         
        </tbody>
    </table>
   
</body>
</html>
<asp:literal runat="server" iD="Message"></asp:literal>