+ الرد على الموضوع
صفحة 1 من 2 1 2 الأخيرةالأخيرة
النتائج 1 إلى 5 من 7
  1. #1
    مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of الصورة الرمزية مخاوي القمر
    تاريخ التسجيل
    27 / 04 / 2008
    الدولة
    حـائـل
    العمر
    34
    المشاركات
    445
    معدل تقييم المستوى
    753

    افتراضي صفحة ترجمه رائعه

    السلام عليكم

    صلحت صفحة ترجمه مو صلحتها بس قمت بتطويرها
    اخذت الفكره من هنا
    http://www.mwadah.com/t122828/
    كانت صفحة هتمل
    انا جعلتها صفحه تابعه للمنتدى
    وان شاء الله ماتكون مكرره
    مثال:
    http://g-gulf.net/vb/translate.php

    طريقة التركيب:
    اولا:
    قم بفك الضغط ومن ثم قم برفع ملف translate.php الى مجلد منتداك الرئيسي vb

    ثانيا:
    اذهب الى الاستايلات والقوالب >>التحكم بالاستايلات>>اضافة قالب جديد
    اسم القالب translate
    واضف فيه الكود التالي
    كود:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    <link rel="stylesheet" href="files/style.css" type="text/css">
    <LINK href="islam-sing/3hood.css" type="text/css" rel="stylesheet">
    <title>$vboptions[bbtitle]</title>
    $headinclude
    </head>
    <body>
    $header
    $navbar
    <!-- By مخاوي القمر -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-left-width: 0; border-right-width: 0; border-bottom-width: 0">
    <tr>
    <td class="tcat" style="border-bottom-style: none; border-bottom-width: medium">
    <p align="center"><span lang="ar-sa"><font face="MS Sans Serif" size="1">الترجمه</font></span></td>
    </tr>
    <tr>
    <td class="alt1" style="border-style: none; border-width: medium">
    <p align="center">
    <table border="1" cellpadding="0" cellspacing="0" style="border-width:0; border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
      <tr>
        <td width="100%" style="border-style: none; border-width: medium">
        <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%">
          <tr>
            <td width="100%" style="border-style: none; border-width: medium">
            <p align="center">&nbsp;</td>
          </tr>
          <tr>
          <td width="100%" align="center" height="13" style="border-style: none; border-width: medium">
          </td>
          </tr>
          <tr>
          <td width="100%" align="center" height="107" style="border-style: none; border-width: medium">
            <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#008000" width="90%">
              <tr>
                <td width="51%" align="center" style="border-style: none; border-width: medium">
     
     
            <center>
    <font face="MS Sans Serif" size="1" color="#FF0000">
    أهلاً وسهلاً بك في $vboptions[bbtitle]</font><p>&nbsp;</p>
    <p><b>&nbsp;<font face="MS Sans Serif" size="1"><span lang="ar-sa">صفحة الترجمه من </span>$vboptions[bbtitle]</font></b></p><center>
      <p dir="rtl" align="center">
      &nbsp;   </table>
       <p align="center">
     <script src="http://www.google.com/jsapi?key=ABQI...2FiKuRuc7GXW8Q" type="text/javascript"></script>
    </head>
    <body>
    <div id="main">
      <form class="query-box" onsubmit="return submitChange();">
    <p align="center">
    <textarea class="query-input" id="source"autocomplete="off" rows="12" cols="69" name="مرحبا بكم في الترجمه الفوريه">مرحبا بكم في الترجمه الفوريه</textarea>
    </p>
    <div id="results">
      <div id="results_title">
     <p align="center">الترجمه<font color="#FFFFFF">:</font></div>
        <hr/>
        <div id="results_body">
      <p align="center"></div>
        <hr/>
      <p align="center">
      <select name="src" id="src"></select> >><font color="#FFFFFF">
      </font>
      <select name="dst" id="dst"></select>
      <input class="button" type="submit" value="ترجم"/>
      </form>
    </div>
      <script type="text/javascript">
        google.load("language", "1");
        google.setOnLoadCallback(init);
        function init() {
          var src = document.getElementById('src');
          var dst = document.getElementById('dst');
          var i=0;
          for (l in google.language.Languages) {
            var lng = l.toLowerCase();
            var lngCode = google.language.Languages[l];
            if (google.language.isTranslatable(lngCode)) {
              src.options.add(new Option(lng, lngCode));
              dst.options.add(new Option(lng, lngCode));
            }
          }
          submitChange();
        }
        function submitChange() {
          var value = document.getElementById('source').value;
          var src = document.getElementById('src').value;
          var dest = document.getElementById('dst').value;
          google.language.translate(value, src, dest, translateResult);
          return false;
        }
        function translateResult(result) {
          var resultBody = document.getElementById("results_body");
          if (result.translation) {
            resultBody.innerHTML = result.translation;
          } else {
            resultBody.innerHTML = '<span style="color:red">خطأ في الترجمة</span>';
          }
        }
      </script>
    </td>
    </tr>
    </table></p>
      <p dir="rtl" align="center">
      <font face="MS Sans Serif" size="2" color="#FF0000">
      <a style="text-decoration: none" href="http://www.g-gulf.net/vb">
      <span style="background-color: #000080"><font color="#FFFFFF">تطوير:</font></span><span style="background-color: #FF0000"><font color="#FFFFFF"> 
      مخاوي القمر</font></span></a></font><br>
    <font face="MS Sans Serif" size="1" color="#FF0000">
    ----------------------------------------------------------------------------------------------------------------------------------------------
    <br>
    <br>
    <font face="MS Sans Serif" size="1" color="#9B0053">
    .::|||[  
    <a href="index.php" style="text-decoration: none">
    <font face="MS Sans Serif" size="1" color="#0000FF">
    الرجوع للمنتدى
    </a>
     .. 
    <a target="_blank" href="sendmessage.php" style="text-decoration: none">
    <font face="MS Sans Serif" size="1" color="#FF0000">
    راسلنا</font><font face="MS Sans Serif" size="1" color="#9B0053">
      ]|||::.
    </font>
    </a></font></font></font>
    <br>
    <br>
    </span>
    </p>
    </p>
    </td>
     
     
        </td>
              </tr>
              </table>
          </td>
          </tr>
          <tr>
            <td width="100%" style="border-style: none; border-width: medium">
            &nbsp;</td>
          </tr>
          <tr>
            <td width="100%" style="border-style: none; border-width: medium">&nbsp;</td>
          </tr>
        </table>
        </td>
      </tr>
    </table>
    </td>
    </tr>
    <!-- By مخاوي القمر -->
    </table>
    $footer
    </body>
    </html>
    ثالثا:
    افتح قالب الـnavbar
    وابحث عن :
    كود:
    $vbphrase[user_cp]</a></td></if>
    اضف بعدها بسطر
    كود:
    <td class="vbmenu_control"><a href="translate.php">الترجمه</a></td>
    ان شاء الله مايكون فيه اخطاء
    تحياتي
    الملفات المرفقة

     
  2. #2
    المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute الصورة الرمزية المودة
    تاريخ التسجيل
    17 / 08 / 2004
    العمر
    32
    المشاركات
    20,806
    معدل تقييم المستوى
    26159

    افتراضي رد: صفحة ترجمه رائعه

    شـكــ وبارك الله فيك ـــرا لك ... لك مني أجمل تحية .

     
  3. #3
    مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of الصورة الرمزية مخاوي القمر
    تاريخ التسجيل
    27 / 04 / 2008
    الدولة
    حـائـل
    العمر
    34
    المشاركات
    445
    معدل تقييم المستوى
    753

    افتراضي رد: صفحة ترجمه رائعه

    العفو اخوي ابو راشد
    :)

     
  4. #4
    كنز العرب is on a distinguished road
    تاريخ التسجيل
    12 / 04 / 2007
    الدولة
    مجهولة
    العمر
    42
    المشاركات
    18
    معدل تقييم المستوى
    227

    افتراضي رد: صفحة ترجمه رائعه

    جزاك الله خيراً أخي

    تم التركيب

     
  5. #5
    مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of مخاوي القمر has much to be proud of الصورة الرمزية مخاوي القمر
    تاريخ التسجيل
    27 / 04 / 2008
    الدولة
    حـائـل
    العمر
    34
    المشاركات
    445
    معدل تقييم المستوى
    753

    افتراضي رد: صفحة ترجمه رائعه

    وياك اخي الكريم

     

 
+ الرد على الموضوع
صفحة 1 من 2 1 2 الأخيرةالأخيرة

معلومات الموضوع

الأعضاء الذين يشاهدون هذا الموضوع

الذين يشاهدون الموضوع الآن: 1 (0 من الأعضاء و 1 زائر)

     

مواقع النشر (المفضلة)

مواقع النشر (المفضلة)

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

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