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

<!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" />
  <script src="../swfupload/swfupload.js" type="text/javascript"></script>
  <script src="Staff/js/handlers.js" type="text/javascript"></script>
  <script type="text/javascript">
    var swfu;
    window.onload = function () {
      //swf upload
      swfu = new SWFUpload({
        // Backend Settings
        upload_url: "Upload/UploadImg.aspx",
        post_params: {
          "ASPSESSID": "<%=Session.SessionID %>"
        },

        // File Upload Settings
        file_size_limit: "2 MB",
        file_types: "*.jpg",
        file_types_description: "JPG Images",
        file_upload_limit: "1",    // Zero means unlimited

        // Event Handler Settings - these functions as defined in Handlers.js
        //  The handlers are not part of SWFUpload but are part of my website and control how
        //  my website reacts to the SWFUpload events.
        file_queue_error_handler: fileQueueError,
        file_dialog_complete_handler: fileDialogComplete,
        upload_progress_handler: uploadProgress,
        upload_error_handler: uploadError,
        upload_success_handler: uploadSuccess,
        upload_complete_handler: uploadComplete,

        // Button settings
        button_image_url: "Upload/Images/XPButtonUploadText_61x22.png",
        button_placeholder_id: "spanButtonPlaceholder",
        button_width: 61,
        button_height: 22,
        button_text: '<span class="button"></span>',
        button_text_style: '.button { font-family: 宋体; font-size: 14px; } .buttonSmall { font-size: 12px; }',
        button_text_top_padding: 1,
        button_text_left_padding: 5,

        // Flash Settings
        flash_url: "../swfupload/swfupload.swf", // Relative to this file

        custom_settings: {
          upload_target: "divFileProgressContainer",
          upload_returnobjid: "tbPhoto"
        },

        // Debug Settings
        debug: false
      });
    }
  </script>
</head>
<body>
    <form id="form1" runat="server">
    <table style="width: 100%;">
        <tr class="suphead">
            <td align="center" bgcolor="#f5f5f5" colspan="2">
                <b>修改资料</b></td>
        </tr>
        <tr>
            <td align="center" class="fields_text" height="32" width="120">
                Email：</td>
            <td class="fields_text">
                <asp:TextBox ID="tbEmail" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="center" class="fields_text" height="32">
                电话：&nbsp;
            </td>
            <td class="fields_text">
                <asp:TextBox ID="tbTel" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="center" class="fields_text" height="32">
                传真：</td>
            <td class="fields_text">
                <asp:TextBox ID="tbFax" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="center" class="fields_text" height="32">
               手机：</td>
            <td class="fields_text">
                <asp:TextBox ID="tbMobile" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="center" class="fields_text" height="32">
               照片：</td>
            <td class="fields_text">
            <asp:TextBox ID="tbPhoto" runat="server" CssClass="hidden" Text="images/nophoto.gif"></asp:TextBox>
                  <div id="thumbnails"><asp:Image ID="Image1" runat="server" 
                      Height="91px" Width="81px" />
                  </div>
                  <span id="spanButtonPlaceholder"></span>
                  <div id="swfu_container" style="margin: 0px 10px;"></div>
                  </td>
        </tr>

        <tr>
            <td align="center" colspan="2" height="32">
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="确定" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
