/web/htdocs/www.euroroma.net/home/zenphoto/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
<?php

define
('OFFSET_PATH'0);
$_contents = @file_get_contents(dirname(__FILE__) . '/zp-data/zenphoto.cfg');

if (
$_contents) {
    if (
strpos($_contents'<?php') !== false)
        
$_contents '?>' $_contents;
    @eval(
$_contents);
    if (@
$_zp_conf_vars['site_upgrade_state'] == 'closed') {
        if (isset(
$_zp_conf_vars['special_pages']['page']['rewrite'])) {
            
$page $_zp_conf_vars['special_pages']['page']['rewrite'];
        } else {
            
$page 'page';
        }
        if (!
preg_match('~' preg_quote($page) . '/setup_set-mod_rewrite\?z=setup$~'$_SERVER['REQUEST_URI'])) {
            
header('location: plugins/site_upgrade/closed.php');
            exit();
        }
    }
}
unset(
$_contents);
include (
dirname(__FILE__) . '/zp-core/index.php');
?>
<? 
if($_GET['album']){?>
<script type="text/javascript">
if(top.location == self.location)
{
    top.location.href = 'http://www.euroroma.net/galleriafotografica.php?cat=PHOTOGALLERY&album=<? echo $_GET['album'];?>'
}
</script>
<? ?>