RE: More Code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



       I'm trying to create a "forgotten email page." Here's the whole
page's code:
       <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
       <html>
       	<head>
        		 <title>Millington Central HS Volleyball</title>
         		 <style type="text/css">
       			<!--
       				body {
       					background-color: #000000;
       					 }
       				body,td,th {
       				   color: #FFFFFF;
       					 }
       				a:link {
       			   	   color: #000000;
       					   }
       				a:visited {
       				   color: #000000;
       					   }
       				.style3 {
       				  color: #000000;
       				  font-weight: bold;
       					   }
       				.style5 {
       				  color: #000000;
       				  font-weight: bold;
       				  font-family: Arial, Helvetica, sans-serif;
       				  font-size: x-large;
       					   }
       .style7 {
       	color: #DFC472;
       	font-weight: bold;
       }
                </style>
       </head>
       
       <body>
       	<center>
         		<table border="0" cellpadding="0" cellspacing="0">
           <tbody>
             <tr>
               <td>
               <table cellpadding="0" cellspacing="0" border="0" width="764"
align="center">
                 <tbody>
                   <tr>
                     <td bgcolor="#ffff99">
                     <table width="774" border="0" cellpadding="0"
cellspacing="0">
                       <tbody>
                         <tr bgcolor="#baad41">
                           <td></td>
                           <td height="28" bgcolor="#DFC472"><div
align="center"><img src="Banner.jpg" width="761" height="138"></div></td>
                         </tr>
                         <tr bgcolor="#baad41">
                           <td width="1"></td>
                           <td width="762" height="28"
bgcolor="#DFC472"><div align="center"><span class="style5">Password
Retrieval </span></div></td>
                         </tr>
                       </tbody>
                     </table>
                     </td>
                   </tr>
                   <tr>
                     <td valign="top">
                     <table width="769" border="1" bgcolor="#333333">
                       <tbody>
                         <tr>
                           <td width="735" height="28"><table width="100%"
border="0" cellspacing="0" cellpadding="0">
                             <tr>
                               <td height="40"><table width="100%"
class="layoutTable" border="0" cellpadding="6" cellspacing="0">
                                   <tr>
                                     <td width="200" align="center"
valign="bottom" bgcolor="#999999" class="pageHeader style7">SEND PASSWORD
</td>
                                     <td bgcolor="#000000"><?php echo
$ConfirmMessage; ?></td>
                                   </tr>
                               </table></td>
                             </tr>
                             <tr>
                               <td><form name="SendPassword" method="post"
action="">
                                 <table width="100%" border="0"
cellspacing="0" cellpadding="6">
                                   <tr>
                                     <td width="25">&nbsp;</td>
                                     <td colspan="2">&nbsp;</td>
                                   </tr>
                                   <tr>
                                     <td width="25">&nbsp;</td>
                                     <td colspan="2" class="plaintext">If
you have forgotten your password, please enter your email address  in the
text box below. Your user name and password information will be e-mailed to
that email address. </td>
                                   </tr>
                                   <tr>
                                     <td>&nbsp;</td>
                                     <td colspan="2">&nbsp;</td>
                                   </tr>
                                   <tr>
                                     <td width="25">&nbsp;</td>
                                     <td class="formTitle">Email
Address</td>
                                     <td class="formField"><input
name="EmailAddress" type="text" id="EmailAddress" size="40"></td>
                                   </tr>
                                   <tr>
                                     <td width="25">&nbsp;</td>
                                     <td class="formTitle"><?php
       $ConfirmMessage = "";
       if ($totalRows_LostPassword > 0) {
       	$to = $_POST['EmailAddress'];
       	$from = "From: coachg@xxxxxxxxxx <coachg@xxxxxxxxxx>\r\n";
       	$subject = "RE: Your Login Information";
       	$body = "UserName: " . $row_LostPassword['UserName'] . "\rPassword:
" . $row_LostPassword['UserPassword'];
       	@mail($to,$subject,$body,$from);
       	$ConfirmMessage = "Your login information has been sent to: " .
$_POST['EmailAddress'];
       }
       ?>                                </td>
                                     <td class="formField"><input
name="SendPWD" type="submit" id="SendPWD" value="Send Login Info"></td>
                                   </tr>
                                 </table>
                               </form>
                                 </td>
                             </tr>
                           </table>
                             </td>
                           </tr>
                       </tbody>
                     </table>
                    </td>
                   </tr>
                   <tr bgcolor="#000000">
                     <td bgcolor="#DFC472">
                     <div align="center" class="style3"><a
href="Home.html">RETURN TO MCHSVB.COM <br>
                     </a></div>
                     </td>
                   </tr>
                 </tbody>
               </table>
       	</td>
             </tr>
           </tbody>
         </table>
       </center>
       </body>
       </html>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux