Boas-vindas ao Power Pixel

Junte-se a comunidade! Crie o seu próprio conteúdo, e faça amizades.EntrarCriar uma conta

[PLATEAM] FancyCMS | 2015

Início :: Jogos :: Habbo Hotel :: Utilitários :: CMS[PLATEAM] FancyCMS | 2015

[PLATEAM] FancyCMS | 2015 Empty Re: [PLATEAM] FancyCMS | 2015 em 26.02.15 21:19

Olá, ótima cms estarei baixando aqui...

[PLATEAM] FancyCMS | 2015 Empty Re: [PLATEAM] FancyCMS | 2015 em 26.02.15 21:23

Olá, adorei essa CMS, e também adorei o projeto também, até!
@OFF Muito bom projeto tomará que cresça!

[PLATEAM] FancyCMS | 2015 Empty Re: [PLATEAM] FancyCMS | 2015 em 26.02.15 21:35

Para tirar o carregamento da index basta colocar essa index.

Código:
<?php

#*======================================================================*\
# PLATEAM ~ TODOS DIREITOS RESERVADDOS                           #
#  NOSSO PÁGINA NO FACEBOOK ~ FB.COM/PLATEAMOFICIAL                      #
# ########################################################################

require_once('./fancy/core.php');

session_start();

if(isset($_GET['registerCancel']) && FilterText($_GET['registerCancel'] == "true")){
session_unset();
}

