web/client.php
changeset 194 a3d652c83281
parent 184 90f11975c5ee
child 200 df98bc033a67
--- a/web/client.php	Wed Jun 22 17:06:12 2011 +0200
+++ b/web/client.php	Thu Jun 23 09:46:55 2011 +0200
@@ -256,6 +256,7 @@
 
 	  
 	  <div class="videoLive">
+	  <?php if ($C_islive):?>
 	  <div class="videoLivePlayer">
 			<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="500" height="375"> 
 				<param name="movie" value="res/mediaplayer/player.swf" /> 
@@ -279,10 +280,12 @@
 			</object> 
 			
 		</div>	
+	  	<?php else: ?>
 	  
-		<!--div class="videoLivePlayer">
+		<div class="videoLivePlayer">
 			<img src="<?php echo($C_REP); ?>/images/big_visuel_rsln_mb.jpg" width="500"  height="375" />
-		</div-->	
+		</div>
+		<?php endif; ?>
 		
 	  </div>