4508b1b6 |
1 | <?php |
2 | chdir ('../'); |
3 | require_once ('../src/validate.php'); |
4 | require_once ('../src/load_prefs.php'); |
5 | if (!isset($sound)) { |
6 | $sound = 'Click.wav'; |
7 | } |
8 | $sound = str_replace("../plugins/newmail/", "", $sound); |
9 | $sound = str_replace("../", "", $sound); |
10 | $sound = str_replace("..\\", "", $sound); |
11 | ?> |
12 | <HTML> |
13 | <TITLE>Test Sound</TITLE> |
14 | <BODY bgcolor=<?php echo $color[4] ?> topmargin=0 leftmargin=0 |
15 | rightmargin=0 marginwidth=0 marginheight=0> |
16 | <CENTER> |
17 | <embed src="<?php echo $sound ?>" hidden=true autostart=true> |
18 | <br> |
19 | <font face="Veranda, Arial Helvetica, sans-serif" size="2" </font> |
20 | <b>Loading the sound...</b><br><br> |
21 | <form> |
22 | <input type="button" name="close" value=" Close " onClick="window.close()"> |
23 | </form> |
24 | </CENTER> |
25 | </BODY></HTML> |