exit;
}
+ public static function url($args) {
+ ob_end_clean();
+ echo '<script type="text/javascript">window.location="' . $_GET['u'] . '"</script>';
+ exit;
+ }
+
public static function tube($args) {
global $css, $js, $jsnomerge, $jsvar;
$dim = getimagesize($dir . 'video.jpg');
}
- $res = '<style type="text/css">';
+ $res = '<style type="text / css">';
$res .= 'html, body {margin: 0;padding: 0;height: 100%;color:#fff;overflow:hidden;}';
$res .= 'body,video{background:#' . $background . ';}';
$res .= 'video{width:100%;height:100%;display:none;}';
$res .= '#header,#videoflash,#videohtml,#ajaxLoader{display:none;}';
$res .= '</style>';
- $video = '<video id="videohtml" width="100%" height="100%" data-src="' . $web . '"';
+ $video = '<video id="videohtml" width="100 % " height="100 % " data-src="' . $web . '"';
if (isset($dim)) {
$video .= ' data-width="' . $dim[0] . '" data-height="' . $dim[1] . '"';
}
$video .= ' onplay="tubeHideControls(this);"';
}
if ($loop) {
- $video .= ' onended="this.play();"';
+ $video .= ' onended="this . play();"';
}
if ($autoplay) {
$video .= ' autoplay="autoplay"';
}
if (($displayPoster || $ios) && isset($poster)) {
- $video .= ' poster="' . $web . 'video.jpg"';
+ $video .= ' poster="' . $web . 'video . jpg"';
}
$video .= '>';
$video .= '</video>';
$res = commonPage::barre();
$res .= commonPage::tMain();
$res .= commonPage::bh();
- $res .= '<style type="text/css">
+ $res .= '<style type="text / css">
@media all and (orientation: portrait) {
#ol{display:none;}
}
$res .= '<tr><td>' . __('Adresse IP') . '</td><td colspan="2">' . $_SERVER['REMOTE_ADDR'] . '</td></tr>';
$res .= '<tr><td>' . __('Adobe Flash Player') . '</td><td colspan="2" class="flashversion"></td></tr>';
$res .= '<tr><td rowspan="4">' . __('Support de la video') . '</td><td colspan="2"><strong class="f" data-feature="video"></strong></td></tr>';
- $res .= '<tr><td>OGV</td><td><span class="f" data-feature="video.ogg"></span></td></tr>';
- $res .= '<tr><td>H264</td><td><span class="f" data-feature="video.h264"></span></td></tr>';
- $res .= '<tr><td>WEBM</td><td><span class="f" data-feature="video.webm"></span></tr>';
+ $res .= '<tr><td>OGV</td><td><span class="f" data-feature="video . ogg"></span></td></tr>';
+ $res .= '<tr><td>H264</td><td><span class="f" data-feature="video . h264"></span></td></tr>';
+ $res .= '<tr><td>WEBM</td><td><span class="f" data-feature="video . webm"></span></tr>';
$res .= '<tr><td rowspan="3">' . __('Ecran') . '</td><td>' . __('Orientation') . '</td><td><span id="op">' . __('Portrait') . '</span><span id="ol">' . __('Paysage') . '</span></td></tr>';
$res .= '<tr><td>' . __("Largeur") . '</td><td id="swidth"></td></tr>';
$res .= '<tr><td>' . __("Hauteur") . '</td><td id="sheight"></td></tr>';
$res = commonPage::barre();
$res .= commonPage::tMain();
$res .= commonPage::bh();
- $res .= '<form action="' . SITE_PATH . 'tools/exportClientsXLS" method="post" class="notajax">';
+ $res .= '<form action="' . SITE_PATH . 'tools / exportClientsXLS" method="post" class="notajax">';
$res .= '<table class="liste">';
$res .= '<tr><th colspan="3"><strong>' . __('Exporter la base clients') . '</strong></th></tr>';
$res .= '<tr><td>' . __('Type de client') . '</td><td>' . form::combo('type', $types) . '</td></td>';