<?php

session_name("SIGNADMAUTH");
session_start();

include "common/config/config.php";
include "common/config/dbconfig.php";
include "common/functions/funcconnect.php";
include "common/functions/funcselectdb.php";
openDB();

include "common/functions/funcauthen.php";

$content="<form action='forgetpassword_process.php' method='post' style='padding:0; margin:0'>
											<b>LUPA PASSWORD</b><br><br>
											Masukan username dan alamat email yang terdaftar
											untuk meminta password<br><br><br>
											<table border='0' cellpadding='8px' cellspacing='0'>
												<tr>
													<td align='left' valign='middle' height='31'>Username</td>
													<td align='center' valign='middle'>:</td>
													<td align='left' valign='middle'>
														<input type='text' name='nama' size='50'>
													</td>
												</tr>
												<tr>
													<td align='left' valign='middle' height='31'>Alamat E-mail</td>
													<td align='center' valign='middle'>:</td>
													<td align='left' valign='middle'>
														<input type='text' name='email' size='50'>
													</td>
												</tr>
												<tr>
													<td style='padding-bottom:15px'></td>
													<td style='padding-bottom:15px'></td>
													<td align='left' valign='middle' style='padding-bottom:15px'>
														<input type='submit' value=' Minta Password '> &nbsp;
														<input type='button' value=' Batal ' onclick=\"history.back()\">
													</td>
												</tr>
											</table>
										</form>
										<br>
										";

include "common/include/template.php";
$temp=new template;
$temp->define_theme("themes/theme_notlogin.html");
$temp->define_tag("{PAGETITLE}", $namaaplikasi);
$temp->define_tag("{APPCONTENT}", $content);
$temp->parse();
$temp->printproses();

closeDB();

?>