+ Rispondi alla discussione
Visualizzazione risultati 1 fino 9 di 9
Stai leggendo la discussione Nuova me.php nella sezione Assistenza Tecnica appartenente alla categoria Habbo Retroserver dello Sciax2 Forum, Community di giovani webmaster. Salve a tutti ragazzi.. Avrei una richiesta da farvi.. Non è che qualcuno possa passarmi il link della nuova me.php compatibile con HoloCMS? Quella ufficiale, ...
- 30-06-12, 20:27




Iscritto dal 25/06/2011
Messaggi: 851
Località: Sardegna, Italy
Sesso: Uomo
Grazie ricevuti: 27
Menzionato in 22 Post
Nuova me.php
Salve a tutti ragazzi..
Avrei una richiesta da farvi..
Non è che qualcuno possa passarmi il link della nuova me.php compatibile con HoloCMS? Quella ufficiale, che non dia errori.
Grazie per chi mi aiuta.
Presto Online.
Stiamo per tornare, che la rivoluzione abbia inizio.
- 30-06-12, 20:30




Iscritto dal 22/09/2011
Messaggi: 2,628
Località: La Spezia (SP)
Sesso: Uomo
Grazie ricevuti: 47
Menzionato in 47 Post
Riferimento: Nuova me.php - 30-06-12, 20:33




Iscritto dal 25/06/2011
Messaggi: 851
Località: Sardegna, Italy
Sesso: Uomo
Grazie ricevuti: 27
Menzionato in 22 Post
Riferimento: Nuova me.phpLa me.php di NUTRIA l'avevo già provata, e non mi fa creare i gruppi quando clicco su "crea gruppo"
Originalmente inviato da Destroyer. *Registrati per vedere i link, basta cliccare qui
Come faccio?
Presto Online.
Stiamo per tornare, che la rivoluzione abbia inizio.
- 30-06-12, 20:34



Iscritto dal 20/02/2011
Messaggi: 8,007
Località: Curva Sud - Juventus Stadium
Sesso: Uomo
Grazie ricevuti: 90
Menzionato in 113 Post
Riferimento: Nuova me.php

FEDELTA' BIANCONERA
- 30-06-12, 20:35




Iscritto dal 25/06/2011
Messaggi: 851
Località: Sardegna, Italy
Sesso: Uomo
Grazie ricevuti: 27
Menzionato in 22 Post
Riferimento: Nuova me.phpQuale codice dovrei prendere?
Originalmente inviato da TheJackpot *Registrati per vedere i link, basta cliccare qui Cambia il codice riguardante i gruppi.
Prendilo da un cms che vada, come Tarix, Sou, Slavex, ecc...
Ripeto che me lo fa solo quando metto la nuova me.php!
Presto Online.
Stiamo per tornare, che la rivoluzione abbia inizio.
- 30-06-12, 20:37




Iscritto dal 22/09/2011
Messaggi: 2,628
Località: La Spezia (SP)
Sesso: Uomo
Grazie ricevuti: 47
Menzionato in 47 Post
Riferimento: Nuova me.phpIl codice che riguarda crea gruppo?
Originalmente inviato da Skens9797 *Registrati per vedere i link, basta cliccare qui Quale codice dovrei prendere?
Ripeto che me lo fa solo quando metto la nuova me.php!
Posta la nuova me.php che hai preso per prendere questo codice te lo trovo io. - 30-06-12, 20:40




