]> matita.cs.unibo.it Git - logicplayer.git/blob - Server/webApp/main.php
2866325dab4e8dd186c4401a78b0904b95d587a8
[logicplayer.git] / Server / webApp / 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>
21                 <form 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>click</th>
38                         </tr>
39                 </div>
40         </body>
41 </html>