<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserHeadPhoto1.aspx.cs" Inherits="JuSNS.Web.home.space.UserHeadPhoto1" %>

<%@ Register Assembly="JuSNS.UI" Namespace="JuSNS.UI.Control" TagPrefix="cc1" %>

<!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><% Response.Write(JuSNS.Config.UiConfig.SiteName); %> | 更新、上传头像</title>
<script language="javascript" type="text/javascript" src="../../js/ajax.js"></script>
<script language="javascript" type="text/javascript" src="../../js/public.js"></script>
<link href="../../template/<% Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/css/base.css" id="skinpath" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="../../js/headjs.js"></script>
</head>


<body  onselectstart="return false" onselect="document.selection.empty()">
<script language="javascript" type="text/javascript">
<!--
    window.ShowConfirmClose(true);
    var pb_strConfirmCloseMessage;
    var pb_blnCloseWindow = false;
    pb_strConfirmCloseMessage ="█ ▌【你切取标准头像还没获取。是否要离开?】▌█";
    function ConfirmClose() 
    {
        window.event.returnValue = pb_strConfirmCloseMessage;
        pb_blnCloseWindow = true;
    }
    function ShowConfirmClose(blnValue) 
    {
        if(blnValue) 
        {
            document.body.onbeforeunload = ConfirmClose;
        } 
        else 
        {
            document.body.onbeforeunload = null;
        }
    }
    function clearBody()
    {
        document.body.onbeforeunload=null;
    }  
//-->
</script>
<!--头部-->
<%=this.GetHtmlShort()%>
<div id="divhead">
    <%=this.GetHtmlHead()%>
</div>

<div id="divbody">
    <div id="body_first">
        <div class="body_menu"> 
        <%=this.GetHtmlLeft()%>
        </div>
    </div>
    <div id="body_sec">
            <div id="body_mid"> 
                <div class="body_frame"> 
                 <!--主题内容中-->    
                
                <div class="body_frame_otherinfo">
	                        <div class="title">
                                <div class="l"><img src="../../template/<%Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/images/site/acc.gif" align="absmiddle" /> <span class="shenlan bold font14 ocolor">上传头像</span></div>
                                <div class="r"><a href="javascript:window.history.back();" title="返回上一页">返回上一页</a></div>
                                <div class="c"></div>
                            </div>            		       
                            <div class="nav-menu">
                                <ul>                                
                                 <li><a href="edit.aspx">基本信息</a></li>
                                 <li><a href="edit-link.aspx">联系信息</a></li>
                                 <li><a href="edit-like.aspx">个人爱好</a></li>
                                 <li><a href="edit-edu.aspx">教育信息</a></li>
                                 <li><a href="edit-work.aspx">工作信息</a></li>
                                 <li class="current"><a href="userheadphoto.aspx">上传头像</a></li>
                                 <li><a href="template.aspx">装扮空间</a></li>
                                 <li><a href="../privacy">隐私设置</a></li>
                                 <li><a href="../base">帐号管理</a></li>                                                                
                                </ul>
                            </div>
                     </div>
                     <div class="body_sec_all">           
                    <div class="content">
                    <div id="hpic-frame">
	                    <div id="hpic-Current">
		                    <h5>头像预览</h5>
		                     <div>标准头像：</div> 
				             <div id="yulan" style="margin:5px;"  class="image"></div>
				             <div class="line1"></div>
		                     <div>较大头像：</div> 
				             <div id="yulan1" runat="server"  class="image"></div>
	                    </div>
	                    <div id="hpic-Upload">
		                    <h5>选择头像区域</h5>
		                   <div class="reshow pstr">拉动选框中间位置，可以选择图片区域，拉动选框四角，选择头像区域大小。</div> 
		                    <form method="post" action="" runat="server">
			                    <div class="pstr reshow">
			                    <img id="controlImg" alt="选择头像区域" runat="server"/>
			                    </div>
			                    <div class="spline"></div>
			                    <div class="pstr">
				                    <input type="submit" class="f-button bold" value="保存头像" onclick="clearBody();" />
			                    </div>
		                    </form>
	                    </div>
	                </div>
                </div>
               <div class="spline"></div>   
               </div> 
           </div>  
           <!--底部-->
             <div class="divbottom">
              <%=this.GetHtmlFoot()%>
              </div>
           </div>
   </div>
</div>
</body>
</html>