Iscritto dal 25/06/2011
Messaggi: 851
Località: Sardegna, Italy
Sesso: Uomo
Grazie ricevuti: 27
Menzionato in 22 Post
Riferimento: Nuova me.phpEcco questa è la nuova, i gruppi non me li fa creare con questa, sarà sballata!Codice PHP:<?php
include('core.php');
include('includes/session.php');
include('includes/news_headlines.php');
$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');
// Query tags
$fetch_tags = mysql_query("SELECT tag,id FROM cms_tags WHERE ownerid = '".$my_id."' LIMIT 20") or die(mysql_error());
$tags_num = mysql_num_rows($fetch_tags);
$randomq[] = "¿Quién es tu actor favorito?";
$randomq[] = "¿Prefieres deporte o siesta?";
$randomq[] = "¿Tienes un sobrenombre?";
$randomq[] = "¿Cuál es tu canción favorita?";
$randomq[] = "¿Cuál es tu época del año favorita?";
$randomq[] = "¿Cuál es tu banda favorita?";
$randomq[] = "¿No puedes vivir sin qué programa de televisión? ";
$randomq[] = "¿Qué instrumento te gustaría tocar?";
$randomq[] = "Elige: ¿Pizza? ¿Hamburguesa? ¿Hot-Dog?";
$randomq[] = "El Deporte que más te gusta";
$randomq[] = "Para salir de fiesta vistes con...";
$randomq[] = "¿Cuál es tu película favorita?";
$randomq[] = "Perros, Gatos o algo más exótico.";
$randomq[] = "¿Rojo? ¿Azul? ¿Rosa? u otro color.";
$randomq[] = "Elige: ¿MCR? ¿Panda? ¿Jonas Brothers?";
$randomq[] = "Elige: ¿Rock? ¿Pop? ¿Rap?";
$randomq[] = "¿Qué palabra te define?";
$randomq[] = "Elige ¿Habbo? ¿".$shortname."?";
$randomq[] = "¿Cuál es tu Staff favorito?";
$randomq[] = "¿Postre o Jamón?";
$randomq[] = "¿Qué otro idioma hablas?";
$randomq[] = "Lo mejor del mundo es...";
$randomq[] = "¿Qué furni te gusta más?";
$randomq[] = "Elige: ¿Laptop? ¿Escritorio?";
srand ((double) microtime() * 1000000);
$chosen = rand(0,count($randomq)-1);
$tag_question = $randomq[$chosen];
///////////////////////////////////////////////////// ALEJO.MASTER97 ////////////////////////////////////////////////////////
?>
<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="container">
<div id="content" style="position: relative" class="clearfix">
<?PHP
$rand =rand(0,100);
if($rand < 85){
//PUBLI EDU
?>
<?PHP
} else {
//PUBLI HECTOR
?>
<?PHP
}
?>
<div id="wide-personal-info">
<div id="habbo-plate">
<a href="<?php echo $path; ?>/profile">
<img alt="<?php echo $name; ?>" src="http://www.habbo.com/habbo-imaging/avatarimage?figure=<?php echo $avatar; echo $myrow['look']; ?>&size=b&direction=3&head_direction=3&gesture=sml"/>
</a>
</div>
<div id="name-box" class="info-box">
<div class="label">Nome</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">Ultima Connessione:</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="/flash.php" target="01080cec2ad93526df3c8baaeb130bf04025261d" onclick="HabboClient.openOrFocus(this); return false;">Entra In Smax<i></i></a>
<b></b>
</div>
</div>
</div>
<?php
require_once('./noticiasmobiles.php');
?>
<div id="column1" class="column">
<?php
// #########################################################################
// Minimail
// #########################################################################
?>
<div class="habblet-container minimail" id="mail">
<div class="cbb clearfix orange ">
<h2 class="title">Miei Messaggi
</h2>
<div id="minimail">
<div class="minimail-contents">
<?php
$bypass = true;
$page = "inbox";
include('./minimail/loadMessage.php');
?>
</div>
<div id="message-compose-wait"></div>
<form style="display: none" id="message-compose">
<div>Destinatario</div>
<div id="message-recipients-container" class="input-text" style="width: 426px; margin-bottom: 1em">
<input type="text" value="" id="message-recipients" />
<div class="autocomplete" id="message-recipients-auto">
<div class="default" style="display: none;">Scrivi il nome del tuo/a amico/a!</div>
<ul class="feed" style="display: none;"></ul>
</div>
</div>
<div>Soggetto<br/>
<input type="text" style="margin: 5px 0" id="message-subject" class="message-text" maxlength="100" tabindex="2" />
</div>
<div>Messaggio<br/>
<textarea style="margin: 5px 0" rows="5" cols="10" id="message-body" class="message-text"></textarea>
</div>
<div class="new-buttons clearfix">
<a href="#" class="new-button preview"><b>Anteprima</b><i></i></a>
<a href="#" class="new-button send"><b>Invia</b><i></i></a>
</div>
</form>
</div>
<?php
$sql = mysql_query("SELECT * FROM messenger_friendships WHERE user_one_id = '".$my_id."' OR user_two_id = '".$my_id."'") or die(mysql_error());
$count = mysql_num_rows($sql);
$sql = mysql_query("SELECT * FROM cms_minimail WHERE to_id = '".$my_id."' OR senderid = '".$my_id."'") or die(mysql_error());
$mescount = mysql_num_rows($sql);
?>
<script type="text/javascript">
L10N.put("minimail.compose", "Scrivi").put("minimail.cancel", "Annulla")
L10N.put("bbcode.colors.label", "Colori");
L10N.put("bbcode.colors.red", "Rosso");
L10N.put("bbcode.colors.orange", "Arancione");
L10N.put("bbcode.colors.yellow", "Giallo");
L10N.put("bbcode.colors.green", "Verde");
L10N.put("bbcode.colors.cyan", "Azzurro");
L10N.put("bbcode.colors.blue", "Blu");
L10N.put("bbcode.colors.gray", "Grigio");
L10N.put("bbcode.colors.black", "Nero");
L10N.put("date.pretty.just_now", "Ora");
L10N.put("date.pretty.one_minute_ago", "1 Minuto fa");
L10N.put("date.pretty.minutes_ago", "{0} Minuti fa");
L10N.put("date.pretty.one_hour_ago", "1 Ora fa");
L10N.put("date.pretty.hours_ago", "{0} Ore fa");
L10N.put("date.pretty.yesterday", "Ieri");
L10N.put("date.pretty.days_ago", "{0} Giorni fa");
L10N.put("date.pretty.one_week_ago", "1 Settimana fa");
L10N.put("date.pretty.weeks_ago", "{0} Settiamne fa");
new MiniMail({ pageSize: 10,
total: <?php echo $mescount; ?>,
friendCount: <?php echo $count; ?>,
maxRecipients: 50,
messageMaxLength: 20,
bodyMaxLength: 4096,
secondLevel: <?php if($count = 0){ echo "true"; }else{ echo "false"; } ?>});
</script>
</div></div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>
</div>
<?php
// #########################################################################
// News
// #########################################################################
?>
<div id="container">
<div id="content">
<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 »</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 »</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 »</a>
</p>
</div>
<div id="topstories-nav" style="display: none"><a href="#" class="prev">« Indietro</a><span>1</span> / 3<a href="#" class="next">Avanti »</a></div>
</div>
<ul class="widelist">
<li class="even">
<a href="news.php?id=<?php echo $news_4_id; ?>"><?php echo $news_4_title; ?> »</a><div class="newsitem-date"><?php echo $news_4_date; ?></div>
</li>
<li class="odd">
<a href="news.php?id=<?php echo $news_5_id; ?>"><?php echo $news_5_title; ?> »</a><div class="newsitem-date"><?php echo $news_5_date; ?></div>
</li>
<li class="last"><a href="news.php">Altre news »</a></li>
</ul>
</div>
<script type="text/javascript">
document.observe("dom:loaded", function() { NewsPromo.init(); });
</script>
</div>
</div>
<?php
// #########################################################################
// Selección Staff
// #########################################################################
?>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<script type="text/javascript">
HabboView.add(LoginFormUI.init);
</script>
</div>
<?php
include('footerb.php');
?>
Vedi tu
Presto Online.
Stiamo per tornare, che la rivoluzione abbia inizio.
- 30-06-12, 20:49




Iscritto dal 22/09/2011
Messaggi: 2,628
Località: La Spezia (SP)
Sesso: Uomo
Grazie ricevuti: 47
Menzionato in 47 Post
Riferimento: Nuova me.php
Originalmente inviato da Skens9797 *Registrati per vedere i link, basta cliccare qui Ecco questa è la nuova, i gruppi non me li fa creare con questa, sarà sballata!Codice PHP:<?php
include('core.php');
include('includes/session.php');
include('includes/news_headlines.php');
$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');
// Query tags
$fetch_tags = mysql_query("SELECT tag,id FROM cms_tags WHERE ownerid = '".$my_id."' LIMIT 20") or die(mysql_error());
$tags_num = mysql_num_rows($fetch_tags);
$randomq[] = "¿Quién es tu actor favorito?";
$randomq[] = "¿Prefieres deporte o siesta?";
$randomq[] = "¿Tienes un sobrenombre?";
$randomq[] = "¿Cuál es tu canción favorita?";
$randomq[] = "¿Cuál es tu época del año favorita?";
$randomq[] = "¿Cuál es tu banda favorita?";
$randomq[] = "¿No puedes vivir sin qué programa de televisión? ";
$randomq[] = "¿Qué instrumento te gustaría tocar?";
$randomq[] = "Elige: ¿Pizza? ¿Hamburguesa? ¿Hot-Dog?";
$randomq[] = "El Deporte que más te gusta";
$randomq[] = "Para salir de fiesta vistes con...";
$randomq[] = "¿Cuál es tu película favorita?";
$randomq[] = "Perros, Gatos o algo más exótico.";
$randomq[] = "¿Rojo? ¿Azul? ¿Rosa? u otro color.";
$randomq[] = "Elige: ¿MCR? ¿Panda? ¿Jonas Brothers?";
$randomq[] = "Elige: ¿Rock? ¿Pop? ¿Rap?";
$randomq[] = "¿Qué palabra te define?";
$randomq[] = "Elige ¿Habbo? ¿".$shortname."?";
$randomq[] = "¿Cuál es tu Staff favorito?";
$randomq[] = "¿Postre o Jamón?";
$randomq[] = "¿Qué otro idioma hablas?";
$randomq[] = "Lo mejor del mundo es...";
$randomq[] = "¿Qué furni te gusta más?";
$randomq[] = "Elige: ¿Laptop? ¿Escritorio?";
srand ((double) microtime() * 1000000);
$chosen = rand(0,count($randomq)-1);
$tag_question = $randomq[$chosen];
///////////////////////////////////////////////////// ALEJO.MASTER97 ////////////////////////////////////////////////////////
?>
<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="container">
<div id="content" style="position: relative" class="clearfix">
<?PHP
$rand =rand(0,100);
if($rand < 85){
//PUBLI EDU
?>
<?PHP
} else {
//PUBLI HECTOR
?>
<?PHP
}
?>
<div id="wide-personal-info">
<div id="habbo-plate">
<a rel="nofollow" href="<?php echo $path; ?>/profile">
<img alt="<?php echo $name; ?>" src="http://www.habbo.com/habbo-imaging/avatarimage?figure=<?php echo $avatar; echo $myrow['look']; ?>&size=b&direction=3&head_direction=3&gesture=sml"/>
</a>
</div>
<div id="name-box" class="info-box">
<div class="label">Nome</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">Ultima Connessione:</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="/flash.php" target="01080cec2ad93526df3c8baaeb130bf04025261d" onclick="HabboClient.openOrFocus(this); return false;">Entra In Smax<i></i></a>
<b></b>
</div>
</div>
</div>
<?php
require_once('./noticiasmobiles.php');
?>
<div id="column1" class="column">
<?php
// #########################################################################
// Minimail
// #########################################################################
?>
<div class="habblet-container minimail" id="mail">
<div class="cbb clearfix orange ">
<h2 class="title">Miei Messaggi
</h2>
<div id="minimail">
<div class="minimail-contents">
<?php
$bypass = true;
$page = "inbox";
include('./minimail/loadMessage.php');
?>
</div>
<div id="message-compose-wait"></div>
<form style="display: none" id="message-compose">
<div>Destinatario</div>
<div id="message-recipients-container" class="input-text" style="width: 426px; margin-bottom: 1em">
<input type="text" value="" id="message-recipients" />
<div class="autocomplete" id="message-recipients-auto">
<div class="default" style="display: none;">Scrivi il nome del tuo/a amico/a!</div>
<ul class="feed" style="display: none;"></ul>
</div>
</div>
<div>Soggetto<br/>
<input type="text" style="margin: 5px 0" id="message-subject" class="message-text" maxlength="100" tabindex="2" />
</div>
<div>Messaggio<br/>
<textarea style="margin: 5px 0" rows="5" cols="10" id="message-body" class="message-text"></textarea>
</div>
<div class="new-buttons clearfix">
<a href="#" class="new-button preview"><b>Anteprima</b><i></i></a>
<a href="#" class="new-button send"><b>Invia</b><i></i></a>
</div>
</form>
</div>
<?php
$sql = mysql_query("SELECT * FROM messenger_friendships WHERE user_one_id = '".$my_id."' OR user_two_id = '".$my_id."'") or die(mysql_error());
$count = mysql_num_rows($sql);
$sql = mysql_query("SELECT * FROM cms_minimail WHERE to_id = '".$my_id."' OR senderid = '".$my_id."'") or die(mysql_error());
$mescount = mysql_num_rows($sql);
?>
<script type="text/javascript">
L10N.put("minimail.compose", "Scrivi").put("minimail.cancel", "Annulla")
L10N.put("bbcode.colors.label", "Colori");
L10N.put("bbcode.colors.red", "Rosso");
L10N.put("bbcode.colors.orange", "Arancione");
L10N.put("bbcode.colors.yellow", "Giallo");
L10N.put("bbcode.colors.green", "Verde");
L10N.put("bbcode.colors.cyan", "Azzurro");
L10N.put("bbcode.colors.blue", "Blu");
L10N.put("bbcode.colors.gray", "Grigio");
L10N.put("bbcode.colors.black", "Nero");
L10N.put("date.pretty.just_now", "Ora");
L10N.put("date.pretty.one_minute_ago", "1 Minuto fa");
L10N.put("date.pretty.minutes_ago", "{0} Minuti fa");
L10N.put("date.pretty.one_hour_ago", "1 Ora fa");
L10N.put("date.pretty.hours_ago", "{0} Ore fa");
L10N.put("date.pretty.yesterday", "Ieri");
L10N.put("date.pretty.days_ago", "{0} Giorni fa");
L10N.put("date.pretty.one_week_ago", "1 Settimana fa");
L10N.put("date.pretty.weeks_ago", "{0} Settiamne fa");
new MiniMail({ pageSize: 10,
total: <?php echo $mescount; ?>,
friendCount: <?php echo $count; ?>,
maxRecipients: 50,
messageMaxLength: 20,
bodyMaxLength: 4096,
secondLevel: <?php if($count = 0){ echo "true"; }else{ echo "false"; } ?>});
</script>
</div></div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>
</div>
<?php
// #########################################################################
// News
// #########################################################################
?>
<div id="container">
<div id="content">
<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 rel="nofollow" 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 rel="nofollow" href="news.php?id=<?php echo $news_1_id; ?>">Leggi »</a>
</p>
</div>
<div class="topstory" style="background-image: url(<?php echo $news_2_topstory; ?>); display: none">
<h4>Ultime news</h4>
<h3><a rel="nofollow" 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 rel="nofollow" href="news.php?id=<?php echo $news_2_id; ?>">Leggi »</a>
</p>
</div>
<div class="topstory" style="background-image: url(<?php echo $news_3_topstory; ?>); display: none">
<h4>Ultime News</h4>
<h3><a rel="nofollow" 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 rel="nofollow" href="news.php?id=<?php echo $news_2_id; ?>">Leggi »</a>
</p>
</div>
<div id="topstories-nav" style="display: none"><a href="#" class="prev">« Indietro</a><span>1</span> / 3<a href="#" class="next">Avanti »</a></div>
</div>
<ul class="widelist">
<li class="even">
<a rel="nofollow" href="news.php?id=<?php echo $news_4_id; ?>"><?php echo $news_4_title; ?> »</a><div class="newsitem-date"><?php echo $news_4_date; ?></div>
</li>
<li class="odd">
<a rel="nofollow" href="news.php?id=<?php echo $news_5_id; ?>"><?php echo $news_5_title; ?> »</a><div class="newsitem-date"><?php echo $news_5_date; ?></div>
</li>
<li class="last"><a href="news.php">Altre news »</a></li>
</ul>
</div>
<script type="text/javascript">
document.observe("dom:loaded", function() { NewsPromo.init(); });
</script>
</div>
</div>
<?php
// #########################################################################
// Selección Staff
// #########################################################################
?>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<script type="text/javascript">
HabboView.add(LoginFormUI.init);
</script>
</div>
<?php
include('footerb.php');
?>
Vedi tu
Non hai capito?Cambia il codice riguardante i gruppi.
Prendilo da un cms che vada, come Tarix, Sou, Slavex, ecc...
Io ti ho detto di postare la me.php che avevi preso dagli altri cms che ti davo il codice crea gruppi da sostituire nella nuova me.php - 30-06-12, 20:53




Iscritto dal 25/06/2011
Messaggi: 851
Località: Sardegna, Italy
Sesso: Uomo
Grazie ricevuti: 27
Menzionato in 22 Post
Riferimento: Nuova me.phpScusami tanto, non avevo capito
Originalmente inviato da Destroyer. *Registrati per vedere i link, basta cliccare qui Non hai capito?
Io ti ho detto di postare la me.php che avevi preso dagli altri cms che ti davo il codice crea gruppi da sostituire nella nuova me.php
Ecco qua:
--------------- AGGIUNTA AL POST ---------------Codice PHP:<?php
/*---------------------------------------------------+
| HoloCMS - Website and Content Management System
+----------------------------------------------------+
| Copyright © 2008 Meth0d
+----------------------------------------------------+
| HoloCMS is provided "as is" and comes without
| warrenty of any kind.
+---------------------------------------------------*/
include('core.php');
include('includes/session.php');
include('includes/news_headlines.php');
$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');
// Query tags
$fetch_tags = mysql_query("SELECT tag,id FROM cms_tags WHERE ownerid = '".$my_id."' LIMIT 20") or die(mysql_error());
$tags_num = mysql_num_rows($fetch_tags);
// Create the random tag questions array
$randomq[] = "Quale personaggio famoso vorresti incontrare?";
$randomq[] = "Chi è il tuo eroe dei fumetti preferito?";
$randomq[] = "Chi è il tuo artista preferito?";
$randomq[] = "Gatti, cani o qualcosa di più esotico?";
$randomq[] = "Che cosa vorresti ricevere per Natale?";
$randomq[] = "Quali giornali leggi?";
$randomq[] = "Che cosa cerchi in un Amico?";
$randomq[] = "Per quale squadra tifi?";
$randomq[] = "Qual è il tuo numero porta fortuna?";
$randomq[] = "Quale auto vorresti avere da grande?";
$randomq[] = "Su quale pianeta vorresti vivere?";
$randomq[] = "Qual è il tuo cartone animato preferito?";
$randomq[] = "Chi è il tuo regista preferito?";
$randomq[] = "Vorresti vincere il premio Nobel per aver...";
$randomq[] = "Chi è il tuo eroe dei fumetti preferito?";
$randomq[] = "Quale gusto di gelato preferisci?";
// Select a random question from the array above
srand ((double) microtime() * 1000000);
$chosen = rand(0,count($randomq)-1);
// Appoint the variable
$tag_question = $randomq[$chosen];
?>
<div id="container">
<div id="content">
<div id="column1" class="column">
<div class="habblet-container ">
<div id="new-personal-info" style="background-image:url(./web-gallery/v2/images/personal_info/hotel_views/htlview_it.png)" />
<div id="enter-hotel">
<?php if($online == "online"){ ?>
<div class="open">
<?php
if(HoloText(getContent('client-widescreen'), true) == "1"){
$wide_enabled = true;
} else {
$wide_enabled = false;
}
?>
<a href="client.php<?php if($wide_enabled == false){ echo "?wide=false"; } ?>" target="client" onclick="openOrFocusHabbo(this); return false;">Entra in <?php echo $shortname; ?> Hotel!<i></i></a>
<b></b>
</div>
<?php } else { ?>
<div class="closed">
<span>L'hotel è chiuso!</span>
<b></b>
</div>
<?php } ?>
</div>
<div id="habbo-plate">
<a href="account.php">
<img alt="<?php echo $name; ?>" src="http://www.habbo.it/habbo-imaging/avatarimage?figure=<?php echo $myrow['look']; ?>&size=b&direction=3&head_direction=3&gesture=sml" width="64" height="110" />
</a>
</div>
<div id="habbo-info">
<div id="motto-container" class="clearfix">
<strong><?php echo $name; ?>:</strong>
<div>
<span title="Che ti frulla per la testa oggi?"><?php if(!empty($myrow['motto'])){ echo FilterText($myrow['motto']); } else { echo "Che ti frulla per la testa oggi?"; } ?></span>
<p style="display: none"><input type="text" length="30" name="motto" value="<?php echo FilterText($myrow['motto']); ?>"/></p>
</div>
</div>
<div id="motto-links" style="display: none"><a href="#" id="motto-cancel">Annulla</a></div>
</div>
<ul id="link-bar" class="clearfix">
<li class="credits">
<a href="credits.php"><?php echo $myrow['credits']; ?></a> Crediti
</li>
<li class="club">
<a href="club.php"><?php if( !IsHCMember($my_id) ){ echo "Iscriviti al " . $shortname . " Club »</a>"; } else { echo HCDaysLeft($my_id) . " </a>Giorni " . $shortname . " club!"; }?>
<li class="pixels">
<a href="pixel.php"><?php echo $myrow['activity_points']; ?></a> Pixel
</li>
</ul>
<div id="habbo-feed">
<ul id="feed-items">
<?php
$sqluser = mysql_query("SELECT hc_before FROM users WHERE id='".$my_id."' LIMIT 1");
$user = mysql_query($sqluser);
$sql = mysql_query("SELECT * FROM users_club WHERE userid='".$my_id."' LIMIT 1");
if($user['hc_before'] > 0 && mysql_num_rows($sql) == 0) { ?>
<li id="feed-item-hc-reminder">
<a href="#" class="remove-feed-item" id="remove-hc-reminder" title="Remove notification">Rimuovi le modifiche</a>
<div>
<?php if(mysql_num_rows($sql) == 0) { ?> La tua iscrizione al <?php echo $shortname; ?> Club è scaduta. Vuoi rinnovare la tua Iscrizione al Club?<?php } ?>
</div>
<div id="hc-reminder-buttons" class="clearfix">
<a href="#" class="new-button" id="hc-reminder-1" title="31 days, 20 Credits"><b>1 Mese</b><i></i></a>
<a href="#" class="new-button" id="hc-reminder-2" title="93 days, 50 Credits"><b>3 Mesi</b><i></i></a>
<a href="#" class="new-button" id="hc-reminder-3" title="186 days, 80 Credits"><b>6 Mesi</b><i></i></a>
</div>
</li>
<script type="text/javascript">
L10N.put("subscription.title", "<?php echo $shortname; ?> CLUB");
</script>
<?php
}
if(IsHCMember($my_id)){
if($user['hc_before'] > 0) {
if(HCDaysLeft($my_id) < 6) { ?>
<li id="feed-item-hc-reminder">
<a href="#" class="remove-feed-item" id="remove-hc-reminder" title="Remove notification">Rimuovi Notifica</a>
<div>
La tua iscrizione al <?php echo $shortname; ?> Club scade tra <?php echo HCDaysLeft($my_id); ?> giorni. Vuoi prolungare la tua Iscrizione al <?php echo $shortname; ?> Club?
</div>
<div id="hc-reminder-buttons" class="clearfix">
<a href="#" class="new-button" id="hc-reminder-1" title="31 days, 20 Credits"><b>1 Mese</b><i></i></a>
<a href="#" class="new-button" id="hc-reminder-2" title="93 days, 50 Credits"><b>3 Mesi</b><i></i></a>
<a href="#" class="new-button" id="hc-reminder-3" title="186 days, 80 Credits"><b>6 Mesi</b><i></i></a>
</div>
</li>
<script type="text/javascript">
L10N.put("subscription.title", "<?php echo $shortname; ?> CLUB");
</script>
<?php
}
}
}
if($user_rank > 7){
$alerts = mysql_evaluate("SELECT COUNT(*) FROM cms_help WHERE picked_up = '0'");
if($alerts > 0){
echo " <li class=\"small\" id=\"feed-group-discussion\">
<strong>Messaggio per lo staff!</strong><br />Ci sono "; if($alerts == 1){ echo ""; } else { echo ""; } echo " <strong><a href='./housekeeping/index.php?p=helper' target='_self'>" . $alerts . "</a></strong> Messaggio di aiuto!"; if($alerts > 1){ echo ""; } else { echo ""; } echo ".
</li>";
}
}
//<?php
// }
//$sql = mysql_query("SELECT * FROM cms_noobgifts WHERE userid='".$my_id."' LIMIT 1");
//if(mysql_num_rows($sql) > 0) {
//$row = mysql_fetch_assoc($sql); ?>
<li id="feed-item-newsqueue" class="contributed">
<a href="#" class="remove-feed-item" title="Remove notification">Rimuovi le modifiche</a>
<div>
<?php if($row['news'] == 0) { echo "Benvenuto in Slavex Hotel, buon divetimento!<br>Per qualsiasi problema, contattaci in chiamata MOD"; }elseif($row['gift'] == 0) { echo "plant"; } ?>.
</div>
</li>
<?php
// }
$dob = $myrow['birth'];
$bits = explode("-", $dob);
$day = $bits[0];
$month2 = $bits[1];
$year2 = $bits[2];
if($day == $today && $month2 == $month && HoloText(getContent('birthday-notifications'), true) == "1"){
$age = $year - $year2;
// If we have haxxorz that bypassed the age check (only javascript validates it), they may be like, what,
// one year old, so instead of showing 'happy 1th birthday', we properly show 'happy 1st birthday' etc.
if($age == 1 || $age == 21){
$age = $age . "st";
} elseif($age == 2 || $age == 22){
$age = $age . "nd";
} elseif($age == 3 || $age = 33){
$age = $age . "rd";
} else {
$age = $age . "th";
}
?>
<li id="feed-birthday">
<div>
Buon Compleanno, <?php echo $name; ?>!
</div>
</li>
<?php } ?>
<?php
$sql = mysql_query("SELECT * FROM messenger_requests WHERE from_id = '".$my_id."'");
$count = mysql_num_rows($sql);
if($count != 0){ ?>
<li id="feed-notification">
Hai <a href="./client.php" onclick="HabboClient.openOrFocus(this); return false;"><?php echo $count; ?> richiesta/e di amicizia</a> in sospeso
</li>
<?php } ?>
<?php /*
$onlineCutOff = (time() - 601);
$onlineUsers = mysql_evaluate("SELECT COUNT(*) FROM users WHERE online > " . $onlineCutOff);
$get_users = mysql_query("SELECT id,name,email,ipaddress_last,hbirth,online FROM users WHERE online > " . $onlineCutOff . " ORDER BY online DESC LIMIT " . $onlineUsers) or die(mysql_error());
while($row = mysql_fetch_assoc($get_users)){
if(empty($row['ipaddress_last'])){ $row['ipaddress_last'] = "No IP Found"; }
printf(" <tr>
<td class='tablerow1' align='center'>%s</td>
<td class='tablerow2'><strong>%s</strong><div class='desctext'>%s [<a href='http://who.is/whois-ip/ip-address/%s/' target='_blank'>WHOIS</a>]</div></td>
<td class='tablerow2' align='center'><a href='*Registrati per vedere i link, basta cliccare qui<'>%s</a></td>
<td class='tablerow2' align='center'>%s</td>
<td class='tablerow2' align='center'>%s</td>
<td class='tablerow2' align='center'><a href='index.php?p=edituser&key=%s'><img src='./images/edit.gif' alt='Edit User Data'></a></td>
</tr>", $row['id'], $row['name'], $row['ipaddress_last'], $row['ipaddress_last'], $row['email'], $row['email'], $row['hbirth'], (time() - $row['online']) . " seconds ago", $row['id']);
}
?>
<li id="feed-friends">
Hai <strong>1</strong> amico online!
<span>
Dafor
</span>
</li>
*/ ?>
<li class="small" id="feed-lastlogin">
Ultimo accesso:
<?php echo edit_date($myrow['lastvisit'],true); ?>
</li>
</ul>
</div>
<p class="last"></p>
</div>
<script type="text/javascript">
HabboView.add(function() {
L10N.put("personal_info.motto_editor.spamming", "Niente Spam!");
PersonalInfo.init("");
});
</script>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<div class="habblet-container ">
<div class="cbb clearfix orange ">
<h2 class="title">In primo piano
</h2>
<div id="hotcampaigns-habblet-list-container">
<ul id="hotcampaigns-habblet-list">
<li class="even">
<div class="hotcampaign-container">
<a href="http://www.habbo.it/articles/1714-pavimenti-in-saldo"><img src="http://images.habbo.com/c_images/hot_campaign_images_hq/hotcampaign_thumb_rts_01.gif" align="left" alt="" /></a>
<h3>Rule the School!</h3>
<p>La battaglia per la popolarità sta per avere inizio!</p>
<p class="link"><a href="www.sciax2.it/forum">Scopri di più >></a></p>
</div>
</li>
<li class="odd">
<div class="hotcampaign-container">
<a href="http://www.habbo.it/credits/habboclub"><img src="http://images.habbo.com/c_images/hot_campaign_images_hq/hotcampaign_thumb_BLACKHOLE.gif" align="left" alt="" /></a>
<h3>L'invasione dei Buchi Neri!</h3>
<p>Sono arrivati i Furni Spaziali per creare nuovi Giochi e trasportare te e i tuoi Amici in un'altra dimensione! :O</p>
<p class="link"><a href="club.php">Scopri di più >></a></p>
</div>
</li>
<li class="odd">
<div class="hotcampaign-container">
<a href="http://www.habbo.it/credits/habboclub"><img src="http://images.habbo.com/c_images/hot_campaign_images_it/hotcampaign_zomer.gif" align="left" alt="" /></a>
<h3>Colleziona Conchiglie...</h3>
<p>Completa le Missioni e guadagna Conchiglie per ottenere il Rarissimo Dragone di Sabbia!</p>
<p class="link"><a href="club.php">Scopri di più >></a></p>
</div>
</li>
<li class="odd">
<div class="hotcampaign-container">
<a href="http://www.habbo.it/credits/habboclub"><img src="http://images.habbo.com/c_images/hot_campaign_images_hq/hotcampaign_thumb_turtle.gif" align="left" alt="" /></a>
<h3>TartaMania!</h3>
<p>Adotta il nuovissimo Cucciolo Corazzato e vinci un Distintivo...</p>
<p class="link"><a href="club.php">Scopri di più >></a></p>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<?php /* Minimail */ ?>
<div class="habblet-container minimail" id="mail">
<div class="cbb clearfix blue ">
<h2 class="title">Minimail
</h2>
<div id="minimail">
<div class="minimail-contents">
<?php
$bypass = true;
$page = "inbox";
include('./minimail/loadMessage.php');
?>
</div>
<div id="message-compose-wait"></div>
<form style="display: none" id="message-compose">
<div>A</div>
<div id="message-recipients-container" class="input-text" style="width: 426px; margin-bottom: 1em">
<input type="text" value="" id="message-recipients" />
<div class="autocomplete" id="message-recipients-auto">
<div class="default" style="display: none;">Digita il nome del tuo amico</div>
<ul class="feed" style="display: none;"></ul>
</div>
</div>
<div>Oggetto<br/>
<input type="text" style="margin: 5px 0" id="message-subject" class="message-text" maxlength="100" tabindex="2" />
</div>
<div>Messaggio<br/>
<textarea style="margin: 5px 0" rows="5" cols="10" id="message-body" class="message-text" tabindex="3"></textarea>
</div>
<div class="new-buttons clearfix">
<a href="#" class="new-button preview"><b>Anteprima</b><i></i></a>
<a href="#" class="new-button send"><b>Invia</b><i></i></a>
</div>
</form>
</div>
<?php
$sql = mysql_query("SELECT * FROM messenger_friendships WHERE user_one_id = '".$my_id."' OR user_two_id = '".$my_id."'") or die(mysql_error());
$count = mysql_num_rows($sql);
$sql = mysql_query("SELECT * FROM cms_minimail WHERE to_id = '".$my_id."' OR senderid = '".$my_id."'") or die(mysql_error());
$mescount = mysql_num_rows($sql);
?>
<script type="text/javascript">
L10N.put("minimail.compose", "Scrivi").put("minimail.cancel", "Annulla")
L10N.put("date.pretty.just_now", "Ora");
L10N.put("date.pretty.one_minute_ago", "1 Minuto fa");
L10N.put("date.pretty.minutes_ago", "{0} Minuti fa");
L10N.put("date.pretty.one_hour_ago", "1 Ora fa");
L10N.put("date.pretty.hours_ago", "{0} Ore fa");
L10N.put("date.pretty.yesterday", "Ieri");
L10N.put("date.pretty.days_ago", "{0} Giorni fa");
L10N.put("date.pretty.one_week_ago", "1 Settimana fa");
L10N.put("date.pretty.weeks_ago", "{0} Settiamne fa");
new MiniMail({ pageSize: 10,
total: <?php echo $mescount; ?>,
friendCount: <?php echo $count; ?>,
maxRecipients: 50,
messageMaxLength: 20,
bodyMaxLength: 4096,
secondLevel: <?php if($count = 0){ echo "true"; }else{ echo "false"; } ?>});
</script>
</div></div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<?php /* Noob Gift ?>
<?php
$sql = mysql_query("SELECT noob,gift,roomid,sort FROM users WHERE id='".$my_id."' LIMIT 1");
$row = mysql_query($sql);
if($row['noob'] == 0 && $row['gift'] == 0 && $row['roomid'] == 0) { ?>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<div class="habblet-container " id="roomselection">
<div class="cbb clearfix rooms ">
<h2 class="title">Select your room!
<span class="habblet-close" id="habblet-close-roomselection"></span></h2>
<div id="roomselection-plp-intro" class="box-content">
Hey! You haven't chosen your pre-decorated room, which comes with free furniture! Choose one below:
</div>
<ul id="roomselection-plp" class="clearfix">
<li class="top">
<a class="roomselection-select new-button green-button" href="client.php?createRoom=0" target="client" onclick="return RoomSelectionHabblet.create(this, 0);"><b>Select</b><i></i></a>
</li>
<li class="top">
<a class="roomselection-select new-button green-button" href="client.php?createRoom=1" target="client" onclick="return RoomSelectionHabblet.create(this, 1);"><b>Select</b><i></i></a>
</li>
<li class="top">
<a class="roomselection-select new-button green-button" href="client.php?createRoom=2" target="client" onclick="return RoomSelectionHabblet.create(this, 2);"><b>Select</b><i></i></a>
</li>
<li class="bottom">
<a class="roomselection-select new-button green-button" href="client.php?createRoom=3" target="client" onclick="return RoomSelectionHabblet.create(this, 3);"><b>Select</b><i></i></a>
</li>
<li class="bottom">
<a class="roomselection-select new-button green-button" href="client.php?createRoom=4" target="client" onclick="return RoomSelectionHabblet.create(this, 4);"><b>Select</b><i></i></a>
</li>
<li class="bottom">
<a class="roomselection-select new-button green-button" href="client.php?createRoom=5" target="client" onclick="return RoomSelectionHabblet.create(this, 5);"><b>Select</b><i></i></a>
</li>
</ul>
<script type="text/javascript">
L10N.put("roomselection.hide.title", "Hide room selection");
L10N.put("roomselection.old_user.done", "And you\'re done! The hotel will now open in a new window and you\'ll be redirected to your room in no time!");
HabboView.add(RoomSelectionHabblet.initClosableHabblet);
</script>
</div>
</div>
<?php }elseif($row['noob'] == 1 && $row['roomid'] != 0) { ?>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<div class="habblet-container " id="giftqueue">
<div class="cbb clearfix rooms ">
<h2 class="title">Your next gift!
<span class="habblet-close" id="habblet-close-giftqueue"></span></h2>
<div class="box-content" id="gift-container">
<?php if($row['gift'] < 2) { ?>
<div class="gift-img"><?php if($row['gift'] == 0) { ?><img src="http://images.habbohotel.com/habboweb/<?php echo $habboversion; ?>/web-gallery/v2/images/welcome/newbie_furni/noob_stool_<?php echo $row['sort']; ?>.png" alt="My first Obbah stool" /><?php }elseif($row['gift'] == 1) { ?><img src="http://images.habbohotel.com/habboweb/23_deebb3529e0d9d4e847a31e5f6fb4c5b/9/web-gallery/v2/images/welcome/newbie_furni/noob_plant.png"><?php } ?></div>
<div class="gift-content-container">
<p class="gift-content">
Your next piece of free furniture will be <strong><?php if($row['gift'] == 0) { echo "My first stool"; }elseif($row['gift'] == 1) { echo "plant"; } ?></strong>
</p>
<p>
<b>Time left:</b> <span id="gift-countdown"></span>
</p>
<p class="last">
<a class="new-button green-button" href="client.php?forwardId=2&roomId=<?php echo $row['roomid']; ?>" target="client" onclick="HabboClient.roomForward(this, '<?php echo $row['roomid']; ?>', 'private'); return false;"><b>Go to your room >></b><i></i></a>
</p>
<br style="clear: both" />
</div>
<?php
// calculate time
$time = time();
$day = date("j");
$month = date("n");
$year = date("y");
$date = mktime(0,0,0, $month, $day, $year);
$timeleft = $date-$time; ?>
<script type="text/javascript">
L10N.put("time.hours", "{0}h");
L10N.put("time.minutes", "{0}min");
L10N.put("time.seconds", "{0}s");
GiftQueueHabblet.init(<?php echo $timeleft; ?>);
</script>
<?php }else{ ?>
<p>
How do you get more furniture into Your room?
</p>
<p>
You could buy a set of furniture for just 3 credits including a lamp, mat, and two armchairs. How do you do that?
</p>
<ul><li>1. Buy some credits from the <a href="/credits">credits</a> section</li><li>2. Open the catalogue from the Hotel toolbar (Chair icon)</li><li>3. Open the deals section</li><li>4. Pick up the furni set You want</li><li>5. Thank You for shopping!</li></ul>
<p class="aftergift-img">
<img src="http://images.habbohotel.com/habboweb/23_deebb3529e0d9d4e847a31e5f6fb4c5b/9/web-gallery/v2/images/giftqueue/aftergifts.png" alt="" width="381" height="63"/>
</p>
<p class="last">
<a class="new-button green-button" href="client.php?forwardId=2&roomId=<?php echo $row['roomid']; ?>" target="client" onclick="HabboClient.roomForward(this, '<?php echo $row['roomid']; ?>', 'private'); return false;"><b>Go to your room >></b><i></i></a>
</p>
<script type="text/javascript">
HabboView.add(GiftQueueHabblet.initClosableHabblet);
</script>
<?php } ?>
</div>
</div>
</div>
<?php } ?>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<?php */ ?>
<?php /*Habbo Search*/ ?>
<div class="habblet-container ">
<div class="cbb clearfix default ">
<div class="box-tabs-container clearfix"><div>
<h2><?php echo $shortname; ?></h2>
<ul class="box-tabs">
<li id="tab-2-2" class="selected"><a href="#">Trova <?php echo $shortname; ?></a><span class="tab-spacer"></span></li></div>
<div class="habblet-content-info">
<a name="habbo-search">Per trovare un <?php echo $shortname; ?>, inserisci i primi caratteri del suo nome.</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 chiave che hai inserito è troppo lunga. La lunghezza massima è 30 caratteri.");
L10N.put("habblet.search.error.search_string_too_short", "La parola chiave che hai inserito è troppo corta. Sono richiesti almeno 2 caratteri.");
L10N.put("habblet.search.add_friend.title", "Aggiungi alla tua lista di amici");
new HabboSearchHabblet(2, 30);
</script>
</div>
</div>
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<?php /* Events */ ?>
<?php
//$res = mysql_query("show table status like 'events'")
//or die(mysql_error());
//$table_exists = mysql_num_rows($res) == 1;
if($table_exists == 1){ ?>
<?php
//$getem = mysql_query("SELECT * FROM events WHERE category = '1'");
while ($row = mysql_fetch_assoc($getem)) {
$i++;
if(IsEven($i)){
$even = "odd";
} else {
$even = "even";
}
// Calculate percentage
// Base room icon based on this - percantage levels may not be habbolike
}
?>
</ul>
</div>
</div>
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<?php } ?>
</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 »</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 »</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 »</a>
</p>
</div>
<div id="topstories-nav" style="display: none"><a href="#" class="prev">« Indietro</a><span>1</span> / 3<a href="#" class="next">Avanti »</a></div>
</div>
<ul class="widelist">
<li class="even">
<a href="news.php?id=<?php echo $news_4_id; ?>"><?php echo $news_4_title; ?> »</a><div class="newsitem-date"><?php echo $news_4_date; ?></div>
</li>
<li class="odd">
<a href="news.php?id=<?php echo $news_5_id; ?>"><?php echo $news_5_title; ?> »</a><div class="newsitem-date"><?php echo $news_5_date; ?></div>
</li>
<li class="last"><a href="news.php">Altre news »</a></li>
</ul>
</div>
<script type="text/javascript">
document.observe("dom:loaded", function() { NewsPromo.init(); });
</script>
</div></div>
<?php /*Groups*/ ?>
<div class="habblet-container ">
<div class="cbb clearfix red">
<div class="box-tabs-container clearfix">
<h2>Scelti dallo Staff</h2>
<ul class="box-tabs">
<li id="tab-rooms"><a href="#">Stanze</a><span class="tab-spacer"></span></li>
<li id="tab-groups" class="selected"><a href="#">Gruppi</a><span class="tab-spacer"></span></li>
</ul>
</div>
<div id="tab-rooms-content" style="height: 165px;overflow-x: scroll;display: none;" id="promogroups-habblet-list-container"><br>
<li class="even right">
<div class="hotcampaign-container">
<img src="./habbo-imaging/rooms/space.png"><br><img src="./habbo-imaging/rooms/space2.png" align="left"><img src="./habbo-imaging/rooms/stanza.png" align="left"><img src="./habbo-imaging/rooms/space.png"><br> <b>Salone di Benvenuto <img src="./habbo-imaging/alt/cuore_vuoto.gif"></b><br> <br>
</li>
<li class="left">
<div class="hotcampaign-container">
<img src="./habbo-imaging/rooms/space.png"><br><img src="./habbo-imaging/rooms/space2.png" align="left"><img src="./habbo-imaging/rooms/stanza.png" align="left"><img src="./habbo-imaging/rooms/space.png"><br> <b>Solarium - I </b><br> Di: <a href="user_profile.php?name=TIM">TIM</a><br>
</li>
<li class="even right">
<div class="hotcampaign-container">
<img src="./habbo-imaging/rooms/space.png"><br><img src="./habbo-imaging/rooms/space2.png" align="left"><img src="./habbo-imaging/rooms/stanza.png" align="left"><img src="./habbo-imaging/rooms/space.png"><br> <b>Cooming soon!</b><br> Di: <a href="user_profile.php?name=TIM">TIM</a><br>
</li><script type="text/javascript">
Rounder.addCorners($("habbo-search-error"), 8, 8);
</script> </div>
<div id="tab-groups-content" >
<div style="height: 155px;overflow-x: scroll;" id="promogroups-habblet-list-container" class="habblet-list-container groups-list">
<ul class="habblet-list two-cols clearfix">
<?php $sql = mysql_query("SELECT * FROM cms_recommended WHERE type = 'group' ORDER BY id ASC") or die(mysql_error());
while($row = mysql_fetch_assoc($sql)) {
$i++;
$groupsql = mysql_query("SELECT * FROM groups_details WHERE id = '".$row['rec_id']."' LIMIT 1");
$grouprow = mysql_fetch_assoc($groupsql);
if(IsEven($i)){
$even = "even left";
} else {
$even = "even right";
}
?>
<li class="<?php echo $even; ?>" style="background-image: url(./habbo-imaging/badge.php?badge=<?php echo $grouprow['badge']; ?>.gif)">
<?php if($grouprow['roomid'] != 0) { ?><a href="client.php?forwardId=2&roomId=<?php echo $grouprow['roomid']; ?>" onclick="HabboClient.roomForward(this, '<?php echo $grouprow['roomid']; ?>', 'private'); return false;" target="client" class="group-room"></a><?php } ?>
<a class="item" href="group_profile.php?id=<?php echo $grouprow['id']; ?>"><?php echo HoloText($grouprow['name']); ?></a>
</li>
<?php } ?>
</ul>
</div>
</div></div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<?php /*Tags */ ?>
<div class="habblet-container ">
<div class="cbb clearfix green ">
<div class="box-tabs-container clearfix">
<h2>Tags</h2>
<ul class="box-tabs">
<li id="tab-3-1"><a href="#">I <?php echo $shortname; ?> amano...</a><span class="tab-spacer"></span></li>
<li id="tab-3-2" class="selected"><a href="#">I miei Tag</a><span class="tab-spacer"></span></li>
</ul>
</div>
<div id="tab-3-1-content" style="display: none">
<div class="progressbar"><img src="./web-gallery/images/progress_bubbles.gif" alt="" width="29" height="6" /></div>
<a href="tagcloud.php?sp=plain" class="tab-ajax"></a>
</div>
<div id="tab-3-2-content" >
<div id="my-tag-info" class="habblet-content-info">
<?php if($tags_num > 19){ echo "Hai raggiunto il limite di Tag - eliminane una per aggiungerne una nuova."; } elseif($tags_num == 0){ echo "Non hai tags. Rispondi alla domanda o inserisci un tag a tua scelta."; } elseif($tags_num < 20){ echo "Aggiungi altri Tag - c'è ancora posto!"; } ?>
</div>
<div class="box-content">
<div class="habblet" id="my-tags-list">
<?php if($tags_num > 0){
echo "<ul class=\"tag-list make-clickable\"> ";
while($row = mysql_fetch_assoc($fetch_tags)){
printf("<li><a href=\"tags.php?tag=%s\" class=\"tag\" style=\"font-size:10px\">%s</a>\n
<a class=\"tag-remove-link\"\n
title=\"Rimuovi Tag\"\n
href=\"#\"></a></li>\n", $row['tag'], $row['tag']);
}
echo "</ul>";
} ?>
<?php if($tags_num < 20){ ?>
<form method="post" action="tags_ajax.php?key=add" onsubmit="TagHelper.addFormTagToMe();return false;" >
<div class="add-tag-form clearfix">
<a class="new-button" href="#" id="add-tag-button" onclick="TagHelper.addFormTagToMe();return false;"><b>Aggiungi tag</b><i></i></a>
<input type="text" id="add-tag-input" maxlength="20" style="float: right"/>
<em class="tag-question"><?php echo $tag_question; ?></em>
</div>
<div style="clear: both"></div>
</form>
<?php } ?>
</div>
</div>
<script type="text/javascript">
document.observe("dom:loaded", function() {
TagHelper.setTexts({
tagLimitText: "Hai Raggiunto il limite massimo di Tag!",
invalidTagText: "Tag non valida!",
buttonText: "OK"
});
TagHelper.init('21063711');
});
</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>
<?php /* DISABLED AS HABBO NO LONGER HAS THESE!!! --- Users Online ?>
<div class="cbb clearfix white">
<div class="box-content">
<p>
<ul id="feed-items">
<li id="feed-friends">
<img src="./web-gallery/album1/users_online.PNG" border="0" alt="Server Status" align="left">
<?php if($enable_status_image == "0" || $enable_status_image == "1" & $online == "online"){ ?>
<b><?php echo $online_count; ?></b> users online right now
<?php } else { ?>
<?php echo $sitename; ?> is <b>offline</b>
<?php } ?>
</li>
<br />
</ul>
</p>
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<?php /* Random Rooms ?>
<div class="habblet-container ">
<div class="cbb clearfix green ">
<div class="box-tabs-container clearfix">
<h2>Random Rooms</h2>
<ul class="box-tabs">
</ul>
</div>
<div id="tab-0-2-content" >
<div id="rooms-habblet-list-container-h105" class="recommendedrooms-lite-habblet-list-container">
<ul class="habblet-list">
<?php
$i = 0;
$getem = mysql_query("SELECT * FROM rooms WHERE owner IS NOT NULL ORDER BY RAND() LIMIT 5") or die(mysql_error());
while ($row = mysql_fetch_assoc($getem)) {
if($row['owner'] !== ""){ // Public Rooms (and possibly bugged rooms) have no owner, thus do not display them
$i++;
if(IsEven($i)){
$even = "odd";
} else {
$even = "even";
}
// Calculate percentage
if($row['incnt_max'] == 0){ $row['incnt_max'] = 1; }
$data[$i] = ($row['incnt_now'] / $row['incnt_max']) * 100;
// Base room icon based on this - percantage levels may not be habbolike
if($data[$i] == 99 || $data[$i] > 99){
$room_fill = 5;
} elseif($data[$i] > 65){
$room_fill = 4;
} elseif($data[$i] > 32){
$room_fill = 3;
} elseif($data[$i] > 0){
$room_fill = 2;
} elseif($data[$i] < 1){
$room_fill = 1;
}
printf("<li class=\"%s\">
<span class=\"clearfix enter-room-link room-occupancy-%s\" title=\"Go to room\" roomid=\"%s\">
<span class=\"room-enter\">Enter</span>
<span class=\"room-name\">%s</span>
<span class=\"room-description\">%s</span>
<span class=\"room-owner\">Owner: <a href=\"user_profile.php?name=%s\">%s</a></span>
</span>
</li>", $even, $room_fill, $row['id'], HoloText($row['name']), FilterText($row['descr']), $row['owner'], $row['owner']);
}
}
?>
</ul>
<div class="clearfix"></div>
</div>
<script type="text/javascript">
L10N.put("show.more", "Show more rooms");
L10N.put("show.less", "Show fewer rooms");
var roomListHabblet_h105 = new RoomListHabblet("rooms-habblet-list-container-h105", "room-toggle-more-data-h105", "room-more-data-h105");
</script>
</div>
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
*/ ?>
</div>
<script type="text/javascript">
HabboView.add(LoginFormUI.init);
</script>
<?php
include('templates/community/footer.php');
?>
Qualcuno che mi aiuta?
Presto Online.
Stiamo per tornare, che la rivoluzione abbia inizio.
Ultima modifica di Skens9797 : 01-07-12 alle ore 10:26
Motivo: Post unito automaticamente, onde evitare post duplicati








Rispondi citando