<%Session.CodePage=936%>
<!--#include file="inc/functionn.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/Conn_User.asp"-->
<%
const ChannelID=1
%>
<!--#include file="inc/ubbcode.asp"-->

<%

mtv_id=request("id")

set rs=server.createobject("adodb.recordset")
sql="select * from mtv_photo where id=" & mtv_id
rs.open sql,conn,1,3
if rs.bof and rs.eof then
	response.redirect "error/domain_error.htm"
else
	title=rs("title")
	username=rs("username")
	content=rs("content")
	addtime=rs("addtime")
	types=rs("types")
	rs("click_num")=rs("click_num")+1
	rs.update
	click_num=rs("click_num")
end if
rs.close
set rs=nothing
%>

<!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"  xml:lang="zh-CN" lang="zh-CN">

	<script type=text/javascript>var xijuan={channel:"video"}</script>
	<script type=text/javascript src="Inc/main.js"></script>
<!--#include file="top2.asp"-->


  <script language="javascript">
    function I(o,t)
    {
        if(t=="v")
        { 
           o.src = "../images/novideopic.jpg";
        }
        else if(t =="u")
        {       
           o.src = "../images/noface.jpg";
        }

    }
    function docsurl_getbyid(id) {
	    itm = null;
	    if (document.getElementById) {
		    itm = document.getElementById(id);
	    } else if (document.all)	{
		    itm = document.all[id];
	    } else if (document.layers) {
		    itm = document.layers[id];
	    }
	    return itm;
    }
    function copydocurl(obj){	
	    obj.select();
                    js=obj.createTextRange();
                    js.execCommand("Copy")
	    alert('该地址已经复制到剪贴板');
    }


    function submitCtrl() 	
    { 		
        if ( (event.ctrlKey) && (event.keyCode==13) )   
        { 		  		
            var comment = document.getElementById("txtComment");

            if(comment.value == "")
            {
                alert("评论内容不能为空!");
                return;
            }
            document.getElementById("SubButton").click(); 	        	
        } 	
    } 	
    
    function giveMessage()
    {

        if ( (event.ctrlKey) && (event.keyCode==13) )   
        { 		  		
             var comment = document.getElementById("txtGuestBook");
             
            if(comment.value == "")
            {
                alert("留言内容不能为空!"); 
                return;
            }
            document.getElementById("giveGuestMessage").click(); 	
        	
        } 	
    }
</script>

<script language="JavaScript" type="text/javascript">
	function chkfrm(){
		
		if (document.Myform.Keywords.value==""){
			alert('请输入要检索的关键字！');
			document.Myform.Keywords.focus();
			return false;
		}
		
		
			var Obj = document.getElementsByName("mysort");
			for(i=0;i<Obj.length;i++){
				if(Obj[i].selected){
					if (Obj[i].value=="flv"){
						document.Myform.action="flv_search.asp";
					}else if (Obj[i].value=="zone"){
						document.Myform.action="user_search.asp";
					}else if (Obj[i].value=="blog"){
						document.Myform.action="blog_search.asp";
					}else if (Obj[i].value=="photo"){
						document.Myform.action="photo_search.asp";
					}else{
						document.Myform.action="user_search.asp";
					}
				}
			}

		
		return true;
	}
</script>
<form id="Myform" name="Myform" onSubmit="return chkfrm();" action="" method=post>
    <div id=SearchBlock>
      <div id=search>
<input name="Keywords" type="text" id="Keywords" class="input2"size="40" value="美女" onMouseOver="this.focus()" onFocus="this.select()" onClick="if (this.value=='美女') this.value=''"  />


             <select name="mysort" id="mysort" size="1" class="input2"> 
             <option selected value="flv" name="mysort" id="mysort">用户视屏</option>
             <option value="zone" name="mysort" id="mysort">注册用户</option>
             <option value="photo" name="mysort" id="mysort">用户相册</option>
             <option value="blog" name="mysort" id="mysort">用户日志</option>
             </select> &nbsp;
      </div>
     <input class=input_btn value="" type=submit src=Inc/global/images/btn_search.gif name=submit style="cursor:hand;" />
    </div>
    <div class=keywords>
      &nbsp;&nbsp;消息:
