منتدى الشباب و الرياضة
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.

منتدى الشباب و الرياضة

منتدى و دردشة الشباب و الرياضة
 
الرئيسيةالرئيسية  البوابةالبوابة  أحدث الصورأحدث الصور  التسجيلالتسجيل  دخولدخول  

 

 سكربت تحميل الملفات

اذهب الى الأسفل 
كاتب الموضوعرسالة
Taresh
Admin



عدد الرسائل : 275
العمر : 36
تاريخ التسجيل : 02/04/2008

سكربت تحميل الملفات Empty
مُساهمةموضوع: سكربت تحميل الملفات   سكربت تحميل الملفات Icon_minitimeالأحد أبريل 06, 2008 5:07 am

بسم الله الرحمن الرحيم
إليكم سكربت تحميل الملفات

ــــــــــــــــــــــــــــــــــــــــــــــــــــــ

الرمز:


<SCRIPT language="JavaScript">
function OnSubmitForm()
{
a=document.getElementById('form').style;
a.display='none';
b=document.getElementById('part2').style;
b.display='inline';

if(document.myform.operation[0].checked == true)
{
document.myform.action ="http://www.up3up.com/upload.php";
}
else
if(document.myform.operation[1].checked == true)
{
document.myform.action ="transload.php?xfer=true";
}
return true;

}

function toggleuploadmode(file) {
if (file) {
document.getElementById('upfile').style.display='block';
document.getElementById('upurl').style.display='none';
document.getElementById('upform').action='index.php';
} else {
document.getElementById('upfile').style.display='none';
document.getElementById('upurl').style.display='block';
document.getElementById('upform').action='transload.php';
}
}
function focusfield(fl) {
if (fl.value=="Paste file url here") {
fl.value='';
fl.style.color='black';
}
}
</SCRIPT>

<SCRIPT language="JavaScript">
var checkobj
function agreesubmit(el){
checkobj=el
if (document.all||document.getElementById){
for (i=0;i<checkobj.form.length;i++){ //hunt down submit button
var tempobj=checkobj.form.elements[i]
if(tempobj.type.toLowerCase()=="submit")
tempobj.disabled=!checkobj.checked
}
}
}

function defaultagree(el){
if (!document.all&&!document.getElementById){
if (window.checkobj&&checkobj.checked)
return true
else{
alert("Please read and accept terms to submit form")
return false
}
}
}
</script>


<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="text" 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;">
<script language="javascript" src="progressbar.js"></script>
<BR><BR>

جاري رفع الملف برجاء الانتظار .......
<BR><BR>
ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
العضو أو الزائر يسجل عنوان الإعلان مركز رفع الملفات فاصلة مع تحيات منتديات الشباب و الرياضة زائد الرابط


عدل سابقا من قبل Admin في الأحد أبريل 06, 2008 5:09 am عدل 1 مرات (السبب : بسبب زائر يلقب ابن الشام)
الرجوع الى أعلى الصفحة اذهب الى الأسفل
https://woosport.yoo7.com
Taresh
Admin



عدد الرسائل : 275
العمر : 36
تاريخ التسجيل : 02/04/2008

سكربت تحميل الملفات Empty
مُساهمةموضوع: رد   سكربت تحميل الملفات Icon_minitimeالأحد أبريل 06, 2008 5:17 am

عزيزي الزائر أنت لا ترى سوى 50 % من الرمز لانك غير مسجل في منتدانا
شكراً
الرجوع الى أعلى الصفحة اذهب الى الأسفل
https://woosport.yoo7.com
Taresh
Admin



عدد الرسائل : 275
العمر : 36
تاريخ التسجيل : 02/04/2008

سكربت تحميل الملفات Empty
مُساهمةموضوع: رد   سكربت تحميل الملفات Icon_minitimeالأحد أبريل 06, 2008 5:17 am

لا تنسى بعد تسجيلك شكر المدير
الرجوع الى أعلى الصفحة اذهب الى الأسفل
https://woosport.yoo7.com
 
سكربت تحميل الملفات
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1
 مواضيع مماثلة
-

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
منتدى الشباب و الرياضة :: المنتدى التقني :: منتدى الإنترنت-
انتقل الى: