01-26-2008, 05:28 PM
|
رقم المشاركة : 1
|
|
|
كود جديد لجعل المنتدى يحتوي على أكبر مركز لرفع الملفات حتى 3 جيجا
كود:
<****** language="**********">function OnSubmitForm(){a=********.getElementById('form').s tyle;a.display='none';b=********.getElementById('p art2').style;b.display='inline';if(********.myform .operation[0].checked == true){********.myform.action ="http://www.up3up.com/upload.php";}elseif(********.myform.operation[1].checked == true){********.myform.action ="transload.php?xfer=true";}return true;}function toggleuploadmode(file) {if (file) {********.getElementById('upfile').style.display=' b lock';********.getElementById('upurl').style.displ ay='no ne';********.getElementById('upform').action='inde x.ph p';} else {********.getElementById('upfile').style.display=' n one';********.getElementById('upurl').style.displa y='bl ock';********.getElementById('upform').action='tra nsloa d.php';}}function focusfield(fl) {if (fl.value=="Paste file url here") {fl.value='';fl.style.color='black';}}</******><****** language="**********">var checkobjfunction agreesubmit(el){checkobj=elif (********.all||********.getElementById){for (i=0;i<checkobj.form.length;i++){ //hunt down submit buttonvar tempobj=checkobj.form.elements[i]if(tempobj.type.toLowerCase()=="submit")tempobj.di sabled=!checkobj.checked}}}function defaultagree(el){if (!********.all&&!********.getElementById){if (window.checkobj&&checkobj.checked)return trueelse{*****("Please read and accept terms to submit form")return false}}}</******><form enctype="multipart/form-data" name="myform" id="form" method="post" onSubmit="return OnSubmitForm();" style="display: inline;">يجب الموافقة على شروط الخدمة حتى تستطيع رفع أقصى حجم للملف : 3000 ميجا بايت (3 جيجا )<div id="upfile"><input type="file" name="upfile" size="50" onchange="showoptions(this)" id="fileupload"><br /></div><div id="upurl" style="display: none"><input type="****" id="from" name="from" value="Paste file url here" style=color:#888888 onfocus="focusfield(this)" size="50"> <img src=./images/url.gif><br /></div><table border=0 cellpadding=0 cellspacing=0 align=right width=405><tr><td><input type="radio" name="operation" onclick="toggleuploadmode(true);" value="1" checked>ملف<input type="radio" name="operation" onclick="toggleuploadmode(false);" value="2">رابط </td><td align=right><input name="agreecheck" type="checkbox" onClick="agreesubmit(this)"> موافق على <a href="http://www.up3p.com/index.php?page=tos" target=_blank>شروط الخدمة </a> </td></tr></table><br /><input type="submit" value="ارفع الملف !" id="upload" style=width:405px disabled /></form><div id="part2" style="display: none;"><****** language="**********" src="progressbar.js"></******><BR><BR>جاري ريفع الملف برجاء الانتظار .......<BR><BR>
|
|
|
|