ياليت حد يعطيني البلقنز اليديد عسبت امسح هذا واركب الجديد
عرض للطباعة
ياليت حد يعطيني البلقنز اليديد عسبت امسح هذا واركب الجديد
استبدل محتوياته بما يلي :
تحياتي .كود PHP:
//arabdeaf.net###
global $db;
$this_hack_userid = $this->post[userid];
if ($this_hack_userid != '')
{
$user_theard_query = $db->query_read("SELECT COUNT(threadid) AS total FROM " . TABLE_PREFIX . "thread WHERE postuserid=$this_hack_userid");
$personal1=$db->query_first("SELECT SUM(views) AS personalviews FROM thread WHERE postuserid=$post[userid] AND open!='10'");
$personal= 2*$post[posts]+$personal1[personalviews];
if ($personal1 == ""):
$personal1 = "0";endif;
global $db;$personal1=$db->query_first("SELECT SUM(views) AS personalviews FROM thread WHERE postuserid=$post[userid] AND open!='10'");
$personal= 2*$post[posts]+$personal1[personalviews];
if ($personal1 == ""):
$personal1 = "0";endif;
$attachment = $db->query_first("SELECT COUNT(attachmentid) AS total FROM attachment WHERE userid=$post[userid] ");
$attachcoun = $attachment[total];
$usertherd_pro_fetch = $db->fetch_array($user_theard_query);
$usertherdcoun = $usertherd_pro_fetch[total];
$userpostdcoun = $post[posts] - $usertherdcoun ;
}
//arabdeaf.net###