直接拷贝,另存为html运行即可
2006-04-25 20:41
441 查看
<meta http-equiv='content-type' content='text/html; charset=GBK'>
<meta name="Keywords" content="photo album,gallery,photo gallery,digital,photo,gallery,相册,图片,像册">
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.5)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.5)">
<link rel=stylesheet type=text/css href="http://images.chinaren.com/product/alumni3/alumni.css">
<link rel=stylesheet type=text/css href="http://images.chinaren.com/product/alumni3/album_style.css">
<script src="http://images.chinaren.com/product/alumni3/album_js.js"></script>
<script src="http://images.chinaren.com/product/alumni3/alumni.js"></script>
<html>
<head>
<title>ChinaRen校友录 班级相册上传图片</title>
</head>
<body leftmargin=0 topmargin=5 bgcolor=white onLoad=MM_preloadImages('http://images.sohu.com/cs/sms/alumni3/images/cr_a41c.gif','http://images.sohu.com/cs/sms/alumni3/images/cr_a42c.gif','http://images.sohu.com/cs/sms/alumni3/images/cr_a43c.gif')>
<center>
<script>showSohuHead()</script>
<script>showAlumniBanner("cr_a1.gif","cr_a2.gif")</script>
<!--content-->
<table width=760 border=0 cellpadding=0 cellspacing=7 bgcolor=#FBAF0C>
<tr><td bgcolor=#FFFFFF>
<table width=746 border=0 cellpadding=0 cellspacing=0 background=http://images.sohu.com/cs/sms/alumni3/images/album/cdd01.gif>
<tr><td height=26 class=a2> <a href="http://alumni.chinaren.com" class=a3>校友录首页</a> >> <a href="http://alumni.chinaren.com/school/class_list.jsp?schooluuid=463844" class=a3>桂林电子工业学院</a> >> <a href="http://alumni.chinaren.com/class/class_index.jsp?classuuid=2917034545012967646" class=a3>0901101</a> >> <a href="/album/classalbum_thumblist.jsp?classuuid=2917034545012967646" class=a3>班级相册首页</a></td></tr>
</table>
<table width=746 border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=3>
<table width=746 border=0 cellpadding=0 cellspacing=0 background=http://images.sohu.com/cs/sms/alumni3/images/album/cdd01.gif>
<tr><td height=26 class=a2> <img src=http://images.sohu.com/cs/sms/alumni3/images/album/bb11.gif width=13 height=14 border=0> <b>上传图片</b></td>
<td align=right>
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td class=z1> 相片<span class=a1>4</span>张,总空间<span class=a1>20MB</span> 已用<span class=a1>0MB</span>,所占空间 </td>
<td width=55>
<table width=50 border=1 cellpadding=0 cellspacing=0 class=border>
<tr>
<td height=8 width=1% bgcolor=#FF6000></td>
<td height=8 width=99% bgcolor=#F4F3E5></td>
</tr>
</table>
</td>
<td width=10 class=a3>1%</td>
<td width=10><br></td>
</tr>
</table>
</td>
<td width=10><br></td>
</tr>
</table>
<script>
var img=null;
var diskuse = 337124
var quota = 20971520
var maxfilesize = 104857.6;
function checkimage(){
//setTimeout('function wait(){}',5000);
document.upload.FILE1.value = trim(document.upload.FILE1.value);
var name = document.upload.FILE1.value;
if(/^.+/.(gif|jpg|png)$/i.test(name)){
if(img)img.removeNode(true);
img=document.createElement("img");
img.style.position="absolute";
img.style.visibility="hidden";
img.attachEvent("onerror",ErrImgType);
img.attachEvent("onreadystatechange",ErrImgBig);
document.body.insertAdjacentElement("beforeend",img);
img.src=name;
var showimg_width = img.width;
var showimg_height = img.height;
if(showimg_width > 500)
{
var ori_w= showimg_width;
var ori_h = showimg_height;
showimg_width = 500;
showimg_height = ori_h * showimg_width / ori_w;
}
if(showimg_width < 50 && showimg_height <50)
{
showimg_width = showimg_height = 150;
}
document.all.view.src = name;
document.all.view.style.width = showimg_width;
document.all.view.style.height = showimg_height;
}
else{ErrImgType()}
}
function ErrImgType(){
upload.reset();
alert("上传图片文件类型只能是jpg或gif!");
return false;
}
function ErrImgBig(){
if (img.fileSize>maxfilesize){
upload.reset();
alert("文件大小不能超过1M字节!");
return false;
}
}
function picsubmit() {
document.upload.PICINTRO.value = trim(document.upload.PICINTRO.value);
if(document.upload.PICINTRO.value.length>32) {
alert("您的图片介绍超过32字,目前字数="+upload.PICINTRO.value.length);
return false;
}
filename = document.upload.FILE1.value.toLowerCase();
filext = filename.substring(filename.length-3,filename.length);
if(filext!="jpg" && filext!="gif") {
alert("您上传的图片不是jpg或gif格式");
return false;
}
if(document.upload.share2school.checked) {
document.upload.STATUS.value = 11;
} else { document.upload.STATUS.value = 1;}
var str_cid = -1;
HaveCid = false;
if(document.upload.share2otheralbum.value==1) {
if (document.upload.chkid != undefined) {
if(document.upload.chkid.length==1 || document.upload.chkid.length == undefined) {
if(document.upload.chkid.checked)
str_cid = document.upload.chkid.value + ",";
} else {
str_cid = "";
//alert(document.upload.chkid.length);
for(i=0;i<document.upload.chkid.length;i++) {
if(document.upload.chkid[i].checked) {
str_cid +=document.upload.chkid[i].value + ",";
HaveCid = true;
}
}
if(!HaveCid) str_cid = -1;
}
}
}
document.upload.share2otheralbumID.value = str_cid;
//alert(document.upload.share2otheralbumID.value);
document.all.sending0.style.display = "none";
document.all.sending2.style.visibility="visible";
return true;
4000
}
</script>
<script>
function showSchBoardList() {
var alertmsg = "您将把此图片推荐到ChinaRen社区的/"";
var str_bid = "";
alertmsg +="/"版?/n/r/n/r点击/"确定/"完成推荐,系统会另开窗口跳转到您发帖的版面!/n/r/n/r点击/"取消/"中止推荐到校友论坛";
if (str_bid.length>1 && confirm(alertmsg)==true) {
if(str_bid.length>1)
document.upload.share2SchoolBoard.value = str_bid;
else
document.upload.share2SchoolBoard.value = "null";
//alert(document.upload.share2SchoolBoard.value);
} else {
document.upload.share2SchBoard.checked = false;
}
}
function showUserLifeAlbumList() {
if(document.upload.share2otheralbum.value==1) {
var output = "<table width=200 border=0 cellpadding=0 cellspacing=0><tr><td><table border=0 cellpadding=3 cellspacing=0> <tr><td class=bg2>";
output +=" <font color=#FF6600><b>转贴到我的其他班级相册</b></font><br>";
output += " <input type=checkbox name=chkid value=2917034545012973095>787878<br>";
output += " <input type=checkbox name=chkid value=2917034545013026642>030Y10339<br>";
output +="<hr> <font color=#FF6600><b>转贴到我的学校相册</b></font><br><input type=checkbox name=share2school value=1><a href='/album/schoolalbum_thumblist.jsp?schooluuid=463844' target=_blank style='text-decoration: underline'>桂林电子工业学院学校相册</a>";
output += "</td></tr> </table> </td> </tr> </table>";
document.all.showUserLife.innerHTML = output;
document.all.showUserLife.style.display = "";
}else{
document.all.showUserLife.style.display = "none";
}
}
</script>
<table width=746 border=0 cellspacing=0 cellpadding=0 background=http://images.sohu.com/cs/sms/alumni3/images/album/cdd02.gif height=42 class=bg6>
<FORM METHOD="POST" ACTION="/album/classalbum_upload.jsp?classuuid=2917034545012967646" NAME="upload" ENCTYPE="multipart/form-data" onsubmit='return picsubmit()'>
<tr>
<td class=a2 height=31> <img src=http://images.sohu.com/cs/sms/alumni3/images/album/jdd03.gif width=4 height=8 border=0> fjly_266正在添加图片......</td>
<td align=right>
</td>
</tr>
<tr><td height=31 colspan=2> <input type=file name=FILE1 class=bg4 onChange="setTimeout('checkimage()',500)"> </td></tr>
</table>
</td></tr>
<tr valign=top>
<td width=746 align=center>
<!--2-->
<table width=700 border=0 cellpadding=0 cellspacing=0>
<tr><td class=a2 height=20><img src=http://images.sohu.com/cs/sms/alumni3/images/album/jdd03.gif width=4 height=8 border=0> 图片描述:</td></tr>
<tr><td class=a2 height=20> <input type=text name=PICINTRO size=30 class=bg4></td></tr>
<!--di-->
</table>
<!--2-->
<table border=0>
<tr><td width=5></td>
<td width=200>
<img src=http://images.sohu.com/cs/sms/alumni3/images/album/jdd03.gif width=4 height=8 border=0> <input type=hidden name=share2otheralbum value=1> 推荐本图
<div id="showUserLife" style="display:none"></div>
</td>
<td>
<!--div id="view" style="display:"-->
<table width=500 border=0 cellpadding=0 cellspacing=0>
<tr>
<td class=a2 height=35 align=left><img src=http://images.sohu.com/cs/sms/alumni3/images/album/jdd03.gif width=4 height=8 border=0> 图片预览:</td>
</tr>
<tr>
<td>
<table border=0 cellpadding=3 cellspacing=0><tr><td class=bg2><img id=view src=http://images.sohu.com/cs/sms/alumni3/ad/images/album/345_266.gif width=345 height=266 border=0></td></tr></table>
</td>
</tr>
</table>
<!--/div-->
</td>
</tr>
</table>
<!--/2-->
<div id="sending2" style="z-index:10; visibility:hidden">
<table width=90% border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=30%></td>
<td bgcolor=red>
<table width=100% height=50 border=0 cellspacing=2 cellpadding=0 class="form">
<tr>
<td bgcolor=#FFFFCC align=center>
<div align="center">图片上传中,请稍候...</div>
</td>
</tr>
</table>
</td>
<td width=30%></td>
</tr>
</table>
</div>
<div id=sending0 style="display: ">
<table width=700 border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2 align=center><input type=image src=http://images.sohu.com/cs/sms/alumni3/images/album/bu12.gif></td></tr>
<tr><td height=8></td></tr>
</table>
</div>
<table width=700 border=0 cellpadding=0 cellspacing=0>
<tr><td background=http://images.sohu.com/cs/sms/alumni3/images/album/jdd02.gif><img src=http://images.sohu.com/ccc.gif width=1 height=1></td></tr>
</table>
<table width=700 border=0 cellpadding=0 cellspacing=0>
<tr><td background=http://images.sohu.com/cs/sms/alumni3/images/album/jdd02.gif><img src=http://images.sohu.com/ccc.gif width=1 height=1></td></tr>
</table>
<br>
<!--3-->
<table width=700 border=0 cellpadding=0 cellspacing=0>
<tr><td class=a3 height=20> <b>免责声明</b></td></tr>
<tr><td class=a3 height=20>
·图片文件需小于1M 字节<br>
·请确保您上传的图片不得违反国家有关规定<br>
·校友录将对您的图片保留最终决定权<br>
</td></tr>
<!--di-->
</table>
<br>
<table width=700 border=0 cellpadding=0 cellspacing=0>
<tr><td background=http://images.sohu.com/cs/sms/alumni3/images/album/jdd02.gif><img src=http://images.sohu.com/ccc.gif width=1 height=1></td></tr>
</table>
<!--end-->
</td></tr>
<INPUT TYPE=HIDDEN NAME="CLASSUUID" VALUE="2917034545012967646">
<INPUT TYPE=HIDDEN NAME="STATUS">
<INPUT TYPE=HIDDEN NAME="ISURL" VALUE=0>
<INPUT TYPE=HIDDEN NAME="share2otheralbumID">
<INPUT TYPE=HIDDEN NAME="share2SchoolBoard">
</FORM>
</table>
<br><br>
<!--di-->
</td></tr>
</table>
</td></tr>
</table>
<script>showUserLifeAlbumList();showCopyRight()</script>
</center>
</body>
</html>
相关文章推荐
- 「JavaScript」梅花雪日历控件3.0-直接复制代码保存为html格式即可运行
- 梅花雪日历控件3.0-直接复制代码保存为html格式即可运行
- 直接运行 html 代码(参考网络)
- pdf.js实现在HTML下直接浏览pdf文档,无需插件即可实现
- pdf.js实现在HTML下直接浏览pdf文档,无需插件即可实现
- java护士排班 test 根据 1天24小时分成6班,一个护士一天上8个小时,一周上40小时,进行一周排班安排!拷贝,直接运行。
- java 计算天月季度年的起始结束时间戳(直接运行即可)
- 网页 选项卡的实现 拷贝后 以html形式保存即可
- 把正文保存为.hta或.htm格式,用IE打开后即可使用(直接运行EXE程序的脚本)
- JS实现可直接显示网页代码运行效果的HTML代码预览功能实例
- pdf.js实现在HTML下直接浏览pdf文档,无需插件即可实现
- JavaScript特效制作经典精讲(案例入门详解、可直接粘贴拷贝运行、史上最牛案例)
- redhat6.8 配置使用centos的yum源【增加脚本,直接root下运行即可】
- 怎么用cmd 运行python 快捷键(WIN+R)在“运行”中输入“cmd ”然后在命令提示符中输入set PATH=%PATH%;D:\乱七八糟的软件\Python-3.4.3,接下来,再在当前的 cmd下输入python,即可运行。———没嘛用 直接文件夹shift右键
- 如何直接在Web html页面运行coffeescript代码
- 查询软件和硬件列表清单[将文章里代码另存为 list.vbs,双击运行就会出现一个html页面]
- 车辆信息管理系统(部分模块待改进),直接运行即可,绝对原创
- JS实现可直接显示网页代码运行效果的HTML代码预览功能实例
- Maven生成可以直接运行的jar包的多种方式
- 直接运行Eclipse导出jar(test web service)