کد HTML:
<!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" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>مدیریت</title>
<style>
#con{
background-color:#CCC;
width:500px;
height:200px;
margin:auto;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
border-radius: 10px;
}
bb{
background-color:#999;
}
#hu{
background-image:url(images/h-u.png);
width:500px;
height:119px;
margin:auto;
}
li{
list-style:none;
padding-top:10px;
padding-bottom:10px;}
.button, .button:visited {
background: #222 url(overlay.png) repeat-x;
display: inline-block;
padding: 5px 10px 6px;
color: #fff;
text-decoration: none;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
border-bottom: 1px solid rgba(0,0,0,0.25);
position: relative;
cursor: pointer
}
.button:hover { background-color: #111; color: #fff; }
.button:active { top: 1px; }
.small.button, .small.button:visited { font-size: 11px}
.button, .button:visited,
.medium.button, .medium.button:visited
{ font-size: 13px;
font-weight: bold;
line-height: 1;
text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
}
.large.button, .large.button:visited { font-size: 14px;
padding: 8px 14px 9px; }
.super.button, .super.button:visited { font-size: 34px;
padding: 8px 14px 9px; }
.blue.button, .blue.button:visited
{ background-color: #2981e4; }
.blue.button:hover
{ background-color: #2575cf; }
</style>
</head>
<body style="font-family:Tahoma, Geneva, sans-serif" >
<div id="hu"></div>
<fieldset>
<form action="changpass.php" method="post">
<table cellPadding="10" width="48%" border="0" align="center" >
<tr>
<td vAlign="top" width="5%" align="right">
<?php
session_start();
$user=$_SESSION['UserName'];
$code=$_SESSION['Code'];
$namedaftar=$_SESSION['daftar'];
?>
<?php
echo ($code);
?>
</td>
<td>کد دفتر</td>
</tr>
<tr>
<td vAlign="top" width="5%" align="right">
<?php
echo ($namedaftar);
?>
</td>
<td>نام </td>
</tr>
<tr>
<td vAlign="top" width="5%" align="right">
<?php
echo ($user);
?>
</td>
<td>نام کاربری</td>
</tr>
<tr>
<td vAlign="top" width="5%" align="right">
<input name="order" type="text" align="right"/></td>
<td>رمز فعلی</td>
</tr>
<tr>
<td vAlign="top" width="5%" align="right">
<input name="new" type="text" align="right"/></td>
<td>رمز جدید</td>
</tr>
<tr>
<td vAlign="top" width="5%" align="right">
<input name="new1" type="text" align="right"/></td>
<td>تکرار رمز</td>
</tr>
</table>
<input name="sumbit" type="submit" value="ثبت اطلاعات" id="small button blue" />
</form>
</fieldset>
</body>
</html>