예제 #1
0
    function reset_password()
    {
        global $db, $user, $form, $group, $games, $config, $array;
        echo '
			<div class="green_contentbox">
			<div class="green_content_top">
				<h3 class="content_box_header">Reseting User Password</h3>
			</div>
			<div class="green_content">
							<div class="content_box_minor_header">
								<h4 class="content_box_minor_header">
									' . $_SESSION['event'] . '
									' . $form->error("security") . '
								</h4>
							</div>
			<form action="process.php" method="post">
			<table class="form" cellpadding="0" cellspacing="5">
			<input type="hidden" name="cmd" value="reset" />
			<tr>
				<td>
					<h4 class="form_label_cb">Name: </h4>
				</td>
				<td>
					<select class="select" name="username">
						';
        select_user_all(0);
        echo '</select>
				</td>
				<td>
					<font class="error">' . $form->error("username") . '</font>
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center">
					<input type="submit" value="Reset Password" />
				</td>
			</tr>
			</table>
			</form>
			<br />
		

<div><a class="return" href="index.php?view=console">Click Here to return to your console</a></div>
						</div>
			<div class="green_content_bottom">
			</div>
		</div>
			';
    }
								<h4 class="content_box_minor_header">
									' . $_SESSION['event'] . '
									' . $form->error("security") . '
								</h4>
							</div>
			<form action="process.php" method="post">
			<table class="form" cellpadding="0" cellspacing="5">
			<input type="hidden" name="cmd" value="reset" />
			<tr>
				<td>
					<h4 class="form_label_cb">Name: </h4>
				</td>
				<td>
					<select class="select" name="username">
						';
        select_user_all(0);
        echo '</select>
				</td>
				<td>
					<font class="error">' . $form->error("username") . '</font>
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center">
					<input type="submit" value="Reset Password" />
				</td>
			</tr>
			</table>
			</form>
			<br />
		<div><a class="return" href="index.php?view=console">Click Here to return to your console</a></div>