西部爱心公益网

 

【活动视频】西部爱心公益社甘肃站大涝子小学电教室援建 [复制链接]

林子 实名认证  (管理员) 发表于 2016-2-25 14:55:59 |显示全部楼层
  1. <?PHP
  2. include './admin/connect.php';
  3. @extract($db->get_one("select * from movieinfo where id='".$_GET['id']."'"));
  4. $db->query("update movieinfo set playnum=playnum+1 where id='".$_GET['id']."' ");
  5. //控制下载
  6. $url2="admin/";//存放软件的路径
  7. if($localaddress)
  8. {
  9. $newname=$localaddress;
  10. $movieurl=$url2.$newname;
  11. }
  12. ?>
  13. <html>
  14. <head>
  15. <title><?=$title?>-在线播放 jb51.net</title>
  16. </head>

  17. <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
  18. <?php
  19. //MediaPlayer播放
  20. if (eregi(".mid[        DISCUZ_CODE_0        ]quot;,$movieurl) || eregi(".avi[        DISCUZ_CODE_0        ]quot;,$movieurl) || eregi(".asf[        DISCUZ_CODE_0        ]quot;,$movieurl) ||eregi(".asx[        DISCUZ_CODE_0        ]quot;,$movieurl) || eregi(".wmv[        DISCUZ_CODE_0        ]quot;,$movieurl) || eregi(".wma[        DISCUZ_CODE_0        ]quot;,$movieurl))
  21. {
  22. ?>
  23. <object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject" width=350 height=280 align="middle" standby="Loading Microsoft?Windows?Media Player components..." id="MediaPlayer1">
  24. <param name="transparentAtStart" value="True">
  25. <param name="transparentAtStop" value="True">
  26. <param name="AnimationAtStart" value="Ture">
  27. <param name="AutoStart" value="True">
  28. <param name="AutoRewind" value="true">
  29. <param name="DisplaySize" value="0">
  30. <param name="AutoSize" value="false">
  31. <param name="ShowDisplay" value="false">
  32. <param name="ShowStatusBar" value="ture">
  33. <param name="ShowControls" value="ture">
  34. <param name="FileName" value="<?=$movieurl?>">
  35. <param name="Volume" value="0">
  36. <embed src="" width="350" height=280 autostart="True" align="middle" transparentatstart="True" transparentatstop="True" animationatstart="Ture" autorewind="true" displaysize="0" autosize="false" showdisplay="False" showstatusbar="-1" showcontrols="ture" filename="<?=$movieurl?>" volume="0">
  37. </embed>
  38. </object>
  39. <?php
  40. }elseif(eregi(".ra[        DISCUZ_CODE_0        ]quot;,$movieurl)|| eregi(".mp3[        DISCUZ_CODE_0        ]quot;,$movieurl) || eregi(".rm[        DISCUZ_CODE_0        ]quot;,$movieurl) || eregi(".ram[        DISCUZ_CODE_0        ]quot;,$movieurl) ){
  41. //RealPlayer播放的
  42. ?>
  43. <object ID="video" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT="280" WIDTH="350" align="center">
  44. <param name="_ExtentX" value="9260">
  45. <param name="_ExtentY" value="6350">
  46. <param name="AUTOSTART" value="-1">
  47. <param name="SHUFFLE" value="0">
  48. <param name="PREFETCH" value="0">
  49. <param name="NOLABELS" value="0">
  50. <param name="SRC" value="<?=$movieurl?>">
  51. <param name="CONTROLS" value="ImageWindow">
  52. <param name="CONSOLE" value="Clip1">
  53. <param name="LOOP" value="0">
  54. <param name="NUMLOOP" value="0">
  55. <param name="CENTER" value="0">
  56. <param name="MAINTAINASPECT" value="0">
  57. <param name="BACKGROUNDCOLOR" value="#000000"><embed SRC="4.rpm" type="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="ImageWindow" HEIGHT="240" WIDTH="352" AUTOSTART="false">
  58. </object><br>
  59. <object ID="video" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT="40" WIDTH="350" align="center">
  60. <param name="_ExtentX" value="9260">
  61. <param name="_ExtentY" value="1058">
  62. <param name="AUTOSTART" value="-1">
  63. <param name="SHUFFLE" value="0">
  64. <param name="PREFETCH" value="0">
  65. <param name="NOLABELS" value="0">
  66. <param name="CONTROLS" value="ControlPanel,StatusBar">
  67. <param name="CONSOLE" value="Clip1">
  68. <param name="LOOP" value="0">
  69. <param name="NUMLOOP" value="0">
  70. <param name="CENTER" value="0">
  71. <param name="MAINTAINASPECT" value="0">
  72. <param name="BACKGROUNDCOLOR" value="#000000"><embed type="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="ControlPanel,StatusBar" HEIGHT="60" WIDTH="275" AUTOSTART="false">
  73. </object>

  74. <?php

  75. }elseif(eregi(".swf[        DISCUZ_CODE_0        ]quot;,$movieurl)) {
  76. //flashplayer播放的
  77. ?>
  78. <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="350" height="280">
  79. <param name="movie" value="<?=$movieurl?>">
  80. <param name="quality" value="High">
  81. <embed src="<?=$movieurl?>" pluginspage="http://player.56.com/v_MTMzMTM5OTA3.swf" type="application/x-shockwave-flash" name="obj1" width="350" height="280">
  82. </object>
  83. <?
  84. }
  85. ?>
复制代码

农民的孩子!
旅游的事业是我的一生,慈善的向往是我的目的!
http://1030927692.qzone.qq.com

使用道具 举报

您需要登录后才可以回帖 登录 | 免费注册

关闭

站长推荐

【助学须知】一对一资助流程
首先感谢您关注西部、关爱贫困孩子,在此,就本网站助学流程公布如下,供诸位参考!

查看 »

Archiver|手机版|西部爱心公益网

Copyright@2008-2020 西部爱心公益网 版权所有

联系电话:0931-8375684(办公室) 13919430001(赵林) 邮箱:glgy001@163.com

地址:甘肃省兰州市城关区盐场路穆柯寨小区3-2801室

回顶部