<?php include("profile-header.php");?>
<div class="global-profile-container">
<a id="demo02" href="#modal-02"><div class="user-search js-onebyone"><div class="icon-search icon-search-find"></div></div></a>
  <div class="user-info-area" style="background: black url(<?php echo $profileface; ?>) center center no-repeat;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;">
    <div class="profile-image-wrap">
     <svg width="0" height="0">
  <defs>
    <clipPath id="clipper" clipPathUnits="objectBoundingBox">
      <polygon points=".9232051 .40, .9379385 .431596, .9469616 .4652704, .95 .50, .9469616 .5347296, .9379385 .568404, .9232051 .60, .7982051 .8165064, .7782089 .8450639, .7535575 .8697152, .725 .8897114, .693404 .9044449, .6597296 .9134679, .625 .9165064, .375 .9165064, .3402704 .9134679, .306596 .9044449, .275 .8897114, .2464425 .8697152, .2217911 .8450639, .2017949 .8165064, .0767949 .60, .0620615 .568404, .0530384 .5347296, .05 .50, .0530384 .4652704, .0620615 .431596, .0767949 .40, .2017949 .1834936, .2217911 .1549361, .2464425 .1302848, .275 .1102886, .306596 .0955551, .3402704 .0865321, .375 .0834936, .625 .0834936, .6597296 .0865321, .693404 .0955551, .725 .1102886, .7535575 .1302848, .7782089 .1549361, .7982051 .1834936"
      />
    </clipPath>
  </defs>
</svg>
<div class="poligon" id="minitimelineProfilePic">
  <?php include("mini-profile-image.php");?>
</div>
     </div>
    <div class="place"><div class="icon-location icon-pin"></div><?php echo htmlspecialchars($session_city);?></div>
    <div class="profile-username"><?php echo $Mat->UserFullName($username);?><?php if($verified_user == 1){ echo '<img src="'.$base_url.'mat_icons/verified.png" width="23px" height="23px">';}?></div>
   <a href="<?php echo $base_url.'messages/'.$username;?>"><div class="user-images js-onebyone"><div class="materialtouch md-ripple md-ripple-yellow wow bounceInLeft" data-wow-offset="300"><div class="icon icon-paperplane-black"></div></div></div></a>
    <div class="follow-button-mp"><?php include("follow_button.php");?></div>
  </div>
  <div class="user-case">
    <div class="case">
      <div class="case-t"><?php echo $strings['user_info'];?></div>
      <?php echo htmlspecialchars($session_case);?></div>
  </div>
  <div class="chated-poeople">
  <div class="profile-buttons bord">
        <a href="<?php echo $base_url.$username;?>"><div class="home--page"><div class="homtext"><?php echo $strings['posts'];?></div><div class="total"><?php echo $session_update_count;?></div></div></a>
       <a href="<?php echo $base_url.'followers/'.$username;?>"><div class="home--page"><div class="homtext"><?php echo $strings['followers'];?></div><div class="total"><?php echo $user_ufollower_count;?></div></div></a>
       <a href="<?php echo $base_url.'following/'.$username;?>"><div class="home--page"><div class="homtext"><?php echo $strings['following'];?></div><div class="total"><?php echo $friend_count;?></div></div></a>
       <a href="<?php echo $base_url.'photos/'.$username;?>"><div class="home--page"><div class="homtext"><?php echo $strings['photos'];?></div><div class="total"><?php echo $user_upload_count;?></div></div></a>
    </div>
  <div class="image-container">
<?php
$Check_the_privacy=$Mat->Friends_Check_for_Message($uid,$profile_uid);
if($hide_photos == '0') {
   include("photos.php");
  } else {
    if($hide_photos == '1') {
    if($Check_the_privacy == 'fri' || $Check_the_privacy == 'me') {
	   include("photos.php");
	} else {
	  echo '<div class="secury"><div class="secury_text">This user\'s photos hidden</div><img src="'.$base_url.'mat_icons/secury.png" /></div>';
    }
    } else {
	  if($hide_photos == '2') {
	  if($Check_the_privacy == 'me') {
	     include("photos.php");
	  } else {
		echo '<div class="secury"><div class="secury_text">This user\'s photos hidden</div><img src="'.$base_url.'mat_icons/secury.png" /></div>';
	  }
	  }
      }
 }
?>
     </div>
  </div>
</div>
<!--Create New Post STARTED-->
<div class="create-post bounceInLeft">
 <div class="icon-a icon-mail-send"></div>
 <div class="select-post-tipe">
    <a id="post04" href="#animatedModalImage"><div class="ImagePost one"><div class="icon-po icon-picture"></div></div></a>
    <a id="post01" href="#animatedModal"><div class="textandlinkPost two  md-ripple md-ripple-yellow wow"  data-wow-offset="300"><div class="icon-po-p icon-pencil-edit"></div></div></a>
    <a id="post05" href="#animatedModalVideo"><div class="textandlinkPost two  md-ripple md-ripple-yellow wow"  data-wow-offset="300"><div class="icon-po-p icon-video-camera"></div></div></a>
  </div>
</div>
<!--Text and Link Post Area STARTED-->
<?php include("postupdate.php");?>
<!--Text and Link Post Area FINISHED-->

<!--Image Post Area STARTED-->
<?php include("postupdateImage.php");?>
<!--Image Post Area FINISHED-->
<!--Video Post Area STARTED-->
<?php include("postvideoupdate.php");?>
<!--Video Post Area FINISHED-->
<!--User Search modal Started-->
<?php include("search.php");?>
<!--User Search Modal Finished-->

<!--Create New Post FINISHED-->
<?php include("footer.php");?>
</body>
</html>