PageRenderTime 30ms CodeModel.GetById 27ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/in_progress.php

https://bitbucket.org/mlaco/keypow
PHP | 80 lines | 76 code | 4 blank | 0 comment | 0 complexity | d09fb716ef0f2aaa1b10f9a77fed22b3 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<?php
 5$act = $_GET['act'];
 6$goal = $_GET['goal'];
 7$title = $_GET['title'];
 8$title = sprintf("'%s'",$title);
 9?>
10<html xmlns="http://www.w3.org/1999/xhtml">
11
12<head>
13<title>Dowhat</title>
14<!-- jQuery -->
15<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
16<!-- jQuery calendar stuff -->
17<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
18<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
19<!-- Stylesheet -->
20<link href = "/css/main.css" rel = "stylesheet" type="text/css" />
21<script src="/scripts/main.js"></script>
22<script>
23jQuery(function(){
24    var act = <?php echo $act;?>;
25    var goal = <?php echo $goal;?>;
26    var title = String(<?php echo $title;?>);
27    in_progress_ready(act,title,goal);
28    $("#timeform").click(function(){
29        $("#s_span").fadeToggle();
30        $("#s").fadeToggle();
31    });
32});
33</script>
34
35</head>
36
37<body>
38    <div id="container">
39        <div id="header">
40            <img src="/images/logo.png" alt="keyPOW" width="200px"/>
41        </div>
42        <div id="sidebar">
43            <p>
44            <a href="/keypow.html">Home</a>
45            </p>
46            <p>
47            <a href="/main.php">Enter Log</a>
48            </p>
49            <p>
50            <a href="/view_log.php">View Logs</a>
51            </p>
52            <p>
53            <a href="/logout.php">Log out</a>
54            </p>
55        </div>
56        <div id="content">
57            <div class="box">
58                <form>
59                    <fieldset class="controls">
60                        <h1><span id="activity_title"></span></h1></br>
61                        Elapsed Time:</br>
62                        <div class="scooter">
63                            <input class="ticker" wdisabled="true" value="0" id="h"></input>Hrs
64                            <input class="ticker" disabled="true" value="0" id="m"></input>Min
65                            <input class="ticker" disabled="true" value="0" id="s"></input>Sec
66                        </div>
67                        <p>
68                            <input type="button" class="myBtn" value="Cancel" id="cancel" onclick="cancel_log()"/>
69                        </p>
70                        <p>
71                            <input type="button" class="myBtn" value="Stop and Log" id="log" onclick="inprog_log()"/>
72                        </p>
73                    </fieldset>
74                </form>
75            </div>
76        </div>
77    </div>
78</body>
79
80</html>