<!--#include file="inc/conn.asp"-->
<!--#include file="inc/Conn_User.asp"-->
<!--#include file="inc/function.asp"-->
<!--#include file="inc/admin_code_lb.asp"-->
<%
photoid=request("photoid")
if photoid="" or not isnumeric(photoid) then
	response.write "搞什么你?"
	response.end
end if
set rs_flv=server.CreateObject("adodb.recordset")
rs_sql="select * from flv where photoid=" & photoid
rs_flv.open rs_sql,conn,1,1
if rs_flv.bof and rs_flv.eof then
	response.write "没有找到此视频!"
	response.end
else
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>56在线录制,在线录制,flash在线录制,swf在线录制</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" /></head>

<body>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="right" valign="top" class="line_s"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="22" align="left" bgcolor="#E6E6E6">&nbsp;<strong>在线录制演示</strong></td>
      </tr>
    </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="500" align="center"><div id="flash_55178ae7-6f77-47e3-b10e-5792afca5c17" style="FLOAT: center; WIDTH: 550px; HEIGHT: 452px"></div>
                <script language="JavaScript" src="swfobject.js" type="text/javascript"></script>
                <br />
                <script language="JavaScript" type="text/javascript">
	var orginFlash = {init:false,isFullScreen:false,position:"",top:"",left:"",width:"",height:""};
	function writeFlash(){
		var so = new SWFObject("play.swf", "fplayer", "100%", "100%", 8, "#FFFFFF");
		so.addParam("quality", "high");
		so.addParam("swLiveConnect", "true");
		so.addParam("menu", "false");
		so.addParam("allowScriptAccess", "sameDomain");
		so.addParam("allowFullScreen", "true");
		so.addVariable("flv_path","<%=replace(rs_flv("photointro"),"http://127.0.0.1","")%>");
		so.addVariable("server_url","http://127.0.0.1");
        so.addVariable("effectID", "<%=rs_flv("effectid")%>");
        so.addVariable("frameID", "<%=rs_flv("frameid")%>");
        so.addVariable("flvid", "<%=rs_flv("photoid")%>");		
		so.write("flash_55178ae7-6f77-47e3-b10e-5792afca5c17");
	}

	window.onresize = reSize;
	writeFlash();
    </script>
    </td>
          </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
<%
end if
rs_flv.close
set rs_flv=nothing
conn.close
set conn=nothing
%>                        
