<param name='movie' value='http://tvt.vflow.tv/static/white/swf/newplayer.swf?idContent=<?php echo $row['link']; ?> &playAuto=false&base_url=http://tvt.vflow.tv/' /> <param name='allowFullScreen' value='true' /> <param name='allowScriptAccess' value='always' /> <embed src='http://tvt.vflow.tv/static/white/swf/newplayer.swf?idContent=<?php echo $row['link']; ?> &playAuto=false&base_url=http://tvt.vflow.tv/' allowFullScreen='true' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' width='320' height='240' allowScriptAccess='always'></embed> </object--> </div> </a> <?php } else { $youtube = getThumbYoutube($row['link']); if ($youtube['status'] == 'ok') { $img = $youtube['iurl']; } else { $img = base_url('img/icones/video.png'); } ?> <a href="//www.youtube.com/embed/<?php echo $row['link']; ?> " class='lightview' data-lightview-group='example' data-lightview-title="Sindema" > <div class="capa-album" style='padding: 55px; width:26%'>
} ?> </table> </div> <?php } ?> <div class="linha-100"> <fieldset> <?php if (isset($videos) && !empty($videos)) { ?> <legend class="arredonda-4"><strong>Vídeo que já estão concorrendo:</strong></legend> <?php foreach ($videos as $video) { $youtube = getThumbYoutube($video['link_oficial']); $link = strstr($video['link_oficial'], "http") ? $video['link_oficial'] : "http://" . $video['link_oficial']; ?> <div class="lista-videos arredonda-4"> <div class="icone assistir" style="background-image: url('<?php echo base_url('img/icone/assistir-video.png'); ?> '); top: 30px; left: 30px;" cod='<?php echo $link; ?> '></div> <div class="icone curtir" style="background-image: url('<?php echo base_url('img/icone/curtir-video.png'); ?> '); top: 30px; left: 90px;" cod='<?php
} ?> <?php if (!empty($videos)) { ?> <table border="0" cellspacing="5" cellpadding="5" class="table table-striped"> <thead> <th> </th> <th>Link</th> <th>Destaque</th> </thead> <tbody> <?php foreach ($videos as $video) { $youtube = @getThumbYoutube($video['link']); $youtube = !empty($youtube) ? $youtube['thumbnail_url'] : base_url('images/icones/video.png'); ?> <tr> <td align="center"><img src='<?php echo $youtube; ?> '></td> <td><?php echo anchor($video['link'], $video['link']); ?> </td> <td><?php echo $video['status'] == 1 ? "Em Destaque" : anchor(base_url('videos/videos_toggle/' . $video['id_video']), "Colocar em Destaque"); ?> </tr>