soundpop.php
上传用户:gzy2002
上传日期:2010-02-11
资源大小:1785k
文件大小:1k
源码类别:

电子政务应用

开发平台:

Java

  1. <?php
  2. // +-------------------------------------------------------------+
  3. // | DeskPRO v [2.0.1 Production]
  4. // | Copyright (C) 2001 - 2004 Headstart Solutions Limited
  5. // | Supplied by WTN-WDYL
  6. // | Nullified by WTN-WDYL
  7. // | Distribution via WebForum, ForumRU and associated file dumps
  8. // +-------------------------------------------------------------+
  9. // | DESKPRO IS NOT FREE SOFTWARE
  10. // +-------------------------------------------------------------+
  11. // | License ID : Full Enterprise License =) ...
  12. // | License Owner : WTN-WDYL Team
  13. // +-------------------------------------------------------------+
  14. // | $RCSfile: soundpop.php,v $
  15. // | $Date: 2004/02/10 01:34:30 $
  16. // | $Revision: 1.5 $
  17. // +-------------------------------------------------------------+
  18. // | File Details:
  19. // | - Alert sound preview widget
  20. // +-------------------------------------------------------------+
  21. error_reporting(E_ALL ^ E_NOTICE);
  22. include "./../global.php";
  23. tech_mini_header();
  24. if ($_REQUEST['play']) {
  25. print "<EMBED SRC="../../sounds/$_REQUEST[play]" AUTOSTART="TRUE" WIDTH="0" HEIGHT="0" LOOP="FALSE" HIDDEN="TRUE">";
  26. }
  27. $rows[] = array('<B>Sound:</B>', form_select('play', list_sounds(), '', $_REQUEST['play']));
  28. $rows[] = array(form_submit('Play'));
  29. echo '<form method="post" action="soundpop.php">';
  30. echo simple_table('<center><b>Preview Sounds</B></center>', $rows, '100%');
  31. echo '</form>';
  32. echo "<CENTER><A HREF="#" onClick="window.close()">Close Window</A></CENTER>";