-- config.php file missing! Please copy default config file `config.dist.php` to `config.php` and set configuration! --

phpipam installation documentation: http://phpipam.net/documents/installation/"); } else { require('config.php'); } /* site functions */ require('functions/functions.php'); # set default page if(!isset($_GET['page'])) { $_GET['page'] = "dashboard"; } # if not install fetch settings etc if($_GET['page']!="install" ) { # database object $Database = new Database_PDO; # check if this is a new installation require('functions/checks/check_db_install.php'); # initialize objects $Result = new Result; $User = new User ($Database); $Sections = new Sections ($Database); $Subnets = new Subnets ($Database); $Tools = new Tools ($Database); $Addresses = new Addresses ($Database); $Log = new Logging ($Database); # reset url for base $url = $Result->createURL (); } /** include proper subpage **/ if($_GET['page']=="install") { require("app/install/index.php"); } elseif($_GET['page']=="upgrade") { require("app/upgrade/index.php"); } elseif($_GET['page']=="login") { require("app/login/index.php"); } elseif($_GET['page']=="temp_share") { require("app/temp_share/index.php"); } elseif($_GET['page']=="request_ip") { require("app/login/index.php"); } else { # verify that user is logged in $User->check_user_session(); # make upgrade and php build checks include('functions/checks/check_db_upgrade.php'); # check if database needs upgrade include('functions/checks/check_php_build.php'); # check for support for PHP modules and database connection if($_GET['switch'] && $_SESSION['realipamusername'] && $_GET['switch'] == "back"){ $_SESSION['ipamusername'] = $_SESSION['realipamusername']; unset($_SESSION['realipamusername']); print ''; } ?> <?php print $User->settings->siteTitle; ?>
jQuery error!

Hide
...
user->passChange!="Yes") include('app/sections/index.php');?>
"; include_once('app/error.php'); print "
"; } /* password reset required */ elseif($User->user->passChange=="Yes") { print "
"; include_once("app/tools/pass-change/form.php"); print "
"; } /* dashboard */ elseif(!isset($_GET['page']) || $_GET['page'] == "dashboard") { print "
"; include_once("app/dashboard/index.php"); print "
"; } /* widgets */ elseif($_GET['page']=="widgets") { print "
"; include_once("app/dashboard/widgets/index.php"); print "
"; } /* content */ else { print ""; print ""; # fix for empty section if( isset($_GET['section']) && (strlen($_GET['section']) == 0) ) { unset($_GET['section']); } # hide left menu if( ($_GET['page']=="tools"||$_GET['page']=="administration") && !isset($_GET['section'])) { //we dont display left menu on empty tools and administration } else { # left menu print ""; } # content print ""; print ""; print "
"; print ""; print ""; print ""; print "
"; } ?>