yuesu/Comja/upcommon.js
(完整代码) 2KB/*no use*/
function cfm(idname, width, type, extname,tablename) {
newElem = document.getElementById("filediv" + idname);
newElem.innerHTML = "";
var frm = document.createElement("iframe");
frm.setAttribute("name", "ifr" + idname);
frm.setAttribute("id", "ifr" + idname);
frm.setAttribute("src", "");
frm.setAttribute("marginwidth", "0");
frm.setAttribute("marginheight", "1");
frm.setAttribute("width", "305");
frm.setAttribute("height", "25");
frm.setAttribute("scrolling", "no");
frm.setAttribute("border", "0");
frm.setAttribute("frameborder", "0");
newElem.appendChild(frm);
var ifr = window.frames['ifr' + idname];
createcfm(ifr,idname, width, type, extname,tablename);
}
function createcfm(ifr,idname, width, type, extname,tablename) {
ifr.document.open();
ifr.document.write('<html>\n');
ifr.document.write('<head>\n');
ifr.document.write('<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n');
ifr.document.write('<style>*{margin:0px;padding:0px;line-height:20px;}</style>\n');
ifr.document.write('<script>function check(){if (document.form1.file1.value==""){window.parent.upprocess(false);alert("\u4e0a\u50b3\u6587\u4ef6\u4e0d\u80fd\u7232\u7a7a");return false;}\n');
ifr.document.write('var count = parseInt(window.parent.document.getElementById("piccount").innerHTML);if (count==6 && window.parent.ispicnum==1){window.parent.upprocess(false);alert("\u60a8\u5df2\u9054\u5230\u6700\u5927\u4e0a\u50b3\u6587\u4ef6\u6578\uff01");return false;}\n');
ifr.document.write('window.parent.upprocess(true);document.form1.submit();}<\/script>\n');
ifr.document.write('</head>\n');
ifr.document.write('<body>\n');
ifr.document.write('<form id="form1" name="form1" method="post" enctype="multipart/form-data" onsubmit="return check();" action="' + editorpath + 'uploadinc/upmulpic.aspx?idname=' + idname + '&w=' + width + '&type=' + type + '&extname=' + extname + '&tablename=' + tablename + '">\n');
/*ifr.document.write('<input type="file" name="file2" id="file2" value="" style="width:230px;line-height:20px;margin-top:2px;height:19px;" /><input style="padding-left:3px;padding-right:3px;height:21px;line-height:18px;width:73px;" type="submit" name="Submit" value="开始上传" /></form>');
*/
ifr.document.write('<input type="file" name="file1" onchange="check()" id="file1" value=""></form>');
ifr.document.write('</body>\n');
ifr.document.write('</html>');
ifr.document.close();
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
