} $page_id = "search"; $error = false; $error_message = ''; $query = ''; $result = array(); $result['users'] = array(); $stats = new stats($dbo); $settings = new settings($dbo); $admin = new admin($dbo); if (isset($_GET['query'])) { $query = isset($_GET['query']) ? $_GET['query'] : ''; $query = helper::clearText($query); $query = helper::escapeText($query); if (strlen($query) > 2) { $result = $stats->searchAccounts(0, $query); } } helper::newAuthenticityToken(); $css_files = array("admin.css"); $page_title = "Users"; include_once $_SERVER['DOCUMENT_ROOT'] . "/common/header.inc.php"; ?> <body class="bg_gray"> <div id="page_wrap"> <?php include_once $_SERVER['DOCUMENT_ROOT'] . "/common/admin_panel_topbar.inc.php"; ?>