<%@ page language="C#" autoeventwireup="true" inherits="admin_upimage, shazhiqiu_freetaoke" %>
<!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">
    <title></title>
<link href="images/skin.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
	font-size:12px;
}
-->
</style>  
      <script language="javascript" type="text/javascript">
function upimage()
{
var f = document.forms[0];

if (f.File1.value == "")
{
alert("请选择一个要上传的图片!");
f.File1.focus();
return false;
}	
else
{
return true;
}
}

</script>
</head>
<body>
    <form id="form1" runat="server">
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="images/mail_leftbg.gif"><img src="images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">广告图片</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="images/mail_rightbg.gif"><img src="images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
    <div class="divtext">
<table cellspacing="0" cellpadding="0" width="100%"  class="tablexian" border="0">
    <tr>
        <td align="left" class="tablebg" colspan="2">
            上传修改首页图片 </td>
    </tr>
<tr><td   align="right" style="width: 100px">
    代码：</td><td align="left">
    <textarea id="jscode" runat="server" cols="100" rows="10"></textarea></td></tr>
    <tr>
        <td align="right" style="width: 100px">
            上传图片：</td>
        <td align="left">
            <input id="File1" runat="server" type="file" /> 680*180 宽和高</td>
    </tr>
    <tr>
        <td align="right" style="width: 100px">
        </td>
        <td align="left">
            &nbsp;<asp:ListBox ID="ListBox1" runat="server" Rows="8" Width="150px"></asp:ListBox></td>
    </tr>
<tr>
<td align="right"  style="width: 100px">
</td>
<td align="left">
<input id="Submit1" runat="server" class="button" type="submit" value="上传图片" onclick="return upimage()" onserverclick="Submit1_ServerClick" />
    <input id="Submit2" runat="server" class="button" type="submit" value="修改代码" onserverclick="Submit2_ServerClick" />
    <input id="Submit3" runat="server" class="button" onserverclick="Submit3_ServerClick"
        type="submit" value="删除图片" /></td>
</tr>
</table>
     </div>
     
</td>
    <td background="images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
    </form>
</body>
</html>