Exemplo n.º 1
0
        ?>
                        <a href="<?php 
        echo $this->getUrl(array('controller' => 'mail', 'action' => 'index', 'user' => $userlist->getId()));
        ?>
" class="fa fa-envelope" title="<?php 
        echo $this->getTrans('email');
        ?>
"></a>
                    <?php 
    }
    ?>
                    <?php 
    if ($this->escape($userlist->getHomepage()) != '') {
        ?>
                        <a href="<?php 
        echo $userMapper->getHomepage($this->escape($userlist->getHomepage()));
        ?>
" class="fa fa-globe" title="<?php 
        echo $this->getTrans('website');
        ?>
" target="_blank"></a>
                    <?php 
    }
    ?>
                    <?php 
    if ($this->escape($userlist->getFacebook()) != '') {
        ?>
                        <a href="<?php 
        echo $userMapper->getFacebook($this->escape($userlist->getFacebook()));
        ?>
" class="fa fa-facebook" title="<?php 
Exemplo n.º 2
0
            <br />
        </div>
    <?php 
    }
} else {
    ?>
    <div class="partnersslider">
        <ul class="bxslider">
            <?php 
    foreach ($this->get('partners') as $partner) {
        ?>
                <?php 
        $userMapper = new Modules\User\Mappers\User();
        ?>
                <?php 
        $link = $userMapper->getHomepage($partner->getLink());
        ?>

                <?php 
        if (substr($partner->getBanner(), 0, 11) == 'application') {
            ?>
                    <?php 
            $banner = $this->getBaseUrl($partner->getBanner());
            ?>
                <?php 
        } else {
            ?>
                    <?php 
            $banner = $partner->getBanner();
            ?>
                <?php 
Exemplo n.º 3
0
<?php

$userMapper = new Modules\User\Mappers\User();
$profil = $this->get('profil');
$birthday = new \Ilch\Date($profil->getBirthday());
$homepage = $userMapper->getHomepage($this->escape($profil->getHomepage()));
$facebook = $userMapper->getFacebook($this->escape($profil->getFacebook()));
$twitter = $userMapper->getTwitter($this->escape($profil->getTwitter()));
$google = $userMapper->getGoogle($this->escape($profil->getGoogle()));
$groups = '';
foreach ($profil->getGroups() as $group) {
    if ($groups != '') {
        $groups .= ', ';
    }
    $groups .= $group->getName();
}
?>

<link href="<?php 
echo $this->getModuleUrl('static/css/user.css');
?>
" rel="stylesheet">

<div class="profil">
    <div class="profil-header">
        <div class="row">
            <div class="col-lg-2">
                <img class="thumbnail" src="<?php 
echo $this->getStaticUrl() . '../' . $this->escape($profil->getAvatar());
?>
" title="<?php