-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccount.php
60 lines (58 loc) · 1.39 KB
/
account.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<html lang='en'>
<?php
include ("tasti.inc") ;
$isAuthenticated=login_check();
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tasti - Account Management</title>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<link rel="stylesheet" type="text/css" href="css/jquery.validity.css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.validity.js"></script>
<script type="text/javascript">
$(function() {
$("form").validity(function() {
if($("#password0").val().length){
$("#password0")
.minLength(6, "Must be at least 6 characters") ;
}
if($("#password1").val().length){
$("#password1")
.minLength(6, "Must be at least 6 characters") ;
}
if($("#email").val().length){
$("#email")
.match("email","Requires a valid email address")
.minLength(5, "Must be at least 5 characters");
}
});
});
</script>
</head>
<body>
<div id="wrapper">
<div id="header">
<?php
header0($isAuthenticated) ;
?>
</div>
<div id="faux">
<div id="leftcolumn">
<?php
account_mgmt() ;
?>
<div class="clear"></div>
</div>
<div id="rightcolumn">
<div class="clear"></div>
</div>
</div>
<div id="footer">
<?php
footer() ;
?>
</div>
</div>
</body>
</html>