<?php
//ob_start("ob_gzhandler");
session_start();
//error_reporting(0);
//error_reporting(E_ALL  & ~E_DEPRECATED);
//ini_set('display_errors', -1);
include_once 'includes/db.php'; // Database connection
include_once 'includes/Mat_Updates.php'; // Functions
include_once 'includes/textlink.php'; // Text link
include_once 'includes/tolink.php'; // Text link
include 'includes/nameFilter.php'; // Name filter
include_once 'includes/htmlcode.php'; // html code 
include_once 'includes/recode.php'; // html code 
include 'includes/Mat_Expand.php';  // Link Embed
include 'language.php';
$Mat = new Mat_Updates();  
include_once 'session.php'; // session
$session_data=$Mat->User_Details($uid);
$session_uid=$session_data['uid'];
$Mat->User_Banned($uid);
$session_status=$session_data['status'];
$session_annonce=$session_data['announcement_readed'];
$session_username=$session_data['username'];
$session_email=$session_data['email'];
$session_lang=$session_data['u_lang'];
$session_full_name=htmlcode($session_data['full_name']);
$username=$session_data['username'];
$session_email=$session_data['email'];
$session_case=$session_data['user_case'];
$session_profile_bg=$session_data['profile_bg_position'];
$session_city=$session_data['user_city'];
$session_friend_count=$session_data['friend_count'];
$session_conversation_count=$session_data['conversation_count'];
$session_update_count=$session_data['updates_count'];
$session_face=$Mat->User_MiniProfilepic($uid,$base_url);
$profileface=$session_face;
$ufollowercount=$Mat->Follower_Count($uid,$base_url);
$uifollowingcount=$Mat->Following_Count($uid,$base_url);
$user_uifollowing_count= $uifollowingcount;
$user_ufollower_count=$ufollowercount;
$session_notification_created=$session_data['notification_created'];
$notifications_count=$Mat->Notifications_Count($uid,$session_notification_created);
$Get_Configurations=$Mat->Get_Configurations();
$notifications_perpage=$Get_Configurations['notificationPerPage'];
$session_annoncement=$Get_Configurations['annoncement'];
$sessionLogo=$Get_Configurations['scriptLogo'];
$sessionName=$Get_Configurations['scriptName'];
$url404=$base_url.'404.php';
$index_url=$base_url.'dashboard.php';
?>