web/client_live.php
changeset 229 74c9ddc3640b
parent 200 df98bc033a67
equal deleted inserted replaced
228:1bcc79e78fa1 229:74c9ddc3640b
    60 	<link rel="stylesheet" href="res/css/custom.css" type="text/css" media="screen, projection">
    60 	<link rel="stylesheet" href="res/css/custom.css" type="text/css" media="screen, projection">
    61 	<link rel="stylesheet" type="text/css" href="res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.css" media="screen">
    61 	<link rel="stylesheet" type="text/css" href="res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.css" media="screen">
    62 	<link rel="stylesheet" type="text/css" href="res/niceforms/niceforms-custom.css" media="screen" >
    62 	<link rel="stylesheet" type="text/css" href="res/niceforms/niceforms-custom.css" media="screen" >
    63 
    63 
    64 	<!-- JAVASCRIPT --> 
    64 	<!-- JAVASCRIPT --> 
    65 	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    65 	<script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script>
    66 	<script type="text/javascript" src="res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    66 	<script type="text/javascript" src="<?php echo(registry_url('fancybox','js'))?>"></script>
    67 	<script type="text/javascript" src="res/metadataplayer/res/js/jquery.tools.min.js"></script>
    67 	<script type="text/javascript" src="<?php echo(registry_url('jquery-tools','js'))?>"></script>
    68 	<script type="text/javascript" src="res/niceforms/niceforms.js"></script>
    68 	<script type="text/javascript" src="<?php echo(registry_url('niceforms','js'))?>"></script>
    69 	<script src="http://widgets.twimg.com/j/2/widget.js"></script>
    69 	<script type="text/javascript" src="<?php echo(registry_url('tw-widget','js'))?>"></script>
    70 	
    70 	
    71 	<!-- FONT -->
    71 	<!-- FONT -->
    72 	<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin' rel='stylesheet' type='text/css'>
    72 	<link href='<?php echo(registry_url('PT-Sans_Narrow','font'))?>' rel='stylesheet' type='text/css'>
    73 	<link href='http://fonts.googleapis.com/css?family=PT+Sans&subset=latin' rel='stylesheet' type='text/css'>
    73 	<link href='<?php echo(registry_url('PT-Sans','font'))?>' rel='stylesheet' type='text/css'>
    74 	<link href='http://fonts.googleapis.com/css?family=Geo&subset=latin' rel='stylesheet' type='text/css'>
    74 	<link href='<?php echo(registry_url('Geo','font'))?>' rel='stylesheet' type='text/css'>
    75 
    75 
    76 	<script type="text/javascript">	
    76 	<script type="text/javascript">	
    77 	$(document).ready(function() {
    77 	$(document).ready(function() {
    78 
    78 
    79 			doTimer();
    79 			doTimer();
    80 			//$("txt").hide();
    80 			//$("txt").hide();
    81 			$(".loginbutton").click(function() {
    81 			$(".loginbutton").click(function() {
    82 				document.location.href="<?php URL_ROOT ?>?CONNECT=true";
    82 				document.location.href="<?php URL_ROOT ?>client.php?CONNECT=true";
    83 			});
    83 			});
    84 			$("#IDENTIFIER").click(function() {
    84 			$("#IDENTIFIER").click(function() {
    85 				document.location.href="<?php URL_ROOT ?>?CONNECT=true";
    85 				document.location.href="<?php URL_ROOT ?>client.php?CONNECT=true";
    86 			});
    86 			});
    87 			
    87 			
    88 			$("#messageSuccess").hide();
    88 			$("#messageSuccess").hide();
    89 			$("#messageFailed").hide();
    89 			$("#messageFailed").hide();
    90 			$("#txt").hide();
    90 			$("#txt").hide();
   257 	  	<?php print $translate->_("A propos"); ?></a></li>
   257 	  	<?php print $translate->_("A propos"); ?></a></li>
   258 
   258 
   259 	  </ul>
   259 	  </ul>
   260 	  
   260 	  
   261 	  	  <ul class="menu" > 
   261 	  	  <ul class="menu" > 
   262 	  <li class="menuUnderline"><a href="<?php URL_ROOT ?>?lang=ja_JP" class="menuLink" >
   262 	  <li class="menuUnderline"><a href="<?php URL_ROOT ?>client.php?lang=ja_JP" class="menuLink" >
   263 	       <img src='images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> />
   263 	       <img src='images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> />
   264 	        <?php print $translate->_("Japonais"); ?></a></li>
   264 	        <?php print $translate->_("Japonais"); ?></a></li>
   265 	  <li class="menuUnderline"><a href="<?php URL_ROOT ?>?lang=fr" class="menuLink">
   265 	  <li class="menuUnderline"><a href="<?php URL_ROOT ?>client.php?lang=fr" class="menuLink">
   266 	       <img src='images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> />
   266 	       <img src='images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> />
   267 	       <?php print $translate->_("Français"); ?></a></li>
   267 	       <?php print $translate->_("Français"); ?></a></li>
   268 	  <li ><a href="<?php URL_ROOT ?>?lang=en" class="menuLink">
   268 	  <li ><a href="<?php URL_ROOT ?>client.php?lang=en" class="menuLink">
   269 	       <img src='images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> />
   269 	       <img src='images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> />
   270 	       <?php print $translate->_("Anglais"); ?></a></li>
   270 	       <?php print $translate->_("Anglais"); ?></a></li>
   271 	  </ul>
   271 	  </ul>
   272 
   272 
   273 	  
   273 	  
   313 	  
   313 	  
   314 	  <div class="tweetWriter">
   314 	  <div class="tweetWriter">
   315 		<h3 class="tweetWriterTitle"><?php print $translate->_("ClientTitle1 :"); ?></h3>
   315 		<h3 class="tweetWriterTitle"><?php print $translate->_("ClientTitle1 :"); ?></h3>
   316 		<form  action="tweet.php" method="post" id="statusform" >
   316 		<form  action="tweet.php" method="post" id="statusform" >
   317 		<?php if (!isset($_SESSION['TWITTER_ACCESS_TOKEN'])){
   317 		<?php if (!isset($_SESSION['TWITTER_ACCESS_TOKEN'])){
   318 				echo("<div class='loginbutton' ><a href='".URL_ROOT."?CONNECT=true' class='loginlink'>
   318 				echo("<div class='loginbutton' ><a href='".URL_ROOT."client.php?CONNECT=true' class='loginlink'>
   319 				".$translate->_("Vous n'êtes pas connecté.")."</a></div>");
   319 				".$translate->_("Vous n'êtes pas connecté.")."</a></div>");
   320 			  }else{
   320 			  }else{
   321 				echo("<textarea name='status' id='status' rows='3' cols='50' onkeypress='return imposemax(this);'>".$C_hashtag."</textarea>");
   321 				echo("<textarea name='status' id='status' rows='3' cols='50' onkeypress='return imposemax(this);'>".$C_hashtag."</textarea>");
   322 			  }
   322 			  }
   323 		?>
   323 		?>