<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="../Include/conn.asp"-->
<!--#include file="../Include/ConnDatabase.asp"-->
<!--#include file="../Include/NoHackSql.Asp"-->
<!--#include file="../player/Videoconfig.Asp"-->
<%
'=============================================
'TianTian Enterprise Content Management System
'TianTian Network Technology studio, All Rights Reserved
'Service center http://www.ip126.com
'QQ:530051328 mail:bbfhq@163.com
'=============================================
%>
<%dim id
id=replace(request("id")," ","")
if isnumeric(id)=0 or id="" then
response.write "Illegal parameter, please directly from <a href='"&SiteUrl&"'>"&site_name_EN&"</a>to enter 。 "
response.end
end if
conn.execute("update [TianTianCMS_video] set ClickNumber=ClickNumber+1 where id="&id&"")
set rs=server.createobject("adodb.recordset") 	
sql="select * from TianTianCMS_video where id="&id&"" 
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write"Didn't find the film, and an error occurs, please directly from <a href='"&SiteUrl&"'>"&site_name_EN&"</a> to enter 。"
response.end
end if
title=rs("videoNameEN")
thumbnail=rs("thumbnail")
flvurl=rs("FileUrl")
dateandtime=rs("UpdateTime")
hits=rs("ClickNumber")
content=rs("ContentEN")
%>
<title><%=title%></title>
<SCRIPT LANGUAGE=JavaScript>
<!--
function getLight(pars){if(pars=="open"){close_light(this)}else{close_light(this)}};function thisMovie(movieName){if(navigator.appName.indexOf("Microsoft")!=-1){return window[movieName]}else{return document[movieName]}}
//-->
</SCRIPT> 

