Problema risolto Modificare la me.php in Jaddo Pack?

xXAnonymousXx

Utente Medio
Autore del topic
19 Gennaio 2013
180
0
Miglior risposta
0
Salve, ho un problema nel modificare la me.php di Jaddo Pack ( quello nuovo), in poche parole non so come togliere il riquadro facebook di jaddo, perché non lo voglio. Grazie!
 
La me.php :

<?php

require_once('./data_classes/server-data.php_data_classes-core.php.php');
$notlogin = false;
require_once('./data_classes/server-data.php_data_classes-session.php.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");
}

$pagename = $name;
$pageid = "2";


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

require_once('./templates/community_subheader.php');
require_once('./templates/community_header.php');

$fetch_tags = mysql_query("SELECT tag,id FROM user_tags WHERE user_id = '".$my_id."' LIMIT 20");
$tags_num = mysql_num_rows($fetch_tags);

$randomq[] = "&iquest;Qui&eacute;n es tu actor favorito?";
$randomq[] = "&iquest;Prefieres deporte o siesta?";
$randomq[] = "&iquest;Tienes un sobrenombre?";
$randomq[] = "&iquest;Cu&aacute;l es tu canci&oacute;n favorita?";
$randomq[] = "&iquest;Cu&aacute;l es tu &eacute;poca del a&ntilde;o favorita?";
$randomq[] = "&iquest;Cu&aacute;l es tu banda favorita?";
$randomq[] = "&iquest;No puedes vivir sin qu&eacute; programa de televisi&oacute;n? ";
$randomq[] = "&iquest;Qu&eacute; instrumento te gustar&iacute;a tocar?";
$randomq[] = "Elige: &iquest;Pizza? &iquest;Hamburguesa? &iquest;Hot-Dog?";
$randomq[] = "El Deporte que m&aacute;s te gusta";
$randomq[] = "Para salir de fiesta vistes con...";
$randomq[] = "&iquest;Cu&aacute;l es tu pel&iacute;cula favorita?";
$randomq[] = "Perros, Gatos o algo m&aacute;s ex&oacute;tico.";
$randomq[] = "&iquest;Rojo? &iquest;Azul? &iquest;Rosa? u otro color.";
$randomq[] = "Elige: &iquest;MCR? &iquest;Panda? &iquest;Jonas Brothers?";
$randomq[] = "Elige: &iquest;Rock? &iquest;Pop? &iquest;Rap?";
$randomq[] = "&iquest;Qu&eacute; palabra te define?";
$randomq[] = "Elige &iquest;Habbo? &iquest;".$shortname."?";
$randomq[] = "&iquest;Cu&aacute;l es tu Staff favorito?";
$randomq[] = "&iquest;Postre o Jam&oacute;n?";
$randomq[] = "&iquest;Qu&eacute; otro idioma hablas?";
$randomq[] = "Lo mejor del mundo es...";
$randomq[] = "&iquest;Qu&eacute; furni te gusta m&aacute;s?";
$randomq[] = "Elige: &iquest;Laptop? &iquest;Escritorio?";

srand ((double) microtime() * 1000000);
$chosen = rand(0,count($randomq)-1);

$tag_question = $randomq[$chosen];

$get_flashclient = mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_flashclient' AND value = '1'");

///////////////////////////////////////////////////// Forez////////////////////////////////////////////////////////
if($vip == 1){

//Sacar ID de Usuario
$sql = "SELECT id FROM users WHERE username='".$name."'";
$result= mysql_query($sql);
$row = mysql_fetch_assoc($result);

//Coger ID
$userid = $row[id];

//Sacar tiempo de expiración Vip
$sql = "SELECT timestampend FROM vip WHERE id_user=$userid ORDER BY timestampend DESC LIMIT 1";
$result= mysql_query($sql);
$row = mysql_fetch_assoc($result);

//Tiempo para finalizar
$expiretime = $row[timestampend];

//Sacar días restantes
$daysLeft = 0;
if ( $expiretime>time() ){
$daysLeft = $expiretime - time();
$daysLeft = round($daysLeft/86400);
}

//Si Expira el tiempo el vip será quitado
if($expiretime < time()){
$sql = "UPDATE users SET vip='0' WHERE id='$my_id'";
mysql_query($sql);

//Degradamos rango
$sql = "UPDATE users SET rank='1' WHERE id='$my_id'";
mysql_query($sql);

//Alertamos al Usuario
$sql = "INSERT INTO cms_alerts (userid,alert) VALUES ('".$my_id."','Le informamos que su suscripción Vip ha finalizado.')";
mysql_query($sql);

//Eliminar de tabla vip
$sql = "DELETE FROM vip WHERE id_user=$userid";
mysql_query($sql);
} }
///////////////////////////////////////////////////// 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">

