Ejemplo n.º 1
0
<?php
require 'header.php';
$recent = recentVideo();
$cat = catList();
if (isset($_GET['v'])) {
    $data = videoDetail($_GET['v'])->result[0];
    $comment = getComment($_GET['v']);
?>
    <div class="clear"></div>
    <div class="inner shadow"></div>
        
        <div class="container row">
            <div class="two-thirds column left">
                <h1 class="heading"><?= $data->title ?></h1>
                <!-- Album Detail Start -->
                <div class="in-sec">
                    <div class="album-detail">
                        <a href="" class="thumb">
                            <iframe height="300px" width="550px" scrolling="no" src="http://182.18.165.43/multitvfinal/index.php/details?id=<?php echo $data->id ?>&device=3g" frameborder="0"  webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>	                	
                        </a>
                        <div class="clear"></div>
                    </div>
                    <div class="desc">
                        <p class="musicby"><?= $data->title ?></p>
                        <h4>Album Discription</h4>
                        <p class="txt"><?= $data->description ?> </p>
                    </div>

                </div>
                <div class="in-sec">
                    <div class="album-opts">
Ejemplo n.º 2
0
<?php
ini_set('display_errors', 1);
require_once('header.php');
$liked = likedVideo(0, 6);
if (isset($_GET['id'])) {
    $detail = videoDetail($_GET['id']);
    $temp = $detail->result[0];
}
$related = likedVideo(0, 9);
if(count($related->result) > 0){
    $related = array_chunk($related->result,3);
}

//echo '<pre>';print_r($temp);echo '</pre>';
?>
<div class="container">
    <div class="row">
        <div class="col-sm-8">
            <div class="video-info small">
                <h1><?php echo $temp->title ?></h1>
                <span class="views"><i class="fa fa-eye"></i><?php echo $temp->views ?></span>
                <a data-toggle="modal" data-target="#loginmodal" class="option" href="javascript:void(0)" action="like" id="2508">
                    <span class="likes"><i class="fa fa-thumbs-up"></i>
                        <label class="likevideo2508"><?php echo $temp->likes ?></label>
                    </span>
                </a>
            </div>
            <div class="videoWrapper player">
                <iframe hight="98%" width="97%" scrolling="no" src="http://182.18.165.252/multitvfinal/index.php/details?id=<?php echo $temp->id ?>&device=3g" frameborder="0"  webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>	                	
            </div>
            <div id="lightoff"></div>