<?php

/**
 * Based on GET parameter we load:
 * 	- all customers
 *  - specific customer
 *
 */

# verify that user is logged in
$User->check_user_session();
# Make sure user is admin
$User->is_admin(true);

# load subpage
if (!isset($_GET['subnetId'])) {
	include(dirname(__FILE__).'/../../tools/customers/all-customers.php');
}
else {
	include(dirname(__FILE__).'/../../tools/customers/customer/index.php');
}