<br>
<br>
<div id="wide-personal-info">

<div id="habbo-plate">
<a href="<?php echo $path; ?>/profile">
<img alt="<?php echo $name; ?>" src="<?php echo $avatar; echo $myrow['look']; ?>&direction=3&head_direction=3&gesture=sml&size=l" width="64" height="110"/>
</a>
</div>

<div id="name-box" class="info-box">
<div class="label"> Nome</div>
<div class="content"><a><?php echo $name; ?> </a></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="/client" target="01080cec2ad93526df3c8baaeb130bf04025261d" onclick="HabboClient.openOrFocus(this); return false;">Entra in <?php echo $shortname; ?> Hotel<i></i></a>
<b></b>
</div>
</div>

</div>



<?php require_once('./noticiasmobiles.php');?>


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


<div class="habblet-container ">
<div class="cbb clearfix settings ">
<h2 class="title"><span style="text-shadow: 0px 2px 0px #000000">Statistiche</span></h2>
<div id="hotcampaigns-habblet-list-container">


<ul id="hotcampaigns-habblet-list">

<li class="even">
<div class="hotcampaign-container">

<center>Nome: <?php echo $name; ?></p></center>
<br>
<center>Missione: <?php echo $myrow['motto']; ?></p></center>
<br>
<center>ID: <?php echo $myrow['id']; ?></p></center>
<br>
<center>Zaffiri: <?php echo $myrow['activity_points'];?></p></center>
<br>
<center>Crediti: <?php echo $myrow['credits'];?></p></center>
<br>
<center>Ruby: <?php echo $myrow['vip_points'];?></p></center>
</div>
</li>

</ul>

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






<!-- DEBUT RADIO -->

<object classid="clsid:emoji_smiley:27CDB6E-AE6D-11cf-96B8-444553540000" width="191" height="46" bgcolor="#FFFFFF">
<param name="movie" value="http://www.museter.com/ffmp3-config.swf" />
<param name="flashvars" value="url=http://listen.radionomy.com/radiostudiolive-IT&lang=en&codec=mp3&volume=100&introurl=&autoplay=true&traking=true&jsevents=false&buffering=5&skin=http://www.museter.com/skins/compact/ffmp3-compact.xml&title=RadioStudioLive.it" />
<param name="wmode" value="window" />
<param name="allowscriptaccess" value="always" />
<param name="scale" value="noscale" />
<embed src="http://www.museter.com/ffmp3-config.swf" flashvars="url=http://listen.radionomy.com/radiostudiolive-IT&lang=en&codec=mp3&volume=100&introurl=&autoplay=true&traking=true&jsevents=false&buffering=5&skin=http://www.museter.com/skins/compact/ffmp3-compact.xml&title=RadioStudioLive.it" width="191" scale="noscale" height="46" wmode="window" bgcolor="#FFFFFF" allowscriptaccess="always" type="application/x-shockwave-flash" />
</object>


<!-- FIN RADIO -->


</div>


<?php
// #########################################################################
// News
// #########################################################################

require_once('./data_classes/server-data.php_data_classes-news.php.php');

// #########################################################################
// Selecci&oacute;n Staff
// #########################################################################
?>
</div>

















<meta name="globalsign-domain-verification" content="ZUE4o3oPnYz6qEe7WwXMV3ueQFYUJm9iX4JMW0zV8t" />

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



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



<?php require_once('./templates/community_footer.php'); ?>

Eccoti lo screen:
Perfavore, Entra oppure Registrati per vedere i Link!
 
Bastava che mi dicevi questa directory, l'ho tolto da solo. Potete chiudere ;)