<?php 
session_start();
if(!(isset($_SESSION['uid']) && $_SESSION['uid'] != '')) {
	header ("Location: index.php");
	exit;
 }
include_once 'includes.php';
include_once 'lang.php';
if(isset($_GET['username'])) {
	$username=$_GET['username'];
	include_once 'public.php';
	if(empty($check_user)) {
		header("Location:$url404");
     }
   }
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $username;?></title>
<link rel="stylesheet" type="text/css" href="<?php echo $base_url; ?>css/global.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $base_url; ?>css/green_theme.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $base_url; ?>css/icons.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $base_url; ?>css/sweet-alert.css" />
<link href="<?php echo $base_url; ?>css/lightbox.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?php echo $base_url; ?>css/animate.min.css">
<script type="text/javascript" src="<?php echo $base_url; ?>js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/jquery.linkify.min.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/jquery.tipsy.js"></script>
<script type="text/javascript" src="<?php echo $base_url;?>js/jquery.notifyBar.js"></script>
<script type="text/javascript" src="<?php echo $base_url;?>js/md.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/jquery-ui.min.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/jquery.emotions.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/jquery.emotionsM.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/emoticonmain.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/animatedModaltwo.min.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/animatedModal.min.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/animatedModalVideo.min.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/ripple.js"></script>
<script src="<?php echo $base_url; ?>js/paper-collapse.min.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/profile.js"></script>
<?php echo $strings['alert'];?>
<script type="text/javascript" src="<?php echo $base_url; ?>js/sweet-alert.min.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/jquery.socialmatform.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/jquery.livequery.js"></script>
<script type="text/javascript" src="<?php echo $base_url; ?>js/lightbox.min.js"></script>
<?php echo $strings['timeago'];?>
<?php echo $strings['socialmat'];?>
<script type="text/javascript">
$(document).ready(function() {
  var senseSpeed = 5;
  var previousScroll = 0;
  $(window).scroll(function(event) {
    var scroller = $(this).scrollTop();

    if (scroller - senseSpeed > previousScroll) {
      $(".create-post").filter(':not(:animated)').fadeOut();
    } else if (scroller + senseSpeed < previousScroll) {
      $(".create-post").filter(':not(:animated)').fadeIn();
    }
    previousScroll = scroller;
  });
});
</script>

<style>

.profile-image-wrap {
	position:absolute;
	width:130px;
	height:130px;
	bottom:11px;
	margin-left:5px;
	z-index:999;
	transition: all 1s ease-out;
    -webkit-animation: zoomInDown 1s ease-in-out 1s;
    animation: zoomInDown 1s ease-in-out 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
	}
