reminder.php changes
Produced: 8/25/2007 12:13:12 PM
   
Mode:  Differences with Context  
   
Left file: D:\phpfootball20\reminder.php     Right file: D:\phpfootball20old\reminder.php  
26 if ($_SESSION['user']!=$football->admin_username) = 26 if ($_SESSION['user']!=$football->admin_username)
27 {   27 {
28   $football->ErrorMessage("You must be the Pool Manager to send e-mail<br />Please logout and login as Admin <a href=\"logout.php\">logout</a>");   28   $football->ErrorMessage("You must be the Pool Manager to send e-mail<br />Please logout and login as Admin <a href=\"logout.php\">logout</a>");
29   $errorflag=true;   29   $errorflag=true;
30 }   30 }
31 $action=$_GET['action'];   31 $action=$_GET['action'];
32 $mailprog = "massmail.php"; // set default mailing program <>    
33 if ($football->UseSMTP == "Y") {      
34 $mailprog = "massmailsmtp.php";  // use SMTP mailer      
35 } else {      
36 $mailprog = "massmail.php";  // use PHP mail      
37 }   32  
38 ?> = 33 ?>
39 <html>   34 <html>
40 <head>   35 <head>
41 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   36 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
42 <title>Email Form </title>   37 <title>Email Form </title>
43 <script language="JavaScript" src="validator.js"></script>   38 <script language="JavaScript" src="validator.js"></script>
 
95         if ($action == 1) { = 90         if ($action == 1) {
96     91  
97 ?>   92 ?>
98 </div>   93 </div>
99 <div class="freeForm text">   94 <div class="freeForm text">
100         <div width="100%" style="display: '<? echo $display;?>'">   95         <div width="100%" style="display: '<? echo $display;?>'">
101         <form method="POST" action="<? echo $mailprog; ?>?mailtype=3"> <> 96         <form method="POST" action="massmail.php?mail=3">
102                 <div align="center"> = 97                 <div align="center">
103                 <center>   98                 <center>
104                 <table border="1" cellpadding="1" cellspacing="0" width="100%">   99                 <table border="1" cellpadding="1" cellspacing="0" width="100%">
105                 <tr class="WSGFormHeader"><td colspan="1" align="center">Custom Message</td></tr>   100                 <tr class="WSGFormHeader"><td colspan="1" align="center">Custom Message</td></tr>
106                 <tbody>   101                 <tbody>
107                 <tr class="WSGField">   102                 <tr class="WSGField">
 
151 $winner_content = "Congratulations to Week ".$week1."'s Winner: <strong>".$str."<br><br></strong>"; = 146 $winner_content = "Congratulations to Week ".$week1."'s Winner: <strong>".$str."<br><br></strong>";
152 $winner_content .= "<p>To view the full list of results visit:<br><a href=\"$football->copyrightweb\">$football->sitetitle</a></strong><br>";   147 $winner_content .= "<p>To view the full list of results visit:<br><a href=\"$football->copyrightweb\">$football->sitetitle</a></strong><br>";
153 ?>   148 ?>
154 </div>   149 </div>
155 <div class="freeForm text">   150 <div class="freeForm text">
156         <div width="100%" style="display: '<? echo $display;?>'">   151         <div width="100%" style="display: '<? echo $display;?>'">
157         <form method="POST" action="<? echo $mailprog; ?>?mailtype=4"> <> 152         <form method="POST" action="massmail.php?mail=4">
158                 <div align="center"> = 153                 <div align="center">
159                 <center>   154                 <center>
160                 <table border="1" cellpadding="1" cellspacing="0" width="100%">   155                 <table border="1" cellpadding="1" cellspacing="0" width="100%">
161                 <tr class="WSGFormHeader"><td colspan="1" align="center">Weekly Winner Message</td></tr>   156                 <tr class="WSGFormHeader"><td colspan="1" align="center">Weekly Winner Message</td></tr>
162                 <tbody>   157                 <tbody>
163                 <tr class="WSGField">   158                 <tr class="WSGField">
 
176         </div> = 171         </div>
177     172  
178 </table>   173 </table>
179 <? }   174 <? }
180    if ($action == 3) {   175    if ($action == 3) {
181 $content = "This is a reminder to submit your picks for this weeks football pool!";   176 $content = "This is a reminder to submit your picks for this weeks football pool!";
182 $content .= "<p>Go to :<a href=\"$football->copyrightweb\">$football->sitetitle</a></strong>&nbsp;and&nbsp;login to enter your picks today<br>"; <> 177 $content .= "<p>Go to :<a href=\"$football->copyrightweb\">$football->sitetitle</a></strong> and login to enter your picks today<br>";
183 ?> = 178 ?>
184 </div>   179 </div>
185 <div class="freeForm text">   180 <div class="freeForm text">
186         <div width="100%" style="display: '<? echo $display;?>'">   181         <div width="100%" style="display: '<? echo $display;?>'">
187         <form method="POST" action="<? echo $mailprog; ?>?mailtype=5"> <> 182         <form method="POST" action="massmail.php?mail=5">
188                 <div align="center"> = 183                 <div align="center">
189                 <center>   184                 <center>
190                 <table border="1" cellpadding="1" cellspacing="0" width="100%">   185                 <table border="1" cellpadding="1" cellspacing="0" width="100%">
191                 <tr class="WSGFormHeader"><td colspan="1" align="center">Weekly Picks Reminder</td></tr>   186                 <tr class="WSGFormHeader"><td colspan="1" align="center">Weekly Picks Reminder</td></tr>
192                 <tbody>   187                 <tbody>
193                 <tr class="WSGField">   188                 <tr class="WSGField">