PalmaSolutions

cfg.php

Jul 27th, 2019
726
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 8.11 KB | None | 0 0
  1.  
  2. <!-- HTML And JavaScript -->
  3.  
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
  6.  
  7. <head>
  8. <body bgcolor=\"black\" style="background-color: #CCCCCC">
  9. <meta http-equiv="Content-Language" content="en-us" />
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  11. <title>.:| Rebels Mailer |::.</title>
  12. <style type="text/css">
  13. .style1 {
  14.     font-size: x-small;
  15. }
  16. .style2 {
  17.     direction: ltr;
  18. }
  19. .info {
  20.     font-size: 8px;
  21. }
  22. .style3 {
  23.     font-family: Verdana, Arial, Helvetica, sans-serif;
  24.     font-size: 8px;
  25. }
  26. .style4 {
  27.     font-size: x-small;
  28.     direction: ltr;
  29.     font-family: Verdana, Arial, Helvetica, sans-serif;
  30. }
  31. .style5 {
  32.     font-size: xx-small;
  33.     direction: ltr;
  34.     font-family: Verdana, Arial, Helvetica, sans-serif;
  35. }
  36. .auto-style1 {
  37.     color: #5F5F5F;
  38. }
  39. .auto-style2 {
  40.     color: #545454;
  41.     text-align: center;
  42. }
  43. .auto-style3 {
  44.     color: #4F4F4F;
  45. }
  46. .auto-style5 {
  47.     direction: ltr;
  48.     color: #4F4F4F;
  49. }
  50. .auto-style6 {
  51.     color: #BCBCBC;
  52.     background-color: #545454;
  53. }
  54. .auto-style7 {
  55.     color: #545454;
  56. }
  57. .auto-style8 {
  58.     font-size: x-small;
  59.     color: #545454;
  60. }
  61. </style>
  62. </head>
  63.  
  64. <body onload="funchange" style="background-color: #CCCCCC">
  65. <script>
  66.  
  67.     window.onload = funchange;
  68.     var alt = false;   
  69.     function funchange(){
  70.         var etext = document.getElementById("emails").value;
  71.         var myArray=new Array();
  72.         myArray = etext.split("\n");
  73.         document.getElementById("enum").innerHTML=myArray.length+"<br />";
  74.         if(!alt && myArray.length > 40000){
  75.             alert('If Mail list More Than 40000 Emails This May Hack The Server');
  76.             alt = true;
  77.         }
  78.        
  79.     }
  80.     function mlsplit(){
  81.         var ml = document.getElementById("emails").value;
  82.         var sb = document.getElementById("txtml").value;
  83.         var myArray=new Array();
  84.         myArray = ml.split(sb);
  85.         document.getElementById("emails").value="";
  86.         var i;
  87.         for(i=0;i<myArray.length;i++){
  88.            
  89.             document.getElementById("emails").value += myArray[i]+"\n";
  90.        
  91.         }
  92.         funchange();
  93.     }
  94.    
  95.     function prv(){
  96.         if(document.getElementById('preview').innerHTML==""){
  97.             var ms = document.getElementsByName('message').message.value;
  98.             document.getElementById('preview').innerHTML = ms;
  99.             document.getElementById('prvbtn').value = "Ocultar";
  100.         }else{
  101.             document.getElementById('preview').innerHTML="";
  102.             document.getElementById('prvbtn').value = "Preview";
  103.         }
  104.     }
  105.    
  106. </script>
  107.  
  108. <h1 class="auto-style2">.:| Rebels Mailer |::.</h1>
  109.  
  110. <center>
  111. <p class="auto-style1">&nbsp;</p></center>
  112.  
  113. <form name="form" method="post" enctype="multipart/form-data" action="">
  114.     <table width="100%" border="0">
  115.         <tr>
  116.             <td width="10%">
  117.             <div align="right" class="auto-style8">
  118.                 <font face="Verdana, Arial,
  119. Helvetica, sans-serif">Sender Email:</font></div>
  120.             </td>
  121.             <td style="width: 40%">
  122.             <font size="-3" face="Verdana, Arial, Helvetica,
  123. sans-serif"><input name="from" value="<?php echo($from); ?>" size="30" type="text" class="auto-style6" /><br>
  124.             <td>
  125.             <div align="right" class="auto-style7">
  126.                 <font size="-3" face="Verdana, Arial,
  127. Helvetica, sans-serif">Sender Name:</font></div>
  128.             </td>
  129.             <td width="41%">
  130.             <font size="-3" face="Verdana, Arial, Helvetica,
  131. sans-serif"><input name="realname" value="<?php echo($realname); ?>" size="30" type="text" class="auto-style6" />
  132.             <br>        </tr>
  133.         <tr>
  134.             <td width="10%">
  135.  
  136.         </tr>
  137.         <tr>
  138.             <td width="10%">
  139.             <div align="right" class="auto-style7">
  140.                 <font size="-3" face="Verdana, Arial,
  141. Helvetica, sans-serif">Subject:</font></div>
  142.             </td>
  143.             <td colspan="3">
  144.             <font size="-3" face="Verdana, Arial, Helvetica,
  145. sans-serif"><input name="subject" value="<?php echo($subject); ?>" size="30" type="text" class="auto-style6" /> </font>
  146.            
  147.        
  148.         <tr valign="top">
  149.             <td colspan="3" style="height: 260px">
  150.             <font size="-3" face="Verdana, Arial, Helvetica,
  151. sans-serif"><textarea name="message" rows="10" style="width: 455px" class="auto-style6"><?php echo($message); ?></textarea>&nbsp;<br class="auto-style3" />
  152.             <input name="action" value="send" type="hidden" class="auto-style3" />
  153.             <input type="button" id="prvbtn" value="Preview" onclick="prv()" style="width: 81px" class="auto-style6" /><input value="Send" type="submit" class="auto-style6" /><span class="auto-style3">&nbsp;
  154.             </span><span class="auto-style7">Wait</span><span class="auto-style3">
  155.             </span>
  156.             <input name="wait" type="text" value="<?php echo($wait); ?>" size="8" class="auto-style6" /><span class="auto-style3">&nbsp;</span><span class="auto-style7">
  157.             seconds to send </span> </font></td>
  158.             <td width="41%" class="style2" style="height: 150px">
  159.             <font size="-3" face="Verdana, Arial, Helvetica,
  160. sans-serif">
  161.             <textarea id="emails" name="emaillist" cols="30" onselect="funchange()" onchange="funchange()" onkeydown="funchange()" onkeyup="funchange()" onchange="funchange()" style="height: 161px" class="auto-style6"><?php echo($emaillist); ?></textarea>
  162.             <br class="auto-style5" />
  163.             <span class="auto-style7">Quantity Emails : </span> </font><span  id="enum" class="style1">0<br class="auto-style3" />
  164.             </span>
  165.             <span  class="auto-style8">Divide the mailing list by:</span>
  166.             <input name="textml" id="txtml" type="text" value="," size="8" class="auto-style6" /><span class="auto-style3">&nbsp;&nbsp;&nbsp;
  167.             </span>
  168.             <input type="button" onclick="mlsplit()" value="Divide" style="height: 23px" class="auto-style6" /></td>
  169.         </tr>
  170.     </table>
  171.             <font size="-3" face="Verdana, Arial, Helvetica,
  172. sans-serif">
  173. <div id="preview">
  174. </div>
  175.     </font>
  176. </form>
  177.  
  178. <!-- END -->
  179.  
  180.  
  181. <?
  182.  
  183. if ($action){
  184.  
  185.        if (!$from || !$subject || !$message || !$emaillist){
  186.            
  187.        print "Please complete all fields before sending your message.";
  188.         exit;  
  189.     }
  190.     $nse=array();
  191.     $allemails = split("\n", $emaillist);
  192.             $numemails = count($allemails);
  193.             if(!empty($_POST['wait']) && $_POST['wait'] > 0){
  194.                 set_time_limit(intval($_POST['wait'])*$numemails*3600);
  195.             }else{
  196.                 set_time_limit($numemails*3600);
  197.             }
  198.             if(!empty($smv)){
  199.                 $smvn+=$smv;
  200.                 $tmn=$numemails/$smv+1;
  201.             }else{
  202.                 $tmn=1;
  203.             }
  204.             for($x=0; $x<$numemails; $x++){
  205.                $to = $allemails[$x];
  206.                if ($to){
  207.                     $to = ereg_replace(" ", "", $to);
  208.                     $message = ereg_replace("#EM#", $to, $message);
  209.                     $subject = ereg_replace("#EM#", $to, $subject);
  210.                     flush();
  211.                     $header = "From: $realname <$from>\r\n";
  212.                     $header .= "MIME-Version: 1.0\r\n";
  213.                     $header .= "Content-Type: text/html\r\n";
  214.                     if ($x==0 && !empty($tem)) {
  215.                         if(!@mail($tem,$subject,$message,$header)){
  216.                             print('The test Post was not Submitted.<br />');
  217.                             $tmns+=1;
  218.                         }else{
  219.                             print('Your Message was Sent Test.<br />');
  220.                             $tms+=1;
  221.                         }
  222.                     }
  223.                     if($x==$smvn && !empty($_POST['smv'])){
  224.                         if(!@mail($tem,$subject,$message,$header)){
  225.                             print('The test Post was not Submitted.<br />');
  226.                             $tmns+=1;
  227.                         }else{
  228.                             print('Your Message was Sent Test.<br />');
  229.                             $tms+=1;
  230.                         }
  231.                         $smvn+=$smv;
  232.                     }
  233.                     print "$to ....... ";
  234.                     $msent = @mail($to, $subject, $message, $header);
  235.                     $xx = $x+1;
  236.                     $txtspamed = "spammed";
  237.                     if(!$msent){
  238.                         $txtspamed = "error";
  239.                         $ns+=1;
  240.                         $nse[$ns]=$to;
  241.                     }
  242.                     print "$xx / $numemails .......  $txtspamed<br>";
  243.                     flush();
  244.                     if(!empty($wait)&& $x<$numemails-1){
  245.                             sleep($wait);
  246.                     }
  247.                 }
  248.             }
  249.  
  250. }
  251.  
  252. ?>
  253. <br>
  254. <br>
  255. <br>
  256. <br>
  257. <br>
  258. <br>
  259. </span>
  260. </body>
  261. </html>
Advertisement
Add Comment
Please, Sign In to add comment