summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/login.php25
-rw-r--r--actions/showstream.php6
2 files changed, 31 insertions, 0 deletions
diff --git a/actions/login.php b/actions/login.php
new file mode 100644
index 000000000..a95dc9e3a
--- /dev/null
+++ b/actions/login.php
@@ -0,0 +1,25 @@
+<?php
+
+function handle_login() {
+ if ($_REQUEST['METHOD'] == 'POST') {
+ if (login_check_user($_REQUEST['user'], $_REQUEST['password'])) {
+
+ } else {
+ }
+ } else {
+ if (user_logged_in()) {
+ } else {
+ login_show_form();
+ }
+ }
+}
+
+function login_show_form() {
+ html_start();
+ html_head("Login");
+ html_body();
+}
+
+function login_check_user($username, $password) {
+
+} \ No newline at end of file
diff --git a/actions/showstream.php b/actions/showstream.php
new file mode 100644
index 000000000..2aaaacd0a
--- /dev/null
+++ b/actions/showstream.php
@@ -0,0 +1,6 @@
+<?php
+
+function handle_showstream() {
+ $profile_name = $_REQUEST['profile'];
+}
+