nil_007

Mail Filter

Apr 27th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!--
  2. Author: TikusCode
  3. Recoded by - TikusCode
  4. -->
  5. <head>
  6. <title>Filter Mail | TikusCode</title>
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  8. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  9. <html>
  10. <head>
  11. <style type="text/css">
  12. .style1 {
  13. text-align: center;
  14. }
  15. </style>
  16. <style>
  17. @import "http://fonts.googleapis.com/css?family=Play:400,700";
  18.  
  19.  
  20. body {
  21. background: #000000;
  22. line-height: 1;
  23. color: #bbb;
  24. font-family: "CONSOLAS";
  25. font-size: 12px;
  26. //background-color:#080808;
  27. background: url(https://images2.alphacoders.com/545/545916.jpg) no-repeat center center fixed;
  28. background-size: cover;
  29. -webkit-background-size: cover;
  30. -moz-background-size: cover;
  31. -o-background-size: cover;
  32. }
  33. textarea, input, select {
  34. border:0;
  35. BORDER-COLLAPSE:collapse;
  36. border:double 2px #000000;
  37. color:#fff;
  38. background:#000000;
  39. margin:0;
  40. padding:2px 4px;
  41. font-family: Lucida Console,Tahoma;
  42. font-size:12px;
  43. box-shadow: 0 0 15px red;
  44. -webkit-box-shadow: 0 0 15px red;
  45. -moz-box-shadow: 0 0 15px red;
  46. }
  47. .title{
  48. color: #000000;
  49. background: black;
  50. text-align: center;
  51. font-size: 120%;
  52. }
  53. .button{
  54. color:#eee;
  55. }
  56. .tool{
  57. color:gold;
  58. }
  59. header {
  60. font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial, sans-serif;
  61. font-size: 12px;
  62. text-align: center;
  63. padding-top: 10px;
  64. color: #000000;
  65. }
  66. /* Gradient 1 */
  67. .ta10 {
  68. background-color: transparent;
  69. background-repeat:no-repeat;
  70. background-size: 52% 100%;
  71. background-position: center;
  72. border:2px double red;
  73. padding:3px;
  74. margin-right:4px;
  75. margin-bottom:8px;
  76. font-family: Lucida Console,Tahoma;
  77. font-size:12px;
  78. box-shadow: 0 0 15px red;
  79. -webkit-box-shadow: 0 0 15px red;
  80. -moz-box-shadow: 0 0 15px red;
  81. border: solid 0px transparent; // or border: none;
  82. }
  83. .char {
  84. transition: all 5s; -webkit-transition: all 1s;
  85. opacity: 0.8;
  86. }
  87. .char:hover {
  88. transition: all 0.1s; -webkit-transition: all 0.1s;
  89. opacity:1.5;
  90. text-shadow: 0 0 1em white;
  91. }
  92. .chara:not(.space):hover {
  93. transform: rotateY(1440deg);
  94. -webkit-transform: rotateY(1440deg);
  95. }
  96. .chara:not(.space) {
  97. display: inline-block;
  98. transition: transform 2s ease-out;
  99. -webkit-transition: -webkit-transform 2s ease-out;
  100. }
  101. .submit {
  102. color: #FFFFFF;
  103. background-color: #111111;
  104. cursor:pointer
  105. }
  106.  
  107. @-webkit-keyframes progress {
  108. from { }
  109.  
  110. to { width: 100% }
  111. }
  112.  
  113. @-moz-keyframes progress {
  114. from { }
  115.  
  116. to { width: 100% }
  117. }
  118.  
  119. @-ms-keyframes progress {
  120. from { }
  121.  
  122. to { width: 100% }
  123. }
  124.  
  125. @keyframes progress {
  126. from { }
  127.  
  128. to { width: 100% }
  129. }
  130.  
  131. body,td,th {
  132. color: gold;
  133. }
  134. </style>
  135. </head>
  136. <header>
  137. <div>
  138. <div>
  139. <font size="6" color="white" style="text-shadow: red 0 0 15px;"><b> Email Domain Filter</b></font>
  140. /><b>
  141. <div align="center"><p class="rainbow">
  142. </header>
  143. <body >
  144.  
  145. <form method="post">
  146. <div class="style1">
  147. <textarea name="emails" cols="100" rows="15" placeholder="Max 10.000 Email" ></textarea>
  148. <br /><br />
  149. <input type="submit" value="Filter Now" />
  150.  
  151. </div>
  152. </form>
  153. <?PHP
  154. if ($_POST['emails']){
  155. $emails = $_POST['emails'];
  156. passthru($emails);
  157. }
  158. $ex = explode("\n",$emails);
  159. $count = count($ex);
  160. if(isset($emails)&&$count>=1){
  161. echo "<center><font color = 'red'><b>$count </font>Number of emails </b></center><br />";
  162. }else{
  163. echo "<center>
  164. No email </center>";
  165. exit;}
  166.  
  167. if(isset($emails)){
  168.  
  169.  
  170. for($i=0;$i<=$count;$i++){
  171. $d = strtolower($ex[$i]);
  172.  
  173. if(strstr($d,"hotmail") || strstr($d,"live") || strstr($d,"msn") || strstr($d,"outlook")){
  174. $hotmail.=$d;
  175. $nh = $nh + 1;
  176. }else{
  177. if(strstr($d,"yahoo") || strstr($d,"ymail")){
  178. $yahoo.=$d;
  179. $ny = $ny + 1;
  180. }else{
  181. if(strstr($d,"gmail") || strstr($d,"googlemail") ){
  182. $gmail.=$d;
  183. $ng = $ng + 1;
  184. }else{
  185. if(strstr($d,"aol") ){
  186. $aol.=$d;
  187. $na = $na + 1;
  188. }else{
  189. if(strstr($d,"mail.ru") ){
  190. $mailru .=$d;
  191. $nr = $nr + 1;
  192. }else{
  193. if(strstr($d,"wanadoo") ){
  194. $wanadoo .=$d;
  195. $nw = $nw + 1;
  196. }else{
  197. if(strstr($d,"ntlworld") ){
  198. $ntlworld .=$d;
  199. $nt = $nt + 1;
  200. }else{
  201. if(strstr($d,"gmx") ){
  202. $gmx .=$d;
  203. $ngm = $ngm + 1;
  204. }else{
  205. if(strstr($d,"@web.") ){
  206. $web .=$d;
  207. $nw2 = $nw2 + 1;
  208. }else{
  209.  
  210. $other .=$d;
  211. $nn=$nn + 1;
  212. }
  213.  
  214. }
  215.  
  216. }
  217.  
  218.  
  219. }
  220.  
  221. }
  222. }
  223. }
  224. }
  225.  
  226. }
  227. }
  228. }
  229. ?>
  230. <center><table style="width: 30%">
  231. <tr>
  232. <td><center>Hotmail ( <?echo $nh;?> ) </center><textarea name="hotmailx" cols="30" rows="10" ><?echo $hotmail;?></textarea></td>
  233. <td><center>Gmail ( <?echo $ng;?> )</center><textarea name="gmailx" cols="30" rows="10" ><?echo $gmail;?></textarea></td>
  234. <td><center>Aol ( <?echo $na;?> )</center><textarea name="aolxx" cols="30" rows="10" ><?echo $aol;?></textarea></td>
  235. <td><center>Yahoo ( <?echo $ny;?> )</center><textarea name="yahoox" cols="30" rows="10" ><?echo $yahoo;?></textarea></td>
  236. <td><center>Mail.ru( <?echo $nr;?> )</center><textarea name="othersx" cols="30" rows="10" ><?echo $mailru;?></textarea></td></tr>
  237. <tr>
  238. <td><center>Wanadoo( <?echo $nw;?> )</center><textarea name="othersx" cols="30" rows="10" ><?echo $wanadoo;?></textarea></td>
  239. <td><center>Ntlworld( <?echo $nt;?> )</center><textarea name="othersx" cols="30" rows="10" ><?echo $ntlworld;?></textarea></td>
  240. <td><center>Gmx( <?echo $ngm;?> )</center><textarea name="othersx" cols="30" rows="10" ><?echo $gmx;?></textarea></td>
  241. <td><center>Web( <?echo $nw2;?> )</center><textarea name="othersx" cols="30" rows="10" ><?echo $web;?></textarea></td>
  242. <td><center>Other mail( <?echo $nn-1;?> )</center><textarea name="othersx" cols="30" rows="10" ><?echo $other;?></textarea></td>
  243.  
  244. </tr>
  245. </table></center>
  246. </body>
Add Comment
Please, Sign In to add comment