النتائج 1 إلى 7 من 7

الموضوع: احتاج كود php مثل الموجود بسوالف باعلى الصفحة على اليسار

  1. #1
    عضو سوبر نشيط
    تاريخ التسجيل
    May 2001
    المشاركات
    867

    احتاج كود php مثل الموجود بسوالف باعلى الصفحة على اليسار



    لقد بنيت موديل اهدائات وينقصني كود يعرض الاهدائات بشكل جميل (متل الموجود بمنتدى سوالف اللذي يظهر باعلى الصفحة على اليسار او الموجود بالموقع : http://www.9cc9.com/playehdaa.php)

    احتاج ان يكون الكود بلغة php كي اتمكن من ادخال محتويات الاهدائات

    او ان كان لديكم اي طريقه اخرى ارجو ان تدلوني عليها , مثل الفلاش





    __________________


    موقع دبوريه - عرب 48: http://www.dabburiya.net/index.php

    منتدى دبوريه - عرب 48: http://www.dabburiya.net/forums/index.php



  2. #2


    هذا بلغة الجافا ... ينفع ؟؟





    الملفات المرفقة الملفات المرفقة

  3. #3
    عضو سوبر نشيط
    تاريخ التسجيل
    May 2001
    المشاركات
    867

    رائع اخي الانيس



    هذا ينفع ونص كمان
    الف شكر لك , الكود شغال 100% وعند تحويله الى php

    اكرر شكري لك





    __________________


    موقع دبوريه - عرب 48: http://www.dabburiya.net/index.php

    منتدى دبوريه - عرب 48: http://www.dabburiya.net/forums/index.php


  4. #4
    عضو فعال جدا
    تاريخ التسجيل
    Oct 2003
    المشاركات
    2,775


    رائع ياخوك هذا السكربت
    مدام واحد ساعدك فاعمل خير و حطه لول
    و الله عجيب عجيب اشوف افضل سكربت اهدائات
    و الى الامام






  5. #5
    عضو نشيط جدا
    تاريخ التسجيل
    Feb 2003
    المشاركات
    484


    اقتباس المشاركة الأصلية كتبت بواسطة hamudi
    هذا ينفع ونص كمان
    الف شكر لك , الكود شغال 100% وعند تحويله الى php

    اكرر شكري لك
    ياليت الطريقة بالتحويل الى php






  6. #6


    وهذا السكريبت حولته لك إلى php


    كود:
    <?php
    echo "                <TABLE dir=ltr cellSpacing=0 cellPadding=0 width=\"100%\" border=0 height=\"13\">\n";
    echo " <TR>\n";
    echo "   <TD height=\"13\" width=\"5%\" style=\"font-style: normal; font-variant: normal; font-weight: normal; 
    
    font-size: 10pt; font-family: arial, helvetica, verdana\">&nbsp;</TD>\n";
    echo " <TD height=\"13\" width=\"95%\"  nowrap style=\"font-style: normal; font-variant: normal; font-weight: 
    
    normal; font-size: 10pt; font-family: arial, helvetica, verdana\">\n";
    echo "<script type=\"text/javascript\">\n";
    echo "\n";
    echo "/***********************************************\n";
    echo "* Pausing updown message scroller- © Dynamic Drive DHTML code library 
    
    (www.dynamicdrive.com)\n";
    echo "* This notice MUST stay intact for legal use\n";
    echo "* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code\n";
    echo "***********************************************/\n";
    echo "\n";
    echo "//configure the below five variables to change the style of the scroller\n";
    echo "var scrollerdelay='2200' //delay between msg scrolls. 3000=3 seconds.\n";
    echo "var scrollerwidth='240px'\n";
    echo "var scrollerheight='20px'\n";
    echo "var scrollerbgcolor=''\n";
    echo "//set below to '' if you don't wish to use a background image\n";
    echo "var scrollerbackground=''\n";
    echo "\n";
    echo "//configure the below variable to change the contents of the scroller\n";
    echo "var messages=new Array()\n";
    echo "messages[0]=\"<font style='FONT-SIZE: 11px; FONT-FAMILY: Tahoma; font-weight:700'><a 
    
    target='_blank' href='http://www.hamooruae.com/vb/index.php'>السمك 
    
    الكبير ياكل السمك 
    
    الصغير</a></font>\"\n";
    echo "messages[1]=\"<font style='FONT-SIZE: 11px; FONT-FAMILY: Tahoma; font-weight:700'><a 
    
    target='_blank' href='http://www.swalif.net/softs/showthread.php?
    
    t=137088'>أعلانك في وصلات 
    
    يحقق أهدافك. أضغط 
    
    هنا</a></font>\"\n";
    echo "messages[2]=\"<font style='FONT-SIZE: 11px; FONT-FAMILY: Tahoma; font-weight:700'><a 
    
    target='_blank' href='http://www.awal4host.com/'>مؤسسة أول 
    
    لخدمات الإنترنت</a></font>\"\n";
    echo "messages[3]=\"<font style='FONT-SIZE: 11px; FONT-FAMILY: Tahoma; font-weight:700'><a 
    
    target='_blank' href='http://arabmesh.com'>استضافه 
    
    مواقع - دي جي شات - 
    
    تصميم</a></font>\"\n";
    echo "messages[4]=\"<font style='FONT-SIZE: 11px; FONT-FAMILY: Tahoma; font-weight:700'><a 
    
    target='_blank' href='http://www.l99l.com'>مجالس 
    
    الديوانية - ملتقى 
    
    الاصاله العربيه</a></font>\"\n";
    echo "\n";
    echo "///////Do not edit pass this line///////////////////////\n";
    echo "\n";
    echo "var ie=document.all\n";
    echo "var dom=document.getElementById\n";
    echo "\n";
    echo "if (messages.length>2)\n";
    echo "i=2\n";
    echo "else\n";
    echo "i=0\n";
    echo "\n";
    echo "function move(whichdiv){\n";
    echo "tdiv=eval(whichdiv)\n";
    echo "if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5){\n";
    echo "tdiv.style.top=0+\"px\"\n";
    echo "setTimeout(\"move(tdiv)\",scrollerdelay)\n";
    echo "setTimeout(\"move2(second2_obj)\",scrollerdelay)\n";
    echo "return\n";
    echo "}\n";
    echo "if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){\n";
    echo "tdiv.style.top=parseInt(tdiv.style.top)-5+\"px\"\n";
    echo "setTimeout(\"move(tdiv)\",50)\n";
    echo "}\n";
    echo "else{\n";
    echo "tdiv.style.top=parseInt(scrollerheight)+\"px\"\n";
    echo "tdiv.innerHTML=messages[i]\n";
    echo "if (i==messages.length-1)\n";
    echo "i=0\n";
    echo "else\n";
    echo "i++\n";
    echo "}\n";
    echo "}\n";
    echo "\n";
    echo "function move2(whichdiv){\n";
    echo "tdiv2=eval(whichdiv)\n";
    echo "if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5){\n";
    echo "tdiv2.style.top=0+\"px\"\n";
    echo "setTimeout(\"move2(tdiv2)\",scrollerdelay)\n";
    echo "setTimeout(\"move(first2_obj)\",scrollerdelay)\n";
    echo "return\n";
    echo "}\n";
    echo "if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){\n";
    echo "tdiv2.style.top=parseInt(tdiv2.style.top)-5+\"px\"\n";
    echo "setTimeout(\"move2(second2_obj)\",50)\n";
    echo "}\n";
    echo "else{\n";
    echo "tdiv2.style.top=parseInt(scrollerheight)+\"px\"\n";
    echo "tdiv2.innerHTML=messages[i]\n";
    echo "if (i==messages.length-1)\n";
    echo "i=0\n";
    echo "else\n";
    echo "i++\n";
    echo "}\n";
    echo "}\n";
    echo "\n";
    echo "function startscroll(){\n";
    echo "first2_obj=ie? first2 : document.getElementById(\"first2\")\n";
    echo "second2_obj=ie? second2 : document.getElementById(\"second2\")\n";
    echo "move(first2_obj)\n";
    echo "second2_obj.style.top=scrollerheight\n";
    echo "second2_obj.style.visibility='visible'\n";
    echo "}\n";
    echo "\n";
    echo "if (ie||dom){\n";
    echo "document.writeln('<div id=\"main2\" 
    
    style=\"position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden;background-
    
    color:'+scrollerbgcolor+' ;background-image:url('+scrollerbackground+')\">')\n";
    echo "document.writeln('<div 
    
    style=\"position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' 
    
    '+scrollerheight+' 0);left:0px;top:0px\">')\n";
    echo "document.writeln('<div id=\"first2\" 
    
    style=\"position:absolute;width:'+scrollerwidth+';left:0px;top:1px;\">')\n";
    echo "document.write(messages[0])\n";
    echo "document.writeln('</div>')\n";
    echo "document.writeln('<div id=\"second2\" 
    
    style=\"position:absolute;width:'+scrollerwidth+';left:0px;top:0px;visibility:hidden\">')\n";
    echo "document.write(messages[dyndetermine=(messages.length==1)? 0 : 1])\n";
    echo "document.writeln('</div>')\n";
    echo "document.writeln('</div>')\n";
    echo "document.writeln('</div>')\n";
    echo "}\n";
    echo "\n";
    echo "if (window.addEventListener)\n";
    echo "window.addEventListener(\"load\", startscroll, false)\n";
    echo "else if (window.attachEvent)\n";
    echo "window.attachEvent(\"onload\", startscroll)\n";
    echo "else if (ie||dom)\n";
    echo "window.onload=startscroll\n";
    echo "\n";
    echo "   </script>\n";
    echo "\n";
    
    ?>







  7. #7
    عضو فعال
    تاريخ التسجيل
    Feb 2003
    المشاركات
    1,154


    مشكور اخوي الانيس على الكود











ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  

أضف موقعك هنا| اخبار السيارات | حراج | شقق للايجار في الكويت | بيوت للبيع في الكويت | دليل الكويت العقاري | مقروء | شركة كشف تسربات المياه | شركة عزل اسطح بالرياض | عزل فوم بالرياض| عزل اسطح بالرياض | كشف تسربات المياة بالرياض | شركة عزل اسطح بالرياض