Esempio n. 1
0
"> 
                                                                <?php 
        echo $video_thumb;
        ?>
</a>
                                                            </li>
                                                            <?php 
    }
    ?>
                                                            <?php 
}
?>
                                                            
                                                            <?php 
foreach ($videos as $video) {
    $video_thumb = get_youtube_thumb($video['file_path'], "small");
    ?>
                                                            <li>
                                                                <a href="<?php 
    echo site_url('home/video') . '/' . $video['id'];
    ?>
"> 
                                                                <?php 
    echo $video_thumb;
    ?>
</a>
                                                            </li>
                                                            <?php 
}
?>
                                                            
Esempio n. 2
0
                                           
<div class="grid_12" id="content">
        <div class="grid_8 alpha">
            <div class="col_left">
                <!-- box club -->
                <div class="box" id="box_video_album">
                    <h2>Galerie</h2>
                    <ul>
                    <?php 
$i = 0;
foreach ($video_albums as $valbums) {
    $video_id = $this->Media_m->get_newest_video_in_album($valbums['id']);
    $video_thumbnail = get_youtube_thumb($video_id->file_path, "small", 112, 112);
    $i = $i + 1;
    if ($i % 4 == 0) {
        echo "<li class='last'>";
    } else {
        echo "<li>";
    }
    ?>
 
                        
                          
                            <div class="album_mid">
                                <div class="album_top">
                                    <div class="album_bottom">
                                        <a href="<?php 
    echo site_url('gallerie/album_video/') . '/' . $valbums['id'];
    ?>
"><?php 
    echo $video_thumbnail;
Esempio n. 3
0
                </div>
                 <?php 
if (count($video) > 0) {
    ?>
                 
                  <?php 
}
?>
 
                <div class="video_content">
                    <ul>
                        <?php 
$i = 0;
foreach ($video as $videos) {
    $thumbnail = get_youtube_thumb($videos['file_path'], "smaill");
    $i = $i + 1;
    if ($i % 4 == 0) {
        echo "<li class='last'>";
    } else {
        echo "<li>";
    }
    ?>
                        
                            <a href="<?php 
    echo site_url('gallerie/video/') . '/' . $videos['id'] . '/' . $album_id;
    ?>
"><?php 
    echo $thumbnail;
    ?>
</a>