if(!session_is_registered(username)){

   if(isset($_POST['username']) && isset($_POST['password'])){
   $username = FilterText($_POST['username']);
   $password = HoloHash($_POST['password'], $username);
   $password2 = HoloHashMD5($_POST['password'], $username);

      if(empty($username) || empty($_POST['password'])){
         $login_error = "Usuário ou senha incorretos!";
      } else {
         $sql = mysql_query("SELECT id FROM users WHERE username = '".$username."' AND password = '".$password."' OR username = '".$username."' AND password = '".$password2."' LIMIT 1") or die(mysql_error());
         if(mysql_num_rows($sql) < 1){
            $login_error = "Usuário ou senha incorretos!";
         } else {
            $userdata = mysql_fetch_assoc($sql);
            $userid = $userdata['id'];
            $ban = mysql_query("SELECT * FROM bans WHERE value = '".$username."' AND bantype = 'user' or value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
            if(mysql_num_rows($ban) < 1){

               mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

               $_SESSION['username'] = $username;
               $_SESSION['password'] = $password2;
                  if ($_POST['_login_remember_me'] == "true"){
                     setcookie("remember", "remember", time()+60*60*24*100, "/");
                     setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
                     setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
                  }
               header("location: $path/me"); exit;
            } else {
               $bandata = mysql_fetch_assoc($ban);
               $timestamp = time();
               if($bandata['expire'] > $timestamp){
                  $login_error = "Você foi banido por: \"" . $bandata['reason'] . "\" e acaba em: " . date('d.m.Y - H:i:s', $bandata['expire']) . ".";
               } else {
                  mysql_query("DELETE FROM bans WHERE value = '".$username."' AND bantype = 'user' OR value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
                  mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

               $_SESSION['username'] = $username;
               $_SESSION['password'] = $password2;
                     if ($_POST['_login_remember_me'] == "true"){
                        setcookie("remember", "remember", time()+60*60*24*100, "/");
                        setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
                        setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
                     }
                  header("location: $path/me"); exit;
               }
            }
         }
      }
   }



$body_id = "index";

$news1_3 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 20") or die(mysql_error());
$news4_5 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 2 OFFSET 2") or die(mysql_error());

?>
<head>
<?php header("Content-Type: text/html; charset=ISO-8859-1",true) ?>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-type" content="text/html; ISO-8859-1" />
<meta charset="UTF-8" >
<meta charset="ISO-8859-1">
   <title>Habbo Hotel</title>
<link href="templates/css/login.css" rel="stylesheet" media="screen" />
   <script src="/templates/js/jquery.min.js"></script>
   <script src="/templates/js/loading.js"></script>
   <script src="/templates/js/modal.js"></script>
   <link href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed' rel='stylesheet' type='text/css'>
   <link href="http://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet" type="text/css">
</head>
<body>
<div id="topo">
   <div id="login">
      <div id="login_area" class="">
      <form action="<?php echo $path; ?>" method="POST">
<button class="login_button" type="submit">Vamos lá!</button>
            <div id="login_useful">
               <div id="login_usefult"><span>Login:</span></div>
               <input value="" input class="login_input" type="text" placeholder="Usuário" name="username">
               <input value=""input class="login_input" type="password" placeholder="Sua senha" name="password">
               <br /><a onclick="openForgot()">Esqueci minha senha</a>
            </div>
</form>
      </div>
   </div>
   <div id="register_banner_area">
      <div id="register_hotel"></div>
      <div id="register_desc">
         Um lugar Fantástico com gente chique
         <br />
         <form action="registro"><input class="register_button" value="Entre Agora!" type="submit" /></form>
      </div>
   </div>
   <div id="menu">
      <div id="menu_area">
         <div id="logo"></div>
         <div class="user_counter"><?php echo $online_count; ?> usuários online!</div>
      </div>
   </div>
</div>
<div id="conteudo">
   <div id="conteudo_area">
      <div id="latest_area">Últimas Notícias</div>
      <?php $i = 0; while($news = mysql_fetch_assoc($news1_3)){ $i++; ?>
            <a href="<?php echo $path; ?>/noticias/<?php echo $news['id']; ?>">
         <div class="news_area">
            <div class="news_body">
               <div class="news_picture_container">
                  <div class="news_picture" style="background-image: url(<?php echo $news['image']; ?>);"></div>
               </div>
               <div class="news_heading"><?php echo $news['title']; ?></div>
               <div class="news_description"><?php echo $news['longstory']; ?></div>
            </div>
         </div>
      </a><?php } ?>

         </div>
</div>
<footer class="footer">
   <div id="footer_area">
      <div id="footer_social">
         Siga o Habbo<br />
         <ul class="social">
            <li class="social_fb"><a href="http://facebook.com/PlaTeamOficial" target="_blank"></a></li>
         </ul>
      </div>
      <div id="footer_credits">
         © 2014 -&nbsp;2015 EQUIPE PLATEAM ~ TODOS OS DIREITOS RESERVADOS
      </div>
   </div>
</footer>
<div class="modal_forgot">
   <div class="modal_forgot_frame">
      <div class="modal_forgot_heading">Recuperar Senha<button class="modal_forgot_close"></button></div>
      <div class="modal_forgot_scroll">
         <div id="modal_forgot_content">
            <form id="recuperar">
               Insira o seu e-mail:<br/><input type="text" class="input" name="email" /><br />
         </div>
         <div id="modal_forgot_footer">
               <input type="button" class="button" value="Enviar" />
            </form>
         </div>
      </div>
   </div>
</div>
</body>

<?php


} else {
header("location:inicio");
}

?>

[PLATEAM] FancyCMS | 2015 Empty Re: [PLATEAM] FancyCMS | 2015 em 26.02.15 21:46

[quote=Habbr]Para tirar o carregamento da index basta colocar essa index.

Código:
<?php

#*======================================================================*\
# PLATEAM ~ TODOS DIREITOS RESERVADDOS   #
#  NOSSO PÁGINA NO FACEBOOK ~ FB.COM/PLATEAMOFICIAL                      #
# ########################################################################

require_once('./fancy/core.php');

session_start();

if(isset($_GET['registerCancel']) && FilterText($_GET['registerCancel'] == "true")){
session_unset();
}

if(!session_is_registered(username)){

 if(isset($_POST['username']) && isset($_POST['password'])){
 $username = FilterText($_POST['username']);
 $password = HoloHash($_POST['password'], $username);
 $password2 = HoloHashMD5($_POST['password'], $username);

 if(empty($username) || empty($_POST['password'])){
 $login_error = "Usuário ou senha incorretos!";
 } else {
 $sql = mysql_query("SELECT id FROM users WHERE username = '".$username."' AND password = '".$password."' OR username = '".$username."' AND password = '".$password2."' LIMIT 1") or die(mysql_error());
 if(mysql_num_rows($sql) < 1){
 $login_error = "Usuário ou senha incorretos!";
 } else {
 $userdata = mysql_fetch_assoc($sql);
 $userid = $userdata['id'];
 $ban = mysql_query("SELECT * FROM bans WHERE value = '".$username."' AND bantype = 'user' or value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
 if(mysql_num_rows($ban) < 1){

 mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

 $_SESSION['username'] = $username;
 $_SESSION['password'] = $password2;
 if ($_POST['_login_remember_me'] == "true"){
 setcookie("remember", "remember", time()+60*60*24*100, "/");
 setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
 setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
 }
 header("location: $path/me"); exit;
 } else {
 $bandata = mysql_fetch_assoc($ban);
 $timestamp = time();
 if($bandata['expire'] > $timestamp){
 $login_error = "Você foi banido por: "" . $bandata['reason'] . "" e acaba em: " . date('d.m.Y - H:i:s', $bandata['expire']) . ".";
 } else {
 mysql_query("DELETE FROM bans WHERE value = '".$username."' AND bantype = 'user' OR value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
 mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

 $_SESSION['username'] = $username;
 $_SESSION['password'] = $password2;
 if ($_POST['_login_remember_me'] == "true"){
 setcookie("remember", "remember", time()+60*60*24*100, "/");
 setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
 setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
 }
 header("location: $path/me"); exit;
 }
 }
 }
 }
 }



$body_id = "index";

$news1_3 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 20") or die(mysql_error());
$news4_5 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 2 OFFSET 2") or die(mysql_error());

?>
<head>
<?php header("Content-Type: text/html; charset=ISO-8859-1",true) ?>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-type" content="text/html; ISO-8859-1" />
<meta charset="UTF-8" >
<meta charset="ISO-8859-1">
 <title>Habbo Hotel</title>
<link href="templates/css/login.css" rel="stylesheet" media="screen" />
 <script src="/templates/js/jquery.min.js"></script>
 <script src="/templates/js/loading.js"></script>
 <script src="/templates/js/modal.js"></script>
 <link href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed' rel='stylesheet' type='text/css'>
 <link href="http://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet" type="text/css">
</head>
<body>
<div id="topo">
 <div id="login">
 <div id="login_area" class="">
 <form action="<?php echo $path; ?>" method="POST">
<button class="login_button" type="submit">Vamos lá!</button>
 <div id="login_useful">
 <div id="login_usefult"><span>Login:</span></div>
 <input value="" input class="login_input" type="text" placeholder="Usuário" name="username">
 <input value=""input class="login_input" type="password" placeholder="Sua senha" name="password">
 <br /><a onclick="openForgot()">Esqueci minha senha</a>
 </div>
</form>
 </div>
 </div>
 <div id="register_banner_area">
 <div id="register_hotel"></div>
 <div id="register_desc">
 Um lugar Fantástico com gente chique
 <br />
 <form action="registro"><input class="register_button" value="Entre Agora!" type="submit" /></form>
 </div>
 </div>
 <div id="menu">
 <div id="menu_area">
 <div id="logo"></div>
 <div class="user_counter"><?php echo $online_count; ?> usuários online!</div>
 </div>
 </div>
</div>
<div id="conteudo">
 <div id="conteudo_area">
 <div id="latest_area">Últimas Notícias</div>
 <?php $i = 0; while($news = mysql_fetch_assoc($news1_3)){ $i++; ?>
 <a href="<?php echo $path; ?>/noticias/<?php echo $news['id']; ?>">
 <div class="news_area">
 <div class="news_body">
 <div class="news_picture_container">
 <div class="news_picture" style="background-image: url(<?php echo $news['image']; ?>);"></div>
 </div>
 <div class="news_heading"><?php echo $news['title']; ?></div>
 <div class="news_description"><?php echo $news['longstory']; ?></div>
 </div>
 </div>
 </a><?php } ?>

 </div>
</div>
<footer class="footer">
 <div id="footer_area">
 <div id="footer_social">
 Siga o Habbo<br />
 <ul class="social">
 <li class="social_fb"><a href="http://facebook.com/PlaTeamOficial" target="_blank"></a></li>
 </ul>
 </div>
 <div id="footer_credits">
 © 2014 -&nbsp;2015 EQUIPE PLATEAM ~ TODOS OS DIREITOS RESERVADOS
 </div>
 </div>
</footer>
<div class="modal_forgot">
 <div class="modal_forgot_frame">
 <div class="modal_forgot_heading">Recuperar Senha<button class="modal_forgot_close"></button></div>
 <div class="modal_forgot_scroll">
 <div id="modal_forgot_content">
 <form id="recuperar">
 Insira o seu e-mail:<br/><input type="text" class="input" name="email" /><br />
 </div>
 <div id="modal_forgot_footer">
 <input type="button" class="button" value="Enviar" />
 </form>
 </div>
 </div>
 </div>
</div>
</body>

<?php


} else {
header("location:inicio");
}

?>
[/quote]

Eu fiz isso e está dando falha no carregamento , e está bloqueando meu ip a index.php , como resolvo ?

[PLATEAM] FancyCMS | 2015 Empty Re: [PLATEAM] FancyCMS | 2015 em 26.02.15 21:49

[quote=higorangry][quote=Habbr]Para tirar o carregamento da index basta colocar essa index.

Código:
<?php

#*======================================================================*\
# PLATEAM ~ TODOS DIREITOS RESERVADDOS   #
#  NOSSO PÁGINA NO FACEBOOK ~ FB.COM/PLATEAMOFICIAL                      #
# ########################################################################

require_once('./fancy/core.php');

session_start();

if(isset($_GET['registerCancel']) && FilterText($_GET['registerCancel'] == "true")){
session_unset();
}

if(!session_is_registered(username)){

 if(isset($_POST['username']) && isset($_POST['password'])){
 $username = FilterText($_POST['username']);
 $password = HoloHash($_POST['password'], $username);
 $password2 = HoloHashMD5($_POST['password'], $username);

 if(empty($username) || empty($_POST['password'])){
 $login_error = "Usuário ou senha incorretos!";
 } else {
 $sql = mysql_query("SELECT id FROM users WHERE username = '".$username."' AND password = '".$password."' OR username = '".$username."' AND password = '".$password2."' LIMIT 1") or die(mysql_error());
 if(mysql_num_rows($sql) < 1){
 $login_error = "Usuário ou senha incorretos!";
 } else {
 $userdata = mysql_fetch_assoc($sql);
 $userid = $userdata['id'];
 $ban = mysql_query("SELECT * FROM bans WHERE value = '".$username."' AND bantype = 'user' or value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
 if(mysql_num_rows($ban) < 1){

 mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

 $_SESSION['username'] = $username;
 $_SESSION['password'] = $password2;
 if ($_POST['_login_remember_me'] == "true"){
 setcookie("remember", "remember", time()+60*60*24*100, "/");
 setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
 setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
 }
 header("location: $path/me"); exit;
 } else {
 $bandata = mysql_fetch_assoc($ban);
 $timestamp = time();
 if($bandata['expire'] > $timestamp){
 $login_error = "Você foi banido por: "" . $bandata['reason'] . "" e acaba em: " . date('d.m.Y - H:i:s', $bandata['expire']) . ".";
 } else {
 mysql_query("DELETE FROM bans WHERE value = '".$username."' AND bantype = 'user' OR value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
 mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

 $_SESSION['username'] = $username;
 $_SESSION['password'] = $password2;
 if ($_POST['_login_remember_me'] == "true"){
 setcookie("remember", "remember", time()+60*60*24*100, "/");
 setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
 setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
 }
 header("location: $path/me"); exit;
 }
 }
 }
 }
 }



$body_id = "index";

$news1_3 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 20") or die(mysql_error());
$news4_5 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 2 OFFSET 2") or die(mysql_error());

?>
<head>
<?php header("Content-Type: text/html; charset=ISO-8859-1",true) ?>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-type" content="text/html; ISO-8859-1" />
<meta charset="UTF-8" >
<meta charset="ISO-8859-1">
 <title>Habbo Hotel</title>
<link href="templates/css/login.css" rel="stylesheet" media="screen" />
 <script src="/templates/js/jquery.min.js"></script>
 <script src="/templates/js/loading.js"></script>
 <script src="/templates/js/modal.js"></script>
 <link href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed' rel='stylesheet' type='text/css'>
 <link href="http://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet" type="text/css">
</head>
<body>
<div id="topo">
 <div id="login">
 <div id="login_area" class="">
 <form action="<?php echo $path; ?>" method="POST">
<button class="login_button" type="submit">Vamos lá!</button>
 <div id="login_useful">
 <div id="login_usefult"><span>Login:</span></div>
 <input value="" input class="login_input" type="text" placeholder="Usuário" name="username">
 <input value=""input class="login_input" type="password" placeholder="Sua senha" name="password">
 <br /><a onclick="openForgot()">Esqueci minha senha</a>
 </div>
</form>
 </div>
 </div>
 <div id="register_banner_area">
 <div id="register_hotel"></div>
 <div id="register_desc">
 Um lugar Fantástico com gente chique
 <br />
 <form action="registro"><input class="register_button" value="Entre Agora!" type="submit" /></form>
 </div>
 </div>
 <div id="menu">
 <div id="menu_area">
 <div id="logo"></div>
 <div class="user_counter"><?php echo $online_count; ?> usuários online!</div>
 </div>
 </div>
</div>
<div id="conteudo">
 <div id="conteudo_area">
 <div id="latest_area">Últimas Notícias</div>
 <?php $i = 0; while($news = mysql_fetch_assoc($news1_3)){ $i++; ?>
 <a href="<?php echo $path; ?>/noticias/<?php echo $news['id']; ?>">
 <div class="news_area">
 <div class="news_body">
 <div class="news_picture_container">
 <div class="news_picture" style="background-image: url(<?php echo $news['image']; ?>);"></div>
 </div>
 <div class="news_heading"><?php echo $news['title']; ?></div>
 <div class="news_description"><?php echo $news['longstory']; ?></div>
 </div>
 </div>
 </a><?php } ?>

 </div>
</div>
<footer class="footer">
 <div id="footer_area">
 <div id="footer_social">
 Siga o Habbo<br />
 <ul class="social">
 <li class="social_fb"><a href="http://facebook.com/PlaTeamOficial" target="_blank"></a></li>
 </ul>
 </div>
 <div id="footer_credits">
 © 2014 -&nbsp;2015 EQUIPE PLATEAM ~ TODOS OS DIREITOS RESERVADOS
 </div>
 </div>
</footer>
<div class="modal_forgot">
 <div class="modal_forgot_frame">
 <div class="modal_forgot_heading">Recuperar Senha<button class="modal_forgot_close"></button></div>
 <div class="modal_forgot_scroll">
 <div id="modal_forgot_content">
 <form id="recuperar">
 Insira o seu e-mail:<br/><input type="text" class="input" name="email" /><br />
 </div>
 <div id="modal_forgot_footer">
 <input type="button" class="button" value="Enviar" />
 </form>
 </div>
 </div>
 </div>
</div>
</body>

<?php


} else {
header("location:inicio");
}

?>
[/quote]

Eu fiz isso e está dando falha no carregamento , e está bloqueando meu ip a index.php , como resolvo ?[/quote]

Poderia postar print?

[PLATEAM] FancyCMS | 2015 Empty Re: [PLATEAM] FancyCMS | 2015 em 26.02.15 21:57

[quote=Habbr][quote=higorangry][quote=Habbr]Para tirar o carregamento da index basta colocar essa index.

Código:
<?php

#*======================================================================*\
# PLATEAM ~ TODOS DIREITOS RESERVADDOS   #
#  NOSSO PÁGINA NO FACEBOOK ~ FB.COM/PLATEAMOFICIAL                      #
# ########################################################################

require_once('./fancy/core.php');

session_start();

if(isset($_GET['registerCancel']) && FilterText($_GET['registerCancel'] == "true")){
session_unset();
}

if(!session_is_registered(username)){

 if(isset($_POST['username']) && isset($_POST['password'])){
 $username = FilterText($_POST['username']);
 $password = HoloHash($_POST['password'], $username);
 $password2 = HoloHashMD5($_POST['password'], $username);

 if(empty($username) || empty($_POST['password'])){
 $login_error = "Usuário ou senha incorretos!";
 } else {
 $sql = mysql_query("SELECT id FROM users WHERE username = '".$username."' AND password = '".$password."' OR username = '".$username."' AND password = '".$password2."' LIMIT 1") or die(mysql_error());
 if(mysql_num_rows($sql) < 1){
 $login_error = "Usuário ou senha incorretos!";
 } else {
 $userdata = mysql_fetch_assoc($sql);
 $userid = $userdata['id'];
 $ban = mysql_query("SELECT * FROM bans WHERE value = '".$username."' AND bantype = 'user' or value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
 if(mysql_num_rows($ban) < 1){

 mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

 $_SESSION['username'] = $username;
 $_SESSION['password'] = $password2;
 if ($_POST['_login_remember_me'] == "true"){
 setcookie("remember", "remember", time()+60*60*24*100, "/");
 setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
 setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
 }
 header("location: $path/me"); exit;
 } else {
 $bandata = mysql_fetch_assoc($ban);
 $timestamp = time();
 if($bandata['expire'] > $timestamp){
 $login_error = "Você foi banido por: "" . $bandata['reason'] . "" e acaba em: " . date('d.m.Y - H:i:s', $bandata['expire']) . ".";
 } else {
 mysql_query("DELETE FROM bans WHERE value = '".$username."' AND bantype = 'user' OR value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
 mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

 $_SESSION['username'] = $username;
 $_SESSION['password'] = $password2;
 if ($_POST['_login_remember_me'] == "true"){
 setcookie("remember", "remember", time()+60*60*24*100, "/");
 setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
 setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
 }
 header("location: $path/me"); exit;
 }
 }
 }
 }
 }



$body_id = "index";

$news1_3 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 20") or die(mysql_error());
$news4_5 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 2 OFFSET 2") or die(mysql_error());

?>
<head>
<?php header("Content-Type: text/html; charset=ISO-8859-1",true) ?>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-type" content="text/html; ISO-8859-1" />
<meta charset="UTF-8" >
<meta charset="ISO-8859-1">
 <title>Habbo Hotel</title>
<link href="templates/css/login.css" rel="stylesheet" media="screen" />
 <script src="/templates/js/jquery.min.js"></script>
 <script src="/templates/js/loading.js"></script>
 <script src="/templates/js/modal.js"></script>
 <link href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed' rel='stylesheet' type='text/css'>
 <link href="http://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet" type="text/css">
</head>
<body>
<div id="topo">
 <div id="login">
 <div id="login_area" class="">
 <form action="<?php echo $path; ?>" method="POST">
<button class="login_button" type="submit">Vamos lá!</button>
 <div id="login_useful">
 <div id="login_usefult"><span>Login:</span></div>
 <input value="" input class="login_input" type="text" placeholder="Usuário" name="username">
 <input value=""input class="login_input" type="password" placeholder="Sua senha" name="password">
 <br /><a onclick="openForgot()">Esqueci minha senha</a>
 </div>
</form>
 </div>
 </div>
 <div id="register_banner_area">
 <div id="register_hotel"></div>
 <div id="register_desc">
 Um lugar Fantástico com gente chique
 <br />
 <form action="registro"><input class="register_button" value="Entre Agora!" type="submit" /></form>
 </div>
 </div>
 <div id="menu">
 <div id="menu_area">
 <div id="logo"></div>
 <div class="user_counter"><?php echo $online_count; ?> usuários online!</div>
 </div>
 </div>
</div>
<div id="conteudo">
 <div id="conteudo_area">
 <div id="latest_area">Últimas Notícias</div>
 <?php $i = 0; while($news = mysql_fetch_assoc($news1_3)){ $i++; ?>
 <a href="<?php echo $path; ?>/noticias/<?php echo $news['id']; ?>">
 <div class="news_area">
 <div class="news_body">
 <div class="news_picture_container">
 <div class="news_picture" style="background-image: url(<?php echo $news['image']; ?>);"></div>
 </div>
 <div class="news_heading"><?php echo $news['title']; ?></div>
 <div class="news_description"><?php echo $news['longstory']; ?></div>
 </div>
 </div>
 </a><?php } ?>

 </div>
</div>
<footer class="footer">
 <div id="footer_area">
 <div id="footer_social">
 Siga o Habbo<br />
 <ul class="social">
 <li class="social_fb"><a href="http://facebook.com/PlaTeamOficial" target="_blank"></a></li>
 </ul>
 </div>
 <div id="footer_credits">
 © 2014 -&nbsp;2015 EQUIPE PLATEAM ~ TODOS OS DIREITOS RESERVADOS
 </div>
 </div>
</footer>
<div class="modal_forgot">
 <div class="modal_forgot_frame">
 <div class="modal_forgot_heading">Recuperar Senha<button class="modal_forgot_close"></button></div>
 <div class="modal_forgot_scroll">
 <div id="modal_forgot_content">
 <form id="recuperar">
 Insira o seu e-mail:<br/><input type="text" class="input" name="email" /><br />
 </div>
 <div id="modal_forgot_footer">
 <input type="button" class="button" value="Enviar" />
 </form>
 </div>
 </div>
 </div>
</div>
</body>

<?php


} else {
header("location:inicio");
}

?>
[/quote]

Eu fiz isso e está dando falha no carregamento , e está bloqueando meu ip a index.php , como resolvo ?[/quote]

Poderia postar print?[/quote]
[Você precisa estar registrado e conectado para ver este link.]

[PLATEAM] FancyCMS | 2015 Empty Re: [PLATEAM] FancyCMS | 2015 em 26.02.15 22:01

Não mudou muita coisa, belo exemplo só porque alguém se matou você vai la e se mata também?
você deveria ter pelo menos colocado os créditos por ter estragado a cms.

[PLATEAM] FancyCMS | 2015 Empty Re: [PLATEAM] FancyCMS | 2015 em 26.02.15 22:14

Adorei irei usar somente a Index pq eu amo o resto da minha CMS, e n pretendo trocar tão cedo, merece 1 +.

[PLATEAM] FancyCMS | 2015 Empty Re: [PLATEAM] FancyCMS | 2015 em 27.02.15 17:39

Porque tiraram o download sem a minha permissão?

[PLATEAM] FancyCMS | 2015 Empty Re: [PLATEAM] FancyCMS | 2015 em 28.02.15 17:58

Vocês copiaram algo que não é de vocês, coloque os devidos créditos.
@OFF Acabei de ver que está retirado u.u
Permissão deste fórum:
Você não pode responder aos tópicos neste fórum
BHSERVERS: SERVIÇOS VIRTUAIS