<?php
session_start();
require_once('../config/config.php');
require_once(CLASS_DIR.'dbClass.php');
?>
<body style="overflow: hidden;padding: 10px;">
<?php
 if($_GET['youtube']!=''){ ?>
<iframe src="//www.youtube.com/embed/<?=$_GET['youtube']?>" frameborder="0"  allowfullscreen></iframe>
<?php }else if($_GET['vimeo']!=''){ ?>
<code>
<object width="762" height="493"><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=<?=$_GET['vimeo']?>&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=f47e02&fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=<?=$_GET['vimeo']?>&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=f47e02&fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object>
</code>
<?php }else if($_GET['images']!=''){

	$val = $_GET['images']; ?>
	
	<img src="uploads/statusimg/<?=$_SESSION["'".$val."'"]?>" >
<?php }?>
</body>
</html>
