PageRenderTime 93ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 74ms app.codeStats 0ms

/view_log.php

https://bitbucket.org/mlaco/keypow
PHP | 82 lines | 73 code | 9 blank | 0 comment | 0 complexity | 3a0880f8a1e1f8bf5e93548f2303f9ae MD5 | raw file
 1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 3<?php include("validate_session.php")?>
 4<html xmlns="http://www.w3.org/1999/xhtml">
 5
 6<head>
 7<title>Dowhat - view log</title>
 8<!-- For datepicker -->
 9<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
10<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
11<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
12
13<link href = "/css/main.css" rel = "stylesheet" type="text/css" />
14
15<script src="/scripts/main.js"></script>
16<script>
17jQuery(function(){
18    onready_handler("act-desc");
19    $("#from_date").datepicker();
20    $("#to_date").datepicker();
21    $("#from_date").datepicker("setDate",new Date());
22    $("#to_date").datepicker("setDate",new Date());
23})
24
25
26</script>
27</head>
28
29<body>
30    <div id="container">
31        <div id="header">
32            <img src="/images/logo.png" alt="keyPOW" width="200px"/>
33        </div>
34        <div id="sidebar">
35            <p>
36            <a href="/keypow.html">Home</a>
37            </p>
38            <p>
39            <a href="/main.php">Enter Log</a>
40            </p>
41            <p>
42            <a href="/view_log.php">View Logs</a>
43            </p>
44            <p>
45            <a href="/logout.php">Log out</a>
46            </p>
47        </div>
48        <div id="content">
49            <div class="box">
50            <h2>Select Log to View</h2>
51            </div>
52            <div class="box">
53                <form>
54                    <fieldset class="controls">
55                        <p>
56                            <label>Activity Title</label>
57                            <select  class="act-select" id="act-desc" name="act-desc" disabled="true"></select>
58                        </p>
59                        <p>
60                            <label>From date</label>
61                            <input id="from_date"></input>
62                        </p>
63                        <p>
64                            <label>To date</label>
65                            <input id="to_date"></input>
66                        </p>
67                        <p>
68                            <input class="myBtn" type="button" id="enter" value="Get logs" onclick="fetch_logs()"></input>
69                        </p>
70                    </fieldset>
71                </form>
72            </div>
73            <div class="box" id="bottom">
74            <h2>Log Data</h2>
75            </div>
76        </div>
77    </div>
78
79
80</body>
81
82</html>