AddPhotoes.aspx
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddPhotoes.aspx.cs" Inherits="AddPhotoes" StylesheetTheme="ASPNETAjaxWeb" %>
<!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 runat="server">
<title>同时上载多个图片</title>
<script language="javascript" type="text/javascript">
function addFile(max)
{
var file = document.getElementsByName("File");
if(file.length == 1 && file[0].disabled == true)
{
file[0].disabled = false;
return;
}
if(file.length < max)
{
var filebutton = '<br /><input type="file" size="50" name="File" class="Button" />';
document.getElementById('FileList').insertAdjacentHTML("beforeEnd",filebutton);
}
}
</script>
<style type="text/css">
.style1
{
width: 888px;
height: 166px;
}
</style>
</head>
<body background="images/1318126414318.jpg">
<form id="form1" runat="server" method="post" enctype="multipart/form-data">
<table class="Text" border="0" cellpadding="3" bgcolor="Black" cellspacing="1">
<tr bgcolor="white">
<td colspan="2">
<a name="message"></a>
<img alt="" class="style1" height="100%" src="images/2.jpg" /></td>
</tr>
<tr bgcolor="white">
<td bgcolor="#66CCFF">所属分类:</td>
<td width="90%" bgcolor="#66CCFF">
<asp:DropDownList ID="ddlCategory" runat="server" SkinID="ddlSkin" Width="336px"></asp:DropDownList>
</td>
</tr>
<tr bgcolor="white">
<td valign="top" bgcolor="#66CCFF">选择图片:</td>
<td width="90%" bgcolor="#66CCFF">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<p id="FileList"><input type="file" disabled="disabled" size="50" name="File" class="Button" /></p>
</td>
<td valign="top"><input type="button" value='增加一张图片' class="Button" onclick="addFile(<%= MAXPHOTOCOUNT %>)" /><font color="red">(最多上传 <%=MAXPHOTOCOUNT%> 张图片)</font><br /> 单击此按钮增加一个上传图片按钮。如果文件的名称或者内容为空,则不上传该图片。</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="white">
<td bgcolor="#66CCFF"> </td>
后面还有 16 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。