هذا هو الكود الزائد عندك!!
شيله تنحل المشكلة او استبدل ملف جديد
كود PHP:
$limit = '5'; // Enter the number of maximum threads you want to be displayed
$forumids = implode ("', '", get_noaccess_forumids()) ;
$getthreads = $DB_site->query("
SELECT threadid,title,dateline
FROM " . TABLE_PREFIX ."thread
WHERE postuserid = '$userinfo[userid]' AND forumid NOT IN ('$forumids')
ORDER BY dateline DESC
LIMIT $limit
");
while($threads = $DB_site->fetch_array($getthreads))
{
exec_switch_bg();
$threads['date'] = vbdate($vboptions['dateformat'],$threads['dateline']);
$threads['time'] = vbdate($vboptions['timeformat'],$threads['dateline']);
eval('$usersthreads .= "' . fetch_template('memberinfo_usersthreads') . '";');
}
// Local Date and Time in Profile
$post['tzoffset'] = $post['timezoneoffset'];
if ($post['dstonoff'])
{
// DST is on, add an hour
$post['tzoffset']++;
}
$post['localtime'] = date($vboptions['timeformat'], TIMENOW+($post['tzoffset']-$vboptions['timeoffset'])*3600);
$post['localdate'] = date($vboptions['dateformat'], TIMENOW+($post['tzoffset']-$vboptions['timeoffset'])*3600);
// Local Date and Time in Profile
// BIRTHDAY
// Set birthday fields right here