web/client.php
changeset 233 10d6fd6ce9ab
parent 231 1006d8050b22
child 236 af97b1520964
equal deleted inserted replaced
232:460acd0e3667 233:10d6fd6ce9ab
     1 <?php
     1 <?php
     2 
     2 
     3 if(!isset($_REQUEST['rep'])) {
     3 if(!isset($_REQUEST['rep'])) {
     4 	include_once dirname(__FILE__).'/config.php';
     4 	include_once dirname(__FILE__).'/common.php';
     5 	header('Location: ' . URL_ROOT . "$C_default_rep/client.php" );
     5 	header('Location: ' . URL_ROOT . "$C_default_rep/client.php" );
     6 	exit();
     6 	exit();
     7 }
     7 }
     8 
     8 
     9 $rep = $_REQUEST['rep'];
     9 $rep = $_REQUEST['rep'];
    49     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    49     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    50     <title>Live Video and Annotation</title>
    50     <title>Live Video and Annotation</title>
    51 	<meta http-equiv="X-UA-Compatible" content="IE=8" /> 
    51 	<meta http-equiv="X-UA-Compatible" content="IE=8" /> 
    52 
    52 
    53     <!-- Framework CSS -->
    53     <!-- Framework CSS -->
    54     <link rel="stylesheet" href="<?php echo(URL_ROOT); ?>res/blueprint/screen.css" type="text/css" media="screen, projection">
    54     <link rel="stylesheet" href="<?php echo(registry_url('blueprint-screen','css'));?>" type="text/css" media="screen, projection"/>
    55     <link rel="stylesheet" href="<?php echo(URL_ROOT); ?>res/blueprint/print.css" type="text/css" media="print">
    55     <link rel="stylesheet" href="<?php echo(registry_url('blueprint-print','css'));?>" type="text/css" media="print"/>
    56     <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo(URL_ROOT); ?>res/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
    56     <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo(registry_url('blueprint-ie','css'));?>" type="text/css" media="screen, projection"><![endif]--> 
    57 	<link rel="stylesheet" href="<?php echo(URL_ROOT); ?>res/blueprint/plugins/fancy-type/screen.css" type="text/css" media="screen, projection">
    57 	<link rel="stylesheet" href="<?php echo(registry_url('blueprint-plugins-fancy-type','css'));?>" type="text/css" media="screen, projection"/>
    58 	<link rel="stylesheet" href="<?php echo(URL_ROOT); ?>res/css/custom.css" type="text/css" media="screen, projection">
    58 	<link rel="stylesheet" href="<?php echo(registry_url('custom','css'));?>" type="text/css" media="screen, projection"/>
    59 	<link rel="stylesheet" type="text/css" href="<?php echo(URL_ROOT); ?>res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.css" media="screen">
    59 	<link rel="stylesheet" href="<?php echo(registry_url('fancybox','css'));?>" type="text/css" media="screen">
    60 	<link rel="stylesheet" type="text/css" href="<?php echo(URL_ROOT); ?>res/niceforms/niceforms-custom.css" media="screen" >
       
    61 
    60 
    62 	<!-- JAVASCRIPT --> 
    61 	<!-- JAVASCRIPT --> 
    63 	<script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script>
    62 	<script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script>
    64 	<script type="text/javascript" src="<?php echo(registry_url('fancybox','js'))?>"></script>
    63 	<script type="text/javascript" src="<?php echo(registry_url('fancybox','js'))?>"></script>
    65 	<script type="text/javascript" src="<?php echo(registry_url('jquery-tools','js'))?>"></script>
    64 	<script type="text/javascript" src="<?php echo(registry_url('jquery-tools','js'))?>"></script>
    66 	<script type="text/javascript" src="<?php echo(registry_url('niceforms','js'))?>"></script>
       
    67 	<script type="text/javascript" src="<?php echo(registry_url('tw-widget','js'))?>"></script>
    65 	<script type="text/javascript" src="<?php echo(registry_url('tw-widget','js'))?>"></script>
    68 	
    66 	
    69 	<!-- FONT -->
    67 	<!-- FONT -->
    70 	<link href='<?php echo(registry_url('PT-Sans_Narrow','font'))?>' rel='stylesheet' type='text/css'>
    68 	<link href='<?php echo(registry_url('PT-Sans_Narrow','font'))?>' rel='stylesheet' type='text/css'>
    71 	<link href='<?php echo(registry_url('PT-Sans','font'))?>' rel='stylesheet' type='text/css'>
    69 	<link href='<?php echo(registry_url('PT-Sans','font'))?>' rel='stylesheet' type='text/css'>
   139 			});		
   137 			});		
   140 			
   138 			
   141 			$(".timeFrame").tooltip();
   139 			$(".timeFrame").tooltip();
   142 			/*
   140 			/*
   143 			*   Lightbox button 
   141 			*   Lightbox button 
   144 			*/
   142 			*/			
   145 			$("#About").fancybox({
       
   146 				'titlePosition'		: 'inside',
       
   147 				'transitionIn'		: 'none',
       
   148 				'transitionOut'		: 'none',
       
   149 				'enableEscapeButton': 'none',
       
   150 				'margin' 			: 1,
       
   151 				'padding' 			: 0
       
   152 			}<?php if (!isset($_SESSION['TWITTER_ACCESS_TOKEN'])){echo(").trigger('click');");}else{echo(");");} ?>
       
   153 			
       
   154 			
   143 			
   155 			$("#Program").fancybox({
   144 			$("#Program").fancybox({
   156 				'width'				: '75%',
   145 				'width'				: '75%',
   157 				'height'			: '75%',
   146 				'height'			: '75%',
   158 				'autoScale'			: false,
       
   159 				'transitionIn'		: 'none',
       
   160 				'transitionOut'		: 'none',
       
   161 				'type'				: 'iframe'
       
   162 			});
       
   163 
       
   164 			$("#Video_ldt").fancybox({
       
   165 				'width'				: 1021,
       
   166 				'height'			: 661,
       
   167 				'autoScale'			: false,
   147 				'autoScale'			: false,
   168 				'transitionIn'		: 'none',
   148 				'transitionIn'		: 'none',
   169 				'transitionOut'		: 'none',
   149 				'transitionOut'		: 'none',
   170 				'type'				: 'iframe'
   150 				'type'				: 'iframe'
   171 			});
   151 			});
   255 	
   235 	
   256   </head>
   236   </head>
   257   <body>
   237   <body>
   258     <div class="container">
   238     <div class="container">
   259       <img src="<?php echo($head_logo); ?>" class="Producteur logo">
   239       <img src="<?php echo($head_logo); ?>" class="Producteur logo">
   260 		<div id="minilogo" style="margin-left:85px;height:5px;top:5px;"></div>
   240       <div id="minilogo" style="margin-left:85px;height:5px;top:5px;"></div>
   261 	  <ul class="menu"> 
   241 	  <ul class="menu"> 
   262 	  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>" class="menuLink">
   242 	  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>" class="menuLink">
   263 	  	<?php print $translate->_("Accueil"); ?> </a></li>
   243 	  	<?php print $translate->_("Accueil"); ?> </a></li>
   264 	  <li class="menuUnderline" ><a href="<?php echo($config['link']); ?>" class="menuLink" target="_blank" id='Program'> 
   244 	  <li class="menuUnderline" ><a href="<?php echo($config['link']); ?>" class="menuLink" target="_blank" id='Program'> 
   265 	  	<?php print $translate->_("Programme"); ?></a></li>
   245 	  	<?php print $translate->_("Programme"); ?></a></li>
   431 	  </div>   
   411 	  </div>   
   432 	
   412 	
   433 
   413 
   434     </div>
   414     </div>
   435 	
   415 	
   436 	<!-- LIGHTBOX --> 
       
   437 	<div style="display:none;">
       
   438 		<div id="Aboutbox" >
       
   439 		<div class="lightBorder">
       
   440 			<div class="lightTitle" style="height:45px;">&nbsp;  </div>
       
   441 			<div class="lightSubTitle"><?php print $translate->_("splatchPageTitle"); ?></div>
       
   442 			<div class="lightDescription"><?php print $translate->_("splatchPageText"); ?></div>
       
   443 			<div>
       
   444 				<br/>
       
   445 				<a class="button_b" href="#"  id="IDENTIFIER"><span><?php print $translate->_("S&apos;identifier"); ?></span></a> <br/><br/>
       
   446 				<a class="button_w" href="#"  id="ACCES"><span><?php print $translate->_("Libre accès"); ?></span></a> 
       
   447 			</div>
       
   448 		</div>
       
   449 		</div>
       
   450 	</div>
       
   451 	<!-- END LIGHTBOX -->
       
   452 
       
   453 	
       
   454   </body>
   416   </body>
   455 </html>
   417 </html>