Shoutpro1.0 > Userpanel / Findpass.php

Questions? Need Help? Want to share? » PHP Forum
Script Name:
Shoutpro1.0

Download:
shoutpro1.0.zip

Category:
Chat Scripts

Archive Content:

Content:

Documentation

Lists

Smilies

Userpanel

Findpass.php:


<?php

/*
ShoutPro 1.0 - User Panel - findpass.php
ShoutPro is released under the GNU General Public Liscense.  A full copy of this license is included with this distribution under the file LICENSE.TXT.  By using ShoutPro or the source code,  you acknowledge you have read and agree to the license.

This file is findpass.php.  It is part of the User Panel addon to ShoutPro.  There is no need to modify anything in this file.  All modifications should be done in the file upconfig.php.
*/

//upconfig.php is essential for using this addon script.
require("upconfig.php");

//include.php calls default ShoutPro functions and settings into effect.  ShoutPro cannot run without it.
require("$path/include.php");

if (
$userpanelon != "yes"){
    die (
"Sorry the user panel has not been enabled in config.php");
}
?>


<html><head><title>Find your Password</title>

<style type="text/css">
<!--
<?php echo($textboxstyle); ?>
-->
</style>

<!-- Begin Link Styles -->
<style type="text/css">
 a:link{<?php echo($link_style); ?>}
 a:visited{<?php echo($link_visited_style); ?>}
 a:hover{<?php echo($link_hover_style); ?>}   
 a:active{<?php echo($link_active_style); ?>}
</style>
<!-- End Link Styles -->

<!-- Begin Scrollbar Styles -->
<style>  
<!-- 
<?php
if($scrollbar_styles_on != "off"){
echo(
"BODY{ scrollbar-face-color:".$scrollbar_face_color."; scrollbar-arrow-color:".$scrollbar_arrow_color."; scrollbar-track-color:".$scrollbar_track_color."; scrollbar-shadow-color:".$scrollbar_shadow_color."; scrollbar-highlight-color:".$scrollbar_highlight_color."; scrollbar-3dlight-color:".$scrollbar_3dlight_color."; scrollbar-darkshadow-Color:".$scrollbar_darkshadow_color."; }");
}
?>
-->   
</style>    
<!-- End Scrollbar Styles -->

</head>
<?php
echo("<body bgcolor=".$bgcolor." text=".$textcolor." bottommargin=".$bottommargin." topmargin=".$topmargin." leftmargin=".$leftmargin." rightmargin=".$rightmargin.">");
?>

<font style='font-size: <?php echo($textsize); ?>pt' face='<?php echo($fontface); ?>'>
Please enter the username you lost the password for.  Your password will automatically be emailed to the address you entered when registering.<p>
<form name="findpass" action="dofind.php" method="POST">
<?php
if (!$_COOKIE['shoutpro_username']){
    echo(
"Username: <input class='textbox' name='name' type='text' size='10' value=''><br />\n"); 
} else {
    echo(
"Username: <input class='textbox' name='name' type='text' size='10' value='".$_COOKIE['shoutpro_username']."'><br />\n"); 
    }
?>
<input class='textbox' type='submit' value='Send Password'>
</form>
<p><a href="index.php">User Panel Home</a>::<a href="javascript:window.close()">Close Window</a>


Other Chat Scripts Scripts:

WebMaster Resources Home

©RingsWorld.com