CMS - Problema Con La Me.php

canebastone

Nuovo utente
Autore del topic
5 Maggio 2013
38
0
Miglior risposta
0
Assistenza Tecnica Habbo Retroserver
Titolo
Problema Con La Me.php
Tipologia del tuo problema/richiesta
CMS
CMS/Server/DB/Client Utilizzato
Amerix v4
Qual è il tuo errore?
VORREI IMPOSTARE LA ME COSI IO. SOLO CHE NON RIESCO A CAPIRE COME FARE!
Screenshot
Perfavore, Entra oppure Registrati per vedere i Link!
Ulteriori informazioni
GRAZIE IN ANTICIPO ;)
 
Assistenza Tecnica Habbo Retroserver
Titolo
Problema Con La Me.php
Tipologia del tuo problema/richiesta
CMS
CMS/Server/DB/Client Utilizzato
Amerix v4
Qual è il tuo errore?
VORREI IMPOSTARE LA ME COSI IO. SOLO CHE NON RIESCO A CAPIRE COME FARE!
Screenshot
Perfavore, Entra oppure Registrati per vedere i Link!
Ulteriori informazioni
GRAZIE IN ANTICIPO ;)

cioè fammi capire vuoi cambiare la me del tuo cms e mettere quella che c'è nello screen?
 
Postami la me.php che inserisco le modifiche io, visto che ho anche i codici in css.
 
tutta per te cix


<?php


include('core.php');
include('includes/session.php');
include('includes/news_headlines.php');

if($_GET['do'] == "RemoveFeedItem" && is_numeric($_GET['key'])){
mysql_query("DELETE FROM cms_alerts WHERE userid = '".$my_id."' AND id = '".FilterText($_GET['key'])."' ORDER BY id ASC LIMIT 1") or die(mysql_error());
}

$pagename = $name;
$pageid = "1";

// Header for minimail
$messages = mysql_query("SELECT COUNT(*) FROM cms_minimail WHERE to_id = '".$my_id."'") or $messages = 0;
header("X-JSON: {\"totalMessages\":".$messages."}");

include('templates/community/subheader.php');
include('templates/community/header.php');


if($do == "1") {



$radiostato = (FilterText($_POST['radiostato']));

$radiorank = mysql_query("SELECT rank FROM users WHERE id = '".$my_id."' LIMIT 1;");
$rankdj = mysql_fetch_array($radiorank);

if(($rankdj['rank'] <> '3') && ($rankdj['rank'] < '7')){
$message = "<div id=\"purse-redeem-result\">
<div class=\"redeem-error\">
<div class=\"rounded rounded-red\"><b>NON</b> puoi cambiare lo stato alla radio!</div>
</div>
</div>";

} else {
mysql_query("UPDATE radio SET usernameDJ = '".$name."' WHERE id = '1'");
mysql_query("UPDATE radio SET online = '".$radiostato."' WHERE id = '1'");

$message = "<div id=\"purse-redeem-result\">
<div class=\"redeem-error\">
<div class=\"rounded rounded-green\">
Stato della Radio cambiato correttamente!

</div>
</div>
</div><br>";
}
}

?>
<!--LA CHAT DI 135.IT - tra i tag HEAD --><SCRIPT LANGUAGE="JavaScript">function apri() {strg=window.open('http://www.135.it/chat/chat.php?canale=Proponi una canzone!&nomesito=Helix Hotel&screencolor=orangered&coloretesto=black&carattere=12&colorebordo=orange&coloretitolo=black', '135Chat', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=622, height=498, left = 212, top = 184');}</script>
<link rel="stylesheet" href="./web-gallery/static/styles/lightweightmepage.css" type="text/css" />
<script src="./web-gallery/static/js/lightweightmepage.js" type="text/javascript"></script>
<div id="fb-root"></div>
<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/it_IT/all.js#xfbml=1&appId=526141644105411";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div id="container">
<div id="content" >

<?PHP
$rand =rand(0,100);
if($rand < 85){
//PUBLI EDU
?>


<?PHP
} else {
//PUBLI HECTOR
?>


<?PHP
}
?>
<style TYPE="text/css">
BODY{scrollbar-base-color: rgb(255,213,213);scrollbar-arrow-color: red;}
</style>
<style>

div#info{
background-image: url(web-gallery/v2/images/personal_info/usermoney.png);
height: 19px;
width: 232px;
padding: 5px;
}
div#info.hubboscrediti{
background-position: 0px 0px;
}
div#info.hubbosbits{
background-position: 0px -30px;
}
div#info.hubboskeys{
background-position: 0px -60px;
}
div#info_icon{
background-image: url(web-gallery/v2/images/personal_info/user_money.png);
height: 20px;
float: left;
}
div#info_icon.hubboscrediti{
background-position: -1px -90px;
width: 21px;
margin-top: -1px;
margin-right: -21px;
}
div#info_icon.hubbosbits{
background-position: -1px -90px;
width: 21px;
margin-top: -1px;
margin-right: -21px;
}
div#info_icon.hubboskeys{
background-position: -23px -90px;

width: 21px;
margin-top: -1px;
margin-right: -21px;


}
</style>




<div id="wide-personal-info">
<div id="habbo-plate">
<a href="<?php echo $path; ?>account.php">
<img alt="<?php echo $name; ?>" src="http://www.habbo.it/habbo-imaging/avatarimage?figure=<?php echo $myrow['look'];?>&action=null&direction=2&head_direction=3&gesture=sml&size=b&img_format=gif" width="64" height="110"/>
</a>
</div>

<div id="name-box" class="info-box">
<div class="label">Nome Utente:</div>
<div class="content"><?php echo $name; ?></div>
</div>
<div id="motto-box" class="info-box">
<div class="label">Missione:</div>
<div class="content"><?php echo $myrow['motto']; ?></div>
</div>
<div id="last-logged-in-box" class="info-box">
<div class="label">Ultimo Accesso:</div>
<div class="content"><?php echo date('d-m-Y H:i:s', $myrow['last_online']); echo""; ?> </div>
</div>

<div class="enter-hotel-btn">
<div class="open enter-btn">
<a href="/cl.php" class="new-button green-button" target="client" onclick="HabboClient.openOrFocus(this); return false;">Entra in <?php echo $shortname ?><i></i></a>
<b></b>
</div>
</div>

</div>


<div class="block">

<table style="width: 82%;"><tbody><tr><td><center>
<div id="info" class="hubboscrediti"><div id="info_icon" class="hubboscrediti"></div><cufontext style="color: #FFF;font-size: 18px;"><?php echo $myrow['credits'];?> Crediti</cufontext></div>
</center></td><td><center>
<div id="info" class="hubbosbits"><div id="info_icon" class="hubbosbits"></div><cufontext style="color: #FFF;font-size: 18px;"><?php echo $myrow['vip_points'];?> Star</cufontext></div>
</center></td><td><center>
<div id="info" class="hubboskeys"><div id="info_icon" class="hubboskeys"></div><cufontext style="color: #FFF;font-size: 18px;"><?php echo $myrow['activity_points'];?> Biscotti</cufontext></div></center></td></tr></tbody></table>
</div>





<?php



?>


<div id="column1" class="column">





<div id="container">
<div id="content" style="position: relative" class="clearfix">

<div id="column1" class="column">
<div class="habblet-container ">

<div class="cbb clearfix red ">

<h2 class="title">Seguici su Facebook</h2>

<br>
<div id="fb-root"></div>
<br>
<center><div id="fb-root"></div>
<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/it_IT/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script><div class="fb-like-box" data-href="https://www.facebook.com/AmeriicanDad" data-width="405" data-height="300" data-show-faces="true" data-stream="true" data-header="true"></div></center></div></div>
<br>
<div class="habblet-container ">

<?php
// #########################################################################
// Habbos Suchen
// #########################################################################
?>

<div class="habblet-container ">
<div class="cbb clearfix default ">
<div class="box-tabs-container clearfix">
<h2><?php echo $shortname; ?>s</h2>

<ul class="box-tabs">
<li id="tab-0-4-1" class="selected"><a href="#">Cerca <?php echo $shortname; ?>s</a><span class="tab-spacer"></span></li>
</ul>
</div>

<div id="tab-0-4-1-content">
<div class="habblet-content-info">
<a name="habbo-search">Inserisci il nome di un Amerixino per trovarlo <?php echo $shortname; ?>s</a>
</div>
<div id="habbo-search-error-container" style="display: none;"><div id="habbo-search-error" class="rounded rounded-red"></div></div>
<br clear="all"/>
<div id="avatar-habblet-list-search">
<input type="text" id="avatar-habblet-search-string"/>

<a href="#" id="avatar-habblet-search-button" class="new-button"><b>Cerca</b><i></i></a>
</div>

<br clear="all"/>

<div id="avatar-habblet-content">
<div id="avatar-habblet-list-container" class="habblet-list-container">

<ul class="habblet-list"></ul>

</div>

<script type="text/javascript">
L10N.put("habblet.search.error.search_string_too_long", "La parola è troppo lunga, ci vogliono massimo 30 caratteri");
L10N.put("habblet.search.error.search_string_too_short", "La parola è troppo corta, ci vogliono almeno 2 caratteri");
L10N.put("habblet.search.add_friend.title", "Aggiungi alla tua lista degli amici");
new HabboSearchHabblet(2, 30);
</script>

</div>

<script type="text/javascript">
Rounder.addCorners($("habbo-search-error"), 8, 8);
</script>

</div>
</div>
</div>



<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></div>

</div>
<script type='text/javascript'>if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<div id="column2" class="column">

<div class="habblet-container news-promo">
<div class="cbb clearfix notitle ">


<div id="newspromo">
<div id="topstories">
<div class="topstory" style="background-image: url(<?php echo $news_1_topstory; ?>)">
<h4>ULTIME NEWS</h4>
<h3><a href="news.php?id=<?php echo $news_1_id; ?>"><?php echo $news_1_title; ?></a></h3>

<p class="summary">
<?php echo $news_1_snippet; ?>
<p>
<a href="news.php?id=<?php echo $news_1_id; ?>">Leggi &raquo;</a>
</p>
</div>
<div class="topstory" style="background-image: url(<?php echo $news_2_topstory; ?>); display: none">
<h4>Ultime news</h4>

<h3><a href="news.php?id=<?php echo $news_2_id; ?>"><?php echo $news_2_title; ?></a></h3>
<p class="summary">
<?php echo $news_2_snippet; ?>
<p>
<a href="news.php?id=<?php echo $news_2_id; ?>">Leggi &raquo;</a>
</p>


</div>
<div class="topstory" style="background-image: url(<?php echo $news_3_topstory; ?>); display: none">
<h4>Ultime News</h4>

<h3><a href="news.php?id=<?php echo $news_3_id; ?>"><?php echo $news_3_title; ?></a></h3>
<p class="summary">
<?php echo $news_3_snippet; ?>
<p>
<a href="news.php?id=<?php echo $news_2_id; ?>">Leggi &raquo;</a>
</p>

</div>
<div id="topstories-nav" style="display: none"><a href="#" class="prev">&laquo; Precedente</a><span>1</span> / 3<a href="#" class="next">Successiva &raquo;</a></div>
</div>
<ul class="widelist">
<li class="even">

<a href="news.php?id=<?php echo $news_3_id; ?>"><?php echo $news_3_title; ?> &raquo;</a><div class="newsitem-date"><?php echo $news_3_date; ?></div>
</li>
<li class="odd">
<a href="news.php?id=<?php echo $news_4_id; ?>"><?php echo $news_4_title; ?> &raquo;</a><div class="newsitem-date"><?php echo $news_4_date; ?></div>
</li>
<li class="last"><a href="news.php">Altre news &raquo;</a></li>
</ul>
</div>

<script type="text/javascript">
document.observe("dom:loaded", function() { NewsPromo.init(); });
</script>
</div></div>

<div class="habblet-container ">
<div class="cbb clearfix red ">

<h2 class="title">
Ultimo Registrato
</h2>

<div class="box-content">
<?php


$sql = mysql_query("SELECT * FROM users ORDER by id DESC LIMIT 1") or die(mysql_error());
while($while = mysql_fetch_array($sql)) {



?>
<div id="nouveauxjoueurs_texte"><img src="/images/register.png" style="float:left;margin: -3px 5px;"/> <br><br><span style="color:#ff0000"><?php echo $while['username'] ?></span> si &egrave iscritto.<br/>Benvenuto su <?php echo $shortname; ?>!</div><br/>
<?php } ?>
</div>

</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<div class="habblet-container ">
<div class="cbb clearfix green ">

<h2 class="title">
Radio
</h2>

<div class="box-content">
<center><script type="text/javascript" src="http://hosted.musesradioplayer.com/mrp.js"></script>
<script type="text/javascript">
MRP.insert({
'url':'http://listen.radionomy.com/radiorss',
'lang':'it',
'codec':'mp3',
'volume':100,
'autoplay':true,
'buffering':5,
'title':'Radio%20Sound Station',
'welcome':'Radio Sound Station',
'bgcolor':'#FFFFFF',
'skin':'repvku-115',
'width':115,
'height':25
});
</script></center>
</div>

</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>


<?php /*Tags */ ?>

<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>



</div></div>
</div></div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>



</div>


<footer>

</footer>

<div style="float: right; position:absolute; right:40px; "><?php include ('pub.html') ; ?></div>

<script type="text/javascript">
HabboView.add(LoginFormUI.init);
</script>
<?php

include('templates/community/footer.php');

include('templates/community/barra300k.php');
?>