]> matita.cs.unibo.it Git - logicplayer.git/blob - public_html/main.php
Timestamp on exercises.
[logicplayer.git] / public_html / main.php
1 <?php
2         session_start();
3 //se non c'รจ la sessione registrata
4
5         if (!isset($_SESSION['username']))
6         {
7                 header("location: index.html");
8         }
9 ?>
10
11
12 <!DOCTYPE html>
13 <html>
14         <head>
15                 <meta charset="utf-8"/>
16         <link rel="stylesheet" type="text/css" media="all" href="login.css"/>
17                 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
18                 <script type="text/javascript" src="./prova.js"></script>
19         </head>
20         <body id="corpo">
21                 <form id="upload" action="upload.php" method="post" enctype="multipart/form-data">
22                         Select file to upload:
23                         <input type="file" name="fileToUpload" id="fileToUpload">
24                         <input type="submit" value="Upload" name="submit">
25                 </form>
26                 <br/>
27                 <div>
28                         <table id="esTable">
29                                 <tr>
30                                         <th>Lista Esercizi</th>
31                                 </tr>
32                         </table>
33                         <table id="tabella">
34                                 <tr id="intestazione">
35                                         <th>Nome Esercizio</th>
36                                         <th>Studente</th>
37                                         <th>voto</th>
38                                         <th>ora</th>
39                                 </tr>
40                         </table>
41                 </div>
42                 <br/>
43                 <div>
44                         <table id="esTa">
45                                 <tr>
46                                         <th>Lista studenti</th>
47                                 </tr>
48                         </table>
49                         <table id="tab">
50                                 <tr id="in">
51                                         <th>Studente</th>
52                                         <th>Nome Esercizio</th>
53                                         <th>voto</th>
54                                         <th>ora</th>
55                                 </tr>
56                         </table>
57                 </div>
58         </body>
59 </html>