-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchange_users_password.php
113 lines (101 loc) · 2.96 KB
/
change_users_password.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php
session_start();
require_once("administrator/includes/UserFunctions.php");
$cat_id=1001;
$banner=UserFunctions::getBannerName($cat_id);
$details=ADAO::getUserdetailsById($_SESSION['id']);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Social Search Book</title>
<link href="css/style.css" type="text/css" rel="stylesheet" media="screen"/>
<style type="text/css">
<!--
body {
background-image: url(images/pgbg.jpg);
background-color: #EFEFEF;
background-repeat: repeat-x;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<script type="text/javascript "src="js/jquery.min.js"></script>
</head>
<body>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<?php if(UserFunctions::isUserAuthenticated()){echo '<tr><td><table width="220" height="30" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="110"><span style="color:#fff;font-size:12px">Welcome '.$details['name'].'</span></td>
<td width="10"><span style="color:#fff">|</span></td>
<td width="100"> <a href="logout.php" style="color:#fff;text-decoration:none;font-size:12px">Logout</a></td>
</tr>
</table></td></tr>
';} else {?>
<tr>
<td height="30">
<form id="form1" name="form1" method="post" action="checkUsersLogin.php">
<table width="936" height="25" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="247"> </td>
<td width="418" align="right"><label>
<input name="username" type="text" class="tb7" />
</label></td>
<td width="165" align="right"><label>
<input name="password" type="password" class="tb7" />
</label></td>
<td width="106" align="center"><input type="image" src="images/login.jpg" width="70" height="22" /></td>
</tr>
</table>
</form> </td>
</tr>
<?php
}
?>
<tr>
<td height="128"><?php include("common/header.php"); ?></td>
</tr>
<tr>
<td height="152"><?php include("common/flash.php"); ?></td>
</tr>
<tr>
<td height="44"><?php include("common/links.php"); ?></td>
</tr>
<tr>
<td height="75"><?php include("common/search.php"); ?></td>
</tr>
<tr>
<td height="10"> </td>
</tr>
<tr>
<td height="10"> </td>
</tr>
<tr>
<td>
<!--Serach Content_tbl-->
<?php include("common/post_change_pwd.php");?>
<!--Serach_content_tbl ends here-->
</td>
</tr>
<tr>
<td height="10"> </td>
</tr>
<tr>
<td height="10"> </td>
</tr>
<tr>
<td height="5"></td>
</tr>
<tr>
<td><?php include("common/footer.php"); ?></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</body>
</html>