You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
416 B
17 lines
416 B
<?php |
|
require 'config.php'; |
|
include 'sanitychecks.php'; |
|
|
|
// Initialize the session |
|
include 'session.php'; |
|
|
|
// Check if the user is logged in |
|
include 'check_user.php'; |
|
include 'smarty_init.php'; |
|
|
|
include 'class.db.php'; |
|
|
|
$tpl->assign('isadmin', pwsdbh($dbDSN)->isAdmin($_SESSION['loginuser'])); |
|
$tpl->assign('passwordgroups', pwsdbh($dbDSN)->userPasswordgroups($_SESSION['loginuser'])); |
|
|
|
$tpl->display('search.tpl');
|
|
|