<style type="text/css">
<!--
.video { OVERFLOW: hidden; WIDTH: 100%; POSITION: relative}
.close_light_bg {DISPLAY: none; BACKGROUND: #000; FILTER: alpha(opacity = 95); LEFT: 0px; WIDTH: 100%; POSITION: absolute; TOP: 0px; HEIGHT: 100%; opacity: .95}

body { padding:10px;}
div.help { line-height:32px; font-size:14px;}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<META content=<%=title%> name=keywords>
<BODY>
<div class="close_light_bg" id="close_light_bg"></div>
<table borderColor="#333333" cellSpacing="6" cellPadding="6" bgColor="#f3f3f3" border="1">
  <TBODY>
    <TR>
      <TD width=640 align="center"><TABLE cellSpacing=0 cellPadding=0 width=100% align=center border=0>
        <TBODY>
          <TR>
            <TD height=6></TD>
          </TR>
        </TBODY>
      </TABLE>
        <table width="645" border="0" align="center" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td width="20"><img  src="../images/title_02.gif" alt="0"  width="20" height="30" /></td>
            <td align="center"   background="../images/title01.gif" ><font color="#FF0000"><%=title%></font></td>
            <td width="11" height="30"><img  src="../images/title_03.gif" alt="0" width="11" height="30" /></td>
          </tr>
        </tbody>
      </table>
        <table width="645" border="0" align="center" cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <td width="1" bgcolor="#d4d2d2"><img src="../images/blank.gif" alt="0" width="1" height="1" /></td>
              <td height="5" bgcolor="#FFFFFF"></td>
              <td width="5" background="../images/title_07.gif"><img src="../images/blank.gif" alt="0" width="1" height="1" /></td>
            </tr>
            <tr>
              <td width="1" bgcolor="#d4d2d2"><img src="../images/blank.gif" alt="0" width="1" height="1" /></td>
              <td align="center" bgcolor="#FFFFFF"><span class="style2">

<%If LCase(Right(flvurl,3))="flv" Or LCase(Right(flvurl,3))="f4v" Or LCase(Right(flvurl,3))="mp4" Or LCase(Right(flvurl,3))="3gp" Then
Dim wz1,wz2
If cs4=1 Then wz1="top-left"
If cs4=2 Then wz1="top-right"
If cs4=3 Then wz1="bottom-left"
If cs4=4 Then wz1="bottom-right"
If cs7=1 Then wz2="top-left"
If cs7=2 Then wz2="top-right"
If cs7=3 Then wz2="bottom-left"
If cs7=4 Then wz2="bottom-right"
%>

<!--极酷播放器/代码开始-->
<script type="text/javascript" src="../player/kb_swfobject.js"></script>
<div class="video" id="CuPlayer"><b><img src="../player/loading.gif"  /> Web video player is loaded, please later ...</b></div>
<script type="text/javascript">
var so = new SWFObject("../player/player.swf","ply","<%=cs1%>","<%=cs2%>","9","#000000");
so.addParam("allowfullscreen","true");
so.addParam("allowscriptaccess","always");
so.addParam("wmode","opaque");
so.addParam("quality","high");
so.addParam("salign","lt");
//播放器设置文件-----------------------------
so.addVariable("JcScpFile","../player/CuSunV2set.asp");
//视频文件及略缩图--------------------------
so.addVariable("JcScpVideoPath","<%=flvurl%>"); //视频地址
so.addVariable("JcScpImg","<%=thumbnail%>"); //视频图片
//-前置Flash广告-----------------------------
so.addVariable("ShowJcScpAFront","<%=SiteRun1%>");
so.addVariable("JcScpCountDownsPosition","<%=wz1%>");//广告倒计时位置top-left/top-right/bottom-left/bottom-right
so.addVariable("JcScpCountDowns","<%=cs3%>");//广告倒计时 
so.addVariable("JcScpAFrontW","<%=cs5%>");
so.addVariable("JcScpAFrontH","<%=cs6%>"); 
so.addVariable("JcScpAFrontPath","<%=Videoad1%>"); //广告地址,支持 swf/jpg/png/gif 格式
so.addVariable("JcScpAFrontLink","<%=adlink1%>");//广告链接 
//-播前视频广告参数-----------------------------
so.addVariable("ShowJcScpAVideo","<%=SiteRun2%>");
so.addVariable("JcScpAVideoPath","<%=Videoad2%>");//支持 flv/mp4/mov/f4v/3gp 格式
so.addVariable("JcScpAVideoLink","<%=adlink2%>"); 
//-暂停广告参数-----------------------------
so.addVariable("ShowJcScpAPause","<%=SiteRun3%>");　
so.addVariable("JcScpAPauseW","<%=cs10%>");　
so.addVariable("JcScpAPauseH","<%=cs11%>");　
so.addVariable("JcScpAPausePath","<%=Videoad3%>");//支持 swf/jpg/png/gif 格式　 
so.addVariable("JcScpAPauseLink","<%=adlink3%>"); 
//-角标广告参数-----------------------------
so.addVariable("ShowJcScpACorner","<%=SiteRun4%>");　
so.addVariable("JcScpACornerW","<%=cs8%>");　
so.addVariable("JcScpACornerH","<%=cs9%>");　
so.addVariable("JcScpACornerPath","<%=Videoad4%>");//支持 swf/jpg/png/gif 格式　
so.addVariable("JcScpACornerPosition","<%=wz2%>");//top-right/top-left/bottom-left/bottom-right
so.addVariable("JcScpACornerLink","<%=adlink4%>"); 
//-后置广告参数-----------------------------
so.addVariable("ShowJcScpAEnd","<%=SiteRun5%>");　
so.addVariable("JcScpAEndW","<%=cs12%>");　
so.addVariable("JcScpAEndH","<%=cs13%>");　
so.addVariable("JcScpAEndPath","<%=Videoad5%>");//支持 swf/jpg/png/gif 格式
so.addVariable("JcScpAEndLink","<%=adlink5%>"); 
//-----------------------------------------
so.addVariable("JcScpSharetitle","天天网络科技www.ip126.com"); 
so.write("CuPlayer");
</script>
<SCRIPT language=javascript src="../player/kb_jquery.js" type=text/javascript></SCRIPT> 
<SCRIPT language=javascript src="../player/kb_action.js" type=text/javascript></SCRIPT>
<!--极酷播放器/代码结束(http://www.cuplayer.com|52player.com)-->


 <%Else%>                      

<!--(默认0为否,-1或1为是)-->
 <object classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" width="<%=cs16%>" height="<%=cs17%>" id="NSPlay" style="LEFT: 0px; TOP: 0px" type="application/x-oleobject"  standby="Loading Microsoft Windows Media Player components...">  
<param name="AudioStream" value="-1"> 
<param name="AutoSize" value="0">
<!--是否自动调整播放大小-->  
<param name="AutoStart" value="0"> 
<!--是否自动播放--> 
<param name="AnimationAtStart" value="<%=cs18%>">  
<param name="AllowScan" value="-1">  
<param name="AllowChangeDisplaySize" value="-1">  
<param name="AutoRewind" value="0">  
<param name="Balance" value="0">
<!--左右声道平衡,最左-9640,最右9640-->  
<param name="BaseURL" value="">  
<param name="BufferingTime" value="5">
<!--缓冲时间-->  
<param name="CaptioningID" value="">  
<param name="ClickToPlay" value="-1">  
<param name="CursorType" value="0">  
<param name="CurrentPosition" value="-1">
<!--当前播放进度 -1 表示不变,0表示开头 单位是秒,比如10表示从第10秒处开始播放,值必须是-1.0或大于等于0-->  
<param name="CurrentMarker" value="0">  
<param name="DefaultFrame" value="">  
<param name="DisplayBackColor" value="0">  
<param name="DisplayForeColor" value="16777215">  
<param name="DisplayMode" value="0">  
<param name="DisplaySize" value="4">
<!--视频1-50%, 0-100%, 2-200%,3-全屏 其它的值作0处理,小数则采用四舍五入然后按前的处理-->  
<param name="Enabled" value="-1">  
<param name="EnableContextMenu" value="-1">
<!--是否用右键弹出菜单控制-->  
<param name="EnablePositionControls" value="-1">  
<param name="EnableFullScreenControls" value="0">  
<param name="EnableTracker" value="-1"> 
<!--是否允许拉动播放进度条到任意地方播放--> 
<param name="Filename" value="<%=flvurl%>"> 
<!--播放的文件地址--> 
<param name="InvokeURLs" value="-1">  
<param name="Language" value="-1">  
<param name="Mute" value="0">
<!--是否静音-->  
<param name="PlayCount" value="<%=cs19%>">
<!--重复播放次数,0为始终重复-->  
<param name="PreviewMode" value="0">  
<param name="Rate" value="1">
<!--播放速率控制,1为正常,允许小数-->  
<param name="SAMILang" value="">
<!--SAMI样式-->   
<param name="SAMIStyle" value="">
<!--SAMI语言--> 
<param name="SAMIFileName" value="">
<!--字幕ID-->  
<param name="SelectionStart" value="-1">  
<param name="SelectionEnd" value="-1">  
<param name="SendOpenStateChangeEvents" value="-1">  
<param name="SendWarningEvents" value="-1">  
<param name="SendErrorEvents" value="-1">  
<param name="SendKeyboardEvents" value="0">  
<param name="SendMouseClickEvents" value="0">  
<param name="SendMouseMoveEvents" value="0">  
<param name="SendPlayStateChangeEvents" value="-1">  
<param name="ShowCaptioning" value="0">
<!--是否显示字幕,为一块黑色,下面会有一大块黑色,一般不显示-->  
<param name="ShowControls" value="-1">
<!--是否显示控制,比如播放,停止,暂停-->  
<param name="ShowAudioControls" value="-1">
<!--是否显示音量控制-->  
<param name="ShowDisplay" value="0"> 
<!--显示节目信息,比如版权等--> 
<param name="ShowGotoBar" value="0">
<!--是否启用上下文菜单-->  
<param name="ShowPositionControls" value="0">
<!--是否显示往前往后及列表,如果显示一般也都是灰色不可控制-->  
<param name="ShowStatusBar" value="-1">
<!--当前播放信息,显示是否正在播放,及总播放时间和当前播放到的时间-->  
<param name="ShowTracker" value="1">
<!--是否显示当前播放跟踪条,即当前的播放进度条-->  
<param name="TransparentAtStart" value="0">  
<param name="VideoBorderWidth" value="0">
<!--显示部的宽部,如果小于视频宽,则最小为视频宽,或者加大到指定值,并自动加大高度.此改变只改变四周的黑框大小,不改变视频大小-->  
<param name="VideoBorderColor" value="0">  
<!--显示黑色框的颜色, 为RGB值,比如ffff00为黄色-->
<param name="VideoBorder3D" value="0">  
<param name="Volume" value="-600">
<!--音量大小,负值表示是当前音量的减值,值自动会取绝对值,最大为0,最小为-9640--> 
<param name="WindowlessVideo" value="<%=cs20%>">
<!--如果是0可以允许全屏,否则只能在窗口中查看-->  
    <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" name="MediaPlayer" src="<%=flvurl%>" mce_src="<%=flvurl%>" width="640" height="450"  showcontrols="1" showpositioncontrols="0" showaudiocontrols="1" showtracker="0" showdisplay="0" showstatusbar="1" showgotobar="0" showcaptioning="0" autostart="0" autorewind="0" animationatstart="0" transparentatstart="0" allowchangedisplaysize="0" allowscan="0" enablecontextmenu="0" clicktoplay="0"></object> 

<%End if%>
                </span></td>
              <td width="5"  background="../images/title_07.gif"><img src="../images/blank.gif" alt="0" width="1"  height="1" /></td>
            </tr>
          </tbody>
        </table>
        <table width="645" border="0" align="center" cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <td width="20"><img src="../images/title_04.gif" alt="0" width="20" height="10" /></td>
              <td background="../images/title_05.gif"  height="10"><img src="../images/blank.gif" alt="0" width="1" height="1" /></td>
              <td width="11"><img src="../images/title_06.gif" alt="0" width="11" height="10" /></td>
            </tr>
          </tbody>
        </table><span style="text-align:left;FONT-SIZE: 12px;font-family: Verdana;padding:1px;">Note：If part of the video can't play please check Windows Media Player或Adobe Flash Player Version is too low！</span>
    <fieldset style="width:640;border:1px solid #FF9900;text-align:left;COLOR:#07AF00;FONT-SIZE: 13px;font-family: Verdana;padding:2px;">
      <legend ><font color="#ff00ff">Video introduction</font></legend>
      <table width="100%" height="75" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="640" style="text-align:left;FONT-SIZE: 13px;font-family: Verdana;padding:2px;"><%=content%></td>
        </tr>
      </table>
        </fieldset> </TD>
    </TR>
  </TBODY>
</TABLE>
</BODY>
