-
Notifications
You must be signed in to change notification settings - Fork 1
/
routerlist.php
22 lines (18 loc) · 1.15 KB
/
routerlist.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
require_once('runtime.php');
require_once(ROOT_DIR.'/lib/core/Routerlist.class.php');
require_once(ROOT_DIR.'/lib/core/crawling.class.php');
$smarty->assign('message', Message::getMessage());
$_GET['crawl_method'] = (isset($_GET['crawl_method'])) ? $_GET['crawl_method'] : false;
$_GET['status'] = (isset($_GET['status'])) ? $_GET['status'] : false;
$_GET['hardware_name'] = (isset($_GET['hardware_name'])) ? $_GET['hardware_name'] : false;
$_GET['firmware_version'] = (isset($_GET['firmware_version'])) ? $_GET['firmware_version'] : false;
$_GET['batman_advanced_version'] = (isset($_GET['batman_advanced_version'])) ? $_GET['batman_advanced_version'] : false;
$_GET['kernel_version'] = (isset($_GET['kernel_version'])) ? $_GET['kernel_version'] : false;
$routerlist = new Routerlist(false, false, $_GET['crawl_method'], $_GET['status'], $_GET['hardware_name'],
$_GET['firmware_version'], $_GET['batman_advanced_version'], $_GET['kernel_version'], 0, -1);
$smarty->assign('routerlist', $routerlist->getRouterlist());
$smarty->display("header.tpl.html");
$smarty->display("routerlist.tpl.html");
$smarty->display("footer.tpl.html");
?>