Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require "globals.php";
- global $c;
- print "<html>
- <head>
- <title>Infamous Wars</title>
- <style>
- body { font-family:Verdana;font-size:8pt;color: black;background: #C3C3C3; }
- .details { border: 2px dashed red; background: #F88;width:50%;height=120; }
- .details table,tr,td { font-size:10pt;border: 1px solid white; }
- .logo img { border: none; }
- a { text-decoration: none; }
- </style>
- </head>
- <body><center>";
- $tt=mysql_query("SELECT * FROM users",$c) or die(mysql_error());
- while($gh=mysql_fetch_array($tt))
- {
- $to = $gh['email'];
- $subject = "Infamous Wars";
- $headers = "From: Infamous Wars Staff";
- $body = "
- <center><img src=http://www.infamous-wars.com/images/title.png></center>
- <br/>
- <br/>
- Hello {$gh['username']}!
- Test
- <br/><br/><br/>
- Please Do NOT Reply to this E-mail<br/>
- If you Want to Reply Please Login via <a href=http://www.infamous-wars.com>HERE</a><br/>
- ";
- mail($to, $subject, $body, $headers);
- print "Email sent to {$gh['username']}!<br />";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment