<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ArchiveEdit.aspx.cs" Inherits="Archives.Website.Admin.ArchiveEdit" ValidateRequest="false" %>
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>上传施工进度 - 施工进度后台管理系统</title>
<link rel="stylesheet" href="../css/style.default.css" type="text/css" />
<script type="text/javascript" src="../js/plugins/jquery-1.7.min.js"></script>
<script type="text/javascript" src="../js/plugins/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="../js/plugins/jquery.cookie.js"></script>
<script type="text/javascript" src="../js/plugins/jquery.uniform.min.js"></script>
<script type="text/javascript" src="../js/plugins/jquery.validate.min.js"></script>
<script type="text/javascript" src="../js/plugins/jquery.flot.min.js"></script>
<script type="text/javascript" src="../js/plugins/jquery.flot.resize.min.js"></script>
<script type="text/javascript" src="../js/plugins/jquery.slimscroll.js"></script>
<script type="text/javascript" src="../js/custom/general.js"></script>

<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../js/plugins/excanvas.min.js"></script><![endif]-->
<!--[if IE 9]>
    <link rel="stylesheet" media="screen" href="../css/style.ie9.css"/>
<![endif]-->
<!--[if IE 8]>
    <link rel="stylesheet" media="screen" href="../css/style.ie8.css"/>
<![endif]-->
<!--[if lt IE 9]>
	<script src="../js/plugins/css3-mediaqueries.js"></script>
<![endif]-->
<link rel="stylesheet" href="../kindeditor/themes/default/default.css" />
<script type="text/javascript" src="../kindeditor/kindeditor.js"></script>
<script type="text/javascript" src="../kindeditor/lang/zh_CN.js"></script>
<script type="text/javascript" src="../kindeditor/plugins/code/prettify.js"></script>
<script type="text/javascript">
    KindEditor.ready(function (K) {
        var editor1 = K.create('textarea[name="content"]', {
            cssPath: '../kindeditor/plugins/code/prettify.css',
            uploadJson: '../kindeditor/asp.net/upload_json.ashx',
            fileManagerJson: '../kindeditor/asp.net/file_manager_json.ashx',
            allowFileManager: true,
            afterCreate: function () {
                var self = this;
                K.ctrl(document, 13, function () {
                    self.sync();
                    K('form[name=form1]')[0].submit();
                });
                K.ctrl(self.edit.doc, 13, function () {
                    self.sync();
                    K('form[name=form1]')[0].submit();
                });
            }
        });
        prettyPrint();
    });
    jQuery(document).ready(function () {

        ///// FORM TRANSFORMATION /////
        jQuery('input:checkbox, input:radio, select.uniformselect, input:file').uniform();

        ///// FORM VALIDATION /////
        jQuery("#form1").validate({
            rules: {
                ArchiveTitle: "required",
                content: "required"
            },
            messages: {
                ArchiveTitle: "请输入进度标题！",
                content: "请输入进度描述！"
            }
        });

    });	
</script>
</head>

