Exemplo n.º 1
0
function show_gallery($editable, $dest = "people", $eid = -1, $sid = -1)
{
    $img = new Image();
    $img->setFromRequest();
    $dao = getImageDAO();
    $dao->getImages($img, $eid, $sid);
    return show_gallery_images($img, $editable, $dest);
}
Exemplo n.º 2
0
</table>

<?php 
$lastperson = new PersonDetail();
$lastperson->person_id = 0;
for ($i = 0; $i < $images->numResults; $i++) {
    $img = $images->results[$i];
    if ($lastperson->person_id != $img->person->person_id) {
        if ($lastperson->person_id != 0) {
            $ip = new Image();
            $ip->results = $res;
            $ip->numResults = $cnt;
            show_gallery_images($ip, $img->person->isEditable(), "gallery");
        }
        $lastperson = $img->person;
        $res = array();
        $cnt = 0;
        echo "<hr />";
        echo "<h4>" . $img->person->getFullLink() . "</h4>";
    }
    $res[] = $img;
    $cnt++;
}
if ($lastperson->person_id != 0) {
    $ip = new Image();
    $ip->results = $res;
    $ip->numResults = $cnt;
    show_gallery_images($ip, $lastperson->isEditable(), "gallery");
}
include "inc/footer.inc.php";
// eof
Exemplo n.º 3
0
    <div class="container min">
        <div class="row">

            
</header>  

            <div class="col-md-12">
                <div class="row">
                    
                    <div id="Grid">
                        
                    
                    
                    <?php 
show_gallery_images();
?>


                    

                    </div> <!-- /#Grid -->

                </div> <!-- /.row -->

                

            </div> <!-- /.col-md-9 -->

        </div> <!-- /.row -->