<%@ Page Language="C#" AutoEventWireup="true" Inherits="SuperWeibo.Page._Computer_Include_ProjectAvatar" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>上传项目头像</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
</head>
<body style="background-color:#FFFFFF;margin:0px;">
<form id="form1" runat="server"> 

<style>
* { font-size:12px;font-family:微软雅黑,宋体;color:#666666; }
</style>

<div id="main">
	<div style="clear:both;width:575px;height:100px;padding:5px;">
		<input type="hidden" id="id" name="id" value="<% =PageIndex %>">
		<% =PageEcho %>
	</div>
	<div style="clear:both;width:575px;padding:5px;margin-bottom:5px;">
		<div style="clear:both;width:130px;">
			<asp:FileUpload ID="FileUpload1" size="8" runat="server" style="border:solid 1px #CCCCCC;" /><br><asp:Button ID="Button2" runat="server" Text="提交" />
		</div>
	</div>
	<div style="clear:both;width:575px;padding:5px;margin-bottom:5px;">
		<% =PageBuffer %>
	</div>
</div>
</form>

<script language="javascript">
// =================================================
// 自动提交(不好，很大的图片会不好控制)
/*
var timer;
function sb()
{
	if(document.getElementById("FileUpload1").value.length > 0)
	{
		document.form1.submit();
	}
}
timer = setInterval("sb()", 100);
*/
</script>
</body>
</html>
