Esempio n. 1
0
?>
    </div>
</div>
<div class="subnav-fixed">
    <?php 
echo $this->render('partial/subnav/user_profile.php', ['user' => $user]);
?>
</div>
<div class="grid-container" style="margin-top:70px;">    
    <div class="grid-row">
        <div class="grid-left">
            <?php 
/* WIDGET: CARD */
?>
                <?php 
echo Cardee::widget(['cardData' => ['pic' => null, 'head' => $user->fullname ? $user->fullname : $user->username, 'subhead' => $user->is_provider == 1 ? 'provider' : 'user']]);
?>
            <?php 
// Details Widget
?>
            <?php 
echo $this->render('partial/user_details.php', ['user' => $user]);
?>
        </div>

        <div class="grid-center" style="">   
            <?php 
echo $content;
?>
        </div>
                
Esempio n. 2
0
use frontend\widgets\ProfileTitle;
use frontend\widgets\Stats;
?>
	
<div class="profile_head">
	<!-- COVER PHOTO -->
	<div class="cover_user_profile"></div>
	<!-- HEADER -->
	<div class="grid-container">
		<div class="grid-row">
			<div class="grid-left">
				<?php 
/* WIDGET: CARD */
?>
				<?php 
echo Cardee::widget(['cardData' => $this->cardData, 'scroller' => false]);
?>
			</div>

			<div class="grid-center" style="height:215px;">
				
				<?php 
/* WIDGET: TABS */
?>
				<?php 
echo Tabs::widget(['tabs' => $this->tabs]);
?>

				<?php 
/* WIDGET: PROFILETITLE */
?>