Browse Source

Added controller skeletons

Laurent Treguier 9 years ago
parent
commit
4433571eca
7 changed files with 90 additions and 0 deletions
  1. 18
    0
      controllers/data.php
  2. 23
    0
      controllers/files.php
  3. 0
    0
      controllers/index.php
  4. 13
    0
      controllers/login.php
  5. 0
    0
      controllers/main.php
  6. 23
    0
      controllers/promo.php
  7. 13
    0
      views/layout.html.php

+ 18
- 0
controllers/data.php View File

@@ -0,0 +1,18 @@
1
+<?php
2
+
3
+function data()
4
+{
5
+    // TODO
6
+}
7
+
8
+function data_extract()
9
+{
10
+    // TODO
11
+}
12
+
13
+function alter_data()
14
+{
15
+    // TODO
16
+}
17
+
18
+?>

+ 23
- 0
controllers/files.php View File

@@ -0,0 +1,23 @@
1
+<?php
2
+
3
+function files()
4
+{
5
+    // TODO
6
+}
7
+
8
+function add_file()
9
+{
10
+    // TODO
11
+}
12
+
13
+function alter_file()
14
+{
15
+    // TODO
16
+}
17
+
18
+function delete_file()
19
+{
20
+    // TODO
21
+}
22
+
23
+?>

+ 0
- 0
controllers/index.php View File


+ 13
- 0
controllers/login.php View File

@@ -0,0 +1,13 @@
1
+<?php
2
+
3
+function login()
4
+{
5
+    // TODO
6
+}
7
+
8
+function check_login()
9
+{
10
+    // TODO
11
+}
12
+
13
+?>

+ 0
- 0
controllers/main.php View File


+ 23
- 0
controllers/promo.php View File

@@ -0,0 +1,23 @@
1
+<?php
2
+
3
+function promo()
4
+{
5
+    // TODO
6
+}
7
+
8
+function add_promo()
9
+{
10
+    // TODO
11
+}
12
+
13
+function alter_promo()
14
+{
15
+    // TODO
16
+}
17
+
18
+function delete_promo()
19
+{
20
+    // TODO
21
+}
22
+
23
+?>

+ 13
- 0
views/layout.html.php View File

@@ -0,0 +1,13 @@
1
+<!DOCTYPE html>
2
+
3
+<html>
4
+    <head>
5
+        <meta charset="utf-8">
6
+        <title>
7
+            <?php echo $title; ?>
8
+        </title>
9
+    </head>
10
+    <body>
11
+        <?php echo $content; ?>
12
+    </body>
13
+</html>