blob: 1546adcc07e41ab273a763eb80b9a6e80d8405ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
<?php
/**
* @file
* popup window for playing recording
*/
chdir("..");
include_once("./includes/bootstrap.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<TITLE>ARI</TITLE>
<link rel="stylesheet" href="popup.css" type="text/css">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<?php
global $ARI_CRYPT_PASSWORD;
$crypt = new Crypt();
$path = $crypt->encrypt($_GET['recording'],$ARI_CRYPT_PASSWORD);
if (isset($path)) {
if (isset($_GET['date'])) {
echo($_GET['date'] . "<br>");
}
if (isset($_GET['time'])) {
echo($_GET['time'] . "<br>");
}
echo("<br>");
echo("<embed src='audio.php?recording=" . $path . "' width=300, height=20 autoplay=true loop=false></embed><br>");
echo("<a class='popup_download' href=/recordings/misc/audio.php?recording=" . $path . ">" . _("download") . "</a><br>");
}
?>
</body>
</html>
|