diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ebcc7e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +start.sh \ No newline at end of file diff --git a/bobbybob.php b/bobbybob.php index 32bbc03..e293755 100644 --- a/bobbybob.php +++ b/bobbybob.php @@ -6,8 +6,40 @@ define('ACTIVE_MENUITEM', 'bobbybob'); require('includes/header.php'); ?> -
-
-
-
Bobbybob (WIP)
- \ No newline at end of file +
+
+
+
+ +
+
+
Subtitle to pictures
+
+
+ + \ No newline at end of file diff --git a/img/bobbybob/bob1.jpg b/img/bobbybob/bob1.jpg new file mode 100644 index 0000000..632be7d Binary files /dev/null and b/img/bobbybob/bob1.jpg differ diff --git a/img/bobbybob/bob2.jpg b/img/bobbybob/bob2.jpg new file mode 100644 index 0000000..531cf65 Binary files /dev/null and b/img/bobbybob/bob2.jpg differ diff --git a/img/bobbybob/bob3.jpg b/img/bobbybob/bob3.jpg new file mode 100644 index 0000000..99afe42 Binary files /dev/null and b/img/bobbybob/bob3.jpg differ diff --git a/includes/header.php b/includes/header.php index 4f3af17..074f253 100644 --- a/includes/header.php +++ b/includes/header.php @@ -1,3 +1,6 @@ + diff --git a/js/local.js b/js/local.js index 5b5106f..6070ee2 100644 --- a/js/local.js +++ b/js/local.js @@ -3,7 +3,11 @@ function givePHP() { len = elements !== null ? elements.length : 0; i = 0; for (i; i < len; i++) { - if(elements[i].href != "http://localhost/") + if(elements[i].id != "nophp") elements[i].href += ".php"; } } + +function load() { + givePHP(); +} \ No newline at end of file diff --git a/start.sh b/start.sh index 4aa683f..377e5cf 100755 --- a/start.sh +++ b/start.sh @@ -25,5 +25,5 @@ printf "${PWD##*/}" printf ' ...\n' echo $GETIP su "$USERNAME" -c "firefox --new-tab $TAB" -sudo php -S $IP +sudo php -S $IP:80 cd ~