/
index.php
49 lines (37 loc) · 841 Bytes
/
index.php
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
47
48
49
<?
require_once ("include/functions.php");
require_once ("include/config.php");
require_once ("include/blocks.php");
dbconn(true);
standardheader('Index',true,0);
//center_menu();
/*
if (!$CURUSER || $CURUSER["view_torrents"]=="no")
{
err_msg(ERROR.NOT_AUTHORIZED." ".MNU_TORRENT."!",SORRY."...");
stdfoot();
exit();
}
else
{
*/
?>
<script language="Javascript" type="text/javascript">
<!--
var newwindow;
function popdetails(url)
{
newwindow=window.open(url,'popdetails','height=500,width=500,resizable=yes,scrollbars=yes,status=yes');
if (window.focus) {newwindow.focus()}
}
function poppeer(url)
{
newwindow=window.open(url,'poppeers','height=400,width=650,resizable=yes,scrollbars=yes');
if (window.focus) {newwindow.focus()}
}
// -->
</script>
<?
//}
//stdfoot();
?>