بسم الله الرحمن الرحيم
السلام عليكم اعضائنا الكرام
فى موقع صن سيت
اليوم جبت لكم كود جديد من برمجتى
كود اخر المواضيع بصورة العضو فى اخر مساهمة
الكود فكرتى و عملى اتمنى يعجبكم
صورة للكود
http://im37.gulfup.com/rFA2g.jpg
معلومات عن الكود
الكود من عبارة عن تومبيلات
شرح وضع الكود
للاعضاء اللى مركبة اخر المواضيع تومبيلات من قبل
--------------------------------------------------
اذهب الى لوحة الادارة >> مظهر المنتدى >> التومبيلات و القوالب >> البوابة >> قالب mod_recent_topics و اضغط تعديل >> امسح القالب بكامله و ضع التالى
الكود:
[hide] [center][font=Verdana, Arial, Helvetica, sans-serif]<script>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]$(function() {[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]$('.foryamany2 a').each(function() {[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]var link = $(this).attr('href');[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]var title = $(this).text();[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]$(this).prepend('<a href="'+link+'" title="'+title+'"></a>');[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]$(this).children('a').load(link +'#page-body .forumline .row1.gensmall img:eq(0)', function() {[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]$(this).children('img').attr('class','tlistAv');[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]});[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]$(this).find('a[href^="/u"]').insertBefore($(this));[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]});[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]});[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]</script>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]<style>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif].tlistAv {[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]width: 16px;[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]height: 16px;[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]}[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] </style>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- بداية ايطار علوى -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif][color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- نهاية ايطار علوى -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- www.4egy.net -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- BEGIN classical_row -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="3" align="center"><tbody>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <thead><tr><th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="tcat">[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <div class="ist">آخر المواضيع</div>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] </th></tr></thead>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <tr>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <td style="padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="100%">[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <table border="0" cellpadding="0" cellspacing="0" colspan="3" width="100%">[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] [color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <tr><td class="thead" colspan="2" width="50%">[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <div class="title"><font color="black">الموضوع</font></div>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] </td>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <td class="thead" colspan="1" width="25%">[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <div class="title"><font color="black">تاريخ ارسال المشاركة</font></div>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] </td>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <td class="thead" colspan="1" width="25%">[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <div class="title"><font color="black">بواسطة</font></div>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] </td></tr>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] [color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <tr valign="top">[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <td colspan="1" style="border-top: 0px none; padding: 0px; background: transparent url(http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/list.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24"><img src="http://2img.net/i/fa/empty.gif" width="24" border="0" /></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif" width="50%">[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] [color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- BEGIN recent_topic_row -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <a href="{classical_row.recent_topic_row.U_TITLE}"><b><font style="font-family: Tahoma; font-size: 11px">{classical_row.recent_topic_row.L_TITLE}</font></b></a><br />[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] [color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- END recent_topic_row -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] </td>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <td style="border-top: 0px none; padding: 0px; line-height: 16.5px; background-repeat: repeat;" align="center" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif" width="25%">[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <span class="gensmall">[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- BEGIN recent_topic_row -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <img src="http://img816.imageshack.us/img816/9845/11750606.png" width="16px" height="16px" />[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] {ON} {classical_row.recent_topic_row.S_POSTTIME}[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <br /><!-- END recent_topic_row -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] </span>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] </td>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <td style="border-top: 0px none; padding: 0px; line-height: 17px; background-repeat: repeat;" align="left" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif" width="25%">[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- BEGIN switch_poster -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <a href="{classical_row.recent_topic_row.switch_poster.U_POSTER}">{classical_row.recent_topic_row.switch_poster.S_POSTER}</a>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- END switch_poster -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- BEGIN switch_poster_guest -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] {classical_row.recent_topic_row.switch_poster_guest.S_POSTER}[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- END switch_poster_guest -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- BEGIN recent_topic_row -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <div class="foryamany2">[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]<a href="{classical_row.recent_topic_row.switch_poster.U_POSTER}"><font style="font-family: Tahoma; font-size: 11px">{classical_row.recent_topic_row.switch_poster.S_POSTER}</font></a>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <br />[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]</div><!-- END recent_topic_row -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] [color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] </td>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] </tr></table></td></tr></tbody></table>[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- END classical_row -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- code by assem -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- بداية ايطار سفلى -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif][color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif] <!-- نهاية ايطار سفلى -->[color=#333333][font=Verdana, 'Times New Roman', Georgia, serif][/font][/color][/font][/center]
[center][font=Verdana, Arial, Helvetica, sans-serif]<br />[/font][/center]
[center][/center][/hide]
للاعضاء اللى اول مرة يركبوا اخر المواضيع بالتومبيلات
اذهب الى لوحة الادارة >> مظهر المنتدى >> التومبيلات و القوالب >> ادارة عامة >> قالب overall_header و ابحث عن
و استبدله بــ
ثم اذهب الى مظهر المنتدى مرة اخرى >> التومبيلات و القوالب >> البوابة >> اضغط تعديل على قالب mod_recent_topics امسح كل ما به و استبدله بهذا الكود
الكود
وبكدا اقدر اقول انتهى الشرح و مبروووك عليك اخر المواضيع
اتمنى ان اكون قد وفقت
eslam hammam
gsmboualiالإثنين 18 يوليو 2016 - 13:26