define("H", htmlspecialchars($_SERVER["DOCUMENT_ROOT"]).'/'); $num = 0; define('__FENOMENUS_ON__', ''.htmlspecialchars($_SERVER['DOCUMENT_ROOT']).''); ?> // Просмотр фото if (isset($_GET['acth']) && $_GET['acth']=='show_foto' && isset($_GET['id_gallery']) && isset($_GET['id_foto'])) { include 'inc/user_show_foto.php'; } // Просмотр альбома юзера с фото if (isset($_GET['acth']) && $_GET['acth'] == 'user_gallery' && isset($_GET['id_gallery'])) { include 'inc/user_gallery_show.php'; } // Просмотр лайков на фотке elseif(isset($_GET['acth']) && $_GET['acth'] == 'like') { include 'inc/user_show_foto_like.php'; } // Просмотр альбома юзера elseif(isset($_GET['acth']) && $_GET['acth'] == 'user_gallery') { include 'inc/user_gallery.php'; } // Просмотр всех фоток elseif(isset($_GET['acth']) && $_GET['acth'] == 'user_gallery_photo') { include 'inc/user_gallery_photo.php'; } // Просто общая галерея else{ include 'inc/all_gallery.php'; } include H.'sys/inc/tfoot.php'; ?>