منتديات المجاوشي

منتديات المجاوشي (http://www.vb.mjawshy.net/index.php)
-   Arabic Rss (http://www.vb.mjawshy.net/forumdisplay.php?f=41)
-   -   [طلب] تعديل برمجي الاختام (http://www.vb.mjawshy.net/showthread.php?t=209212)

RSS 08-22-2011 08:51 PM

[طلب] تعديل برمجي الاختام
 
السلام عليكم

اخواني ,, في كود برمجي في هاك الاختام

يعرض فقط بالصفحة الرئيسيه المواضيع المميزة

انا اريد ان يعرض بعض الاختام كالمواضيع المميزة و الخواطر المميزة و التصاميم المميزة


المشكله مايقبل الا ختم واحد

وهذا الكود


اللي عنده خبره في التعديل اكون له من الشاكرين




رمز Code:
$lastrow = $db->query("SELECT threadid,title,postusername,postuserid," . TABLE_PREFIX . "thread.lastpost,replycount,views,forumid,lastpost er," . TABLE_PREFIX . "user.userid FROM " . TABLE_PREFIX . "thread LEFT JOIN " . TABLE_PREFIX . "user ON(" . TABLE_PREFIX . "thread.lastposter=" . TABLE_PREFIX . "user.username) WHERE stampid=2 ORDER BY lastpost DESC LIMIT " . $vbulletin->options[stamps_maxthreads] . "");

$bar='';
$count_td = 0;
$lastthreadscount = $db->num_rows($lastrow);
while ($lastthreads = $db->fetch_array($lastrow))
{
$full_title = $lastthreads[title];
if($vbulletin->options[stamps_maxchar] > 0 and strlen($lastthreads[title]) > $vbulletin->options[stamps_maxchar])
{
$lastthreads[title] = substr($lastthreads[title], 0, $vbulletin->options[stamps_maxchar]) . " ... ";
}
$userpermission = $vbulletin->userinfo['forumpermissions']["$lastthreads[forumid]"];

حيث المبين باللون الاحمر هو رقم الختم للمواضيع المميزة







أكثر...


الساعة الآن 04:28 PM

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. منتديات بلاك بيري mjawshy.net
المجاوشي للتقنية المتقدمة