<%
set rs=server.createobject("adodb.recordset")
rs.open "select top 1 * from [516show] where hotType=1 order by ID desc",conn,1,1 
%>
<%
do while not rs.eof
%>
<B><a href="<%=rs("url")%>" target="_blank"><font color="<%=rs("titlecolor")%>"><%=left(rs("title"),40)%><%if len(rs("title"))>40 then response.write ""%></font></B></a>
 <%rs.movenext
loop%>
<%rs.close
set rs=nothing%>
    </div>
  </form>
</div><div id="mainbody">
<!-- Main start -->

<%
id=request("id")
if id="" then 
FoundErr=True
	ErrMsg=ErrMsg & "<br><li>请指定视屏ID</li><br>"
	call WriteErrMsg()
else 
end if
set rs=server.createobject("adodb.recordset")
rs.open "select * from mtv_photo where id="&mtv_id&" order by id desc",conn,1,3
rs("click_num")=rs("click_num")+1
rs.update%>
<%if id<>"" then%>

<head>
<title>飞来国际花式调酒 - <%=title%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="img/css_index.css">


<DIV class=main style="MARGIN-TOP: 3px; WIDTH: 950px">
<DIV style="FLOAT: left; WIDTH: 600px">

<DIV class=box1>
<DIV class=tt style="POSITION: relative">
<DIV style="LEFT: 10px; POSITION: absolute; TOP: 5px"><IMG style="FLOAT: left" 
src="img/ye.gif">
<DIV 
style="PADDING-LEFT: 2px; FONT-WEIGHT: bold; FONT-SIZE: 14px; FLOAT: left; COLOR: #aa3133; PADDING-TOP: 5px">&nbsp;&nbsp;<%=title%></DIV></DIV></DIV>
<DIV class=con>

<DIV style="MARGIN: auto; WIDTH: 535px; HEIGHT: 460px">

<div></div>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="535" height="460">
          <param name="movie" value="mv/photo_player.swf" />
          <param name="quality" value="high" />
          <param name="FlashVars" value="id=<%=mtv_id%>" />
          <embed src="mv/photo_player.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="535" height="460"></embed>
        </object><br><br>
<IFRAME MARGINHEIGHT=0 MARGINWIDTH=0 FRAMEBORDER=0 WIDTH="550" height="120" SCROLLING=NO 
	SRC="ding.asp?wid=<%=rs("id")%>&types=2" name="textlink" id="textlink" allowTransparency="true"></iframe>
</DIV>
<DIV class=clear style="BACKGROUND: #fafeff; HEIGHT: 133px"></DIV></DIV>
<DIV class=bot></DIV></DIV>
<DIV class=box1 style="MARGIN-TOP: 10px">
<DIV class=tt style="POSITION: relative">
<DIV style="LEFT: 10px; POSITION: absolute; TOP: 19px">
<input id="docurlb" name="docsurl" value="http://www.wuhu263.cn/mtv_play.asp?=<%=rs("ID")%>" type="hidden" class="border_gray" size="45"  onclick="copydocurl(docsurl_getbyid('docurlb'))" /><input type="button"  class="btnGreen"  value="复制：发给QQ和MSN好友"  onclick="copydocurl(docsurl_getbyid('docurlb'))"  />


<input type="hidden" onclick="Util.copyCode('ubbUrl');" class="gray_nll" value="[swf]http://www.wuhu263.cn/mv/photo_player.swf?id=<%=mtv_id%>[/swf]" id="docurlbb" name="docsurl"/> <input type="button"  class="btnGreen"  value="复制：发到论坛 (UBB)"  onclick="copydocurl(docsurl_getbyid('docurlbb'))"  />



