Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- // anti flood protection
- // Faz o include do arquivo da Classe PHP
- // anti flood protection
- if($_SESSION['last_session_request'] > time() - 1){
- // users will be redirected to this page if it makes requests faster than 2 seconds
- header("location: http://www.google.com.br/");
- exit;
- }
- require('_inc/header.php');
- mysql_set_charset('utf8');
- mysql_query("SET NAMES 'utf8'");
- mysql_query('SET character_set_connection=utf8');
- mysql_query('SET character_set_client=utf8');
- mysql_query('SET character_set_results=utf8');
- $usuario = $user['user'];
- $ipban = $_SERVER["REMOTE_ADDR"];
- $iii = mysql_query("SELECT IP FROM ipbanido WHERE IP = '$ipban'");
- $ipb = mysql_fetch_array($iii);
- if(mysql_num_rows($iii) == 1){ echo "Sistema em manutenção"; }else{
- ?>
- <?
- $GBound = (isset($_GET['aarrowmodulea']) ? $_GET['aarrowmodulea'] : 'inicio') ;
- $folder = 'aaapagesiguunsdtale';
- $folder2 = 'aaapagesiguunsdtales-top';
- if(substr_count($GBound, '/') > 0){
- $GBound = explode('/', $GBound);
- $pagina = (file_exists("{$folder}/".$GBound[0].".php")) ? $GBound[0]: 'nao-existe';
- $pagina2 = (file_exists("{$folder2}/".$GBound[0].".php")) ? $GBound[0]: 'nao-existe';
- }else{
- $pagina = (file_exists("{$folder}/".$GBound.".php")) ? $GBound: 'nao-existe';
- $pagina2 = (file_exists("{$folder2}/".$GBound.".php")) ? $GBound: 'nao-existe';
- }
- ?>
- <?
- if($fbconnect == ''){}else{
- $msqlx = mysql_query("SELECT * FROM user WHERE idFacebook='$fbconnect'");
- $msqlnum = mysql_num_rows($msqlx);
- if($msqlnum <= '0'){}else{
- $usere = mysql_query("SELECT * FROM user WHERE idFacebook='$fbconnect'");
- $user = mysql_fetch_array($usere);
- $gamere = mysql_query("SELECT * FROM game WHERE Id='$user[Id]'");
- $game = mysql_fetch_array($gamere);
- $creditore = mysql_query("SELECT * FROM credito WHERE ID='$user[Id]'");
- $credito = mysql_fetch_array($creditore);
- $cashre = mysql_query("SELECT * FROM cash WHERE ID='$user[Id]'");
- $cash = mysql_fetch_array($cashre);
- $usuario = $_SESSION['s_usuario'];
- }
- }
- if ($GBound[0] == 'logout'){
- session_destroy();
- ?>
- <meta http-equiv="refresh" content="0; url=/">
- <?
- }
- if (checasessao()){
- $gamere = mysql_query("SELECT * FROM game WHERE Id='$_SESSION[s_usuario]'");
- $game = mysql_fetch_array($gamere);
- $usere = mysql_query("SELECT * FROM user WHERE Id='$_SESSION[s_usuario]'");
- $user = mysql_fetch_array($usere);
- $creditore = mysql_query("SELECT * FROM credito WHERE ID='$_SESSION[s_usuario]'");
- $credito = mysql_fetch_array($creditore);
- $cashre = mysql_query("SELECT * FROM cash WHERE ID='$_SESSION[s_usuario]'");
- $cash = mysql_fetch_array($cashre);
- $usuario = $_SESSION['s_usuario'];
- }
- // This call will always work since we are fetching public data.
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <?
- $title = ucwords(strtr($GBound[0], "-", " "));
- $title2 = ucwords(strtr($GBound[1], "-", " "));
- ?>
- <?PHP if (checasessao() || $fbconnect >= '1'){?>
- <?
- $mysql_rescue_number_friends = mysql_query("SELECT * FROM buddylist WHERE Id = '$user[user]' AND Viewed = '0'");
- $mysql_rescue_number_buddy = mysql_query("SELECT * FROM notifications WHERE Tipo_Nota = '2' AND Receptor_Nota = '$user[user]' AND Lido_Nota = '0'");
- $mysql_rescue_number_notifications = mysql_query("SELECT * FROM notifications WHERE Tipo_Nota = '3' AND Receptor_Nota = '$user[user]' AND Lido_Nota = '0'");
- if ($mysql_rescue_number_friends && $mysql_rescue_number_buddy && $mysql_rescue_number_notifications)
- {
- $number_friends = mysql_num_rows($mysql_rescue_number_friends);
- $number_buddy = mysql_num_rows($mysql_rescue_number_buddy);
- $number_notifications = mysql_num_rows($mysql_rescue_number_notifications);
- $numbersTotal = $number_buddy + $number_buddy + $number_notifications;
- if($numbersTotal == '0'){
- $totalNotifications = '';
- }else{
- $totalNotifications = "(".$numbersTotal.")";
- }
- }
- ?>
- <?
- }
- ?>
- <title><? if($GBound[0] == 'noticias' || $GBound[0] == 'eventos'){
- $pegar = trim(strip_tags($GBound[1]));
- $c = mysql_query("SELECT * FROM comunidade_livre WHERE fid='$pegar'");
- $editarg = mysql_fetch_array($c);
- if(css == 'pt-br'){
- $restricao = array("<b>" => "", "</b>" => "", "<i>" => "","</i>" => "");
- $titlenew = trim(strip_tags(ucwords(strtr($editarg['topicoptbr'], $restricao))));
- $textonew = nl2br($editarg['textoptbr']);
- }
- if(css == 'en-us'){
- $restricao = array("<b>" => "", "</b>" => "", "<i>" => "","</i>" => "");
- $titlenew = trim(strip_tags(nl2br($editarg['topicoenus'])));
- $textonew = nl2br($editarg['textoenus']);
- }
- echo "".$titlenew." - GBClassico";
- }else{if($pagina == 'nao-existe'){echo " GBClassico";}else{ if($GBound[0] == 'i'){echo pagetitle;}else{echo "".$totalNotifications." ".$title." ".$title2." - GBClassico";}}}?> </title>
- <meta charset="utf-8">
- <link rel="shortcut icon" href="favicon.ico">
- <link href="/css/skitter.styles.css" type="text/css" media="all" rel="stylesheet" />
- <link href="/css/main.css" rel="stylesheet" type="text/css" charset="utf-8"/>
- <meta name="keywords" content="gunbound, gunbound, gbwc, classico, GunBound, gb, gun gbound, g bound, jogos online, jogo, gbclassico, www.gunboundclassico.com.br">
- <meta name="description" content="GBClassico - Como nós velhos tempos">
- <link rel="stylesheet" type="text/css" href="/css/shadowbox.css">
- <link href="/js/skins/winter/winter.css" rel="stylesheet" type="text/css" charset="utf-8"/>
- <link href="/css/<?PHP echo css ?>.css" rel="stylesheet" type="text/css" charset="utf-8"/>
- <link href="/css/fonts/fonts-stylesheet.css" rel="stylesheet" type="text/css" charset="utf-8"/>
- <link type="text/css" href="/css/jquery.jscrollpane.css" rel="stylesheet" media="all" />
- <link href="/css/unitip.css" rel="stylesheet" type="text/css" media="screen" title="" charset="utf-8">
- <script type="text/javascript" src="/js/jquery-1.6.3.min.js"></script>
- <script type="text/javascript" src="/js/unitip.js"></script>
- <script src="/js/jquery.spritely-0.6.js" type="text/javascript"></script>
- <script type="text/javascript" src="/js/jquery.easing.1.3.js"></script>
- <script type="text/javascript" src="/js/jquery.animate-colors-min.js"></script>
- <script type="text/javascript" src="/js/jquery.skitter.js"></script>
- <script type="text/javascript" src="/js/highlight.js"></script>
- <script type="text/javascript" src="/js/jquery.mousewheel.js"></script>
- <script type="text/javascript" src="/js/jquery.jscrollpane.min.js"></script>
- <script type="text/javascript" src="http://<? echo $_SERVER['HTTP_HOST'] ?>/js/motiongallery.js"></script>
- <script type="text/javascript" src="http://<? echo $_SERVER['HTTP_HOST'] ?>/js/functions2.0<?PHP echo css ?>.js"></script>
- <script type="text/javascript" src="/js/shadowbox.js"></script>
- <script type="text/javascript" src="/js/enscroll-0.4.2.min.js"></script>
- <script type="text/javascript">
- (function($) {
- $(document).ready(function() {
- $('#bird')
- .sprite({
- fps: 5,
- no_of_frames: 10,
- start_at_frame: 1,
- })
- });
- })(jQuery);
- </script>
- <script>
- $(document).ready(function(){
- $('.content-area').jScrollPane({
- horizontalGutter:5,
- verticalGutter:5,
- 'showArrows': false
- });
- $('.jspDrag').hide();
- $('.jspScrollable').mouseenter(function(){
- $('.jspDrag').stop(true, true).fadeIn('slow');
- });
- $('.jspScrollable').mouseleave(function(){
- $('.jspDrag').stop(true, true).fadeOut('slow');
- });
- });
- </script>
- <style type="text/css">
- .content-area{
- height:300px;
- }
- /*scrollpane custom CSS*/
- .jspVerticalBar {
- width: 8px;
- background: transparent;
- right:10px;
- }
- .jspHorizontalBar {
- bottom: 5px;
- width: 100%;
- height: 8px;
- background: transparent;
- }
- .jspTrack {
- background: transparent;
- }
- .jspDrag {
- background: url(/images/transparent-black.png) repeat;
- -webkit-border-radius:4px;
- -moz-border-radius:4px;
- border-radius:4px;
- }
- .jspHorizontalBar .jspTrack,
- .jspHorizontalBar .jspDrag {
- float: left;
- height: 100%;
- }
- .jspCorner {
- display:none
- }
- </style>
- <script>(function(d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) return;
- js = d.createElement(s); js.id = id;
- js.src = "//connect.facebook.net/pt_BR/all.js#xfbml=1&appId=410788779017897";
- fjs.parentNode.insertBefore(js, fjs);
- }(document, 'script', 'facebook-jssdk'));</script>
- <script type="text/javascript">
- <? if (!isset($_POST["codeenvio"])){?>
- var bese = false;
- <? }else{ ?>
- var bese = true;
- <? } ?>
- function openCodigo(){
- if (bese == false){
- $('#poup-senha').fadeToggle('slow', function() {
- bese = true;
- });
- $('#popupCodigo').fadeIn('slow', function() {
- bese = true;
- });
- }else{
- $('#poup-senha').fadeToggle('slow', function() {
- bese = false;
- });
- $('#popupCodigo').fadeToggle('fast', function() {
- bese = false;
- });
- }
- }
- </script>
- <script type="text/javascript">
- var he = true;
- function openEvent(){
- if (he == false){
- $('#poup-senha').fadeToggle('slow', function() {
- he = true;
- });
- $('#popupEvent').fadeIn('slow', function() {
- he = true;
- });
- }else{
- $('#poup-senha').fadeToggle('slow', function() {
- he = false;
- });
- $('#popupEvent').fadeToggle('fast', function() {
- he = false;
- });
- }
- }
- </script>
- <script type="text/javascript">
- <? if (!isset($_POST["recoverypass"])){?>
- var uj = false;
- <? }else{ ?>
- var uj = true;
- <? } ?>
- function openSenha(){
- if (uj == false){
- $('#poup-senha').fadeToggle('slow', function() {
- uj = true;
- });
- $('#popupSenha').fadeIn('slow', function() {
- uj = true;
- });
- }else{
- $('#poup-senha').fadeToggle('slow', function() {
- uj = false;
- });
- $('#popupSenha').fadeToggle('fast', function() {
- uj = false;
- });
- }
- }
- </script>
- <script type="text/javascript">
- Shadowbox.init();
- </script>
- <script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-37350590-1']);
- _gaq.push(['_trackPageview']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- <?PHP if (checasessao() || $fbconnect >= '1'){?>
- <script type="text/javascript">
- function ajScreen(requirement, id_element) {
- var xmlhttp = null;
- try
- {
- xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
- }
- catch (e)
- {
- try
- {
- xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
- }
- catch (E)
- {
- xmlhttp = false;
- }
- }
- if (!xmlhttp && typeof XMLHttpRequest != 'undefined')
- {
- try
- {
- xmlhttp = new XMLHttpRequest();
- }
- catch (e)
- {
- xmlhttp = false;
- }
- }
- if (!document.getElementById("dynamic-div-" + id_element.id))
- {
- var dynamic_div = document.createElement('div');
- dynamic_div.id = "dynamic-div-" + id_element.id;
- dynamic_div.className = "dynamic_div_notifications";
- var lol = true;
- id_element.onmouseover = function(){ lol = true; }
- id_element.onmouseout = function(){ lol = false; }
- dynamic_div.onblur = function()
- {
- if (!lol)
- {
- document.body.removeChild(document.getElementById("dynamic-div-" + id_element.id));
- document.body.removeChild(document.getElementById("dynamic-div-arrow-" + id_element.id));
- }
- }
- var dynamic_arrow = document.createElement('div');
- dynamic_arrow.id = "dynamic-div-arrow-" + id_element.id;
- dynamic_arrow.className = "dynamic_div_arrow";
- dynamic_arrow.innerHTML = "<img src=\"/images/seta.png\" width=\"14\" height=\"9\" />";
- dynamic_div.innerHTML = "<center><img style=\"margin-top:65px;\" src=\"/images/load.gif\" width=\"35\" height=\"35\" /></center>";
- document.body.appendChild(dynamic_arrow);
- document.body.appendChild(dynamic_div);
- dynamic_div.style.top = (id_element.offsetTop + id_element.offsetHeight + 15) + "px";
- dynamic_div.style.left = (document.getElementById('headerCenterMenu').offsetLeft + id_element.offsetLeft - dynamic_div.offsetWidth / 2 + id_element.offsetWidth / 2 + 5) + "px";
- dynamic_arrow.style.top = (dynamic_div.offsetTop - dynamic_arrow.offsetHeight + 7) + "px";
- dynamic_arrow.style.left = (dynamic_div.offsetLeft + (dynamic_div.offsetWidth / 2) - 13) + "px";
- dynamic_arrow.style.zIndex = "9";
- }
- else
- {
- document.body.removeChild(document.getElementById("dynamic-div-" + id_element.id));
- document.body.removeChild(document.getElementById("dynamic-div-arrow-" + id_element.id));
- }
- if (xmlhttp)
- {
- xmlhttp.onreadystatechange = function()
- {
- if (xmlhttp.readyState == 4)
- {
- if (xmlhttp.status == 200)
- {
- dynamic_div.innerHTML = xmlhttp.responseText;
- }
- }
- }
- xmlhttp.open("GET", requirement);
- xmlhttp.setRequestHeader('Content-Type','text/xml');
- xmlhttp.setRequestHeader('encoding','ISO-8859-1');
- xmlhttp.send(null);
- }
- }
- function clickUpdate(requirement) {
- var xmlhttp = null;
- try
- {
- xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
- }
- catch (e)
- {
- try
- {
- xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
- }
- catch (E)
- {
- xmlhttp = false;
- }
- }
- if (!xmlhttp && typeof XMLHttpRequest != 'undefined')
- {
- try
- {
- xmlhttp = new XMLHttpRequest();
- }
- catch (e)
- {
- xmlhttp = false;
- }
- }
- if (xmlhttp)
- {
- xmlhttp.onreadystatechange = function()
- {
- if (xmlhttp.readyState == 4)
- {
- if (xmlhttp.status == 200)
- {
- // OK
- }
- }
- }
- xmlhttp.open("GET", requirement);
- xmlhttp.setRequestHeader('Content-Type','text/xml');
- xmlhttp.setRequestHeader('encoding','ISO-8859-1');
- xmlhttp.send(null);
- }
- }
- window.addEventListener('load', function(){
- var friends_element, buddy_element, notifications_element, number_friends_element, number_buddy_element, number_notifications_element;
- friends_element = document.getElementById('friends-notice');
- buddy_element = document.getElementById('buddy-notice');
- notifications_element = document.getElementById('notifications-notice');
- number_friends_element = document.getElementById('number-friends-notice');
- number_buddy_element = document.getElementById('number-buddy-notice');
- number_notifications_element = document.getElementById('number-notifications-notice');
- // EVENT FRIENDS ELEMENT
- friends_element.onclick = function()
- {
- if (number_friends_element)
- {
- number_friends_element.innerHTML = 0;
- number_friends_element.style.display = 'none';
- }
- ajScreen("/get_notify_by_type.php?type=1&player_id=<?=$user['user']?>", friends_element);
- if (document.getElementById("dynamic-div-" + buddy_element.id))
- {
- document.body.removeChild(document.getElementById("dynamic-div-" + buddy_element.id));
- document.body.removeChild(document.getElementById("dynamic-div-arrow-" + buddy_element.id));
- }
- if (document.getElementById("dynamic-div-" + notifications_element.id))
- {
- document.body.removeChild(document.getElementById("dynamic-div-" + notifications_element.id));
- document.body.removeChild(document.getElementById("dynamic-div-arrow-" + notifications_element.id));
- }
- }
- // EVENT BUDDY ELEMENT
- buddy_element.onclick = function()
- {
- if (number_buddy_element)
- {
- number_buddy_element.innerHTML = 0;
- number_buddy_element.style.display = 'none';
- }
- ajScreen("/get_notify_by_type.php?type=2&player_id=<?=$user['user']?>", buddy_element);
- if (document.getElementById("dynamic-div-" + friends_element.id))
- {
- document.body.removeChild(document.getElementById("dynamic-div-" + friends_element.id));
- document.body.removeChild(document.getElementById("dynamic-div-arrow-" + friends_element.id));
- }
- if (document.getElementById("dynamic-div-" + notifications_element.id))
- {
- document.body.removeChild(document.getElementById("dynamic-div-" + notifications_element.id));
- document.body.removeChild(document.getElementById("dynamic-div-arrow-" + notifications_element.id));
- }
- }
- // EVENT NOTIFICATIONS ELEMENT
- notifications_element.onclick = function()
- {
- if (number_notifications_element)
- {
- number_notifications_element.innerHTML = 0;
- number_notifications_element.style.display = 'none';
- }
- ajScreen("/get_notify_by_type.php?type=3&player_id=<?=$user['user']?>", notifications_element);
- if (document.getElementById("dynamic-div-" + friends_element.id))
- {
- document.body.removeChild(document.getElementById("dynamic-div-" + friends_element.id));
- document.body.removeChild(document.getElementById("dynamic-div-arrow-" + friends_element.id));
- }
- if (document.getElementById("dynamic-div-" + buddy_element.id))
- {
- document.body.removeChild(document.getElementById("dynamic-div-" + buddy_element.id));
- document.body.removeChild(document.getElementById("dynamic-div-arrow-" + buddy_element.id));
- }
- }
- });
- </script>
- <?
- }
- ?>
- <?PHP if (checasessao() || $fbconnect >= '1'){?>
- <?
- }else{
- if($GBound[0] != 'forum' and $GBound[0] != 'noticias' and $GBound[0] != 'guia' and $GBound[0] != 'regras' and $GBound[0] != 'eventos' and $GBound[0] != 'guilds' and $GBound[0] != 'valida-email' and $GBound[0] != 'ranking' and $GBound[0] != 'download-game' and $GBound[0] != 'i' and $GBound[0] != 'registro' and $GBound[0] != 'halloweens'){
- ?>
- <meta http-equiv="refresh" content="0; url=/registro/">
- <style type="text/css">
- body{background:none;}
- </style>
- <?
- exit;
- }
- }?>
- <script>
- $(document).ready(function(){
- $('.box_skitter_large').skitter({label: false, numbers: false});
- $('.box_skitter_small').skitter({label: false, numbers: false, interval: 1000});
- $('.box_skitter_medium').css({width: 500, height: 200}).skitter({navigation: false, dots: true, interval: 4000});
- $('.box_skitter_normal').css({width: 450, height: 280}).skitter({interval: 5000, hideTools: true, numbers: false, navigation: false, dots: true});
- // Highlight
- $('pre.code').highlight({source:1, zebra:1, indent:'space', list:'ol'});
- });
- </script>
- </head>
- <body class="home blog custom-font-enabled single-author speedo-popup-ready">
- <div id="headerMenuTop">
- <div id="headerCenterMenu">
- <div id="headerMenuCenter">
- <div id="myslidemenu" class="jqueryslidemenu">
- <div class="logo" style="float:left;"> <a href="#" target="_blank">Radio</a></div>
- <div id="wrapper-notice">
- <div id="friends-notice">
- <?php
- if ($number_friends > 0) {
- ?>
- <div id="number-friends-notice"><?php echo $number_friends; ?></div>
- <?
- }
- ?>
- </div>
- <div class="line"></div>
- <div id="buddy-notice">
- <?php
- if ($number_buddy > 0) {
- ?>
- <div id="number-buddy-notice"><?php echo $number_buddy; ?></div>
- <?
- }
- ?>
- </div>
- <div class="line"></div>
- <div id="notifications-notice">
- <?php
- if ($number_notifications > 0) {
- ?>
- <div id="number-notifications-notice"><?php echo $number_notifications; ?></div>
- <?
- }
- ?>
- </div>
- </div>
- <ul>
- <li style="margin-left:58px; margin-top:8px;">
- <div id="onlinePlayersTopbar">
- <div class="online-text">
- Online
- </div>
- </div>
- </li>
- </ul>
- <div style="float:right; width:275px;">
- <div id="facebookName">
- <div id="facebookTitle"><?php if ($fbconnect): ?><? echo bemvindoFB;?>, <span style="color:#3CBBE6;"><?=$user_profile['name']?><? endif; ?></span>
- </div>
- </div>
- <div id="leanguageSelect">
- <div class="selectLeanguage"><a href="#">Forum</a></div>
- <div class="selectLeanguageIcon">
- <a href="#" title="Português(BR) Version">
- <img src="/images/pt-br/top/pt.png" border="0" width="28" height="22" title="Brazil" alt="Brazil" />
- </a>
- <a href="#" title="English(US) Version">
- <img src="/images/pt-br/top/us.png" border="0" width="28" height="22" title="EUA" alt="EUA" />
- </a>
- </div>
- </div>
- <?php if ($fbconnect): ?>
- <div id="facebookLogoutBtn">
- <a href="/logout/">Logout</a>
- </div>
- <? else: ?>
- <div id="facebookConnectBtn" style="float:left; margin-top:8px;">
- <a href="<?=$loginUrl?>">Login</a>
- </div>
- <? endif; ?>
- </div>
- <div style="float:right; width:80px;">
- <?php if ($fbconnect): ?>
- <div id="facebook">
- <div class="image"><img src="https://graph.facebook.com/<?php echo $fbconnect; ?>/picture" border="0" style="margin-top:6px; border:1px solid #333;" width="55" height="62"></div>
- </div>
- <div id="clear"></div>
- <?php endif ?>
- </div>
- </div>
- </div>
- </div>
- </ul>
- </div>
- </div>
- <!-- END Top Menu -->
- <!-- its header -->
- <div id="itsheader">
- <!-- Beginning Content Top -->
- <div id="header">
- <div id="clear"></div>
- <div id="contentLogo">
- <div id="hipl"></div>
- <div id="logo"></div>
- </div>
- <div id="clear"></div>
- <div id="contentHeader">
- <div id="sliderCenter">
- <div class="contentLeft">
- <div id="register"><a href="/registro/">Registro</a></div>
- <div id="gamerStart"><a href="/download-game/" ><object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" name="flash_gamestart" width="168" height="100" id="flash_gamestart"><param name="movie" value="/swf/start.swf"><param name="wmode" value="transparent"><param name="FlashVars" value=""><param name="allowScriptAccess" value="always"><param name="allowFullScreen" value="true"><param name="quality" value="high"><param name="menu" value="false"><embed src="/swf/start.swf" width="168" height="100" wmode="transparent" name="flash_gamestart" flashvars="" allowscriptaccess="always" allowfullscreen="true" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="aaapagesiguunsdtale/x-shockwave-flash"></object>
- </a></div>
- <?PHP if (checasessao()){?>
- <div id="lineLogged"></div>
- <div id="divLogged">
- <div class="loggedTop"></div>
- <div class="loggedBottom">
- <div class="name"><?PHP echo ola ?> <img src="/ranks/rank_<?=$game['TotalGrade']?>.gif"/><a href="/minha-conta/" title="Ver conta"><?=$game['NickName']?></a></div>
- <div class="lineDiv" style="height:15px;"></div>
- <div style="height:70px; width:155px; background-repeat:no-repeat; background-position:50% 50%;"> </div>
- <div class="left" align="left" style="color: #F30;"><?PHP echo gold ?> </div>
- <div class="right" align="left"><?=number_format($game['Money']);?></div>
- <div class="left" align="left" style="color:#09F;"><?PHP echo cash ?> </div>
- <div class="right" align="left"><?=number_format($cash['Cash']);?></div>
- <div class="left" align="left" style="color:#090; font-weight:bold;"><?PHP echo credito ?></div>
- <div class="right" align="left"><?=number_format($credito['Credito']);?> <a href="/doar/"><b style="background-color: #E0EEFE; border:1px solid #B0C5F9; padding:3px; border-radius:5px; -moz-border-radius:5px; "><?PHP echo doar ?></b></a></div>
- <div class="btnMyAccount"><a href="/minha-conta/" title="Suas informações reunidas em um só lugar">Minha conta</a></div>
- <div class="btnExit"><a href="/logout/">Sair</a></div>
- </div>
- </div>
- <? }else{ ?>
- <div id="line"></div>
- <div id="divLogin">
- <form name="id_search" method="post">
- <dl class="bl">
- <dt><label for="userid">ID</label></dt>
- <dd><input type="text"name="user" maxlength="12" autocomplete="off" onKeyDown="_clf_onkeydown(0);" tabindex="1" class="idbg" onFocus="this.className='ipbg'" onBlur="if(this.value==''){this.className='idbg'}" autofocus></dd>
- <dt><label for="userpw">Password</label></dt>
- <dd><input type="password" name="pass" maxlength="30" autocomplete="off" onKeyDown="_clf_onkeydown(1);" onKeyPress="_clf_keypress_pwlen(this);" tabindex="2" class="pwbg" onFocus="this.className='ipbg'" onBlur="if(this.value==''){this.className='pwbg'}"></dd>
- </dl>
- <div ><input src="http://<? echo $_SERVER['HTTP_HOST'] ?>/images/pt-br/content/login/bt_login.png" name="Submit" type="image" class="submit" /></div>
- </form>
- <div id="clear"></div>
- </div>
- <div class="lg_btm">
- <span class="t1" onClick="openSenha();"><?=poupsenha_1?></span> | <span class="t2" onClick="openCodigo();"><?=poupcodigo_1?></span>
- </div>
- <?
- }
- ?>
- </div>
- <div id="contentTopCenter">
- <nav>
- <div id="navGuBound" class="navGunBound">
- <ul>
- <li><div class="home"><a href="/">Home</a></div></li>
- <div class="lineNav"></div>
- <li><div class="guia"><a href="/guia/">Guia</a></div>
- <ul style="width:330px;">
- <li><a href="/guia/como-jogar/"><?PHP echo menu_GameInfo_1 ?></a></li>
- <li><a href="/guia/mobiles/"><?PHP echo menu_GameInfo_2 ?></a></li>
- <li><a href="/guia/itens/"><?PHP echo menu_GameInfo_3 ?></a></li>
- <li><a href="/guia/tabela/"><?PHP echo menu_GameInfo_4 ?></a></li>
- <li><a href="/guia/papel-gm/"><?PHP echo menu_GameInfo_5 ?></a></li><div class="bgLeft" style="left:330px;"></div>
- <div class="guiaH" style="position:absolute; top:-39px;"></div>
- </ul>
- </li><div class="lineNav"></div>
- <li><div class="comunidade"><a href="/forum/">Comunidade</a></div>
- <ul style="width:320px;">
- <div class="comunidadeH"></div>
- <li><a href="/forum/livre/"><?PHP echo menu_Forum_0 ?></a></li>
- <li><a href="/forum/tutorial/"><?PHP echo menu_Forum_5 ?></a></li>
- <li><a href="/forum/videos/"><?PHP echo menu_Forum_1 ?></a></li>
- <li><a href="/forum/screen/"><?PHP echo menu_Forum_2 ?></a></li>
- <li><a href="/forum/perolas/"><?PHP echo menu_Forum_3 ?></a></li>
- <div class="bgLeft" style="left:320px;"></div>
- </ul>
- </li><div class="lineNav"></div>
- <li><div class="rank"><a href="/ranking/total/">Rankings</a></div>
- <ul style="width:278px;">
- <li><a href="/ranking/total/"><?PHP echo menu_Rank_1 ?></a></li>
- <li><a href="/ranking/semanal/"><?PHP echo menu_Rank_2 ?></a></li>
- <li><a href="/ranking/diario/"><?PHP echo menu_Rank_3 ?></a></li>
- <li><a href="/ranking/total/"><?PHP echo menu_Rank_4 ?></a></li>
- <li><a href="/ranking/pontos/"><?PHP echo 'Evento' ?></a></li>
- <div class="bgLeft" style="left:278px;"></div>
- <div class="rankH"></div>
- </ul>
- </li><div class="lineNav"></div>
- <li><div class="webShop"><a href="/webshop/">WebShop</a></div>
- <ul style="width:250px;">
- <li><a href="/loja-online/avatar/cash/"><?PHP echo menu_WebShop_1 ?></a></li>
- <li><a href="/loja-online/avatar/icoins/"><?PHP echo menu_WebShop_2 ?></a></li>
- <li><a href="/loja-online/comprar/vip/"><?PHP echo 'Comprar Vip';?></a></li>
- <li><a href="/loja-online/comprar/gvip/"><?PHP echo menu_WebShop_3 ?></a></li><div class="bgLeft" style="left:250px;"></div>
- <div class="webShopH"></div>
- </ul>
- </li><div class="lineNav"></div>
- <li><div class="guilds"><a href="/guilds/">Guilds</a></div></li><div class="lineNav"></div>
- <li><div class="download"><a href="/download-game/">Download</a></div>
- </ul>
- <div id="clear"></div>
- </div>
- </nav>
- <? if($GBound[0] != "forum" && $GBound[0] != "teste" && $GBound[0] != "noticias" && $GBound[0] != "exclusivos" && $GBound[0] != "bdanidos" && $GBound[0] != "regras" && $GBound[0] != "familia-gunbound" && $GBound[0] != "trocar-pontos" && $GBound[0] != "minhas-doacoes" && $GBound[0] != "comprar" && $GBound[0] != "eventos" && $GBound[0] != "guilds") {?>
- <div id="divWebSlider">
- <div class="left"></div>
- <div id="center">
- <? require("{$folder2}/{$pagina2}.php"); ?>
- </div>
- <? }?>
- <div class="right"></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div id="bgBottom"></div>
- <div id="clear"></div>
- </div>
- <div id="headerBg">
- <!--- Start Content --->
- <div id="headerContent">
- <div style="position:relative; margin:0px auto;">
- <div id="headerLeft" <? if (checasessao()){?>style="margin-top:45px;"<? } ?><? if($fbconnect >= '1'){?>style="margin-top:45px;"<? } ?>>
- <div id="contador">
- <div id="contadorNumber"><?PHP
- $n = mysql_query("SELECT * FROM user");
- echo mysql_num_rows($n);
- ?></div> <div id="contadorTitle"><?=register?></div>
- </div>
- <div id="laterQuickTop"><div id="quickLink"></div></div>
- <div id="laterQuickCenter">
- <div id="quickSupport"><a href="/support/" title="Está com problemas? Aqui você poderá solucionar suas dúvidas">Support</a></div>
- <div id="quickDoar"><a href="/doar/">Doar</a></div>
- <div id="quickRegards"><a href="/regras/">Regards</a></div>
- <div id="quickClans"><a href="/guilds/">Clans</a></div>
- <div id="quickForum"><a href="/forum/livre/">Support</a></div>
- <div id="quickBanned"><a href="/banidos/">Banneds</a></div>
- <div id="quickTeam"><a href="/familia-gunbound/">Team</a></div>
- <div id="quickNiveis"><a href="/guia/tabela/">Niveis</a></div>
- <div id="quickEffects"><a href="/Effects/">Effects</a></div>
- <div id="clear"></div>
- </div>
- <div id="laterQuickBottom"></div>
- <div id="laterWomanTop"><div id="rankingTopFive"></div></div>
- <div id="laterWomanCenter">
- <div class="news_rank">
- <div id="totalRankHover" onClick="getranking('total');"></div>
- <div id="weeklyRank" onClick="getranking('semanal');"></div>
- <div id="vipRank" onClick="getranking('vip');"></div>
- </div>
- <div id="rankingBody">
- <?
- $x = mysql_query("SELECT * FROM game ORDER BY TotalRank LIMIT 0,12");
- $i = $inicial;
- while($rx = mysql_fetch_array($x)){
- $i++;
- ?>
- <table width="83%" border="0" cellspacing="0" cellpadding="0" style="margin-left:18px; border-bottom:1px dotted #B7E5FF; font-family:'trebuchet MS'">
- <tr>
- <td width="13%" height="27" align="center"><img src="http://<? echo $_SERVER['HTTP_HOST'] ?>/images/pt-br/rank/<?=$i?>.png" width="24" height="24"/> </td>
- <td width="20%" height="27" align="center"><div style="width:25px; height:15px; background-image:url(/ranks/rank_<?=$rx['TotalGrade']?>.gif); background-repeat:no-repeat; position:relative;"><span class="vip<?=$rx['Country']?>"></span></div> </td>
- <td width="67%" align="left" style="color:#0086DF; font-size:13px;"><?=$rx["NickName"]?></td>
- </tr>
- </table>
- <? }?>
- </div>
- </div>
- <div id="laterWomanBottom"></div>
- </div>
- <div id="headerCenter" <? if( $GBound[0] == "forum" || $GBound[0] == "teste" || $GBound[0] == "comprar" || $GBound[0] == "exclusivos" || $GBound[0] == "familia-gunbound" || $GBound[0] == "regras" || $GBound[0] == "trocar-pontos" || $GBound[0] == "minhas-doacoes" || $GBound[0] == "noticias" || $GBound[0] == "eventos" || $GBound[0] == "badnidos" || $GBound[0] == "guilds") {?> style="margin-top:-310px;"<? } ?>>
- <?
- if($fbconnect == ''){}else{
- if(!isset($user['Id'])){
- if ($GBound[0] != "registro-facebook" && $GBound[0] != "registro" && $GBound[0] != "logout" && $GBound[0] != "noticias" && $GBound[0] != "home" && $GBound[0] != "ranking"){
- ?>
- <meta http-equiv="refresh" content="0; url=/registro/">
- <?
- }
- }else{
- }
- }
- ?>
- <?
- require("{$folder}/{$pagina}.php");
- ?>
- </div>
- </div>
- </div>
- <!-- End content Top -->
- <div id="clear"></div>
- <footer>
- <div id="footerCenter">
- <div id="copyright">
- <strong>Gunbound is copyright Softnyx </strong><br>
- <?=footer?>
- </div>
- <div id="clear"></div>
- </div>
- </footer>
- <div id="clear"></div>
- </div>
- <!-- poup senha -->
- <div class="ui-popup-container pop in ui-popup-active" id="popupSenha" <? if (!isset($_POST["recoverypass"])){?>style=" width: 490px; opacity: 1; z-index:999; position: fixed; top: 30%; left: 50%; display: none;" <? }else{ ?>style=" width: 490px; opacity: 1; z-index:999; position: fixed; top: 30%; left: 50%; " <? } ?>><div id="popupDialog" style="max-width:400px; position: relative; top:-30%; left: -50%; " class="ui-corner-all ui-popup ui-body-c ui-overlay-shadow">
- <div class="ui-corner-top ui-header ui-bar-a" >
- <h1 class="ui-title" role="heading" aria-level="1"><? echo poupsenha_1 ?></h1>
- </div>
- <div class="ui-corner-bottom ui-content ui-body-d">
- <h3 class="ui-title"><?=poupsenha_2?></h3>
- <p><? echo changenick_3 ?></p>
- <form action="" method="post">
- <?
- if (isset($_POST["recoverypass"])){
- require_once "phpscadastro178.php/1527xgamesx8487.php";
- require_once "phpscadastro178.php/validation.php";
- require_once "phpscadastro178.php/PHPMailer.php";
- require_once "phpscadastro178.php/class.smtp.php";
- $email = (get_magic_quotes_gpc ()) ? stripslashes ($_POST["email"]) : $_POST["email"];
- $cod = (get_magic_quotes_gpc ()) ? stripslashes ($_POST["cod"]) : $_POST["cod"];
- $rules[] = "required,email,".registrar28."";
- $rules[] = "length<50,email,".registrar29."";
- $rules[] = "valid_email2,email, ".registrar30."";
- $rules[] = "not_existe_email,email,".poupsenha_7."";
- $rules[] = "capt,cod,".registrar42."";
- $errors = validateFields($_POST, $rules);
- // if there were errors, re-populate the form fields
- if (!empty($errors))
- {
- $fields = $_POST;
- }
- // no errors! redirect the user to the thankyou page (or whatever)
- else
- {
- $login = getIdByEmail($email);
- $nickname = getNickByEmail($email);
- $senha = getSenhaByEmail($email);
- $message = "Os dados foram enviados com sucesso!";
- $corpo = '
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="center"><table id="ecxTable_01" width="640" border="0" cellpadding="0" cellspacing="0"> <tbody>
- <tr></tr>
- <tr> <td valign="top" align="center" bgcolor="#FFFFFF" height="1009"><table id="ecxTable_" width="640" border="0" cellpadding="0" cellspacing="0" height="963"> <tbody><tr> <td width="640" height="963"><table id="ecxTable_2" width="640" border="0" cellpadding="0" cellspacing="0" height="799"> <tbody><tr> <td height="431"><img src="http://www.igunbound.com.br/images/ImageProxy_008.jpg" alt="iGunBound" title="iGunBound" style="display:block;border:0;" width="640" height="514"></td> </tr> <tr> <td style="text-align:justify;" valign="top" align="justify" bgcolor="#232323" height="283"><table border="0" height="299"> <tbody>
- <tr> <td width="33" height="295"> </td> <td style="text-align:justify;" valign="top" width="557" align="justify"><p><font size="3" color="#ff9000" face="verdana"><strong>Olá, '.$nickname.'!</strong></font><br> <br>
- <font size="2" color="#b7b7b7" face="verdana">Você solicitou o lembre da sua senha do iGunBound recentemente.</font></p>
- <p><font size="2" color="#b7b7b7" face="verdana">Confira abaixo seus dados solicitados:</font></p>
- <table width="518" align="center" bgcolor="#0d0d0d" border="0" height="81"> <tbody>
- <tr> <td valign="middle" width="512" height="77"><table width="497" border="0"> <tbody>
- <tr> <td width="20" height="66"> </td> <td style="text-align:justify;" width="453" align="justify"> <p><font size="2" color="#b7b7b7" face="verdana">Seu nome de usuário é: '.$login.'<br>
- <br>
- Sua senha: '.$senha.' </font><font size="2" color="#b7b7b7" face="verdana"><br>
- </font></p></td>
- <td width="10" bgcolor="#0d0d0d"> </td> </tr> </tbody></table></td>
- </tr> </tbody></table>
- <br>
- <br>
- <p> <font size="2" color="#b7b7b7" face="verdana">Atensiosamente,<br>
- </font> <font size="2" color="#b7b7b7" face="verdana">Equipe iGunBound! </font><br>
- <br> <br>
- </p></td>
- <td width="36"> </td> </tr> </tbody></table></td> </tr> <tr></tr> </tbody></table>
- <br>
- <table width="600" align="center" border="0" cellpadding="0" cellspacing="0">
- <tbody>
- <tr></tr>
- <tr></tr>
- <tr></tr>
- <tr>
- <td><p><font size="1" color="#5a5657" face="arial"><br>
- Este é um email automático, por favor não responda. Se você
- tiver dúvidas, sugestões ou críticas a fazer, entre em contato com nossa <strong><a href="http://www.igunbound.com.br/tickets/" target="_blank">Central de Suporte</a></strong>.</font><font size="1" color="#5a5657" face="arial"><br>
- <br>
- This is an automatic email, please do not reply. If you have doubts comments or complains, contact our <strong><a href="http://www.igunbound.com.br/tickets/" target="_blank">Customer Care</a></strong>.</font></p></td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- </tbody>
- </table></td> </tr> </tbody></table> <table width="640" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> </tr> </tbody></table></td> </tr> <tr></tr></tbody></table></td>
- </tr>
- </table>
- ';
- $corpo .= "";
- $corpo .= "";
- $corpo .= "";
- $corpo .= "";
- $corpo .= "";
- $corpo .= "";
- $corpo .= "";
- $header = "From: [GunBound Classico]" . "<" . $email . ">\r\n";
- $mail = new PHPMailer();
- $mail->IsSMTP();
- $mail->SMTPAuth = true; // enable SMTP authentication
- $mail->Host = "mail.gunboundclassico.com"; // GMAIL's SMTP server
- $mail->Username = "suporte@gunboundclassico.com"; // GMAIL username
- $mail->Password = "xwxx1"; // GMAIL password
- $mail->AddReplyTo("suporte@gunboundclassico.com","GunBound Classico"); // Reply email address
- $mail->From = "suporte@gunboundclassico.com";
- $mail->FromName = "GunBound Classico"; // Name to appear once the email is sent
- $mail->Subject = "GunBound Classico - [Recuperar senha]"; // Email's subject
- //$mail->Body = "Hello World,<br />This is the HTML BODY<br />"; //HTML Body
- $mail->AltBody = "Habilite o suporte html do seu e-mail"; // optional, commentA out and test
- $mail->WordWrap = 50; // set word wrap
- $mail->MsgHTML($corpo); // [optional] Send body email as HTML
- $mail->AddAddress("$email", "$para"); // email address of recipient
- //$mail->AddAttachment("files/files.zip"); // [optional] attachment
- $mail->IsHTML(true); // [optional] send as HTML
- if(!$mail->Send()){
- $message = "Houve um erro com nosso servidor contratado...";
- }else{
- $message = "".poupsenha_8." $email";
- }
- //envio o correio...
- // here you would either email the form contents to someone or store it in a database.
- // To redirect to a "thankyou" page, you'd just do this:
- // header("Location: thanks.php");
- }
- if (!empty($errors))
- {
- echo "<div class='error' style='width:350px;'>Por favor, corrija os erros abaixo:\n<ul>";
- foreach ($errors as $error)
- echo "<li>$error</li>\n";
- echo "</ul></div><br />";
- }
- if (!empty($message))
- {
- echo "<div class='notify' style='width:350px;'>$message</div><br />";
- }
- }
- ?>
- <table>
- <tr>
- <td>E-mail:</td>
- <td><input type="text" class="ui-input-text ui-body-b ui-corner-all ui-shadow-inset" name="email" maxlength="50"></td>
- </tr>
- <tr>
- <td>Repita o código:</td>
- <td><img src="/CaptchaSecurityImages.php?width=100&height=40&characters=5" /></td>
- </tr>
- <tr>
- <td></td>
- <td><input type="text" class="ui-input-text ui-body-b ui-corner-all ui-shadow-inset" name="cod" maxlength="50"></td>
- </tr>
- <tr>
- <td></td>
- </tr>
- </table>
- <a onClick="openSenha();" data-role="button" data-inline="true" data-rel="back" data-theme="c" data-corners="true" data-shadow="true" data-iconshadow="true" data-wrapperels="span" class="ui-btn ui-btn-up-c ui-shadow ui-btn-corner-all ui-btn-inline"><span class="ui-btn-inner"><span class="ui-btn-text"><? echo cancel?></span></span></a> <span id="submit">
- <input type="submit" name="recoverypass" class="ui-btn ui-btn-up-b ui-shadow ui-btn-corner-all ui-btn-inline" width="400" height="80" value="<? echo accept ?>"></span>
- </form>
- </div></div></div>
- <!-- fim poup -->
- <!-- poup senha -->
- <div class="ui-popup-container pop in ui-popup-active" id="popupCodigo" <? if (!isset($_POST["codeenvio"])){?>style=" width: 490px; opacity: 1; z-index:999; position: fixed; top: 30%; left: 50%; display: none;" <? }else{ ?>style=" width: 490px; opacity: 1; z-index:999; position: fixed; top: 30%; left: 50%; " <? } ?>><div id="popupDialog" style="max-width:400px; position: relative; top:-30%; left: -50%; " class="ui-corner-all ui-popup ui-body-c ui-overlay-shadow">
- <div class="ui-corner-top ui-header ui-bar-a" >
- <h1 class="ui-title" role="heading" aria-level="1"><? echo poupcodigo_1 ?></h1>
- </div>
- <div class="ui-corner-bottom ui-content ui-body-d">
- <h3 class="ui-title"><?=poupcodigo_2?></h3>
- <p><? echo poupcodigo_3 ?></p>
- <?php
- if (isset($_POST["codeenvio"])){
- require_once "phpscadastro178.php/1527xgamesx8487.php";
- require_once "phpscadastro178.php/validation.php";
- require_once "phpscadastro178.php/PHPMailer.php";
- require_once "phpscadastro178.php/class.smtp.php";
- $email = (get_magic_quotes_gpc ()) ? stripslashes ($_POST["email"]) : $_POST["email"];
- $cod = (get_magic_quotes_gpc ()) ? stripslashes ($_POST["cod"]) : $_POST["cod"];
- $existe = mysql_query("select Authority from user where E_Mail='$email'");
- $auto = mysql_fetch_array($existe);
- $autoridade = $auto["Authority"];
- if($autoridade != '-2'){
- $_POST["acf"] = "aaa";
- } else {
- $_POST["acf"] = "a";
- }
- $rules[] = "length<2,acf, Está conta já foi confirmada!.";
- $rules[] = "required,email,Campo E-mail requerido.";
- $rules[] = "length<50,email,Campo E-mail não pode ultrapassar a 50 caracteres.";
- $rules[] = "valid_email,email, Digite um e-mail válido.";
- $rules[] = "not_existe_email,email,E-mail não foi encontrado na nossa base de dados!";
- $rules[] = "capt,cod,Código de segurança inválido";
- $errors = validateFields($_POST, $rules);
- // if there were errors, re-populate the form fields
- if (!empty($errors))
- {
- $fields = $_POST;
- }
- // no errors! redirect the user to the thankyou page (or whatever)
- else
- {
- /**************************CONFIRMAR CADASTRO NO E-MAIL*/
- $login = getIdByEmail($_POST["email"]);
- $email = $_POST["email"];
- $cod = md5(base64_encode($login) . base64_encode($email) . "igunboundtopp49489848484584898");
- $corpo = "<html>\n";
- $corpo .= "<body>\n";
- $corpo .= '
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="center"><table id="ecxTable_01" width="640" border="0" cellpadding="0" cellspacing="0"> <tbody>
- <tr></tr>
- <tr> <td valign="top" align="center" bgcolor="#FFFFFF" height="1009"><table id="ecxTable_" width="640" border="0" cellpadding="0" cellspacing="0" height="906"> <tbody><tr> <td width="640" height="906"><table id="ecxTable_2" width="640" border="0" cellpadding="0" cellspacing="0" height="988"> <tbody><tr> <td height="431"><img src="http://www.igunbound.com.br/images/ImageProxy_008.jpg" alt="iGunBound" title="iGunBound" style="display:block;border:0;" width="640" height="514"></td> </tr> <tr> <td style="text-align:justify;" valign="top" align="justify" bgcolor="#232323" height="371"><table border="0" height="397"> <tbody><tr> <td width="33" height="393"> </td> <td style="text-align:justify;" valign="top" width="557" align="justify"><p><font size="3" color="#ff9000" face="verdana"><strong>Bem-vindo, '.$login.'!</strong></font><br> <br>
- <font size="2" color="#b7b7b7" face="verdana">Vocé acabou de solicitar um pedido para ativação de conta, use o Link abaixo para efetuar ativar sua conta:</font><br>
- <br><center><a href="http://www.igunbound.com.br/valida-email/cadastro/'.$email.'/'.$login.'/'.$cod.'/"><img src="http://www.igunbound.com.br/images/button.png" border="0"/></a></center>
- </p> <p> </p> <table width="518" align="center" bgcolor="#0d0d0d" border="0" height="129"> <tbody><tr> <td valign="middle" width="512" height="125"><table width="497" border="0"> <tbody><tr> <td width="20" height="106"> </td> <td style="text-align:justify;" width="453" align="justify"><font size="2" color="#b7b7b7" face="verdana"><br> <a href="http://www.igunbound.com.br/download-game/" target="_blank" style="color:#ff9000;text-decoration:none;">BAIXE O JOGO AQUI</a><br> <br> </font> <font size="2" color="#b7b7b7" face="verdana"> Caso tenha dificuldades durante o processo de instalação, entre em contato com nossa <a href="http://www.igunbound.com.br/tickets/" target="_blank" style="color:#ff9000;text-decoration:none;">Central de Suporte</a>. </font></td> <td width="10" bgcolor="#0d0d0d"> </td> </tr> </tbody></table></td> </tr> </tbody></table> <p><br>
- <font size="2" color="#b7b7b7" face="verdana">Ative sua conta e divirta-se!</font> </p>
- <p> <font size="2" color="#b7b7b7" face="verdana">Equipe iGunBound! </font><br> <br> </p></td> <td width="36"> </td> </tr> </tbody></table></td> </tr> <tr></tr> </tbody></table></td> </tr> </tbody></table> <table width="640" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> </tr> </tbody></table></td> </tr> <tr> <td valign="top" align="center" height="176"><table width="600" align="center" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td> </td> </tr> <tr></tr>
- <tr> <td valign="middle" align="center" height="20"></td> </tr> <tr> <td><p><font size="1" color="#5a5657" face="arial"><br>
- Este é um email automático, por favor não responda. Se você
- tiver dúvidas, sugestões ou críticas a fazer, entre em contato com nossa
- <strong><a href="http://www.igunbound.com.br/tickets/" target="_blank">Central de Suporte</a></strong>.</font><font size="1" color="#5a5657" face="arial"><br> <br>This is an automatic email, please do not reply. If you have doubts comments or complains, contact our <strong><a href="http://www.igunbound.com.br/tickets/" target="_blank">Customer Care</a></strong>.</font></p></td> </tr> <tr> <td> </td> </tr> </tbody></table></td> </tr></tbody></table></td>
- </tr>
- </table>
- ';
- $corpo .= "";
- $corpo .= "";
- $corpo .= "";
- $corpo .= "";
- $corpo .= "";
- $corpo .= "";
- $corpo .= "";
- $corpo .= "";
- $corpo .= "</body>\n";
- $corpo .= "</html>\n";
- $mail = new PHPMailer();
- $mail->IsSMTP();
- $mail->SMTPAuth = true; // enable SMTP authentication
- $mail->Host = "smtp.igunbound.com.br"; // GMAIL's SMTP server
- $mail->Username = "general@igunbound.com.br"; // GMAIL username
- $mail->Password = "l8PXP9KXlu88"; // GMAIL password
- $mail->AddReplyTo("general@igunbound.com.br","iGunBound"); // Reply email address
- $mail->From = "general@igunbound.com.br";
- $mail->FromName = "iGunBound"; // Name to appear once the email is sent
- $mail->Subject = "iGunBound - [ATIVAR CADASTRO]"; // Email's subject
- //$mail->Body = "Hello World,<br />This is the HTML BODY<br />"; //HTML Body
- $mail->AltBody = "Habilite o suporte html do seu e-mail"; // optional, comment out and test
- $mail->WordWrap = 50; // set word wrap
- $mail->MsgHTML($corpo); // [optional] Send body email as HTML
- $mail->AddAddress("$email", "$email"); // email address of recipient
- //$mail->AddAttachment("files/files.zip"); // [optional] attachment
- $mail->IsHTML(true); // [optional] send as HTML
- if(!$mail->Send()){
- $message = "Houve um erro com nosso servidor contratado...";
- }else{
- $message = "Atenção! Você acaba de receber um e-mail contendo os procedimentos para ativar sua conta!";
- }
- /**/
- // here you would either email the form contents to someone or store it in a database.
- // To redirect to a "thankyou" page, you'd just do this:
- // header("Location: thanks.php");
- }
- }
- if (!empty($errors))
- {
- echo "<div class='error' style='width:350px;'>Por favor, corrija os erros abaixo:\n<ul>";
- foreach ($errors as $error)
- echo "<li>$error</li>\n";
- echo "</ul></div><br />";
- }
- if (!empty($message))
- {
- echo "<div class='notify' style='width:350px;'>$message</div><br />";
- }
- // if $errors is not empty, the form must have failed one or more validation
- // tests. Loop through each and display them on the page for the user
- ?>
- <form action="" method="post">
- <table>
- <tr>
- <td>E-mail:</td>
- <td><input type="text" class="ui-input-text ui-body-b ui-corner-all ui-shadow-inset" name="email" maxlength="50"></td>
- </tr>
- <tr>
- <td>Repita o código:</td>
- <td><img src="/CaptchaSecurityImages.php?width=100&height=40&characters=5" /></td>
- </tr>
- <tr>
- <td></td>
- <td><input type="text" class="ui-input-text ui-body-b ui-corner-all ui-shadow-inset" name="cod" maxlength="50"></td>
- </tr>
- <tr>
- <td></td>
- </tr>
- </table>
- <a onClick="openCodigo();" data-role="button" data-inline="true" data-rel="back" data-theme="c" data-corners="true" data-shadow="true" data-iconshadow="true" data-wrapperels="span" class="ui-btn ui-btn-up-c ui-shadow ui-btn-corner-all ui-btn-inline"><span class="ui-btn-inner"><span class="ui-btn-text"><? echo cancel?></span></span></a> <span id="submit">
- <input type="submit" name="codeenvio" class="ui-btn ui-btn-up-b ui-shadow ui-btn-corner-all ui-btn-inline" width="400" height="80" value="<? echo accept ?>"></span>
- </form>
- </div></div></div>
- <!-- fim codigo -->
- <div id="poup-senha" <? if(isset($_POST["recoverypass"]) || isset($_POST["nickname"]) || isset($_POST["codeenvio"]) || isset($_POST["acceptNewGuild"]) || isset($_POST["acceptChangeSenha"])){?> style="opacity: 0.7; z-index: 80; height: 100%; left: 0; position: fixed; top: 0; width: 100%; background-color:#000;"
- <? }else{ ?>style="opacity: 0.7; display:none; z-index: 80; height: 100%; left: 0; position: fixed; top: 0; width: 100%; background-color:#000;"<? } ?>></div>
- <?
- }
- ?>
- </body>
- </html>
Add Comment
Please, Sign In to add comment