<?php

// -----------------------------------------------------------------------
// This file is part of AROUNDMe
// 
// Copyright (C) 2003 - 2007 Barnraiser
// http://www.barnraiser.org/
// info@barnraiser.org
// 
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2, or (at your option) any
// later version.
// 
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with program; see the file COPYING. If not, write to the Free
// Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
// 02110-1301, USA.
// -----------------------------------------------------------------------
?>

<style type="text/css">
<!--
@import url(<?php echo $template_path;?>css/aroundme_form.css);
-->
</style>


<form method="post" action="index.php?amn=core_new_password" name="frm" id="id_frm">

	
<div class="col_left1">
	<?php
	if (isset($display) && $display == "sent_pass") {
	?>
	<div class="box">
		<div class="box_top">
			<div class="content">
				<h1><?php echo $lang['hdr_sent_password'];?></h1>
			</div>
		</div>
			
		<div class="box_mid">
			<div class="content">
				<?php echo $lang['txt_pass_sent'];?><br />
			</div>
		</div>
	</div>
	
	<?php
	}
	else {
	?>
	<div class="box">
		<div class="box_top">
			<div class="content">
				<h1><?php echo $lang['hdr_new_password'];?></h1>
			</div>
		</div>
			
		<div class="box_mid">
			<div class="content">
				<?php echo $lang['txt_new_password'];?>
			</div>
		</div>
	</div>
	<?php }?>
</div>

<div class="col_right1">
	<?php
	if (isset($display) && $display == "sent_pass") {
	?>
	<div class="box">
		<div class="box_top">
			<div class="content">
				<h1><?php echo $lang['hdr_change_password'];?></h1>
			</div>
		</div>
			
		<div class="box_mid">
			<div class="content">
				<?php echo $lang['txt_change_password'];?><br />
			</div>
		</div>
	</div>
	
	<?php
	}
	else {
	?>
	
	<div class="box">
		<div class="box_top">
			<div class="content">
				<h1><?php echo $lang['hdr_req_password'];?></h1>
			</div>
		</div>
		
		<div class="box_mid">
			<div class="content">
				<p>
					<label for="id_email"><?php echo $lang['txt_email'];?></label>
					<input id="id_email" class="input1" type="text" name="email" size="22" /><br />
				</p>
				
				<p>
					<label for="id_dob"><?php echo $lang['txt_dob'];?></label>
					<?php echo $datedropdown;?><br />
				</p>
				
				<p>
					<label for="id_captcha" style="width:300px;"><?php echo $lang['txt_captcha'];?></label><br />
				</p>
				
				<p>
					<img src="get_captcha.php" alt="CAPTCHA" class="picture"><br />
				</p>		
								
				<p>
					<input id="id_captcha" class="input" type="text" name="captchastring" size="20"><br />
				</p>
				
				<p align="right">
					<input type="submit" name="newpassword" value="<?php echo $lang['sub_send'];?>" class="input_submit" /><br />
				</p>
			</div>
		</div>
	</div>
	<?php }?>
</div>
</form>