Вход Регистрация
Файл: adultscript-2.0.3-pro/files/misc/nuevo/embed.php
Строк: 28
<?php
define
('_VALID'true);
require 
'../config_common.php';
$cache        VF::factory('cache');
$db            VF::factory('database');
if ( !isset(
$_GET['id'])) {
    die(
"Invalid video key");
    die();
} else {
    
$id=$_GET['id'];
}
$cfg   VF::cfg('core.config');

$player_cache 'embed_player_'.$id;

if (!
$player $cache->get($player_cache86400)) {
    
$db->query("SELECT * FROM nuevo__player WHERE ID = '1' LIMIT 1");
    if (
$db->affected_rows()) {
        
$player$db->fetch_assoc();
        
$cache->store($player_cache$player86400);
    }
}


$nuevo BASE_URL.'/modules/video/player/nuevo/player.js';
$conf BASE_URL.'/modules/video/player/nuevo/config_embed.php?id='.$id;
$anyad BASE_DIR.'/modules/video/player/nuevo/plugins/adserve.php';

?>

<html>
<head>
<script type="text/javascript" id="nuevo" src="<?php echo $nuevo?>"></script>

</head>
<body style="margin:0;padding:0;background:#000000;">
    <div id="play_container">
    <div style="position:reltaive;width:100%;height:100%">
    
    <div id="nplayer"></div>
    <script type="text/javascript">
    nvplayer.start( {id:'nplayer',config: '<?php echo $conf?>',width:'100%',height:'100%',wmode:'opaque'});
    </script>

</div>
</div>
</body>
</html>
Онлайн: 1
Реклама