ظƒظˆط¯ ط§ظ„ظˆظ‚طھ ط§ظ„ط°ظٹ ط§ط³طھط؛ط±ظ‚طھظ‡ ط§ظ„طµظپط*ط© ظپظٹ ط§ظ„طھط*ظ…ظٹظ„



بسم الله الرحمن الرحيم

كود code الوقت الذي استغرقته الصفحة في التحميل




مثال: www.compu6ar.com ، انظر في الفوتر

طريقة التركيب install :

* خد نسخة من القوالب التي سيتم الإضافة عليها قبل التنفيذ .

ضع الكود code التالي في آخر قالب template الهيدر header :

رمز Code:
<script type=&quot;text/javascript&quot;> <!-- Begin var startTime=new Date(); function currentTime(){ var a=Math.floor((new Date()-startTime)/100)/10; if (a%1==0) a+=&quot;.0&quot;; document.getElementById(&quot;endTime&quot.innerHTML=a; } window.onload=function(){ clearTimeout(loopTime); } // End --> </script>
ثم افتح قالب template الفوتر footer وابحث عن :

رمز Code:
<!-- Do not remove this copyright notice --> $vbphrase[powered_by_vbulletin] <!-- Do not remove this copyright notice --> </div>
ضع أسفلها مباشرةّ :

رمز Code:
<div align=&quot;center&quot;> <script type=&quot;text/javascript&quot;> <!-- Begin document.write('هذه الصفحة استغرقت <span id=&quot;endTime&quot;>0.0</span> ثواني للتحميل.'); var loopTime=setInterval(&quot;currentTime()&quot;,100 ); // End --> </script> </div>
ثم حفظ .

تحياتي، محمد








©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى©