⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_upload.aspx

📁 动网新闻.Net  版权所有:动网工作室-木鸟 程序制作:木鸟
💻 ASPX
字号:
<%@ Page Language="C#" Inherits="DvNews.Admin.Upload" %>

<html>
<head>
<!--#include file="inc/html_head.inc"-->
<script type="text/javascript" language="javascript">
function InputChange(oInput)
{
	var disp = 0;
	var s = oInput.value;
	var ext;
	if (s.length<5)
		return;
	ext = s.substr(s.length-3,3).toLowerCase();
	if (ext=="jpg" || ext=="gif" || ext=="bmp" || ext=="png" || ext=="tif")
	{
		window.resizeTo(450,550);
		document.all.t_preview.style.display = "";
		document.all.i_preview.src = s;
	}else{
		window.resizeTo(450,320);
		document.all.t_preview.style.display = "none";
	}
}
</script>
</head>
<body>
<form id="form1" enctype="multipart/form-data" method="post" runat="server">

<table width="350" align="center" cellspacing="0" cellpadding="0">
<tr>
<td class="mframe-t-left"></td>
<td class="mframe-t-mid">
	<span class="mframe-t-text"><%=lang["title_file_upload"]%></span>
</td>
<td class="mframe-t-right"></td>
</tr>
</table>
<table width="350" align="center" cellspacing="0" cellpadding="0">
<tr>
<td class="mframe-m-left"></td>
<td class="mframe-m-mid">
	<table cellpadding="3" width="95%" align="center">
	<tr><td align="center">
		<asp:Label width="100%" id="myLabel" text="" runat="server"/><br/><br/>
		<%=lang["select_upload_file"]%>
		<input type=file  id=myFile size="15" runat="server"/> 
	</td></tr>
	<tr><td align="center" valign="top" >
		<table align="center">
		<tr><td>
		<asp:CheckBox id="dispImage" runat="server"/>
		</td><td>
		<asp:CheckBox id="dispTitle" runat="server"/>
		</td></tr>
		<tr><td colspan="2">
		<asp:CheckBox id="getThumbnail" runat="server"/>
		<asp:DropDownList id="thumbnailSize"
			runat="server" >
			<asp:ListItem value="120">120x90</asp:ListItem>
			<asp:ListItem value="160">160x120</asp:ListItem>
			<asp:ListItem value="200">200x150</asp:ListItem>
		</asp:DropDownList>
		</td></tr>
		<tr><td colspan="2">
		<asp:CheckBox id="getSmall" runat="server"/>
		<asp:DropDownList id="smallSize"
			runat="server" >
			<asp:ListItem value="800">800x600</asp:ListItem>
			<asp:ListItem value="640">640x480</asp:ListItem>
			<asp:ListItem value="480">480x360</asp:ListItem>
			<asp:ListItem value="360">340x270</asp:ListItem>
			<asp:ListItem value="240">240x180</asp:ListItem>
			<asp:ListItem value="120">120x90</asp:ListItem>
		</asp:DropDownList>
		</td></tr>
		<tr><td colspan="2">
		<asp:CheckBox id="withMark" runat="server"/>
		</td></tr>
		</table>
	</td></tr>
	<tr><td align="center">
	<%
	Submit.Text=lang["submit_text"].ToString();
	%>
	   <asp:Button id="Submit" text="上传" onclick="Submit_OnClick" runat="server"/>
	</td> </tr>
	</table>	
</td>
<td class="mframe-m-right"></td>
</tr>
</table>
<table width="350" align="center" cellspacing="0" cellpadding="0" >
<tr>
<td class="mframe-b-left"></td>
<td class="mframe-b-mid">&nbsp;</td>
<td class="mframe-b-right"></td>
</tr>
</table>

<table width="300" id="t_preview" style="display:none" align="center"><tr><td align="center">
<img id="i_preview" src="" width="1" onload="this.width='300'" alt="preview"/>
</td></tr></table>


</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -