<?
include "config.inc.php";
include "class/member.class.php";
include "class/article.class.php";
include "include/movie.func.php";
$member=new member();
$user_info=$member->member_auth();
$fids=$_GET[mids];
//$fids = is_array($fid)?implode(",",$fid):$fid;
if($point>0  && $user_info[user_level]=="Guest"){
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE><?=_LANG_1362?></TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="{$root}/template/default/images/no2.css" type=text/css rel=stylesheet>
<META http-equiv=Content-Type content="text/html; charset=<?=_CHAR?>"><LINK 
href="images/style.css" type=text/css rel=stylesheet>
</head>
<body>
<form action="<?=PLUS_URL?>/login.php" method="post">
  <table border="0" cellpadding="0" cellspacing="0" height="90" width="100%">
    <tbody>
      <tr>
        <td width="33%">&nbsp;</td>
        <td width="67%" height="5"><div align="left"></div></td>
      </tr>
      <tr>
        <td rowspan="2" align="center" valign="middle"><div align="right"><img src="images/login-welcome.gif" height=60 > &nbsp;</div></td>
        <td align="center" height="20" valign="middle"><div align="left"><font color="#100063"><?=_LANG_0921?></font> <font color="#333333">
            <input name="UserName" maxlength="16" id="username" class="txtinput" style="width: 190px;" type="text">
        </font></div></td>
      </tr>
      <tr>
        <td align="center" height="20" valign="middle"><div align="left"><font color="#100063"><?=_LANG_0922?></font><font color="#6c3a07">
            <input name="PassWord" maxlength="16" id="password" class="txtinput" style="width: 190px;" type="password">
        </font></div></td>
      </tr>
      <tr>
        <td align="center" valign="middle">&nbsp;</td>
        <td align="center" height="45" valign="middle">
          <div align="left">
            <input type='submit' name="post" value="<?=_LANG_0923?>">&nbsp;&nbsp;<INPUT onclick="document.location.href = 'index.php?module=member&action=getPass';" type=button value="<?=_LANG_0924?>" name="<?=_LANG_0924?>" class="bts">&nbsp;&nbsp;<INPUT onclick="document.location.href = 'index.php?module=member&action=register';" type=button value="<?=_LANG_0925?>" name="<?=_LANG_0925?>" class="bts">
            </div></td>
      </tr>
    </tbody>
  </table>
</form>
<?
exit;
}
$url  =  $row[url];
$ext = strtolower(str_replace(".", "", strrchr($url, ".")));
//$code = cmsez_crypt($url);
$id = $row[id];
$strTimes=explode(" ",microtime());
$strTime=$strTimes[1];
include "class/crypt.class.php";
$str =$strTime."@@@".$fids;
$hash_str = "88888";//这个需要和music.php中的一致
$crypt = new pcrypt(MODE_CBC, "BLOWFISH", $hash_str); 
$check_code =base64_encode($crypt->encrypt($str,$hash_str));
setcookie("check_code",$check_code);
$code=md5($check_code);
$url = "music.php?code=".$code;
//trace($url);
?>
<html>
<head>
<title><?=_LANG_1362?></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<body>
      <script language="javascript">
<!--//
document.write ("<OBJECT id=Player2 name=Player2 classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 border=\"0\" width=100% height=70 type=application/x-oleobject standby=\"Loading Windows Media Player components...\">\n")
document.write ("<param name=\"AudioStream\" value=\"-1\">\n")
document.write ("<param name=\"AutoSize\" value=\"0\">\n")
document.write ("<param name=\"AutoStart\" value=\"-1\">\n")
document.write ("<param name=\"AnimationAtStart\" value=\"-1\">\n")
document.write ("<param name=\"AllowScan\" value=\"-1\">\n")
document.write ("<param name=\"AllowChangeDisplaySize\" value=\"-1\">\n")
document.write ("<param name=\"AutoRewind\" value=\"0\">\n")
document.write ("<param name=\"Balance\" value=\"10\">\n")
document.write ("<param name=\"BaseURL\" value>\n")
document.write ("<param name=\"BufferingTime\" value=\"5\">\n")
document.write ("<param name=\"CaptioningID\" value>\n")
document.write ("<param name=\"ClickToPlay\" value=\"-1\">\n")
document.write ("<param name=\"CursorType\" value=\"0\">\n")
document.write ("<param name=\"CurrentPosition\" value=\"-1\">\n")
document.write ("<param name=\"CurrentMarker\" value=\"0\">\n")
document.write ("<param name=\"DefaultFrame\" value>\n")
document.write ("<param name=\"DisplayBackColor\" value=\"0\">\n")
document.write ("<param name=\"DisplayForeColor\" value=\"16777215\">\n")
document.write ("<param name=\"DisplayMode\" value=\"0\">\n")
document.write ("<param name=\"DisplaySize\" value=\"4\">\n")
document.write ("<param name=\"Enabled\" value=\"-1\">\n")
document.write ("<param name=\"EnableContextMenu\" value=\"0\">\n")
document.write ("<param name=\"EnablePositionControls\" value=\"-1\">\n")
document.write ("<param name=\"EnableFullScreenControls\" value=\"0\">\n")
document.write ("<param name=\"EnableTracker\" value=\"-1\">\n")
document.write ("<param name=\"Filename\" value=\"<?=$url?>\">\n")
document.write ("<param name=\"InvokeURLs\" value=\"-1\">\n")
document.write ("<param name=\"Language\" value=\"-1\">\n")
document.write ("<param name=\"Mute\" value=\"0\">\n")
document.write ("<param name=\"PlayCount\" value=\"5\">\n")
document.write ("<param name=\"PreviewMode\" value=\"0\">\n")
document.write ("<param name=\"Rate\" value=\"1\">\n")
document.write ("<param name=\"SAMILang\" value>\n")
document.write ("<param name=\"SAMIStyle\" value>\n")
document.write ("<param name=\"SAMIFileName\" value>\n")
document.write ("<param name=\"SelectionStart\" value=\"0\">\n")
document.write ("<param name=\"SelectionEnd\" value=\"0\">\n")
document.write ("<param name=\"SendOpenStateChangeEvents\" value=\"-1\">\n")
document.write ("<param name=\"SendWarningEvents\" value=\"-1\">\n")
document.write ("<param name=\"SendErrorEvents\" value=\"-1\">\n")
document.write ("<param name=\"SendKeyboardEvents\" value=\"0\">\n")
document.write ("<param name=\"SendMouseClickEvents\" value=\"0\">\n")
document.write ("<param name=\"SendMouseMoveEvents\" value=\"0\">\n")
document.write ("<param name=\"SendPlayStateChangeEvents\" value=\"-1\">\n")
document.write ("<param name=\"ShowCaptioning\" value=\"0\">\n")
document.write ("<param name=\"ShowControls\" value=\"-1\">\n")
document.write ("<param name=\"ShowAudioControls\" value=\"-1\">\n")
document.write ("<param name=\"ShowDisplay\" value=\"0\">\n")
document.write ("<param name=\"ShowGotoBar\" value=\"0\">\n")
document.write ("<param name=\"ShowPositionControls\" value=\"-1\">\n")
document.write ("<param name=\"ShowStatusBar\" value=\"-1\">\n")
document.write ("<param name=\"ShowTracker\" value=\"-1\">\n")
document.write ("<param name=\"TransparentAtStart\" value=\"-1\">\n")
document.write ("<param name=\"VideoBorderWidth\" value=\"0\">\n")
document.write ("<param name=\"VideoBorderColor\" value=\"0\">\n")
document.write ("<param name=\"VideoBorder3D\" value=\"0\">\n")
document.write ("<param name=\"Volume\" value=\"0\">\n")
document.write ("<param name=\"WindowlessVideo\" value=\"0\">\n")
document.write ("<embed type=\"application/x-mplayer2\" pluginspage=\"http://www.microsoft.com/windows/mediaplayer/download/default.asp\" Name=\"Player\" width=\"100%\" height=\"70\" border=\"0\" SHOWSTATUSBAR=\"-1\" SHOWCONTROLS=\"0\" SHOWGOTOBAR=\"0\" SHOWDISPLAY=\"-1\" INVOKEURLS=\"-1\" AUTOSTART=\"1\" CLICKTOPLAY=\"0\" DisplayForeColor=\"12945678\">\n")
document.write ("</OBJECT>\n")
//-->
</script></body>
</html>