Location: PHPKode > projects > OpenBizMap > openbizmap/mydata/script/script_chpasswd.html
  <?php
    $passwd_array=array();
    $passwd_array=unserialize(base64_decode(file_get_contents(cfg_sso_path.'/data/.passwd.txt')));
    $email=$passwd_array[md5(purename($user.'email'))];
  ?>

  <form action="index.php" method="post">
  <input name="odb_run" type="hidden" value="chpasswd" />

  <table style="width:600px; border:#888 1px solid; background: #fff; margin: 20px auto 20px auto;">
    <tr>
      <td rowspan="7"><div style=" background:#fff; border-right:#aaa 1px solid; margin:0 10px 0 0; text-align:center; width:70px; height:250px;"><img style="margin:5px;" src="images/login.gif" /></div></td>
      <td colspan="2"><h1><?php myecho('Change password'); ?></h1></td>
    </tr>
		<tr>
			<td style="text-align:center;"><?php myecho('Username'); ?></td>
			<td><b><?php echo USERNAME; ?></b>
			</td>
		</tr>
    <!--<tr>
      <td style="text-align:center;"><?php myecho('Enter your e-mail address'); ?></td>
			<td><input type="text" name="odb_email" value="<?php echo $email; ?>" />
			</td>
		</tr>
    <tr>
			<td style="text-align:center;"><?php myecho('Current password'); ?></td>
			<td><input type="password" name="odb_password0" value="">
			</td>
		</tr> -->
		<tr>
			<td style="text-align:center;"><?php myecho('New password'); ?></td>
			<td><input type="password" name="odb_password" value="">
			</td>
		</tr>
    <tr>
			<td style="text-align:center;"><?php myecho('New password (again)'); ?></td>
			<td><input type="password" name="odb_password1" value="">
			</td>
		</tr>
		<tr>
			<td style="text-align:right; padding:5px;" colspan='3'>
				<input class="submit" type="submit" value="<?php myecho('Change'); ?>" />
			</td>
		</tr>
	</table>
  </form>
Return current item: OpenBizMap