<input type="hidden" onclick="Util.copyCode('docsurl2');" class="docurlbb2" value='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="535" height="460"><param name="movie" value="http://www.wuhu263.cn/mv/photo_player.swf" /><param name="quality" value="high" /><param name="FlashVars" value="id=<%=mtv_id%>" /><embed src="http://www.wuhu263.cn/mv/photo_player.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="535" height="460"></embed></object>' id="docurlbb2" name="docsurl2"/>
<input type="button"  class="btnGreen"  value="复制：发到网页 (HTML)"  onclick="copydocurl(docsurl_getbyid('docurlbb2'))"  />


<DIV 
style="PADDING-LEFT: 2px; FONT-SIZE: 14px; FLOAT: left; PADDING-TOP: 5px">

</DIV></DIV></DIV>
<DIV class=con id=copycode style="OVERFLOW: hidden">


<DIV class=clear style="BACKGROUND: #fafeff; HEIGHT: 0px"></DIV></DIV>
<DIV class=bot></DIV></DIV>





<!--广告位 536x60 Star-->
				
<DIV class=box1 style="MARGIN-TOP: 10px">

<DIV class=tt style="POSITION: relative">
<DIV style="LEFT: 10px; POSITION: absolute; TOP: 5px"><IMG style="FLOAT: left" 
src="img/ye.gif">
<DIV 
style="PADDING-LEFT: 2px; FONT-SIZE: 14px; FLOAT: left; PADDING-TOP: 5px">关于&nbsp;<FONT color=#f70938 size=2><STRONG><%=title%></STRONG></FONT>&nbsp;的评论</DIV></DIV></DIV>
<DIV class=con><IFRAME id=ifrid src="mtv_comment.asp?ID=<%=rs("id")%>" 
frameBorder=0></IFRAME>



			







<DIV class=clear style="BACKGROUND: #fafeff; HEIGHT: 0px"></DIV></DIV>
<DIV class=bot></DIV></DIV></DIV>
<DIV style="FLOAT: right; WIDTH: 327px; HEIGHT: auto">
<DIV class=box1 style="WIDTH: 327px">
<DIV class=tt style="WIDTH: 327px; POSITION: relative">
<DIV style="LEFT: 10px; POSITION: absolute; TOP: 5px"><IMG style="FLOAT: left" 
src="img/ye.gif"> 
<DIV 
style="PADDING-LEFT: 2px; FONT-SIZE: 12px; FLOAT: left; PADDING-TOP: 5px">视频信息</DIV>
<DIV class=t_class style="POSITION: relative; TOP: -5px"></DIV></DIV></DIV>
<DIV class="con vinfo" style="WIDTH: 325px">


<%
set rsf=server.createobject("adodb.recordset")
rsf.open "select * from [user] where username='"&rs("username")&"' order by userid desc",conn_user,1,1 
%>

<IFRAME id=content 
                  style="WIDTH: 100%" name=content align=left 
                  src="userneun.asp?userid=<%=rsf("userid")%>" frameBorder=0 scrolling=yes 
                  height="85"></IFRAME> 








<BR><BR><BR><BR><BR><DIV>作品名称：<%=left (rs("title"),18)%></DIV>
<DIV>上传日期：<%=rs("addtime")%></DIV>

<DIV>播放次数：<%=rs("click_num")%> </DIV>
<DIV>视频简介：<%=left (rs("content"),18)%></DIV></DIV>
<DIV class=bot>
<DIV class=r_class></DIV></DIV></DIV>
<DIV class=box1 style="MARGIN-TOP: 10px; WIDTH: 327px">
<DIV class=tt style="WIDTH: 327px; POSITION: relative">
<DIV style="LEFT: 10px; POSITION: absolute; TOP: 5px"><IMG style="FLOAT: left" 
src="img/ye.gif"> 
<DIV 
style="PADDING-LEFT: 2px; FONT-SIZE: 12px; FLOAT: left; PADDING-TOP: 5px">本类推荐视频相册</DIV><%
myPagesize=4
set rs=server.createobject("adodb.recordset")
rs.open "select * from mtv_Photo order by id desc",conn,1,1

%>
<DIV class=t_class style="POSITION: relative; TOP: -5px"></DIV></DIV></DIV>
<DIV class=con 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; WIDTH: 325px; PADDING-TOP: 0px">

                                        <%line=myPagesize
