Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php //echo $_SERVER['QUERY_STRING'].'<br/>';
- ini_set("display_errors", 1);
- ini_set("display_errors", 1);
- ini_set("track_errors", 1);
- ini_set("html_errors", 1);
- error_reporting(E_ALL);//u/33
- include($_SERVER["DOCUMENT_ROOT"].'/wp-config.php');
- global $table_prefix, $wpdb;
- $get_id = $_SERVER['QUERY_STRING'];
- $get_id = str_replace ("g", "",str_replace ("|", "", $get_id));
- $pieces = explode("|", $get_id);$get_id = $pieces[0];
- $variables = $pieces[1];
- $table_name = $table_prefix."postmeta";
- if($get_id)
- {
- $site_redirect =
- $wpdb->get_var("SELECT meta_value FROM $table_name WHERE post_id='$get_id' AND meta_key='DownloadOG' ");
- $title =
- $wpdb->get_var("SELECT p.post_title FROM wp_posts p WHERE p.id = '$get_id' ");
- if(empty($site_redirect))
- $site_redirect = get_home_url().'/programs/'.$wpdb->get_var("SELECT meta_value FROM $table_name WHERE post_id='$get_id' AND meta_key='File' ");
- if($site_redirect)
- {
- $site_redirect = str_replace("$2", $variables, $site_redirect);
- echo '<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl" lang="ar">
- <header>
- <META http-equiv="content-type" content="text/html; charset=UTF-8"/>
- <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
- <title> رابط تحميل '.$title.' تحميل برنامج </title>
- <style>
- #dlink{display:none;z-index:0;}
- #timer,#dlink{font-size:25px;}
- #dlink{position:relative; right:25%;}
- #timer{position:relative; right:28%;}
- #___plusone_0{position:relative;right:26%;background:url("/download-button.gif") no-repeat center center!important;height:13px!important;padding:0px!important;}
- #___plus_0{position:relative; right:10%;}
- .kt,.qwa{color:white!important;font: 22px/1 arial,sans-serif!important;}
- #button,.Po{width:90px!important;height:40px!important;}
- </style>';
- $str = <<<MAR
- MAR;
- echo $str;
- echo '<script type="text/javascript">
- var count=8;
- var counter=setInterval(timer, 1000); //1000 will run it every 1 second
- function timer() { count=count-1; if (count <= 0) { clearInterval(counter); return; } } function timer() { count=count-1; if (count <= 0) { clearInterval(counter); return; } document.getElementById("timer").innerHTML=count + ""; }
- </script>
- </header><body> ';
- echo 'تحميل برنامج تحميل برامج برامج مجانية برامج كمبيوتر';
- $str = <<<MARKER
- <br/>
- <a href="http://downloadbrnamj.com" >
- <img src="http://downloadbrnamj.com/downloadbrnamj.jpg" /></a>
- <h1>$title</h1>
- جاري تحويلك الى صفحة التحميل خلال 5 ثواني
- <br/>
- <span id="timer"></span>
- <script type="text/javascript">
- setInterval(function(){document.getElementById("dlink").style.display="inline-block"},8000);
- </script>
- <br/>
- <a id="dlink" href="$site_redirect" rel="nofollow" targ-="_blank">رابط التحميل </a>
- <br/>
- <!-- Place this tag in your head or just before your close body tag. -->
- <script src="https://apis.google.com/js/platform.js" async defer>
- {lang: 'ar'}
- </script>
- <!-- Place this tag where you want the +1 button to render. -->
- <div class="g-plusone" data-size="tall" data-href="http://programsdownload.org/"></div>
- <!-- Place this tag in your head or just before your close body tag. -->
- <!-- <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
- {lang: 'ar'}
- </script> -->
- <!-- Place this tag where you want the badge to render. -->
- <!-- <div class="g-plus" data-width="269" data-height="69" data-href="https://plus.google.com/105432889621861101424" data-rel="author"></div> -->
- <br/>
- <!-- Place this tag where you want the +1 button to render. -->
- <!-- <div class="g-plusone" data-annotation="inline" data-width="140" data-height="92" data-size="tall" data-href="http://downloadbrnamj.com/"></div> -->
- <!-- Place this tag after the last +1 button tag. -->
- <!-- <script type="text/javascript">
- window.___gcfg = {lang: 'ar'};
- (function() {
- var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
- po.src = 'https://apis.google.com/js/plusone.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
- })();
- </script> -->
- MARKER;
- echo $str;
- echo '<p style="text-alin:center;margin:50px;font-size:16px;">
- <a href="http://downloadbrnamj.com/">الرجوع الى تحميل برنامج </a> | |
- <a href="#" onclick="window.location.href = document.referrer;">الرجوع الى الصفحة السابقة </a>
- </p>';
- //echo '<META http-equiv="refresh" content="5;URL='.$site_redirect.'"> ';
- echo '
- <!-- Histats.com START (hidden counter)-->
- <script type="text/javascript">document.write(unescape("%3Cscript src=%27http://s10.histats.com/js15.js%27 type=%27text/javascript%27%3E%3C/script%3E"));</script>
- <a href="http://www.histats.com rel="nofollow"" target="_blank" title="free stats" ><script type="text/javascript" >
- try {Histats.start(1,2871681,4,0,0,0,"");
- Histats.track_hits();} catch(err){};
- </script></a>
- <noscript><a href="http://www.histats.com rel="nofollow"" target="_blank"><img src="http://sstatic1.histats.com/0.gif?2871681&101" alt="free stats" border="0"></a></noscript>
- <!-- Histats.com END -->
- </body></html>';
- //header("Location: $site_redirect");
- exit;
- }
- echo '<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl" lang="ar"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>';
- echo '<title> رابط تحميل برنامج </title> ';
- echo '<div style="text-alin:center;margin:120px;" >
- <h2 style="text-alin:center;">الرابط لم يتم العتور عليه </h2>';
- echo '<p>
- يبدو انك ادخلت رابط غير سحيح جاري اعادتك الى الصفحة الرئيسية <br/>
- <a href="http://downloadbrnamj.com/">تحميل برنامج </a> </p></div>';
- //echo '<META http-equiv="refresh" content="3;URL=http://downloadbrnamj.com/"> ';
- } ?>
- .htaccess
- RewriteRule ^g/([0-9]+)$ g.php?$1|$2
- nginx
- location /u { try_files $uri $uri/ /u.php?$uri; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement