|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
Not exactly php/html... in newthread_start Code: $maxnewthread = $db->query_first(" SELECT maxnewthread, maxnewtime FROM " . TABLE_PREFIX . "usergroup WHERE usergroupid=" . $vbulletin->userinfo['usergroupid'] . " "); $definedtime = ($maxnewthread['maxnewtime'] * 3600); $limit = TIMENOW - $definedtime; $recentthreadcount = $db->query_first(" SELECT COUNT(*) AS total FROM " . TABLE_PREFIX . "thread WHERE postuserid=" . $vbulletin->userinfo['userid'] . " AND dateline >= $limit " . iif($foruminfo['forumid'], "AND forumid = " . $foruminfo['forumid'] . "") . " "); $threadsremaining = ($maxnewthread['maxnewthread'] - $recentthreadcount['total']); if ($recentthreadcount['total'] >= $maxnewthread['maxnewthread']) { if ($maxnewthread['maxnewthread'] != 0 OR $maxnewthread['maxnewtime'] != 0) eval(standard_error(fetch_error('no_new_thread_per mission', $maxnewthread['maxnewthread'], $maxnewthread['maxnewtime']))); } ![]() |
مواقع النشر (المفضلة) |
| |