예제 #1
0
function _die($message)
{
    info_top();
    echo $message;
    info_bottom();
    die;
}
예제 #2
0
function _die($message)
{
    info_top();
    echo '<div class="main col-xs-7"><center><img src="/202-img/prosper202.png"></center>';
    echo $message;
    echo '</div>';
    info_bottom();
    die;
}
예제 #3
0
        $success = true;
    }
}
$html['user_name'] = htmlentities($user_row['user_name'], ENT_QUOTES, 'UTF-8');
//if password was changed succesfully
if ($success == true) {
    _die("<div style='text-align: center'><br/>Congratulations, your password has been reset.<br/>\n\t\t   You can now <a href=\"/xtracks-login.php\">login</a> with your new password</div>");
}
if ($error['user_pass_key']) {
    _die("<div style='text-align: center'><br/>" . $error['user_pass_key'] . "<p>Please use the <a href=\"/202-lost-pass\">password retrieval tool</a> to get a new password reset key.</p></div>");
}
//else if none of the above, show the code to reset!
?>
 
	<?php 
info_top();
?>
		<form method="post" action="">
			<input type="hidden" name="token" value=""/>
			<table class="config" cellspacing="0" cellpadding="5" style="margin: 0px auto;" >
				<tr><td colspan="2" style="text-align: center;">Please create a new password and verify it to proceed.</td></tr>
				<tr><td/></tr>
				 <tr>
					<th>Username:</th>
					<td><input id="user_name" type="text" name="user_name" value="<?php 
echo $html['user_name'];
?>
"  readonly="true""/></td>
				</tr>
				 <tr>
					<th>New Pass:</th>