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.  
  | 1. / 2. / ... 
 <?php 
// ClanSphere 2006 - www.clansphere.net 
// $Id: index.php 101 2006-07-12 09:36:29Z hajo $ 
 
@error_reporting(E_ALL); 
 
@ini_set('arg_separator.output','&'); 
@ini_set('register_globals','off'); 
@ini_set('session.use_trans_sid','0'); 
@ini_set('session.use_cookies','1'); 
@ini_set('session.use_only_cookies','1'); 
@ini_set('display_errors','off'); 
 
$cs_micro = explode(' ', microtime()); # starting parsetime 
$cs_logs = array('errors' => '', 'sql' => '', 'queries' => 0); 
 
require('system/core/functions.php'); 
 
if(file_exists('setup.php')) { 
    require('setup.php'); 
    require('system/database/' . $cs_db['type'] . '.php'); 
    $cs_db['con'] = cs_sql_connect($cs_db); 
 
    $cs_main = cs_sql_option(__FILE__,'clansphere'); 
 
    require('system/output/xhtml_10.php'); 
    require('system/core/templates.php'); 
    require('system/core/content.php'); 
    require('system/core/tools.php'); 
    require('system/core/account.php'); 
    require('system/core/abcode.php'); 
 
    cs_tasks('system/extensions', 1); # load extensions 
    cs_tasks('system/runstartup'); # load startup files 
 
    if ($cs_main['mod'] != 'board') { 
        echo cs_template($cs_micro,$cs_main,$account); 
    } else { 
        echo cs_template($cs_micro,$cs_main,$account,'board.htm'); 
    } 
} 
else { 
    echo '<a href="install.php?phpMyAdmin=a7d6a530ea7fe797a049ba44b388371f">Installation required</a> or missing setup.php'; 
} 
 
?>  |