السلام عليكم
اخواني ,, في كود برمجي في هاك الاختام
يعرض فقط بالصفحة الرئيسيه المواضيع المميزة
انا اريد ان يعرض بعض الاختام كالمواضيع المميزة و الخواطر المميزة و التصاميم المميزة
المشكله مايقبل الا ختم واحد
وهذا الكود
اللي عنده خبره في التعديل اكون له من الشاكرين
رمز 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]"];
حيث المبين باللون الاحمر هو رقم الختم للمواضيع المميزة
أكثر...