<?php
include "../Include/config.php";
include "../Include/db.php";
include "../Include/admin_config.php";
$UserName=$_GET['User'];
$ToUserName=$_GET['ToUser'];
$Uid=$_GET['Uid'];
$ToUid=$_GET['ToUid'];
if(!$Admin_Config['EnableVideo'])exit("<script>alert('视频聊天功能没有开放！');self.close()</script>");
?>
<style type=text/css>
body{
	font-size:9pt;
	margin:0px;
	scrollbar-3dlight-color:ffffff;
	scrollbar-darkshadow-color:ffffff;
	scrollbar-track-color:FFFFFF;
	scrollbar-arrow-color:ffffff;
	scrollbar-shadow-color:ffffff;
	background-color: #EDF7FF;
}
</style>
<title><?=$UserName?> 和 <?=$ToUserName?> 视频聊天中</title>
<base target="_self">
<body>
<center>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script>
function window_close()
{
	top.Del(<?=$_GET['id']?>);
	top.video_stop('<?=$Uid?>','<?=$UserName?>','<?=$ToUid?>','<?=$ToUserName?>');
}
</script>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','335','height','357','src','video?user=<?=$UserName?>&touser=<?=$ToUserName?>&server=<?=$Admin_Config['Video_Server']?>&active=<?=$_GET['active']?>','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','video?user=<?=$UserName?>&touser=<?=$ToUserName?>&server=<?=$Admin_Config['Video_Server']?>&active=<?=$_GET['active']?>' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="335" height="357">
  <param name="movie" value="video.swf?user=<?=$UserName?>&amp;touser=<?=$ToUserName?>&amp;server=<?=$Admin_Config['Video_Server']?>&amp;active=<?=$_GET['active']?>" />
  <param name="quality" value="high" />
  <embed src="video.swf?user=<?=$UserName?>&amp;touser=<?=$ToUserName?>&amp;server=<?=$Admin_Config['Video_Server']?>&amp;active=<?=$_GET['active']?>" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="335" height="357"></embed>
</object>
</noscript><br>
<div>
<script src="http://www.qxnzx.com/d/js/acmsd/thea27.js"></script>
</div>
</center>
</body>