diff --git a/html/pages/about.php b/html/pages/about.inc.php
similarity index 100%
rename from html/pages/about.php
rename to html/pages/about.inc.php
diff --git a/html/pages/addhost.php b/html/pages/addhost.inc.php
similarity index 100%
rename from html/pages/addhost.php
rename to html/pages/addhost.inc.php
diff --git a/html/pages/addsrv.php b/html/pages/addsrv.inc.php
similarity index 100%
rename from html/pages/addsrv.php
rename to html/pages/addsrv.inc.php
diff --git a/html/pages/adduser.php b/html/pages/adduser.inc.php
similarity index 100%
rename from html/pages/adduser.php
rename to html/pages/adduser.inc.php
diff --git a/html/pages/alerts.php b/html/pages/alerts.inc.php
similarity index 100%
rename from html/pages/alerts.php
rename to html/pages/alerts.inc.php
diff --git a/html/pages/authlog.php b/html/pages/authlog.inc.php
similarity index 100%
rename from html/pages/authlog.php
rename to html/pages/authlog.inc.php
diff --git a/html/pages/bgp.php b/html/pages/bgp.inc.php
similarity index 100%
rename from html/pages/bgp.php
rename to html/pages/bgp.inc.php
diff --git a/html/pages/bill.php b/html/pages/bill.inc.php
similarity index 100%
rename from html/pages/bill.php
rename to html/pages/bill.inc.php
diff --git a/html/pages/bills.php b/html/pages/bills.inc.php
similarity index 100%
rename from html/pages/bills.php
rename to html/pages/bills.inc.php
diff --git a/html/pages/configuration.php b/html/pages/configuration.inc.php
similarity index 100%
rename from html/pages/configuration.php
rename to html/pages/configuration.inc.php
diff --git a/html/pages/customers.php b/html/pages/customers.inc.php
similarity index 100%
rename from html/pages/customers.php
rename to html/pages/customers.inc.php
diff --git a/html/pages/default-jt.php b/html/pages/default-jt.php
deleted file mode 100644
index fb3dec26f..000000000
--- a/html/pages/default-jt.php
+++ /dev/null
@@ -1,211 +0,0 @@
-
- $content
-");
-
-
-# echo("
");
-
-$sql = mysql_query("SELECT * FROM `devices` WHERE `status` = '0' AND `ignore` = '0'");
-while($device = mysql_fetch_array($sql)){
-
- generate_front_box("alert", "
".generatedevicelink($device, shorthost($device['hostname']))."
- Device Down
- ".truncate($device['location'], 20)."
- ");
-
-
-}
-
-$sql = mysql_query("SELECT * FROM `ports` AS I, `devices` AS D WHERE I.device_id = D.device_id AND ifOperStatus = 'down' AND ifAdminStatus = 'up' AND D.ignore = '0' AND I.ignore = '0'");
-while($interface = mysql_fetch_array($sql)){
-
- generate_front_box("warn", "
".generatedevicelink($interface, shorthost($interface['hostname']))."
- Port Down
-
- ".generateiflink($interface, makeshortif($interface['ifDescr']))."
- ".truncate($interface['ifAlias'], 20)."
- ");
-
-}
-
-$sql = mysql_query("SELECT * FROM `services` AS S, `devices` AS D WHERE S.device_id = D.device_id AND service_status = 'down' AND D.ignore = '0' AND S.service_ignore = '0'");
-while($service = mysql_fetch_array($sql)){
-
-
- generate_front_box("alert", "
".generatedevicelink($service, shorthost($service['hostname']))."
- Service Down
- ".$service['service_type']."
- ".truncate($interface['ifAlias'], 20)."
- ");
-
-}
-
-$sql = mysql_query("SELECT * FROM `devices` AS D, bgpPeers AS B WHERE bgpPeerState != 'established' AND B.device_id = D.device_id");
-while($peer = mysql_fetch_array($sql)){
-
- generate_front_box("alert", "
".generatedevicelink($peer, shorthost($peer['hostname']))."
- BGP Down
- ".$peer['bgpPeerIdentifier']."
- AS".$peer['bgpPeerRemoteAs']." ".truncate($peer['astext'], 10)."
- ");
-
-}
-
-$sql = mysql_query("SELECT * FROM `devices` AS D, devices_attribs AS A WHERE A.device_id = D.device_id AND A.attrib_type = 'uptime' AND A.attrib_value < '84600'");
-while($device = mysql_fetch_array($sql)){
-
-
- generate_front_box("info", "
".generatedevicelink($device, shorthost($device['hostname']))."
- Device
Rebooted
- ".formatUptime($device['attrib_value'], 'short')."
- ");
-
-}
-
-if($config['frontpage_display'] == 'syslog') {
-
- ## Open Syslog Div
- echo("
-
Recent Syslog Messages
- ");
-
- $sql = "SELECT *, DATE_FORMAT(timestamp, '%D %b %T') AS date from syslog ORDER BY timestamp DESC LIMIT 20";
- $query = mysql_query($sql);
- echo("
");
- while($entry = mysql_fetch_array($query)) { include("includes/print-syslog.inc"); }
- echo("
");
-
- echo("
"); ## Close Syslog Div
-
-} else {
-
- ## Open eventlog Div
- echo("
-
Recent Eventlog Entries
- ");
-
-if($_SESSION['userlevel'] == '10') {
- $query = "SELECT *,DATE_FORMAT(datetime, '%D %b %T') as humandate FROM `eventlog` ORDER BY `datetime` DESC LIMIT 0,15";
-} else {
- $query = "SELECT *,DATE_FORMAT(datetime, '%D %b %T') as humandate FROM `eventlog` AS E, devices_perms AS P WHERE E.host =
- P.device_id AND P.user_id = " . $_SESSION['user_id'] . " ORDER BY `datetime` DESC LIMIT 0,15";
-}
-
-$data = mysql_query($query);
-
-echo("
");
-
-while($entry = mysql_fetch_array($data)) {
- include("includes/print-event.inc");
-}
-
-echo("
");
-
-
- echo("
"); ## Close Syslog Div
-
-
-}
-
-echo("
");
-
-echo("