.poligon {
  display: inline-block;
  position: relative;
  width: 130px;
  height: 130px;
  background: #ffffff;
  box-sizing: border-box;
  -webkit-clip-path: url(#clipper);
  -moz-clip-path: url(#clipper);
  clip-path: url(#clipper);
  float:left;
}
.changeppbtn {
  position:absolute;
  z-index: 9999999;
  margin-left: 50px;
  margin-top: 50px;
  display:none;
  float:left;
	}
.uploadFile.timelineUploadImg {
    overflow: hidden;
}
.profile-image-wrap:hover .changeppbtn {
	display:block;
	transition: all 0.3s ease-out;
    -webkit-animation: zoomIn 0.3s ease-in-out 0.3s;
    animation: zoomIn 0.3s ease-in-out 0.3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
	}

.poligon img {
  position: absolute;
  width: 126px;  /* container height - (border thickness * 2) */
  height: 126px;  /* container height - (border thickness * 2) */
  top: 2px;  /* equal to border thickness */
  left: 2px;  /* equal to border thickness */
  -webkit-clip-path: url(#clipper);
  -moz-clip-path: url(#clipper);
  clip-path: url(#clipper);
}
</style>
</head>

<body>
<div class="report_wrap">
    <div class="report_header"><?php echo $strings['help_us'];?><div class="report_cancel_wrap go"><div class="icon-report_cancel icon-cross-mark"></div></div></div>
    <form method="post" action="">
    <div class="report_items">
      <div class="select-report-type">
        <div class="report_type">
          <input type="radio" id="r"  name="report_type" value="1" hidden="hidden">
          <label for="r" class="ll"></label><?php echo $strings['report_type1'];?>
        </div>
        <div class="report_type">
          <input type="radio" id="s"  name="report_type" value="2" hidden="hidden">
          <label for="s" class="ll"></label><?php echo $strings['report_type2'];?>
        </div>
        <div class="report_type">
          <input type="radio" id="e"  name="report_type" value="3" hidden="hidden">
          <label for="e" class="ll"></label><?php echo $strings['report_type3'];?>
        </div>
        <div class="report_type">
          <input type="radio" id="k"  name="report_type" value="4" hidden="hidden">
          <label for="k" class="ll"></label><?php echo $strings['report_type4'];?>
        </div>
        
      </div>
    </div>
    <div class="report_send_wrap">
        <div class="report_dpost md-ripple"><input type="submit" class="send_this_report timer"  value="<?php echo $strings['send'];?>"></div>
      </div>
      </form>
  </div>
<div class="language_wrap">
    <div class="language_header"><?php echo $strings['language'];?><div class="report_cancel_wrap go"><div class="icon-report_cancel icon-cross-mark"></div></div></div>
    <form method="post" action="">
    <div class="language_items">
      <div class="select-language-type">
        <div class="language_type">
          <input type="radio" id="tr"  name="u_lang" value="2" hidden="hidden" <?php echo $session_lang =="2" ? "checked='checked'":""; ?>>
          <label for="tr" class="ll"></label><?php echo $strings['l_tr'];?>
        </div>
        <div class="language_type">
          <input type="radio" id="de"  name="u_lang" value="1" hidden="hidden" <?php echo $session_lang =="1" ? "checked='checked'":""; ?>>
          <label for="de" class="ll"></label><?php echo $strings['l_eng'];?>
        </div>
        <div class="language_type">
          <input type="radio" id="fr"  name="u_lang" value="3" hidden="hidden" <?php echo $session_lang =="3" ? "checked='checked'":""; ?>>
          <label for="fr" class="ll"></label><?php echo $strings['l_de'];?>
        </div>
        <div class="language_type">
          <input type="radio" id="en"  name="u_lang" value="4" hidden="hidden"<?php echo $session_lang =="4" ? "checked='checked'":""; ?>>
          <label for="en" class="ll"></label><?php echo $strings['l_fr'];?>
        </div>
        
      </div>
    </div>
    <div class="change_language_wrap">
        <div class="language_dpost md-ripple"><input type="submit" class="send_this_language timer"  value="<?php echo $strings['l_change'];?>"></div>
      </div>
      </form>
  </div>
<div class="sidebar">
<div class="sidebar_header"><div class="icon-status-close icon-chevron-left-thick"></div></div>
 <div class="sidebar-content">
 </div>
</div>
<div class="header-menu">
  <div class="header-menu-wrap">
  <div class="header-left">
     <div class="web-logo js-onebyone">
       
       <a href="<?php echo $index_url; ?>"><img src="<?php echo $base_url.$LogoPaht.$sessionLogo;?>" /></a>
       <div class="menu-area">
       <div class="icon-header-home-menu icon-navicon-round menu-show-hide tt"></div>
       <div class="menu-area-wrap">
          <div class="menu-item-info">
              <div class="menu-items md-ripple"><a href="<?php echo $base_url.$session_username; ?>"><img src="<?php echo $session_face;?>" /><div class="menu-items-txt"><?php echo htmlspecialchars($Mat->UserFullName($session_username)).'';?></div></a></div>
              <div class="menu-items md-ripple">
                <a href="<?php echo $base_url.'messages/'.$username;?>">
                  <div class="icon-menu-item icon-email-envelope"></div>
                  <div class="menu-items-txt"><?php echo $strings['messages'];?></div>
                </a>
              </div>
              <div class="menu-items md-ripple">
                <a href="<?php echo $base_url.'photos/'.$username;?>">
                  <div class="icon-menu-item icon-picture"></div>
                  <div class="menu-items-txt"><?php echo $strings['photos'];?></div>
                </a>
              </div>
              <div class="menu-items-2 md-ripple">
                <a href="<?php echo $base_url.'followers/'.$username;?>">
                  <div class="icon-menu-item-2 icon-contacs"></div>
                  <div class="menu-items-txt-2"><?php echo $strings['followers'];?></div>
                </a>
              </div>
              <div class="menu-items-2 md-ripple">
                <a href="<?php echo $base_url.'following/'.$username;?>">
                  <div class="icon-menu-item-2 icon-contact-group"></div>
                  <div class="menu-items-txt-2"><?php echo $strings['following'];?></div>
                </a>
              </div>
              <div class="menu-items-2 md-ripple">
                <a href="<?php echo $base_url;?>notifications.php">
                  <div class="icon-menu-item-2 icon-bell"></div>
                  <div class="menu-items-txt-2"><?php echo $strings['notifications'];?></div>
                </a>
              </div>
              <div class="menu-items-2 md-ripple">
                <a href="<?php echo $base_url.'explore/'.$username;?>">
                  <div class="icon-menu-item-2 icon-compass-1"></div>
                  <div class="menu-items-txt-2"><?php echo $strings['explore'];?></div>
                </a>
              </div>
            </div>
       </div>
       </div>
       <a id="demo03" href="#modal-02"><div class="test alp"><div class="icon-search-mobile icon-search-find"></div></div></a>
     </div>
  </div>
   <div class="header-right">
    <div class="positioning wow bounceInDown">
    <a id="demo03" href="#modal-02"><div class="test alp serc"><div class="icon-header-home icon-search-find"></div></div></a>
    <div class="home-page mat-menu js-onebyone"><div class="icon-header-home icon-ellipsis"></div>
    <div class="some-info-menu">
    <ul>
       <li class="md-ripple"><a href="<?php echo $base_url.$session_username; ?>"><?php echo $strings['profile_status'];?></a></li>
       <li class="md-ripple"><a href="<?php echo $base_url.'settings/'.$username;?>"><?php echo $strings['settings'];?></a></li>
       <li class="md-ripple"><?php echo $strings['help'];?></li>
       <li class="md-ripple change-language" id="<?php echo $session_uid;?>"><?php echo $strings['p_language'];?></li>
       <li class="md-ripple"><a href="<?php echo $base_url.'logout.php'; ?>"><?php echo $strings['logout'];?></a></li>
    </ul>
  </div>
    
    </div>
    <a href="<?php echo $index_url; ?>"><div class="home-page js-onebyone md-ripple md-ripple-yellow wow bounceInLeft" data-wow-offset="300"><div class="icon-header-home icon-home-1"></div></div></a>
    <div class="home-page-message-notification" data-wow-offset="300"><?php include("MessageNotifications.php");?></div>
    <div class="home-page-notification"><?php include("headernotifications.php");?></div>
    </div>
   </div>
   
  </div>
</div>
<div class="header"></div>