<body class="withvernav">
<form id="form1" runat="server">
<div class="bodywrapper">
    <div class="topheader">
        <div class="left">
            <h1 class="logo">蛐蛐·<span>施工进度查询系统</span></h1>
            <span class="slogan">企业后台管理中心</span>
           
            <br clear="all" />
            
        </div><!--left-->
        
        <div class="right">
            <div class="userinfo">
            	<img src="../images/thumbs/avatar.png" alt="" />
                <span><%=CurOperator.UserName%></span>
            </div><!--userinfo-->
            
            <div class="userinfodrop">
            	<div class="avatar">
                	<a href=""><img src="../images/thumbs/avatarbig.png" alt="" /></a>
                    <div class="changetheme">
                    	切换主题: <br />
                    	<a class="default"></a>
                        <a class="blueline"></a>
                        <a class="greenline"></a>
                        <a class="contrast"></a>
                        <!--<a class="custombg"></a>-->
                    </div>
                </div><!--avatar-->
                <div class="userdata">
                	<h4><%=CurOperator.UserName%></h4>
                    <span class="email">管理员</span>
                    <ul>
                    	<li><a href="Index.aspx">系统首页</a></li>
                        <li><a href="ChangePassword.aspx">修改密码</a></li>
                        <li><a href="http://www.sojump.com/jq/5099502.aspx" target="_blank">建议反馈</a></li>
                        <li><a href="Logout.aspx">退出</a></li>
                    </ul>
                </div><!--userdata-->
            </div><!--userinfodrop-->
        </div><!--right-->
    </div><!--topheader-->
    
    
    <div class="header">
    	<ul class="headermenu">
        	<li><a href="Index.aspx"><span class="icon icon-flatscreen"></span>系统首页</a></li>
            <li><a href="CustomerList.aspx"><span class="icon icon-pencil"></span>业主中心</a></li>
			<li class="current"><a href="ArchiveList.aspx"><span class="icon icon-chart"></span>施工进度</a></li>
            <li><a href="NoticeList.aspx"><span class="icon icon-message"></span>通知管理</a></li>
        </ul>
        
       <div class="headerwidget">

        </div><!--headerwidget-->
        
    </div><!--header-->
    
    <div class="vernav2 iconmenu">
    	<ul>
			<li><a href="Index.aspx" class="widgets">系统首页</a></li>
        	<li><a href="#formsub" class="editor">业主中心</a>
            	<span class="arrow"></span>
            	<ul id="formsub">
               		<li><a href="CustomerList.aspx">业主列表</a></li>
                    <li><a href="CustomerAdd.aspx">添加业主</a></li>
                </ul>
            </li>			
        	<li class="current"><a href="#formsub2" class="gallery">施工进度</a>
            	<span class="arrow"></span>
            	<ul id="formsub2">
               		<li class="current"><a href="ArchiveList.aspx">施工进度列表</a></li>
                </ul>
            </li>	
        	<li><a href="#formsub3" class="calendar">通知管理</a>
            	<span class="arrow"></span>
            	<ul id="formsub3">
               		<li><a href="NoticeList.aspx">通知列表</a></li>
                    <li><a href="NoticeAdd.aspx">发布通知</a></li>
                </ul>
            </li>				
            <%if (CurOperator.IsManager == 1)
              { %>			
        	<li><a href="#formsub4" class="elements">操作员管理</a>
            	<span class="arrow"></span>
            	<ul id="formsub4">
               		<li><a href="OperatorList.aspx">操作员列表</a></li>
                    <li><a href="OperatorAdd.aspx">添加操作员</a></li>
                </ul>
            </li>	
            <%} %>					
        	<li><a href="#formsub5" class="tables">账号设置</a>
            	<span class="arrow"></span>
            	<ul id="formsub5">
               		<li><a href="ChangePassword.aspx">修改密码</a></li>
                    <li><a href="UserLog.aspx">登录日志</a></li>
                </ul>
            </li>
			<li><a href="Support.aspx" class="support">技术支持</a></li>
        </ul>
        <a class="togglemenu"></a>
        <br /><br />
    </div><!--leftmenu-->
        
    <div class="centercontent">
    
        <div class="pageheader notab">
            <h1 class="pagetitle">上传施工进度</h1>
        </div><!--pageheader-->
        
        <div id="contentwrapper" class="contentwrapper widgetpage">

        	<div id="basicform" class="subcontent">
					<div class="stdform stdform2">
                        <p>
                        	<label>进度类别</label>
                            <span class="field">
                                <asp:DropDownList ID="ProgressType" runat="server" style="width:20%;min-width:20%;" >
                                    <asp:ListItem Value="1" Text="设计阶段"></asp:ListItem>
                                    <asp:ListItem Value="2" Text="开工阶段"></asp:ListItem>
                                    <asp:ListItem Value="3" Text="材料进场"></asp:ListItem>
                                    <asp:ListItem Value="4" Text="墙体改造"></asp:ListItem>
                                    <asp:ListItem Value="5" Text="水电阶段"></asp:ListItem>
                                    <asp:ListItem Value="6" Text="木工阶段"></asp:ListItem>
                                    <asp:ListItem Value="7" Text="泥瓦工阶段"></asp:ListItem>
                                    <asp:ListItem Value="8" Text="油漆工阶段"></asp:ListItem>
                                    <asp:ListItem Value="9" Text="安装工阶段"></asp:ListItem>
                                    <asp:ListItem Value="10" Text="验收阶段"></asp:ListItem>
                                </asp:DropDownList>
                            </span>
                        </p>						
                        <p>
                        	<label>业主姓名</label>
                            <span class="field"><asp:Label ID="CustomerName" runat="server" Text=""></asp:Label></span>
                        </p>
                        <p>
                        	<label>楼盘名称</label>
                            <span class="field"><asp:Label ID="BuildingName" runat="server" Text=""></asp:Label></span>
                        </p>
                        <p>
                        	<label>进度标题</label>
                            <span class="field"><input type="text" runat="server" name="ArchiveTitle" id="ArchiveTitle" style="width:97%"/></span>
                        </p>
                        <p>
                        	<label>进度描述</label>
                            <span class="field">
                                <span style="padding:5px;display:block;color:#f00;">温馨提示：请点击工具栏右下角的按钮上传图片！</span>
								<textarea runat="server" name="content" id="content" rows="1" cols="1" style="width:98%;height:600px;visibility:hidden;"></textarea>
							</span>
                        </p>
						<p>
                            <label>是否短信提醒业主</label>
                            <span class="field">
                                <asp:DropDownList ID="IsSendSMS" runat="server" style="width:15%;min-width:15%;" >
                                    <asp:ListItem Value="1" Text="是" Selected="True"></asp:ListItem>
                                    <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                </asp:DropDownList>
                            </span>
                        </p>						
                        <p class="stdformbutton" style="text-align:center;">
                            <asp:Button ID="btnSubmit" runat="server" Text=" 提 交 " class="submit radius2" onclick="btnSubmit_Click"/>
							<span style="padding-left:30px;"></span>
                            <input type="reset" class="reset radius2" value=" 重 置 " />
                        </p>
                    </div>

            </div><!--subcontent-->
                            
        </div><!--contentwrapper-->
        
	</div><!-- centercontent -->
    <div style="display:none">
        <script src="http://s11.cnzz.com/stat.php?id=1255823829&web_id=1255823829" language="JavaScript"></script>    
    </div>			
</div><!--bodywrapper-->
</form>
</body>
</html>
