| Server IP : 103.82.32.14 / Your IP : 216.73.217.121 Web Server : Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 System : Linux cloud.lonmanhoabinh.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : lonmakmf ( 524) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/phimluka/public_html/templates/defaultv2/ |
Upload File : |
<?php
if($value[1]=='home-video-show'){
$videoID = (int)($value[2]);
$videoKEY = sql_escape($value[3]);
$mysql->query("UPDATE ".DATABASE_FX."video SET video_viewed = video_viewed + 1,
video_viewed_day = video_viewed_day + 1,
video_viewed_week = video_viewed_week + 1,
video_viewed_month = video_viewed_month + 1 WHERE video_id = '".$videoID."'");
$arr = $mysqldb->prepare("SELECT * FROM ".DATABASE_FX."video WHERE video_key = :key AND video_id = :id");
$arr->execute(array('key' => $videoKEY,'id' => $videoID));
$row = $arr->fetch();
if($row['video_id']){
$videoNAME = $row['video_name'];
$videoIMG = 'http://i.ytimg.com/vi/'.get_idyoutube($row['video_url']).'/hqdefault.jpg';
$videoTIME = RemainTime($row['video_time']);
$videoVIEWED = ($row['video_viewed']);
$videoTAGS = ($row['video_tags']);
$videoID = ($row['video_id']);
$videoCAT = ($row['video_cat']);
$vCat = explode(',',$videoCAT);
$videoDES = ($row['video_description']);
$videoURLStream = ($row['video_url']);
$videoLINK = $web_link.'/xem-video/'.$videoKEY.'-'.$row['video_id'].'.html';
$web_title = $videoNAME.' | PhimLe[Tv]';
$breadcrumbs .= '<li><a itemprop="url" href="/" title="'.$language['home'].'"><span itemprop="title"><i class="fa fa-home"></i> '.$language['home'].' <i class="fa fa-angle-right"></i></span></a></li>';
$breadcrumbs .= '<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" href="'.$web_link.'/videos.html" title="'.$language['videos'].'"><span itemprop="title">'.$language['videos'].' <i class="fa fa-angle-right"></i></span></a></li>';
$CheckCat = explode(',',$videoCAT);
$video_cat = '';
$video_catz = '';
for ($i=1; $i<count($CheckCat)-1;$i++) {
$cat_namez = get_data('cat_name','cat','cat_id',$CheckCat[$i]);
$cat_namez_title = get_data('cat_name_title','cat','cat_id',$CheckCat[$i]);
$cat_namez_key = get_data('cat_name_key','cat','cat_id',$CheckCat[$i]);
$video_cat .= '<a href="'.$web_link.'/videos/'.replace(strtolower(get_ascii($cat_namez_key))).'.html" title="'.$cat_namez.'"><h4>'.$cat_namez.'</h4></a>, ';
$video_catz .= $cat_namez.',';
$breadcrumbs .= '<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" href="'.$web_link.'/videos/'.replace(strtolower(get_ascii($cat_namez_key))).'.html" title="'.$cat_namez.'"><span itemprop="title">'.$cat_namez.' <i class="fa fa-angle-right"></i></span></a></li>';
}
$breadcrumbs .= '<li><a class="current" href="#" title="'.$videoNAME.'">'.$videoNAME.'</a></li>';
if($videoDES == '') $des = 'Video clip '.$videoNAME.' thể loại '.$video_catz.' hay 2015';
else $des = $videoDES;
$player = phimle_players($videoURLStream,'','','','','',$playTech='flashv1');
?>
<!DOCTYPE html>
<html xmlns:og="http://ogp.me/ns#">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="vi" />
<title><?=$web_title;?></title>
<meta name="description" content="<?=$videoNAME;?>"/>
<meta name="keywords" content="video clip hài,mv ca nhạc, video clip thể thao,bóng đá, tin tức 24h, video clip độc lạ, công nghệ 247"/>
<link rel="canonical" href="<?=$videoLINK;?>" />
<meta itemprop="url" content="<?=$videoLINK;?>" />
<meta itemprop="image" content="<?=$videoIMG;?>" />
<meta property="og:title" content="<?=$web_title;?>" />
<meta property="og:type" content="website" />
<meta property="og:description" content="<?=$videoNAME;?>" />
<meta property="og:url" content="<?=$videoLINK;?>" />
<meta property="og:image" content="<?=$videoIMG;?>" />
<link rel="stylesheet" href="<?=STATIC_URL;?>/<?=$CurrentSkin;?>/css/foundation.min.css">
<link rel="stylesheet" href="<?=STATIC_URL;?>/<?=$CurrentSkin;?>/css/videopage.css?v=2">
<? require_once("styles.php");?>
<style>
.row {
margin-right: 0;
margin-left: 0;
}
.tabs {
float: none;
}
#player-area{display:block;position:relative;height: 385px; margin-bottom: 10px;}
</style>
</head> <body> <? require_once("header.php");?>
<div id="body-wrapper">
<div class="ad_location container desktop hidden-sm hidden-xs" style="padding-top: 0px; margin-bottom: 15px;"> </div>
<div class="ad_location container mobile hidden-lg hidden-md" style="padding-top: 0px; margin-bottom: 15px;"> </div>
<div class="content-wrapper">
<div class="container">
<div class="block-title breadcrumb"> <?=$breadcrumbs;?> </div>
<main class="row"> <div class="large-8 columns left-side">
<div id="player-area"><div id="phimletv_player"></div> </div>
<article class="row v-detail">
<div class="medium-4 columns video-meta">
<div class="column small-6 medium-12 bottom-margin-10px margin-top-5px">
<div id="player_ext">
<div class="r">
<div id="tgl-next" class="it"><label for="next_switch">Tự động phát</label> <button class="label" onclick="next_on()">ON</button><button class="bg" onclick="next_switch()" id="next_switch"><span></span></button><button class="label" onclick="next_off()">OFF</button></div>
</div></div>
<!--<div class="column small-6 medium-6 text-right border-right-E94D4A">
<button id="wacth-like" data-val="" title="Like This" >
<i class="fi-like "></i>
</button>
<span id="m-total_like">0</span>
</div>
<div class="column small-6 medium-6">
<button id="wacth-dislike" data-val="" title="Dislike This">
<i class="fi-dislike "></i>
</button>
<span id="m-total_dislike">0</span>
</div>-->
<div class="column small-12 meta-views top-margin-10px"><?=$videoVIEWED;?><span> Lượt xem</span></div>
</div>
<div class="column small-6 medium-12 margin-bottom-5px">
<div class="el-100">
<div class="fb-like" data-href="<?=$videoLINK;?>" data-layout="button_count" data-action="like" data-show-faces="false" data-share="true"></div>
</div>
<div class="el-100">
<g:plusone></g:plusone>
</div>
</div>
</div>
<div class="columns medium-8 video-content">
<div class="column medium-12">
<div class="column small-6">
<small><i>Đăng <?=$videoTIME?></i></small>
</div>
<div class="column small-6 text-right">
<button id="wacth-report" data-val="" class="radius" title="Báo cáo"><i class="fi-flag"></i></button>
</div>
</div>
<div class="column medium-12 title-v">
<?=$videoNAME;?>
</div>
<div class="column medium-12" id="content-p">
<?=$des;?>
<div class="tag-post"><span>Tags : </span></div>
<div class="cat-post"><span>Danh mục : </span><?=$video_cat;?></div>
</div>
</div>
</article>
<div id="fbcomments" class="row">
<div id="facebook-comments" >
<div class="fb-comments fb_iframe_widget" data-href="<?=$videoLINK;?>" data-num-posts="10" data-width="100%" data-colorscheme="dark"></div>
</div>
</div>
<div class="row user-relate">
<div class="row">
<?php
echo ShowVideo("WHERE video_cat LIKE '%".$videoCAT."%' AND video_id <> ".$videoID."","ORDER BY RAND()",9,"showtemplate_video","");
?>
</div>
</div>
</div>
<div class="large-4 columns right-side">
<div class="row margin-left-5px">
<div class="row tag-cloud margin-left-5px bottom-margin-10px margin-left-5px">
<div class="fb-page" data-href="https://www.facebook.com/phiimtv" data-width="100%" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="false">
<div class="fb-xfbml-parse-ignore">
<blockquote cite="https://www.facebook.com/phiimtv"><a href="https://www.facebook.com/phiimtv">Phim Lẻ</a></blockquote>
</div>
</div>
</div>
<div class="medium-6 large-12 columns pop-tab">
<ul class="tabs" data-tab role="tablist">
<li class="tab-title">
<a href="javascript:void(0)" data="#panel2-1" class="active"><h3>Xem nhiều hôm nay</h3></a>
</li>
<li class="tab-title">
<a href="javascript:void(0)" data="#panel2-2"><h3>Hot tuần</h3></a>
</li>
</ul>
<div class="tabs-content">
<section role="tabpanel" aria-hidden="false" class="content active" id="panel2-1">
<?php
$qview = $mysql->query("SELECT * FROM ".DATABASE_FX."video ORDER BY video_viewed_day DESC LIMIT 5");
while($row = $qview->fetch(PDO::FETCH_ASSOC)){
$videoURL = $web_link.'/xem-video/'.$row['video_key'].'-'.$row['video_id'].'.html';
$videoNAME = $row['video_name'];
$videoIMG = 'http://i.ytimg.com/vi/'.get_idyoutube($row['video_url']).'/mqdefault.jpg';
$videoTIME = RemainTime($row['video_time_update']);
$videoVIEWED = number_format($row['video_viewed']);
$videoPOSTER = $row['video_upload'];
$videoDURATION = ($row['video_duration']);
if(is_numeric($videoPOSTER)){
$videoUploader = get_data("user_name","user","user_id",$videoPOSTER);
if(isset($videoUploader) && $videoUploader != '') $videoPOSTER = $videoUploader; else $videoPOSTER = $videoPOSTER;
}
else $videoPOSTER = $videoPOSTER;
?>
<div class="row">
<div class="columns small-5 margin-bottom-5px ratio16_9">
<div class="box">
<span class="video-time"><?=$videoDURATION;?></span>
<a href="<?=$videoURL;?>"
title="Video clip <?=$videoNAME;?>">
<img alt="Video clip <?=$videoNAME;?>" src="<?=$videoIMG;?>">
</a>
</div>
</div>
<div class="columns small-7 margin-bottom-5px detail-group">
<a href="<?=$videoURL;?>" title="Video clip <?=$videoNAME;?>"><strong><?=$videoNAME;?></strong></a>
<div class="content-item"></div>
<span class="play-icon"><?=$videoVIEWED;?></span>
</div>
</div>
<? } ?>
</section>
<section role="tabpanel" aria-hidden="true" class="content" id="panel2-2">
<?php
$qview = $mysql->query("SELECT * FROM ".DATABASE_FX."video ORDER BY video_viewed_week DESC LIMIT 5");
while($row = $qview->fetch(PDO::FETCH_ASSOC)){
$videoURL = $web_link.'/xem-video/'.$row['video_key'].'-'.$row['video_id'].'.html';
$videoNAME = $row['video_name'];
$videoIMG = 'http://i.ytimg.com/vi/'.get_idyoutube($row['video_url']).'/mqdefault.jpg';
$videoTIME = RemainTime($row['video_time_update']);
$videoVIEWED = number_format($row['video_viewed']);
$videoPOSTER = $row['video_upload'];
$videoDURATION = ($row['video_duration']);
if(is_numeric($videoPOSTER)){
$videoUploader = get_data("user_name","user","user_id",$videoPOSTER);
if(isset($videoUploader) && $videoUploader != '') $videoPOSTER = $videoUploader; else $videoPOSTER = $videoPOSTER;
}
else $videoPOSTER = $videoPOSTER;
?>
<div class="row">
<div class="columns small-5 margin-bottom-5px ratio16_9">
<div class="box">
<span class="video-time"><?=$videoDURATION;?></span>
<a href="<?=$videoURL;?>"
title="Video clip <?=$videoNAME;?>">
<img alt="Video clip <?=$videoNAME;?>" src="<?=$videoIMG;?>">
</a>
</div>
</div>
<div class="columns small-7 margin-bottom-5px detail-group">
<a href="<?=$videoURL;?>" title="Video clip <?=$videoNAME;?>"><strong><?=$videoNAME;?></strong></a>
<div class="content-item"></div>
<span class="play-icon"><?=$videoVIEWED;?></span>
</div>
</div>
<? } ?>
</section>
</div>
</div>
<div class="large-12 columns text-center show-for-large-up top-margin-10px">
</div>
<div class="large-12 columns text-center show-for-large-up bottom-margin-10px"> <div class="ad-box-300">
<?=showAds('right_below_fanpage');?>
</div>
</div>
<div class="medium-6 large-12 columns cat-group">
<h3>Danh mục</h3>
<div class="cat-detail">
<?
$qcat = $mysql->query("SELECT * FROM ".$tb_prefix."cat WHERE cat_child = 121 AND cat_type = 0 ORDER BY cat_order ASC");
while ($row = $qcat->fetch(PDO::FETCH_ASSOC)) {
$catURL = $web_link.'/videos/'.$row['cat_name_key'].'.html';
$catNAME = $row['cat_name'];
?>
<a href="<?=$catURL;?>" title="Đi đến trang <?=$catNAME;?>"> <?=$catNAME;?></a>
<? } ?>
</div>
</div>
</div>
<div class="row tag-cloud top-margin-10px margin-left-5px bottom-margin-10px margin-left-5px">
<h4>Tag Cloud</h4>
<div class="tag-detail">
<a href="<?=$web_link;?>/videos/tag/hay" title="Đi đến trang hay"><h5>hay</h5></a>
<a href="<?=$web_link;?>/videos/tag/sexy" title="Đi đến trang sexy"><h5>sexy</h5></a>
<a href="<?=$web_link;?>/videos/tag/teen" title="Đi đến trang Teen"><h5>Teen</h5></a>
<a href="<?=$web_link;?>/videos/tag/music-2" title="Đi đến trang nhạc"><h5>nhạc</h5></a>
<a href="<?=$web_link;?>/videos/tag/man" title="Đi đến trang đàn ông"><h5>đàn ông</h5></a>
<a href="<?=$web_link;?>/videos/tag/everyone" title="Đi đến trang everyone"><h5>everyone</h5></a>
<a href="<?=$web_link;?>/videos/tag/tech" title="Đi đến trang tech"><h5>tech</h5></a>
<a href="<?=$web_link;?>/videos/tag/women" title="Đi đến trang phụnữ"><h5>phụnữ</h5></a>
<a href="<?=$web_link;?>/videos/tag/hai" title="Đi đến trang hài"><h5>hài</h5></a>
<a href="<?=$web_link;?>/videos/tag/others" title="Đi đến trang khácc"><h5>khácc</h5></a>
<a href="<?=$web_link;?>/videos/tag/men" title="Đi đến trang men"><h5>men</h5></a>
<a href="<?=$web_link;?>/videos/tag/newclips-2" title="Đi đến trang clipmới"><h5>clipmới</h5></a>
<a href="<?=$web_link;?>/videos/tag/maidam" title="Đi đến trang maidam"><h5>maidam</h5></a>
<a href="<?=$web_link;?>/videos/tag/video-clip" title="Đi đến trang video clip"><h5>video clip</h5></a>
<a href="<?=$web_link;?>/videos/tag/sexygirls" title="Đi đến trang sexygirls"><h5>sexygirls</h5></a>
<a href="<?=$web_link;?>/videos/tag/sepakbola" title="Đi đến trang sepakbola"><h5>sepakbola</h5></a>
<a href="<?=$web_link;?>/videos/tag/football" title="Đi đến trang bóng đá"><h5>bóng đá</h5></a>
<a href="<?=$web_link;?>/videos/tag/ca-nhac" title="Đi đến trang ca nhac"><h5>ca nhac</h5></a>
<a href="<?=$web_link;?>/videos/tag/highlight" title="Đi đến trang clip hay"><h5>clip hay</h5></a>
<a href="<?=$web_link;?>/videos/tag/valentine" title="Đi đến trang Valentine"><h5>Valentine</h5></a>
<a href="<?=$web_link;?>/videos/tag/clip-yeu-thich" title="Đi đến trang clip yeu thich"><h5>clip yeu thich</h5></a>
<a href="<?=$web_link;?>/videos/tag/sexy-girls" title="Đi đến trang sexy girls"><h5>sexy girls</h5></a>
<a href="<?=$web_link;?>/videos/tag/man-woman" title="Đi đến trang đàn ông phụ nữ"><h5>đàn ông phụ nữ</h5></a>
<a href="<?=$web_link;?>/videos/tag/keren" title="Đi đến trang keren"><h5>keren</h5></a>
<a href="<?=$web_link;?>/videos/tag/cute" title="Đi đến trang dễ thương"><h5>dễ thương</h5></a>
<a href="<?=$web_link;?>/videos/tag/romantis" title="Đi đến trang romantis"><h5>romantis</h5></a>
<a href="<?=$web_link;?>/videos/tag/danong" title="Đi đến trang Danong"><h5>Danong</h5></a>
<a href="<?=$web_link;?>/videos/tag/musik" title="Đi đến trang musik"><h5>musik</h5></a>
<a href="<?=$web_link;?>/videos/tag/vui" title="Đi đến trang vui"><h5>vui</h5></a>
<a href="<?=$web_link;?>/videos/tag/soc" title="Đi đến trang Soc"><h5>Soc</h5></a>
</div>
</div>
<div class="row text-center show-for-large-up margin-left-5px bottom-margin-10px"> <div class="ad-box-300">
</div>
</div>
</div></main> </div> </div> </div>
<script src="<?=STATIC_URL;?>/defaultv2/js/pdnghia.js" type="text/javascript"></script>
<script type="text/javascript" src="http://phim.megabox.vn/themes/front/player/jwplayer.js"></script>
<script src="<?=STATIC_URL;?>/<?=$CurrentSkin;?>/js/jquery.cookie.js" type="text/javascript"></script>
<script src="<?=STATIC_URL;?>/<?=$CurrentSkin;?>/js/plvideo.js" type="text/javascript"></script>
<script type="text/javascript">
var AjaxURL = '<?=$web_link;?>/load/video';
var vCat = parseInt('<?=$vCat[1];?>');
var vId = parseInt('<?=$videoID;?>');
Phimle_videoplayer('<?=$videoURLStream;?>');
</script>
<? require_once("footer.php");?>
</body>
</html>
<? }else header('Location: '.$web_link.'/404?error='.$videoID.'+'.$videoKEY); }else header('Location: '.$web_link.'/404'); ?>