public function isFriends($username1, $username2)
 {
     $isFriends = Friends::find()->where(['customer_user_name1' => $username1, 'customer_user_name2' => $username2, 'friend_status' => 'c'])->count();
     if ($isFriends > 0) {
         return true;
     } else {
         return false;
     }
 }
use yii\helpers\Html;
//use yii\bootstrap\ActiveForm;
use yii\widgets\ActiveForm;
use kartik\file\FileInput;
use frontend\models\Baseprofileforupdate;
use frontend\models\Friends;
use yii\helpers\Url;
use yii\web\Session;
use kartik\rating\StarRating;
use frontend\models\Endorsement;
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */
$this->title = 'My Profile';
$this->params['breadcrumbs'][] = $this->title;
$isFriends = new Friends();
$session = new Session();
$session->open();
?>
<div id="lightbox" style="position:absolute; width:100%">
	
	<div class="row row-list">
	
		<div class="col-xs-3">
		<?php 
echo Html::img($imgPath, ['width' => 100, 'height' => 100]);
?>
		</div>
		<div class="col-xs-3">
		<a href="#" id="profilebasicinfo">
		<h4 style="color: #000000"><?php