diff --git a/bot/bot/NavigationNode.cs b/bot/bot/NavigationNode.cs
new file mode 100644
index 0000000..e1ecaf8
--- /dev/null
+++ b/bot/bot/NavigationNode.cs
@@ -0,0 +1,38 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using OpenQA.Selenium.Firefox;
+using OpenQA.Selenium;
+using OpenQA.Selenium.Internal;
+using OpenQA.Selenium.Support.UI;
+using SuperSocket;
+using SuperSocket.SocketBase;
+using SuperWebSocket;
+using MySql.Data.MySqlClient;
+using System.Threading;
+
+namespace bot {
+ class NavigationNode {
+ public enum findTypes {
+ GOTOURL, BYLINKTEXT,
+ BYID, BYNAME,
+ BYCLASS, BYTAG,
+ };
+
+ public enum actionTypes {
+ CLICK, TYPE,
+ TEXTSELECT,
+ INDEXSELECT
+ };
+
+
+
+ public NavigationNode() { }
+
+ public void performNavigation(FirefoxDriver d) {
+
+ }
+ }
+}
diff --git a/bot/bot/bot.csproj b/bot/bot/bot.csproj
index dabbf4c..048aa25 100644
--- a/bot/bot/bot.csproj
+++ b/bot/bot/bot.csproj
@@ -93,6 +93,7 @@
+
diff --git a/www/config.php b/www/config.php
index 7cd8ce0..e9dcea7 100644
--- a/www/config.php
+++ b/www/config.php
@@ -1,9 +1,185 @@
0 && $_POST["cooldown"]) {
+ if(strlen($_POST["tzHour"]) == 2 && is_numeric($_POST["tzHour"]) && strlen($_POST["tzMins"]) == 2 && is_numeric($_POST["tzMins"]) && $_POST["tzHour"] && $_POST["tzMins"]) {
+ if(trim($_POST["name"])) {
+ if(trim($_POST["username"])) {
+ mysql_query("UPDATE `config` SET
+ `cooldown`='". $_POST['cooldown'] ."',
+ `name`='". mysql_real_escape_string(trim($_POST['name'])) ."',
+ `username`='". mysql_real_escape_string(trim($_POST['username'])) ."',
+ `dst`=". (($_POST['dst'])?"1":"0") .",
+ `timezone`='". $_POST['tzSign'] . $_POST['tzHour'] .":". $_POST['tzMins'] ."',
+ `parsechatbot`=". (($_POST['chatbot'])?"1":"0") ."
+ WHERE `id`=1") or die(mysql_error());
+ mysql_query("UPDATE `updater` SET `config`=1 WHERE `id`=1");
+ $config = mysql_fetch_object(mysql_query("SELECT * FROM `config` WHERE `id`=1"));
+ } else {
+ $configerr = "Chat username is empty!";
+ }
+ } else {
+ $configerr = "Bot name is empty!";
+ }
+ } else {
+ $configerr = "Timezone formatted incorrectly!";
+ }
+ } else {
+ $configerr = "Cooldown is not a positive integer!";
+ }
+}
+
+$rowCount = mysql_num_rows(mysql_query("SELECT * FROM `navigate`"));
+
include("header.php"); ?>
+
+
+
+
\ No newline at end of file
diff --git a/www/header.php b/www/header.php
index 1554d24..fe324e7 100644
--- a/www/header.php
+++ b/www/header.php
@@ -1,3 +1,4 @@
+
name; ?> Administration
diff --git a/www/img/arrow_down.png b/www/img/arrow_down.png
new file mode 100644
index 0000000..2c4e279
Binary files /dev/null and b/www/img/arrow_down.png differ
diff --git a/www/img/arrow_up.png b/www/img/arrow_up.png
new file mode 100644
index 0000000..1ebb193
Binary files /dev/null and b/www/img/arrow_up.png differ
diff --git a/www/img/delete.png b/www/img/delete.png
new file mode 100644
index 0000000..08f2493
Binary files /dev/null and b/www/img/delete.png differ
diff --git a/www/index.php b/www/index.php
index 0b5edfb..6645bf2 100644
--- a/www/index.php
+++ b/www/index.php
@@ -23,6 +23,7 @@ if($_GET["jew"] == "true")
Admin Login
+ Javascript must be enabled for proper functionality.