/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to DuggaSys/changePassword/pageframe.html.php

bug fixed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<html>
2
2
        <head>
3
 
                <meta charset="utf-8" />
4
 
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
 
                <link href="css/base.css" rel="stylesheet" type="text/css" />
6
 
                <link href="css/app.css" rel="stylesheet" type="text/css" />
7
 
                <script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
8
 
                <title><?php $pagetitle ?></title>
9
 
                <script type="text/javascript">
 
3
                <meta charset = "utf-8" />
 
4
                <meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" />
 
5
                <link href = "../../css/base.css" rel = "stylesheet" type = "text/css" />
 
6
                <link href = "../../css/app.css" rel = "stylesheet" type = "text/css" />
 
7
                <script type = "text/javascript" src = "../../js/jquery-1.8.0.min.js"></script>
 
8
                <title>
 
9
                        <?php 
 
10
                                $pagetitle 
 
11
                        ?>
 
12
                </title>
 
13
                <script type = "text/javascript">
10
14
                        $(document).ready(function() {
11
15
                                /* $('form').find(':input[type=submit]').focus(function() {
12
16
                                        target = this;
18
22
                                        $(this).find("#scrolly").val($(document).scrollTop());
19
23
                                        //var val = $("input[type=submit][clicked=true]").val()
20
24
                                });
21
 
                                $('.confirm').click(function(){
 
25
                                $('.confirm').click(function() {
22
26
                                        var answer = confirm('Are you sure?');
23
27
                                        return answer // answer is a boolean
24
28
                                });  
25
29
                                <?php 
26
 
                                if(isset($_POST['scrolly'])){ 
27
 
                                        echo '$(document).scrollTop('.$_POST['scrolly'].');';
28
 
                                        //echo 'alert("setting scrolly");';
29
 
                                }       
 
30
                                        if(isset($_POST['scrolly'])) { 
 
31
                                                echo '$(document).scrollTop('.$_POST['scrolly'].');';
 
32
                                                //echo 'alert("setting scrolly");';
 
33
                                        }       
30
34
                                ?>
31
35
                        });
32
 
                        
33
 
                
34
36
                </script>
35
37
        </head>
36
38
        <body>
37
 
        <div id="wrapper">
38
 
 
39
 
            <div id="menu">
40
 
                <?php include "menu.php"; ?>
41
 
            </div>
42
 
            <div id="content">
43
 
                <?php
44
 
                if (isset($errorMsg) && $errorMsg != "") {
45
 
                   echo "<p class='errorMsg'>".$errorMsg."</p>";
46
 
                } 
47
 
                                if (isset($userMsg) && $userMsg != "") {
48
 
                   echo "<h3>".$userMsg."</h3>";
49
 
                }
50
 
                ?>
51
 
                <?php
52
 
                // DEBUG //////
53
 
                                /*echo "<pre>";
54
 
                print_r($_POST);
55
 
                                //print_r($_SESSION);
56
 
                echo "</pre>";*/
57
 
                                ///////////////
58
 
                ?>
59
 
                <?php include $content; ?>
60
 
            </div>
61
 
            <div id="footer">
62
 
                <p>Page footer</p>
63
 
                                 <?php
64
 
                // DEBUG //////
65
 
                                echo "<pre>";
66
 
                print_r($_POST);
67
 
                                //print_r($_SESSION);
68
 
                echo "</pre>";
69
 
                                ///////////////
70
 
                ?>
71
 
            </div>
72
 
        </div>  
73
 
    </body>
 
39
                <div id = "wrapper">
 
40
                        <div id = "menu">
 
41
                                <?php 
 
42
                                        include "menu.php"; 
 
43
                                ?>
 
44
                        </div>
 
45
                        <div id = "content">
 
46
                                <?php
 
47
                                        if( isset( $errorMsg ) && $errorMsg != "") {
 
48
                                                echo "<p class='errorMsg'>".$errorMsg."</p>";
 
49
                                        } 
 
50
                                        if( isset( $userMsg ) && $userMsg != "") {
 
51
                                                echo "<h3>".$userMsg."</h3>";
 
52
                                        }
 
53
                                ?>
 
54
                                <?php
 
55
                                        // DEBUG //////
 
56
                                        /*echo "<pre>";
 
57
                                        print_r($_POST);
 
58
                                        //print_r($_SESSION);
 
59
                                        echo "</pre>";*/
 
60
                                        ///////////////
 
61
                                ?>
 
62
                                <?php 
 
63
                                        include $content; 
 
64
                                ?>
 
65
                        </div>
 
66
                        <div id = "footer">
 
67
                                <p>Page footer</p>
 
68
                                <?php
 
69
                                        // DEBUG //////
 
70
                                        echo "<pre>";
 
71
                                        print_r($_POST);
 
72
                                        //print_r($_SESSION);
 
73
                                        echo "</pre>";
 
74
                                        ///////////////
 
75
                                ?>
 
76
                        </div>
 
77
                </div>
 
78
        </body>
74
79
</html>