<?
include_once '../sys/inc/start.php';
include_once '../sys/inc/compress.php';
include_once '../sys/inc/sess.php';
include_once '../sys/inc/home.php';
include_once '../sys/inc/settings.php';
include_once '../sys/inc/db_connect.php';
include_once '../sys/inc/ipua.php';
include_once '../sys/inc/fnc.php';
include_once '../sys/inc/user.php';

if (isset($_GET['acth']) && $_GET['acth']=='komm' && isset($_GET['id_gallery']) && isset($_GET['id_foto']))
{
include_once 'inc/komm.php';
}
if (isset($_GET['acth']) && $_GET['acth']=='show_foto' && isset($_GET['id_gallery']) && isset($_GET['id_foto']))
{
include_once 'inc/user_show_foto.php';
}
if (isset($_GET['acth']) && $_GET['acth']=='user_gallery' && isset($_GET['id_gallery']))
{
include_once 'inc/user_gallery_show.php';
}
elseif(isset($_GET['acth']) && $_GET['acth']=='user_gallery')
{
include_once 'inc/user_gallery.php';
}else{
include_once 'inc/all_gallery.php';
}
include_once '../sys/inc/tfoot.php';
?>