<?php
###################################################################
##                           WARNING!                            ##
##                                                               ##
##        THIS SCRIPT IS COPYRIGHTED TO STOREBUILDR.COM          ##
##      DUPLICATING, SELLING OR TRANSFERRING OF THIS SCRIPT      ##
##    IS A VIOLATION OF THE COPYRIGHT AND PURCHASE AGREEMENT     ##
##          PLEASE READ THE TERMS AND CONDITIONS HERE:           ##
##      HTTP://STOREBUILDR.COM/ADMIN-TERMS-AND-CONDITIONS        ##
## ANY VIOLATION OF THESE TERMS WILL BE DEALT WITH LEGAL ACTION! ##
##                                                               ##
###################################################################
error_reporting(0);
ini_set('display_errors','off');
?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Store Buildr Admin Area</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0" class="table_border">
  <tr>
    <td colspan="2" align="left" valign="top"><div align="center" style="background-color:#5cadcb"><img src="images/logo450.png" width="450" height="96" /></div></td>
  </tr>
  <tr>
    <td width="250" align="center" valign="top" style="padding-left:10px; padding-right:10px; padding-top:20px; padding-bottom:20px">
<!--Side Nav -->
<table width="250" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="middle"></td>
  </tr>
  <tr>
    <td align="center" valign="middle"><div class="green"><strong>Enter your email address that you used in your website and your username and password will be sent to your email.</strong></div></td>
  </tr>
  <tr>
    <td align="center" valign="middle"></td>
  </tr>
</table>
<!--Side Nav -->    </td>
    <td width="706" align="left" valign="top" style="padding-left:10px; padding-right:10px; padding-top:20px; padding-bottom:20px"><div class="members_title"><strong>Forgot Your Username or Password?</strong></div>
<!--Main -->
      <table width="705" border="0" cellspacing="0" cellpadding="0">
          <form name="frm" action="file_io.php" method="post" onSubmit="return chk()">
            <input type="hidden" name="do_type" value="admin_settings_forgot">
            <tr>
              <td height="100" align="center" valign="middle" class="title1"><p><span class="main1b">Enter your email address that you used in your website and your username and password<br>
                  will be sent to your email.</span></p>
                </td>
            </tr>
            <?php
		if($_REQUEST[flag]==2)
		  {
?>
            <tr>
            <td height="50" align="center" valign="middle" class="error">Invalid email address. Please try again <img src="images/x-red.png" width="20" height="20" align="absmiddle" />            </tr>
            <?php
		}
?>
            <?php
		if($_REQUEST[flag]==1)
		  {
?>
            <tr>
              <td height="50" align="center" valign="middle" class="saved">Your username and password have been sent to your email address<br />Please check your inbox! <img src="images/check-green2.png" width="20" height="20" align="absmiddle" /></td>
            </tr>
            <?php
		}
?>
            <tr>
              <td height="50" align="center" valign="middle">Email Address: 
              <input name="email" type="text" style="width:300px"></td>
            </tr>
            <tr>
              <td height="20" align="center" valign="middle">&nbsp;</td>
            </tr>
            <tr>
              <td height="50" align="center" valign="middle"><p>
                  <input type="submit" name="Submit" value="Send Username/Password" id="submit">
              </p></td>
            </tr>
            <tr>
              <td height="50" align="center" valign="middle">&nbsp;</td>
            </tr>
          </form>
        </table>
<!--Main --></td>
  </tr>
</table>
<div align="center"><span class="footer_policy">No part of this website may be reproduced or transmitted in any form or by any means without written permission from StoreBuildr.com<br />
        <strong>Copyright
<script type="text/javascript" language="JavaScript">function getCorrectedYear(year) {
year = year - 0;
if (year < 70) return (2000 + year);
if (year < 1900) return (1900 + year);
return year;
}
var lmod = new Date();
var yearstr = getCorrectedYear(lmod.getYear());
document.write(yearstr);
// -->
</script>, StoreBuildr.com. All Rights Reserved.</strong></span></div>
</body>
</html>
