Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <?php
- if (isset($_GET['lang'])){
- $lang = $_GET['lang'];
- }else{
- $lang = "en";
- }
- if (isset($_GET['id'])){
- $id = $_GET['id'];
- }
- else{
- $id = 8946096;
- }
- if(isset($_GET['content']))
- {
- switch($_GET['content'])
- {
- case "helpdesk":
- $dir = "content/poradnik".$lang.".php";
- break;
- case "chat":
- $dir = "content/chat.php";
- break;
- case "gen":
- $dir = "content/gen.php";
- break;
- default:
- echo "<script type='text/javascript'>
- <!--
- window.location = 'content/404/index.php'
- //-->
- </script>";
- break;
- }
- }
- ?>
- <?php
- //Polaczenie z baza danych i wybranie nazwy uzytkownika ktory jest wlascicielem linku z bazy wordpressa
- $hostname="werwer";
- $username="werwerwer";
- $password="werwer";
- $database="werwer";
- $table="werwerwre";
- $polaczenie = new mysqli($hostname, $username, $password, $database);
- $error = "";
- if ($polaczenie->connect_errno){
- $error = "Failed to connect to DataBase: (".$polaczenie->connect_errno.") ". $polaczenie->connect_error;
- }
- $user_id_querry = @$polaczenie -> query('SELECT user_id FROM '.$table.' WHERE meta_value="'.$id.'"');
- if ($user_id_querry === false){
- $wiadomosc = '<p>Zapytanie User_Id nie zostalo wykonane</p>';
- $polaczenie -> close();
- }else{
- $user_id = mysqli_fetch_row($user_id_querry);
- $wynik_querry = @$polaczenie -> query('SELECT * FROM '.$table.' WHERE user_id='.$user_id[0].' AND meta_key="nickname"');
- if($wynik_querry === false ){
- $wiadomosc = "";
- $wiadomosc2 = "Twój mentor jeszcze się nie zarejestrował w bazie danych - kliknij dla rejestracji";
- }else{
- $wynik = mysqli_fetch_row($wynik_querry);
- $user = $wynik[3];
- $wiadomosc = $user;
- $wiadomosc2 = "";
- }
- }
- ?>
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
- <meta name="description" content="bitcoin, free bitcoin, get free bitcoins, earn bitcoin, bitcoin mining, cryptotab, referral network, income, cryptocurrency, community, affiliate, fast, browser, web browser, communication, windows, macos, ios, android, application, browsing, internet, mobile, app store, google play, reward, bounty, freebie">
- <meta name="keywords" content="bitcoin, free bitcoin, get free bitcoins, earn bitcoin, bitcoin mining, cryptotab, referral network, income, cryptocurrency, community, affiliate, fast, browser, web browser, communication, windows, macos, ios, android, application, browsing, internet, mobile, app store, google play, reward, bounty, freebie">
- <title><?php
- switch($lang)
- {
- case "pl":
- echo"Przeglądarka CryptoTab! - lekka, szybka, rewolucyjna!";
- break;
- case "en":
- echo"CryptoTab Browser - Easy way for Bitcoin Mining!";
- break;
- case "de":
- echo"GetCryptoTab - Einfacher Weg für Bitcoin Mining!";
- break;
- case "fr":
- echo"GetCryptoTab - Un moyen facile pour Bitcoin Mining!";
- break;
- case "es":
- echo"CryptoTab Browser - Una forma fácil para Bitcoin Mining!";
- break;
- case "it":
- echo"CryptoTab Browser - Un modo semplice per Bitcoin Mining!";
- break;
- case "ru":
- echo"CryptoTab Browser - Простой способ майнинга Bitcoin!";
- break;
- case "pt":
- echo"Obtenha o CryptoTab Browser - Forma Fácil de Minerar Bitcoin!";
- break;
- case "tr":
- echo"CryptoTab Browser - Bitcoin Madenciliğinin Kolay Yolu!";
- break;
- case "hi":
- echo"CryptoTab ब्राउज़र - बिटकोइन खनन के लिए आसान तरीका";
- break;
- }
- ?>
- </title>
- <link href="./CryptoTab Browser - Easy way for Bitcoin Mining_files/css" rel="stylesheet">
- <link href="./CryptoTab Browser - Easy way for Bitcoin Mining_files/main.css?v=<?php time(); ?>" rel="stylesheet">
- <link href="https://cdn.cryptobrowser.space/static/favicon.ico" rel="icon" type="image/x-icon">
- <link rel="canonical" href="https://get.cryptobrowser.site/en/landing/22/">
- <link id="manifest-placeholder" rel="manifest" href="blob:https://get.cryptobrowser.site/e8b1de86-e561-474a-9518-513717b0a996">
- <meta name="theme-color" content="#F5E0C5">
- <meta name="msapplication-navbutton-color" content="#F5E0C5">
- <meta name="apple-mobile-web-app-status-bar-style" content="#F5E0C5">
- <!--[if lt IE 9]>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
- <![endif]-->
- <script src="./CryptoTab Browser - Easy way for Bitcoin Mining_files/promise.min.js.pobrane"></script>
- <script src="./CryptoTab Browser - Easy way for Bitcoin Mining_files/fetch.umd.js.pobrane"></script>
- <script src="./CryptoTab Browser - Easy way for Bitcoin Mining_files/url-search-params.js.pobrane"></script>
- </head>
- <body class="overflow-">
- <?php
- /// Wyswietla zawartosc strony - kazda podstrone trzeba dodac osobno
- if(isset($dir)){
- include($dir);
- }else{
- if((isset($_GET['lang'])) AND ($_GET['lang']=="pl" OR $_GET['lang']=="de" OR $_GET['lang']=="tr" OR $_GET['lang']=="fr" OR $_GET['lang']=="es" OR $_GET['lang']=="it" OR $_GET['lang']=="ru" OR $_GET['lang']=="pt" OR $_GET['lang']=="hi")){
- include('content/main/'.$_GET['lang'].'.php');
- }else{
- include('content/main/en.php');
- }
- }
- ?>
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement