Thread obsoleto Modificare la Me.php

Stato
Discussione chiusa ad ulteriori risposte.

TheReaLif3

Utente Normale
Autore del topic
16 Febbraio 2013
93
29
Miglior risposta
0
Salve a tutti!
Vorrei sapere da dove ' eliminare' tutte le scritte secondarie nella me.
Vorrei rimanere solamente la Community, Staff e News, come pagina e poi lasciare ' Extra - Sicurezza - e HK '
Ed eliminare le pagine ' secondarie '
( Lista Rari, Trax ecc...)
Perfavore, Entra oppure Registrati per vedere i Link!
 
Puoi postare il me.php T TheReaLif3
 
Probabilmente quei bottoni non si trovano nel file me.php.
Se hai un HoloCMS prova su includes/header.php
 
Vai nella cartella templates --> header.php e incolla queto:
<header>
<style>

.radioBox {
margin-top: 37px;
height: 110px;
width: 200px;
float: right;
border-radius: 3px;
padding: 4px;
font-size: 12px;
box-shadow: 0 4px 0 0px rgba(0,0,0,0.15);
border: 1px solid #D9D9D9;
background: #FFF;
color: rgb(119,119,119);
text-align: center;
}

.radioBox button {
border-radius: 50px;
width: 42px;
height: 42px;

font-family: inherit;
font-size: inherit;
line-height: inherit;
border-radius: 3px;
box-shadow: 0 3px 0 0px rgb(233,233,233);
border: 1px solid #e9e9e9;
background: #FFF;
color: rgb(119,119,119);
padding: 5px;
}

.vid {
cursor: pointer;
margin-top: -3px;
cursor: pointer;
font-size: 12px;
padding: 7px 23px;
text-shadow: 1px 1px 0 white;
font-weight: bold;
background: rgb(255,255,255);
border: 1px solid #E9E9E9;
border-radius: 3px;
color: rgb(102,102,102);
box-shadow: 0px 3px 0px 0px #E9E9E9;
font-family: Arial,sans-serif;
line-height: 17px;
width: auto;
transition-duration: 0.15s;
transition-timing-function: linear;
}
</style>
<div class="headerHotelImg"></div>
<div id="content">
<div id="logo"></div>
<div id="online_bubble">
<div id="arrow"></div>
<?php echo $online_count; ?> Online Users
</div>

<script>
jQuery(document).ready(function ($) {
$('.vid').fancybox();
}); // ready
</script>
<div id="radioBox" class="radioBox">
<?php
if(isset($pageid) && $pageid == "6969"){
?>


<div id="cazzos">
<audio id="player" src="<?php echo $radio_server; ?>" autoplay></audio>
<div style="padding: 10px 0;">
<button onclick="document.getElementById('player').play()"><img src="<?php echo $path; ?>templates/default/img/icons/radio/play.png"></button>
<button onclick="document.getElementById('player').pause()"><img src="<?php echo $path; ?>templates/default/img/icons/radio/pause.png"></button>
<button onclick="document.getElementById('player').volume += 0.1"><img src="<?php echo $path; ?>templates/default/img/icons/radio/volumeUp.png"></button>
<button onclick="document.getElementById('player').volume -= 0.1"><img src="<?php echo $path; ?>templates/default/img/icons/radio/volumeDown.png"></button>
</div>
<div class="vid" onclick="document.getElementById('lightbox').style.display='inline';">Invia Richiesta/Dedica</div>
</div>


<?php } ?>
</div>

<?php
if(isset($pageid) && $pageid != "6969"){
?>
<script>
$(document).ready(function(){
waitForElement();
function waitForElement(){
if(typeof HabCore.executePageFunctionalities !== "undefined"){
//variable exists, do what you want
$("#radioBox").load('<?php echo $path; ?>account/radio?radio=1');
console.log("Radio Loaded! :>");
}
else{
setTimeout(function(){
console.log("Loading radio..");
waitForElement();
},250);
}
}
});
</script>

<?php } ?>




<div class="staffMessage">
<b>Alert:</b>
<span><?php echo htmlspecialchars($config['admin_notes']); ?></span>
</div>
</div>

<div id="overlay"></div>
</header>

<div id="nav_placeholder"></div>
<nav>
<div id="content" class="container_12 mainMenu">
<ul>
<?php if($_SESSION['username']) { ?>
<?php if($pageid == "1" || $pageid == "2" || $pageid == "3" || $pageid == "4" || $pageid == "6969"){ ?>
<li class="active" id="me">
<i class="fa fa-home"></i> <?php echo $myrow['username']; ?>
</li>
<?php }else{ ?>
<li id="me">
<i class="fa fa-home"></i> <?php echo $myrow['username']; ?>
</li>
<?php } ?>

<?php if($pageid == "5" || $pageid == "6" || $pageid == "7" || $pageid == "434"){ ?>
<li class="active" id="community">
<i class="fa fa-users"></i> Community
</li>
<?php }else{ ?>
<li id="community">
<i class="fa fa-users"></i> Community
</li>
<?php } ?>

<?php if($pageid == "909069"){ ?>
<li class="active" id="extra">
<i class="fa fa-plus-square"></i> Extra
</li>
<?php } else{ ?>
<li id="extra">
<i class="fa fa-plus-square"></i> Extra
</li>
<?php } ?>
<?php if($pageid == "8" || $pageid == "9" || $pageid == "10"){ ?>
<li class="active" id="safety">
<i class="fa fa-heart"></i> Sicurezza
</li>
<?php }else{ ?>
<li id="safety">
<i class="fa fa-heart"></i> Sicurezza
</li>
<?php } ?>

<?php
if($myrow['rank'] >= 7){
?>
<li onclick="window.location.href = '<?php echo $path; ?>/housekeeping/index';" id="housekeeping">
<i class="fa fa-medkit"></i> Pannello di controllo
</li>
<?php } ?>

<?php
if($myrow['dj'] == 1){
?>
<li onclick="window.location.href = '<?php echo $path; ?>/djpanel/index';" id="pannellodj">
<i class="fa fa-medkit"></i> Pannello DJ
</li>
<?php } ?>


<div class="avatar">
<img src="
Perfavore, Entra oppure Registrati per vedere i Link!
<?php echo $myrow['look']; ?>&direction=4&head_direction=2&action=crr=6&gesture=sml">
</div>
<?php }else{ ?>
<li onclick="location.href = '#';">
<i class="fa fa-home"></i> Entra
</li>
<li id="register" class="registerModalButton">
<i class="fa fa-user-plus"></i> Registrati
</li>
<li id="fbLogon" onclick="location.href = 'facebook/login-callback';">

Entra con Facebook
</li>
<?php } ?>
</ul>
</div>
</nav>
<div id="subnav" class="container_12">
<div id="content" class="container_12 bottomMenu">
<?php if($_SESSION['username']) { ?>

<?php if($pageid == "1" || $pageid == "2" || $pageid == "3" || $pageid == "4" || $pageid == "6969"){ ?>
<ul class="me subMenuBottom" style="display: block;">
<li onclick="location.href = '<?php echo $path; ?>me';">
Home
</li>
<li onclick="location.href = '<?php echo $path; ?>user_profile.php?name=<?php echo $myrow['username']; ?>';">
Mio Profilo
</li>
<li onclick="location.href = '<?php echo $path; ?>avatars';">
Miei Avatars
</li>
<li onclick="location.href = '<?php echo $path; ?>account/index';">
Impostazioni
</li>
<li id="logoutBtn">Logout</li>
</ul>
<?php }else{ ?>
<ul class="me subMenuBottom">
<li onclick="location.href = '<?php echo $path; ?>me';">
Home
</li>
<li onclick="location.href = '<?php echo $path; ?>user_profile.php?name=<?php echo $myrow['username']; ?>';">
Mio Profilo
</li>
<li onclick="location.href = '<?php echo $path; ?>avatars';">
Miei Avatars
</li>
<li onclick="location.href = '<?php echo $path; ?>account/index';">
Impostazioni
</li>
<li id="logoutBtn">Logout</li>
</ul>
<?php } ?>

<?php if($pageid == "5" || $pageid == "6" || $pageid == "7" || $pageid == "434"){ ?>
<ul class="community subMenuBottom" style="display: block;">
<li onclick="location.href = '<?php echo $path; ?>community';">
Community
</li>
<li onclick="location.href = '<?php echo $path; ?>staff';">
Staff
</li>
<li onclick="location.href = '<?php echo $path; ?>news';">
News
</li>
<li onclick="location.href = '<?php echo $path; ?>stats';">
Top Utenti
</li>
</ul>
<?php }else{ ?>
<ul class="community subMenuBottom">
<li onclick="location.href = '<?php echo $path; ?>community';">
Community
</li>
<li onclick="location.href = '<?php echo $path; ?>staff';">
Staff
</li>
<li onclick="location.href = '<?php echo $path; ?>news';">
News
</li>
<li onclick="location.href = '<?php echo $path; ?>stats';">
Top Utenti
</li>
</ul>
<?php } ?>

<?php if($pageid == "909069"){ ?>
<ul class="extra subMenuBottom" style="display: block;">

</ul>
<?php }else{ ?>
<ul class="extra subMenuBottom">
<li onclick="location.href = '<?php echo $path; ?>rari';">
Lista Rari
</li>

<li onclick="location.href = '<?php echo $path; ?>trax';">
Trax editor
</li>

</ul>
<?php } ?>





<?php if($pageid == "8" || $pageid == "9" || $pageid == "10"){ ?>
<ul class="safety subMenuBottom" style="display: block;">
<li onclick="location.href = '<?php echo $path; ?>security/what-is';">
Cos'è <?php echo $shortname; ?>?
</li>

<li onclick="location.href = '<?php echo $path; ?>security/how-to-play';">
Come Giocare
</li>

<li onclick="location.href = '<?php echo $path; ?>security/rules';">
<?php echo $shortname; ?> Regole
</li>

</ul>
<?php }else{ ?>
<ul class="safety subMenuBottom">

<li onclick="location.href = '<?php echo $path; ?>security/what-is';">
Cos'è <?php echo $shortname; ?>?
</li>

<li onclick="location.href = '<?php echo $path; ?>security/how-to-play';">
Come Giocare
</li>

<li onclick="location.href = '<?php echo $path; ?>security/rules';">
<?php echo $shortname; ?> Regole
</li>


</ul>
<?php } ?>

<?php }else{ ?>
<ul class="index subMenuBottom" style="display:block">
<li onclick="location.href = '<?php echo $path; ?>';">
Home
</li>

</ul>
<?php } ?>
</div>
</div>
<?php
if(isset($pageid) && $pageid == "6969"){
?>
<div id="lightbox" class="lightbox" style="display:none" onclick="document.getElementById('lightbox').style.display='none';">

<div style="border: 15px solid white;background-color: white; border-radius: 5px;margin:auto;position:absolute;top:0;left:0;bottom:0;right:0;width:50%;height:80%;">
<iframe width="100%" height="100%" src="/account/radio"></iframe>
</div>

</div>

<?php } ?>
T TheReaLif3 , aggiornami...
 
  • Like
Reactions: Cristoforo58
T TheReaLif3 ,ti consiglio per modificare la home a tuo piacimento, vai nella ME e apri strumenti per sviluppatori:
Perfavore, Entra oppure Registrati per vedere i Link!
 
Ultima modifica:
Stato
Discussione chiusa ad ulteriori risposte.