dim i
i=1
do while not rs.eof and line>0
%>

<div class="s_class"><a href="mtv_play.asp?id=<%=rs("id")%>" class="vdo" title="MTV相册:<%=rs("title")%>"><img src="<%=rs("s_images")%>" width="120" height="90" border="0" /></A> 
<P><a href="mtv_play.asp?id=<%=rs("id")%>" class="vdo" title="MTV相册:<%=rs("title")%>"><%=rs("title")%></A></P>
<P>视屏作者：&nbsp;<%
set rsf=server.createobject("adodb.recordset")
rsf.open "select * from [user] where username='"&rs("username")&"' order by userid desc",conn_user,1,1 
%> <a href=user.asp?userid=<%=rsf("userid")%> target="_blank"><%=rs("username")%></a></P>
<P>上传时间：<%=FormatDateTime(rs("addtime"),1)%></P>
<P>播放次数：&nbsp;<font color="#C00000"><%=rs("click_num")%></font></P>
<P>作品简介：&nbsp;<%=left (rs("content"),7)%></P>
<DIV style="CLEAR: both">
</DIV></DIV>
<%if i mod 5=0 then%>
                                     
                                      <%else%>
                                      <%end if%>
                                      <%rs.movenext
   line=line-1
   i=i+1
loop
  %></DIV>
<DIV class=bot>
<DIV class=r_class></DIV></DIV></DIV>
<DIV class=box1 style="MARGIN-TOP: 10px">
<DIV class=tt style="WIDTH: 327px; POSITION: relative">
<DIV style="LEFT: 10px; POSITION: absolute; TOP: 5px"><IMG style="FLOAT: left" 
src="img/ye.gif"> 
<DIV 
style="PADDING-LEFT: 2px; FONT-SIZE: 12px; FLOAT: left; PADDING-TOP: 5px">本类热门视频相册</DIV><%
set rs=server.createobject("adodb.recordset")
rs.open "select top 4 * from [flv]  order by DayHits desc",conn,1,1 
%>
<DIV class=t_class style="POSITION: relative; TOP: -5px"></DIV></DIV></DIV>
<DIV class=con 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; WIDTH: 325px; PADDING-TOP: 0px">				  <%

						i=1
do while not rs.eof
%>
<div class="s_class"><a href="video_play.asp?photoid=<%=rs("photoID")%>" class="vdo" title="<%=left(rs("photoname"),5)%>"><img src="<%=rs("PhotoUrl_Thumb")%>" width="120" height="90" border="0" /></A> 
<P><a href="video_play.asp?photoid=<%=rs("photoID")%>" class="vdo" title="<%=left(rs("photoname"),15)%>"><%=left(rs("photoname"),10)%></A></P>
<P>视屏作者：&nbsp;<%
set rsf=server.createobject("adodb.recordset")
rsf.open "select * from [user] where username='"&rs("editor")&"' order by userid desc",conn_user,1,1 
%> <a href=user.asp?userid=<%=rsf("userid")%> target="_blank"><%=rs("editor")%></a></P>
<P>上传时间：&nbsp;<%=year(rs("UpdateTime"))%>-<%=month(rs("UpdateTime"))%>-<%=day(rs("UpdateTime"))%></P>
<P>播放次数：&nbsp;<font color="#C00000"><%=rs("hits")%></font></P>
<P>作品简介：&nbsp;<%=left(rs("AuthorHomepage"),8)%></P>

<DIV style="CLEAR: both"></DIV></DIV>				<%
						i=i+1
						if i>10 then exit do
						rs.movenext
						loop
						rs.close
						set rs=nothing%></DIV>
<DIV class=bot>
<DIV class=r_class></DIV></DIV></DIV></DIV></DIV>
<DIV ></DIV>
<DIV></DIV>

<DIV class=clear></DIV>





</DIV>



</TD></TR></TBODY></TABLE>
<DIV id=foot><BR><!--#include file="end.asp"--></DIV></DIV>



<%end if%>

<%

set rs=nothing
%>


</BODY></HTML>	