| [ PHPXref.com ] | [ Generated: Sun Jul 20 17:09:12 2008 ] | [ DAlbum 1.41 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 This file is a part of DAlbum. Copyright (c) 2003 Alexei Shamov, DeltaX Inc. 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or 8 (at your option) any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program; if not, write to the Free Software 17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 */ 19 if (!defined("DALBUM_ROOT")) 20 define("DALBUM_ROOT","."); 21 if (!defined("DALBUM_BROWSERROOT")) 22 define("DALBUM_BROWSERROOT",""); 23 24 define("DALBUM_LOGOUT_PAGE","1"); 25 26 require_once (DALBUM_ROOT."/include/md5crypt.php"); 27 require_once (DALBUM_ROOT . "/include/functions.php"); 28 require_once(file_exists(DALBUM_ROOT."/config/config.php")?DALBUM_ROOT."/config/config.php":DALBUM_ROOT."/include/config.php"); 29 require_once (DALBUM_ROOT."/include/conffix.php"); 30 require_once (DALBUM_ROOT."/include/album.php"); 31 32 // Include custom functions 33 if (file_exists(DALBUM_ROOT . "/config/custom.php")) 34 include_once (DALBUM_ROOT . "/config/custom.php"); 35 elseif (file_exists(DALBUM_ROOT . "/include/custom.php")) 36 include_once(DALBUM_ROOT . "/include/custom.php"); 37 38 // Start session and get current user name 39 $sUserName=StartSessionAndGetUserName('nocache'); 40 if (function_exists('everypageCallback')) 41 everypageCallback($sUserName); 42 43 if ($g_bBrokenSessions) 44 fixBrokenSessions(); 45 46 $_SESSION['DAlbum_UID']=""; 47 unset($_SESSION['DAlbum_UID']); 48 ?> 49 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > 50 <html> 51 <head> 52 <meta http-equiv="pragma" content="nocache"> 53 <meta HTTP-EQUIV="Pragma" CONTENT="no-cache"> 54 <meta http-equiv="Content-Type" content="text/html; charset=<?php print $g_sCharset;?>"> 55 56 <script src="<?php print DALBUM_BROWSERROOT . 'dalbum.js'; ?>" type="text/javascript"></script> 57 <link rel="stylesheet" href="<?php print $g_sStylesheet; ?>" type="text/css"> 58 <link rel="stylesheet" href="<?php print $g_sCustomStylesheet; ?>" type="text/css" > 59 60 </head> 61 <body class="centered"> 62 <a href='<?php print translateRef("index.php");?>' class='pageLink' ><?php print $lang['mainPage'];?></a> 63 <script type="text/javascript"> 64 //<!-- 65 setTimeout('window.location.replace("<?php print html2txt(translateRef("index.php")); ?>");',500); 66 //--> 67 </script> 68 </body> 69 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |