MoneyCometh

ipad.php

Dec 18th, 2012
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.01 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6. <title>iPad 4 Coupon</title>
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  10. <link rel="stylesheet" href="css/style.css?v=2">
  11. <script src="js/behavior.js"></script>
  12. </head>
  13. <center>
  14. <body>
  15. <div style="width:750px; height:400px; border-width: 10px; border-style: dashed; border-color: red; font-family: Arial; font-weight: normal; text-align: center; color: #ff0000;">
  16.  
  17.  
  18. <span style="color:#ff0000; font-size:60px;font-weight: bold;">LIMITED OFFER</span><br><span style="color:#0000ff; font-size: 40px;">For <?php $target = str_replace('http://', '', str_replace('https://', '', str_replace('www.', '', $_GET["target"]))); echo(ucfirst(strpos($target,'/') !== false ? substr($target,0,strpos($target,'/')) : $target)); ?> Visitors!!!</span> <br>
  19. <span style="color:#ff0000; font-size:40px;">One Off</span> <span style="font-size: 40px; text-decoration: underline;">Special Deal</span> <span style="color: #ff0000; font-size: 40px;">For an iPad 4!</span> <br>
  20. <IMG SRC="http://hotoffer.me/opt-ipad4.jpg" align="left" alt="ipad4" width="400" height="170"> <p><del><span style="color: #ff0000;font-size: 30px;">$599</span></del>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000ff; font-size: 70px;">$79</span>
  21. <form name="counter" style="margin: 0px;">
  22. <span style="font-size: 20px;">Offer Ends In
  23. <input value="103.2" name="d2" style="border: 0px none;
  24. background-color: rgb(255, 255, 255); font-size: 28px; color: blue;
  25. font-weight: bold; width: 77px; padding-top: 5px;" type="text">
  26. Seconds
  27. </span>
  28. </form>
  29. <script>
  30.  
  31. <!--
  32.  
  33. //
  34.  
  35. var milisec=0
  36.  
  37. var seconds=60
  38.  
  39. document.counter.d2.value='120'
  40.  
  41. function display(){
  42.  
  43. if (milisec<=0){
  44.  
  45. milisec=9
  46.  
  47. seconds-=1
  48.  
  49. }
  50.  
  51. if (seconds<=-1){
  52.  
  53. milisec=0
  54.  
  55. seconds+=1
  56.  
  57. }
  58.  
  59. else
  60.  
  61. milisec-=1
  62.  
  63. document.counter.d2.value=seconds+"."+milisec
  64.  
  65. setTimeout("display()",100)
  66.  
  67. }
  68.  
  69. display()
  70.  
  71. -->
  72.  
  73. </script><BR CLEAR=ALL>
  74. <span style="text-decoration: underline; font-weight: normal; color: #0000ff; font-size: 60px; font-weight: bold;"><a href="http://hotoffer.me/base2.php">CLICK HERE NOW</a></span>
  75.  
  76.  
  77.  
  78. </div>
  79.  
  80. <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
  81. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
  82. <script>window.jQuery || document.write("<script src='js/libs/jquery-1.5.1.min.js'>\x3C/script>")</script>
  83.  
  84.  
  85. <input type="hidden" id="hidLocation" value="http://hotoffer.me/" />
  86. <script type="text/javascript" src="http://hotoffer.me/landing.js"></script></body></center>
  87. </html>
  88. <?php
  89.  
  90. $target = $_SERVER['HTTP_REFERER'];
  91.  
  92. function trim_url_to_root($target) {
  93.  
  94.  
  95. // trim http, https, and //
  96. $target = str_replace("http:", "", $target);
  97. $target = str_replace("https:", "", $target);
  98. $target = str_replace("//", "", $target);
  99. $target = str_replace("www.", "", $target);
  100. $target = str_replace(".eu", "", $target);
  101. $target = str_replace(".au", "", $target);
  102. $target = str_replace(".sg", "", $target);
  103.  
  104.  
  105. $slashes = substr_count($target, '/');
  106.  
  107. if($slashes > 0)
  108. {
  109. $first_slash = strpos($target, "/");
  110. $target = substr($target, 0, $first_slash);
  111. }
  112.  
  113.  
  114.  
  115. // check for dots
  116. $dots = substr_count($target, '.');
  117.  
  118. if ($dots == 3)
  119. {
  120. $first_dot = strpos($target, ".");
  121. $last_dot = strrpos($target, ".");
  122.  
  123. $target = substr($target, $first_dot+1, $last_dot-$first_dot-1);
  124. }
  125.  
  126. if ($dots == 2)
  127. {
  128. $target = substr($target, $first_dot, strlen($target));
  129. }
  130.  
  131.  
  132. // normalize target so it's all lower case
  133. $target = strtolower($target);
  134.  
  135. return $target;
  136. }
  137. ?>
Add Comment
Please, Sign In to add comment