comparison develop/index.php @ 14:ac77748bb813

- Load regex files based on current topic. Only show the regex in this topic. To do that, it needs to lookup a table called 'topic_regex_relation' which has the relation of topic and regex filename in filesystem. - Extractapp UI with some layout modification: button, popup window, responsive (by bootstrap now). It was just for quick prototyping.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 19 Feb 2015 11:07:27 +0100
parents e82ca7375e93
children a879f6b9d166
comparison
equal deleted inserted replaced
13:cc36a20a68ab 14:ac77748bb813
1 1
2 <html>
3 <head>
4 <title></title>
5
6 <!--
7 <script src="../../js/jquery-1.10.2.min.js"></script>
8 <script src="../../js/taggingtext.js"></script>
9 -->
10
11 <!-- Bootstrap -->
12 <!-- <link href="../../css/bootstrap.min.css" rel="stylesheet">
13 -->
14 <!--
15 <script src="../../js/bootstrap.min.js"></script>
16 -->
17
18
19 </head>
20 <body>
21 <?php 2 <?php
22 header("Content-Type: text/html;charset=utf-8"); 3 header("Content-Type: text/html;charset=utf-8");
23 4
24 // system configiration 5 // system configiration
25 include_once('config/Lib_mb_utf8.php'); 6 include_once('config/Lib_mb_utf8.php');
26 include_once('config/config.php'); 7 include_once('config/config.php');
27 ?>
28 8
29 <script src="<?php echo $system_root_url; ?>/js/jquery-1.10.2.min.js"></script>
30 <script src="<?php echo $system_root_url; ?>/js/bootstrap.min.js"></script>
31 <script src="<?php echo $system_root_url; ?>/js/taggingtext.js"></script>
32
33 <?php
34 // require the general classes 9 // require the general classes
35 require("classes/loader.php"); 10 require("classes/loader.php");
36 require("classes/basecontroller.php"); 11 require("classes/basecontroller.php");
37 require("classes/basemodel.php"); 12 require("classes/basemodel.php");
38 13
55 echo "<br>"; 30 echo "<br>";
56 */ 31 */
57 32
58 33
59 34
60
61 // create the controller and execute the action 35 // create the controller and execute the action
62 $loader = new Loader($_GET, $_POST); 36 $loader = new Loader($_GET, $_POST);
63 37
64 $controller = $loader->CreateController(); 38 $controller = $loader->CreateController();
65 $controller->ExecuteAction(); 39 $controller->ExecuteAction();
66 40
67
68 ?> 41 ?>
69
70 </body>
71
72 </html>