예제 #1
0
                <tbody>
                <tr>

                    <?php 
$i = 0;
while ($i < count($array)) {
    ?>
                    <td><a href="viewDetails.php?id=<?php 
    echo $array[$i]["id_book"];
    ?>
"><?php 
    echo $array[$i]["title"];
    ?>
</td>
                    <td><?php 
    echo $date->getNameDate($array[$i]['date_added']);
    ?>
</td>
                </tr>
                <?php 
    $i++;
}
?>
                </tbody>
            </table>
            <hr>
        </div>
    </div>

</div>
<script src="/lib/JS/search.js"></script>
예제 #2
0
    <div class="row-fluid">
<?php 
foreach ($array as $data) {
    ?>
        <div class="span8">
            <h3>Nom d'utilisateur: <?php 
    echo $data['user_name'];
    ?>
</h3>
            <h5>Mon Adresse: <strong><?php 
    echo $data['user_email'];
    ?>
</strong></h5>

<h5>Membre depuis: <strong><?php 
    echo $date->getNameDate($data['user_registration_datetime']);
    ?>
</strong></h5>
        </div>
        <?php 
}
?>

        <div class="span2">
            <div class="btn-group">
                <a class="btn dropdown-toggle btn-info" data-toggle="dropdown" href="#">
                    Action
                    <span class="icon-cog icon-white"></span><span class="caret"></span>
                </a>
                <ul class="dropdown-menu">
                    <li><a href="#"><span class="icon-wrench"></span> Modify</a></li>