diff --git a/install/html/SlpashScreen.png b/install/html/SlpashScreen.png new file mode 100644 index 0000000..2c3d329 Binary files /dev/null and b/install/html/SlpashScreen.png differ diff --git a/install/html/index.php b/install/html/index.php new file mode 100644 index 0000000..1107b84 --- /dev/null +++ b/install/html/index.php @@ -0,0 +1,95 @@ + + + + + + + Login + + + + + + +
+W.H.I.T.
+Web Hosted Imaging Technology
www.thefinaldreams.com
nu-dawn.ca
+ + + + + + + + +
+
+ + + + + + + + + + + +
Username :" id="username" name="username" />
Password : " id="password" name="password" />
+
+ +
+ +
+ + + + +
'; + } +if($validUser[2]) { + echo '
'; + } + +if($validUser[3]) { + echo "Server is rebooting please wait"; + exec('sudo /sbin/reboot'); +} + +?> + + +
+
+ + diff --git a/install/html/set1.php b/install/html/set1.php new file mode 100644 index 0000000..9faaf1d --- /dev/null +++ b/install/html/set1.php @@ -0,0 +1,318 @@ + + + + + +0){ + echo "Admin password didn't match"; + header("refresh: 5;"); + die; + } + + $handle_cfg[9]="overscan=". $_POST['overscan'] . ("\n"); + $handle_cfg[10]="rotate=". $_POST['rotate'] . ("\n"); + + if (empty($_POST['SSID'])){ + $_POST['SSID'] = "whit"; + $_POST['PSK'] = "whitwhit"; + } + + if (!empty($_POST['webadmin'])){ + $admin_pass_cfg[70]='$validUser[2] = $_POST["username"] == "admin" && $_POST["password"] == "' . $_POST['webadmin'] . '";'; + } + + $autostart_cfg[14] = "USER=" . $_POST['username'] . ("\n"); + $autostart_cfg[15] = "PASS=" . $_POST['password'] . ("\n"); + $autostart_cfg[13] = "Server=" . $_POST['ftp'] . ("\n"); + $autostart_cfg[17] = "time=" . $_POST['timeout'] . ("\n"); + $autostart_cfg[24] = "export essid=" . $_POST['SSID'] . ("\n"); + $autostart_cfg[25] = "export wifipassword=" . $_POST['PSK'] . ("\n"); + $autostart_cfg[23] = ("export wifiupdate=true\n"); + $autostart_cfg[26] = "export updatehost=" . $_POST['netname'] . ("\n"); + $autostart_cfg[36] = "export reboottime=" . $_POST['crontime'] . ("\n"); + + + file_put_contents($startup, $autostart_cfg); + file_put_contents($configtest, $handle_cfg); + file_put_contents($admin_password, $admin_pass_cfg); + echo "Rebooting reload page in about 1 min."; + header("refresh: 10;"); + exec('sudo /sbin/reboot'); +} + +if(isset($_POST["reboot"])) { + echo "Server is rebooting please wait."; + exec('sudo /sbin/reboot'); +} + +?> + + + + + + + +
+
+
Site Settings
+ +
+ Username
+ Password
+ Site IP or Name
+ Image Timing
+
+ +
Network
+
+ SSID
+ PSK
+ Host Name
+
+
+ Lan IP address:
+ Lan Mac address:
+ Wifi IP address:
+ Wifi Mac address:
+
+
Overscan
+
+ class="label">Enabled + class="label">Disabled +
+
Rotation
+
+ class="label">Normal 0° + class="label">90° + class="label">180° + class="label">270° +
+
Server time
+
+
+ +
+
Set a time for nightly Reboot
+
+
+
Webadmin password
+
+ = +
+ +
+ + +
+
+ +
+
+ + + diff --git a/install/html/settings.pdf b/install/html/settings.pdf new file mode 100644 index 0000000..8d7f9f6 Binary files /dev/null and b/install/html/settings.pdf differ diff --git a/install/html/settings.php b/install/html/settings.php new file mode 100644 index 0000000..de00345 --- /dev/null +++ b/install/html/settings.php @@ -0,0 +1,338 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SettingsNetworkOverscanRotationUpdate/reboot
+ + + + + + + + + + + + + + + + + + + + + + + +
Username:
Password:
FTP Site:
Time for next Slide:
+
+ + + + + + + + + + + + + +
SSID
PSK
Host Name
+
+ + + + + + + + + + +
Enabled >
Disabled >
+
+ + + + + + + + + + + + + + + + + +
Normal 0°>
90°>
180°>
270°>
+
HelpLan info Wifi info
+ + + + + + + +
Server time:
+ +
Set a time for nightly Reboot:
+
+ + + + + + + + + +
Lan IP address:
Lan Mac address:
+
+ + + + + + + + + + +
Wifi IP address:
Wifi Mac address:
+ +
+ + + +
+ + + + + + + +