Example #1
0
<div style="display: inline-block;">
    <div class="title">
        <div style="float:left;">
            <?php 
echo Tools::maxLength($this->concert['concert_libel'], 90);
?>
        </div>
    </div>
    <div style="float:left;">
        <a href="<?php 
echo $this->concert['fb_event'];
?>
" target="_blank"><img style="max-width:720px;max-height:349px;" src="<?php 
echo $this->concert['flyer_url'];
?>
"/></a>
    </div>
    <div class="shadow"></div>
    <div style="float:left;margin-left:19px;margin-top: -16px;">
        <table class="tableProfil">
            <tr>
                <th style="color:black;">Adresse : </th>
                <td><?php 
echo $this->concert['location'];
?>
</td>
            </tr>
            <tr>
                <th style="color:black;">Ville : </th>
                <td><?php 
echo $this->concert['ville_nom_reel'] . ' (' . $this->concert['departement'] . ')';
Example #2
0
<?php

$imageUrl = !empty($this->user['user_photo_url']) && file_exists($_SERVER["DOCUMENT_ROOT"] . "/MLink/photos/small/" . $this->user['user_photo_url']) ? $this->user['user_photo_url'] : 'unknowUser.jpg';
?>
<a href="profile/<?php 
echo $this->user['user_id'];
?>
" >
    <div class="divElementSmall">
        <div class="divPhoto" style="background:url(/MLink/photos/small/<?php 
echo $imageUrl;
?>
);background-position: top center;">
            <img class="pictoStatus" src="MLink/images/icone/<?php 
echo Tools::status($this->user['user_last_connexion']);
?>
" />
        </div>
        <span class="userFont" style="color:<?php 
echo $this->user['user_gender'] == 1 ? '#3333CC' : '#CC0000';
?>
">
            <?php 
echo Tools::maxLength($this->user['user_login'], 14);
?>
        </span>
    </div>
</a>
Example #3
0
<a href="profile/<?php 
echo $this->annonce['user_id'];
?>
">
    <?php 
$photo = empty($this->annonce['user_photo_url']) ? 'unknowUser.jpg' : $this->annonce['user_photo_url'];
?>
    <div class="smallPortrait" style="float:left;background-image:url(MLink/photos/small/<?php 
echo $photo;
?>
);"></div>
</a>
<div style="padding :37px;">
    <?php 
echo '<a class="popup blackLink" href="annonce/show/' . $this->annonce['annonce_id'] . '">' . Tools::maxLength($this->annonce['annonce_title'], 70) . '</a>';
?>
</div>
<?php 
if (!empty($this->annonce['photo_url'])) {
    ?>
    <div style="float:right;margin-top:-93px;margin-right: -9px;">
        <a href="profile/<?php 
    echo $this->annonce['user_id'];
    ?>
">
            <?php 
    $photo = empty($this->annonce['user_photo_url']) ? 'unknowUser.jpg' : $this->annonce['user_photo_url'];
    ?>
            <div class="smallPortrait" style="float:left;background-image:url(MLink/photos/small/<?php 
    echo $photo;
    ?>