<!--#include file="inc/ubbcode.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/Conn_User.asp"-->
<!--#include file="inc/function.asp"-->
<div id="user_pic" style="width:570px;height:102px;background:url( ) center 3 no-repeat;">
<%
const ChannelID=1
%>

<%
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
%>


<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Untitled Document</title>
<link href="css\Mpage_mainn.css" rel="stylesheet" type="text/css">
</head>
<script language="JavaScript">
<!-- Begin
function textCounter(field, countfield, maxlimit) {
if (field.value.length > maxlimit) 
field.value = field.value.substring(0,maxlimit);
else 
countfield.value = maxlimit - field.value.length;
}
// End -->
</script>
<body>
<body>

<SCRIPT LANGUAGE="JavaScript">

          <!--

          function stopError() {
            return true;
          }

          window.onerror = stopError;

          // -->
          

</SCRIPT>



<%
photoid=request("photoid")
if photoid="" then 
FoundErr=True
	ErrMsg=ErrMsg & "请指定视屏ID"
	call WriteErrMsg()
else 
end if
set rs=server.createobject("adodb.recordset")
rs.open "select * from flv where photoid="&photoid&" order by photoid desc",conn,1,3
rs("hits")=rs("hits")+1
rs("DayHits")=rs("DayHits")+1
rs("WeekHits")=rs("WeekHits")+1
rs("MonthHits")=rs("MonthHits")+1
rs.update%>
<%if photoid<>"" then%>




<div id="r_left">

	<div id="r_top_1"><span><%=rs("PhotoName")%>&nbsp;</span> <font color="#ff6600">播放:</B><%=rs("hits")%></B></font> 
</div>

	<div id="r_roomy2"><div  id=MiniRoom><div >

<fieldset>  


<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"),"","")%>");
		so.addVariable("server_url","");
        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>


<IFRAME MARGINHEIGHT=0 MARGINWIDTH=0 FRAMEBORDER=0 WIDTH="550" height="116" SCROLLING=NO 
	SRC="ding.asp?wid=<%=rs("photoid")%>&types=1" name="textlink" id="textlink" allowTransparency="true"></iframe>

</div>
</div></div>







</div>


	<div >


<link href="../css/Mpage_video.css" rel="stylesheet" type="text/css">

	



<SCRIPT language=javascript>
function unselectall()
{
    if(document.myform.chkAll.checked){
	document.myform.chkAll.checked = document.myform.chkAll.checked&0;
    } 	
}

function CheckAll()
  {
   if (document.form1.Content.value=="")
  {
    alert("请输入评论内容！");
	document.form1.Content.focus();
	return false;
  }
  return true; 
  }
function ConfirmDel()
{
   if(confirm("确定要删除吗？一旦删除将不能恢复！"))
     return true;
   else
     return false;
	 
}

</SCRIPT>
&nbsp;<fieldset><legend><B>网友评论</B></legend>  
<table width="500" border="0" cellspacing="0" cellpadding="0">
<TABLE cellSpacing=1 cellPadding=0 width=500 align=center bgColor=#e6d5ea border=0>
<TBODY>
<TR>
<TD width=544 bgColor=#ffffff><IMG src="page_style/BG9.JPG"></TD></TR>
<TR>

  <%
photoid=rs("photoid")
set rsc=server.createobject("adodb.recordset")
sql="select * from [flvcomment] where photoid="&photoid
rsc.open sql,Conn,1,1

%>
<%do while not rsc.eof %>
  <%
usernames=rsc("UserName")
set rsuser=server.createobject("adodb.recordset")
sql="select * from [user] where username='"&usernames&"'"
rsuser.open sql,Conn_user,1,1

%> 
<DIV id=pageloopb style="PADDING-LEFT: 10px"></DIV></TD></TR></TBODY></TABLE>
<DIV id=guestbooks align=center>
<TABLE style="BORDER-RIGHT: #f4d4de 1px dotted; BORDER-TOP: #f4d4de 1px dotted; BORDER-LEFT: #f4d4de 1px dotted; BORDER-BOTTOM: #f4d4de 1px dotted" cellSpacing=0 cellPadding=0 width=546 border=0>
<TBODY>
<TR bgColor=#fdf0f4>
<TD align=left width=6 height=21></TD>
<TD width=327>芜湖播客家园用户： <a href="user.asp?userid=<%=rsuser("userid")%>" target="_blank"> <SPAN style="COLOR: #f0216f">『<%=rsc("username")%>』</SPAN></A> </TD>
<TD width=169><%=rsc("writetime")%></TD>
<TD width=146>发表评论说:</TD>
<TD align=right width=6></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=3 width=554 border=0>
<TBODY>
<TR>
<TD align=middle width=60><IMG alt="<%=rsc("writetime")%>" onerror=QX_NoImage(this) src="page_style/2.gif"></TD>
<TD style="COLOR: #333333"><%=rsc("content")%></TD></TR></TBODY></TABLE></DIV>
  <%rsc.movenext
  loop
  %>
        



<DIV id=pageloopb style="PADDING-LEFT: 10px"></DIV></TD></TR></TBODY></TABLE>
<DIV id=guestbooks align=center>





  <table width="545" border="0" cellspacing="0" cellpadding="0">

  <form name="form1" method="post" action="flvCommentshow.asp" onSubmit="return CheckAll();">
    <tr>
      <td width="1" height="1" bgcolor="#FFFFFF"></td>
      <td height="1" background="user/li_x_02.gif"></td>
      <td width="1" height="1" bgcolor="#FFFFFF"></td>
    </tr>
    <tr>
      <td bgcolor="#BCBCBC"></td>
      <td height="20" align="left" bgcolor="#FFFFFF"><table height="20"  border="0" align="left" cellpadding="0" cellspacing="0">
          <tr>
            <td width="15">&nbsp;</td>
            <td width="35" align="left">评论: 
		 </td>
            <td><%if Request.Cookies("asp163")("username") <>"" then%>

<textarea maxLength="30" name="Content" cols="50" rows="3" class="inputnoa" id="comment"></textarea>&nbsp; &nbsp;&nbsp;

	
			<%else%>
<div class="commentinput floatleft"><input type="text" disabled="disabled" name="comment" style="width: 304px;" class="normaltext" maxlength="255" value="请您登录后发表评论" />
			<%end if%>
		<input name="userid" type="hidden" size="50" value="<%=request("userid")%>">			<input name="classid" type="hidden" size="50" value="<%=reques("classid")%>">			<input name="photoid" type="hidden" size="50" value="<%=rs("photoid")%>"> </td><td width="58" align="center">
              <%if Request.Cookies("asp163")("username") <>"" then%>
              <input name="imageField" type="image" src="imgs/HF.gif" width="61" height="31" border="0"></td><td width="15"></td>
          <%else%><table width="100%" height="3"  border="0" cellpadding="0" cellspacing="0">




                <tr>
                  <td></td>
                </tr>
              </table><img src="user/enter.gif"><%end if%>
		  </tr>
      </table></td>
      <td bgcolor="#BCBCBC"></td>
    </tr><tr>
      <td width="1" height="1"></td>
      <td height="1" bgcolor="#BCBCBC"><img src="" width="10" height="1" border="0"></td>
      <td width="1" height="1"></td>
    </tr>  </form>
  </table></fieldset>
<BR>
</div>
</body>
</html>


<%end if%>
<%
end if
rs_flv.close
set rs_flv=nothing
conn.close
set conn=nothing
%>