Não satisfeito '-'
No arquivo informado, não localizei todas a paginas, somente a "ONLINE"
Quero retiras as:
"
/vault" que é a " sorteios" como pode ver no print.
"
/rotw " que é a "concurso de salas" como pode ver no print.
E também quando clico em "Comunidade" muda as páginas que também não localizei as mesma no arquivo em questão. Vou deixar o print, após entrar na aba comunidade.
Print: aqui
Abaixo arquivo da
/head.php- Spoiler:
- Código:
<?php
if(!defined('IN_INDEX')) { die('Access Denied.'); }
$banned = mysql_fetch_assoc(mysql_query("SELECT value FROM bans WHERE (value = '".$_SESSION['user']['username']."' AND expire > '".time()."') OR (value = '".$_SERVER['REMOTE_ADDR']."' AND expire > '".time()."') LIMIT 1"));
if(isset($banned['value'])) {
header("Location: ".$_CONFIG['hotel']['url']."/banned");
exit;
}
$getstats = mysql_fetch_assoc(mysql_query("SELECT respect,room_visits,gifts_given,gifts_received,achievement_score FROM user_stats WHERE id = '".$_SESSION['user']['id']."'"));
$getLook = mysql_fetch_assoc(mysql_query("SELECT id,look,diamonds,seashells,credits,activity_points,rank FROM users WHERE id = '".$_SESSION['user']['id']."'"));
?>
<!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>%hotel_name% ~ <?php echo $title; ?></title>
<link rel="shortcut icon" href="%www%/favicon.ico" type="image/vnd.microsoft.icon">
<link rel="stylesheet" type="text/css" media="screen" href="%www%/files/css/wubbo.css?29"/>
<link rel="stylesheet" href="%www%/images/blah.css" type="text/css"/>
<script type="text/javascript" src="%www%/images/blah.js"></script>
<script type="text/javascript" src="%www%/files/js/jquery.js"></script>
<script type="text/javascript" src="%www%/files/js/wubbo.js"></script>
<script type="text/javascript" src="%www%/files/js/carousel.js"></script>
<?php
if($_GET['wbz'] == 'threads' || $_GET['wbz'] == 'category') {
echo '<script src="%www%/files/ckeditor/ckeditor.js"></script>';
}
if(isset($_SESSION['user']['id']))
{
$user_rank = mysql_result(mysql_query("SELECT rank FROM users WHERE id = '".$_SESSION['user']['id']."' LIMIT 1"), 0);
?>
<script type="text/javascript">
var WabboClient={"init":function(){$.get("external",{sso:sso},function(data){WabboClient.hostname=data;});},"client":{"roomForward":function(room_id){alert("forwarding to room: "+room_id);},"popup":function(){newwindow=window.open('%client_url%','Client','height=600,width=800');if(window.focus){newwindow.focus()}
return false;},},}
function copyToClipboard(text) {
window.prompt ("Copy to clipboard: Ctrl+C, Enter", text);
}
</script>
<?php
}
?>
<style>
input[type="submit"]{
background-color: #F1F1F1;
border: 1px solid #999999;
padding: 5px;
font-family: verdana;
font-size: 10px;
color: #666666;
float: center;
}
.btn {
text-decoration:none;
}
.ad-left,
.ad-right {
position: absolute;
top: 139px;
display: block;
}
.ad-left {
left: 5px;
}
.ad-right {
right:5px;
}
.ad-left.fixed,
.ad-right.fixed {
position:fixed;
top:5px;
}
body.forum .navigation li.forum {
background: #fff;
color: #327399;
cursor: default;
}
</style>
<script>
CKEDITOR.replace('threadContent', {
extraPlugins: 'bbcode',
toolbar: [
['TextColor','-','Bold','Italic','Underline','-','Undo','Redo'],
['Link','Unlink','-','Image', 'SpecialChar','-','JustifyLeft','JustifyCenter','JustifyRight','-','NumberedList','BulletedList','-','Blockquote']
],
});
</script>
</head>
<body class="<?php echo $page; ?>">
<center>
<div class="header" id="top">
<div class="clouds"></div>
<div class="buildings"></div>
<div class="container">
<a class="logo" href="%www%/index"></a>
<?php
if(isset($_SESSION['user']['id']))
{
echo '<a class="enter-client" href="%client_url%" onClick="WabboClient.client.popup(); return false;">Entrar no %hotel_name%<i></i></a>';
}
else
{
echo '<a class="enter-client" href="%www%/register">Register Now<i></i></a>';
}
?>
<a class="users-online" href="%www%/online">%users_online% Onlines<i></i></a>
</div>
<div class="navigation">
<ul>
<?php
if(isset($_SESSION['user']['id']))
{
$wabbo_get_nav = mysql_query("SELECT caption,url,class FROM cms_menu WHERE type = 'Navi' AND (logged_in = 'Yes' or logged_in = 'Both')");
while($wabbo_nav = mysql_fetch_assoc($wabbo_get_nav))
{
if($wabbo_nav['class'] == $page)
{
echo '<li class="'.$wabbo_nav['class'].'">'.str_replace("USERNAME", USERNAME, $wabbo_nav['caption']).'</li></a>';
}
else
{
echo '<a href="%www%/'.$wabbo_nav['url'].'"><li class="'.$wabbo_nav['class'].'">'.str_replace("USERNAME", USERNAME, $wabbo_nav['caption']).'</li></a>';
}
}
}
else
{
$wabbo_get_nav = mysql_query("SELECT caption,url,class FROM cms_menu WHERE type = 'Navi' AND (logged_in = 'No' or logged_in = 'Both')");
while($wabbo_nav = mysql_fetch_assoc($wabbo_get_nav))
{
echo '<a href="%www%/'.$wabbo_nav['url'].'"><li class="'.$wabbo_nav['class'].'">'.$wabbo_nav['caption'].'</li></a>';
}
}
if($user_rank >= 5)
{
echo '<a href="%www%/ase/dashboard"><li class="housekeeping">Housekeeping</li></a>';
}
?>
</ul>
</div>
</div>
<div class="sub-navigation">
<ul>
<?php
if(isset($_SESSION['user']['id']))
{
$wabbo_get_sub = mysql_query("SELECT caption,url,class FROM cms_menu WHERE type = 'Sub' AND class = '".$page."' AND (logged_in = 'Yes' OR logged_in = 'Both')");
while($wabbo_sub = mysql_fetch_assoc($wabbo_get_sub))
{
if($wabbo_nav['class'] == $page)
{
echo '<li class="'.$wabbo_sub['class'].'">'.str_replace("USERNAME", USERNAME, $wabbo_sub['caption']).'</li></a>';
}
else
{
echo '<a href="%www%/'.str_replace("USERNAME", USERNAME, $wabbo_sub['url']).'"><li class="'.$wabbo_sub['class'].'">'.str_replace("USERNAME", USERNAME, $wabbo_sub['caption']).'</li></a>';
}
}
}
else
{
$wabbo_get_sub = mysql_query("SELECT caption,url,class FROM cms_menu WHERE type = 'Sub' AND class = '".$page."' AND (logged_in = 'No' OR logged_in = 'Both')");
while($wabbo_sub = mysql_fetch_assoc($wabbo_get_sub))
{
if($wabbo_sub['url'] == $_GET['wbz'])
{
echo '<li class="current">'.$wabbo_sub['caption'].'</li>';
}
else
{
echo '<a href="%www%/'.$wabbo_sub['url'].'"><li class="'.$wabbo_sub['class'].'">'.$wabbo_sub['caption'].'</li></a>';
}
}
}
if($page == 'forum') {
if($title == 'Forum') {
echo '<li class="current">Forum</li>';
}
elseif($f_page == 'Category') {
echo '<a href="%www%/forums"><li>Forum</li></a>';
echo '<li class="current">'.$title.'</li>';
}
elseif($f_page == 'Thread') {
echo '<a href="%www%/forums"><li>Forum</li></a>';
echo '<a href="%www%/forums/'.$category['perma'].'"><li>'.$category['name'].'</li></a>';
echo '<li class="current">'.$title.'</li>';
}
}
?>
</ul>
</div>