Codigo aqui
Autor: Fláviuh de Olive! | Publicado: 2012-03-25T17:25:00-03:00

pegue este codigo e substitua pelo codigo da sua "me"

&lt;?php  define('USERNAME_REQUIRED', TRUE); define('ACCOUNT_REQUIRED', TRUE); include('global.php'); define("THIS_SCRIPT", 'me'); $username = $core-&gt;EscapeString($_SESSION['username']);&lt;br /&gt; ?&gt;&lt;br /&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;&lt;br /&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;br /&gt; &lt;head&gt;&lt;br /&gt; &lt;link rel="icon" href="favico.ico" type="image/gif" /&gt;&lt;br /&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;&lt;br /&gt; &lt;title&gt;&lt;?php echo $sitename." » Me"; ?&gt;&lt;/title&gt;&lt;br /&gt; &lt;script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"&gt;&lt;/script&gt;&lt;br /&gt;     &lt;script type="text/javascript" src="Public/JS/jquery.history.js"&gt;&lt;/script&gt;&lt;br /&gt;     &lt;script src="http://cdn.jquerytools.org/1.2.5/jquery.tools.min.js"&gt;&lt;/script&gt;&lt;br /&gt;  &lt;script language="javascript"&gt;   (function($){   $(document).ready(function() {    $('.Usersmotto').click(function()  {     $('.Usersmotto').css("display", "none")     $('.UserMotto').css("display", "block")     $('.UserMotto').focus()     return;    });      $('.UserMotto').blur(function()  {     $('.UserMotto').css("display", "none")     $.ajax({      url: "functions/updatemotto.php?motto=" + $('.UserMotto').val(),      async: false     })     $('.Usersmotto').html($('.UserMotto').val())     $('.Usersmotto').css("display", "block")     $('.Usersmotto').css("min-width", "200px")     $('.Usersmotto').css("min-height", "30px")     return;    });   });  })(jQuery);  &lt;/script&gt;&lt;br /&gt; &lt;br /&gt; &lt;script src="cufon-yui.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt; &lt;br /&gt; &lt;script src="ubuntu.font.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt; &lt;br /&gt; &lt;script type="text/javascript"&gt;  Cufon.replace('h1');  Cufon.replace('h2');  Cufon.replace('h3'); &lt;/script&gt;&lt;br /&gt; &lt;br /&gt; &lt;link rel="stylesheet" type="text/css" href="css/main.css" /&gt;&lt;br /&gt; &lt;link rel="stylesheet" type="text/css" href="css/pms.css" /&gt;&lt;br /&gt; &lt;br /&gt; &lt;/head&gt; &lt;br /&gt;  &lt;br /&gt; &lt;body background="/images/fundo.gif"&gt;&lt;br /&gt; &lt;?php include('includes/header.php'); ?&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;div class="container"&gt;&lt;br /&gt; &lt;?php include('includes/headerTwo.php'); ?&gt;&lt;br /&gt; &lt;?php include('includes/bigCampaign.php'); ?&gt;&lt;br /&gt;  &lt;br /&gt; &lt;div class="columnOne"&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;div class="contentBox"&gt;&lt;div class="boxHeaderGreen"&gt;&lt;h1&gt;Campanhas&lt;/h1&gt;&lt;/div&gt;&lt;?php   $query = mysql_query("SELECT * FROM cms_news WHERE campaign ='1' ORDER BY published DESC");  $num = mysql_num_rows($query);  if($num &gt; 0)&lt;br /&gt;  {&lt;br /&gt;   $color = 'odd';&lt;br /&gt;   while($campaign = mysql_fetch_array($query))&lt;br /&gt;   {&lt;br /&gt;    echo' &lt;br /&gt;      &lt;div class="campaigncontainer" id="'.$color.'"&gt;      &lt;div class="image" style="background: url('.$campaign['campaignimg'].') no-repeat;"&gt;&lt;/div&gt;      &lt;div class="campaign"&gt;       &lt;div class="title"&gt;&lt;a href="articles.php?story='.$campaign['id'].'"&gt;'.strip_tags($campaign&lt;br /&gt; &lt;br /&gt; ['title']).'&lt;/a&gt;&lt;/div&gt;       &lt;div class="story"&gt;'.strip_tags($campaign['shortstory'], '&lt;br&gt;&lt;br/&gt;&lt;br /&gt;').'&lt;/div&gt;       &lt;div class="readmore"&gt;&lt;a href="articles.php?story='.$campaign['id'].'"&gt;Leia mais »&lt;/a&gt;&lt;/div&gt;      &lt;/div&gt;     &lt;/div&gt;';&lt;br /&gt;    if($color == 'odd')&lt;br /&gt;    $color='even';&lt;br /&gt;    else&lt;br /&gt;    $color='odd';&lt;br /&gt;   }&lt;br /&gt;  }   &lt;br /&gt;  ?&gt;&lt;br /&gt; &lt;/div&gt;          &lt;br /&gt; &lt;div class="contentBox"&gt;&lt;div class="boxHeaderBlue"&gt;&lt;h1&gt;Radio&lt;/h1&gt;&lt;/div&gt;&lt;div class="oddBg"&gt;&lt;div style="background-image: url(''); background-repeat: no-repeat; text-shadow: 1px 1px   #FFF; background-size: 100%; padding-left: 0px;"&gt;Radio aqui&lt;br /&gt; &lt;/div&gt;&lt;/div&gt;&lt;br /&gt; &lt;/div&gt;&lt;div class="contentBox"&gt;&lt;div class="boxHeaderRed"&gt;&lt;h1&gt;Chat&lt;/h1&gt;&lt;/div&gt;&lt;div class="oddBg"&gt;&lt;div style="background-image: url(''); background-repeat: no-repeat; text-shadow: 1px 1px   #FFF; background-size: 100%; padding-left: 0px;"&gt;     &lt;?php include('system/xat.php'); ?&gt;&lt;br /&gt;  &lt;?php include('system/sideads.php'); ?&gt;&lt;br /&gt; &lt;/div&gt;&lt;/div&gt;&lt;br /&gt; &lt;/div&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;  &lt;br /&gt; &lt;/div&gt;           &lt;br /&gt; &lt;br /&gt;           &lt;div class="columnTwo"&gt;&lt;br /&gt; &lt;?php  $query = mysql_query("SELECT * FROM cms_news ORDER BY published DESC LIMIT 1");  $num = mysql_num_rows($query);  if($num &gt; 0)&lt;br /&gt;  {&lt;br /&gt;   $news = mysql_fetch_array($query);&lt;br /&gt;   echo'&lt;div class="newsHeader"&gt;    &lt;div class="HeadlineStory" id="'.$news["id"].'" style="background: url('.$news["image"].') no-repeat; display:block;"&gt;     &lt;p class="Mainheadline"&gt;&lt;h3&gt;&lt;a href="articles.php?story='.$news["id"].'"&gt;'.stripslashes($news["title"]).'&lt;/a&gt;&lt;/h3&gt;&lt;/p&gt;     &lt;p class="Mainstory"&gt;'.strip_tags($news["shortstory"], '&lt;br&gt;&lt;br/&gt;&lt;br /&gt;').'&lt;/p&gt;     &lt;p class="readmorenews"&gt;&lt;a href="articles.php?story='.$news['id'].'"&gt;Leitura completa »&lt;/a&gt;&lt;/p&gt;    &lt;/div&gt;  &lt;/div&gt;';&lt;br /&gt;   $color = 'odd';&lt;br /&gt;   $query = mysql_query("SELECT * FROM cms_news ORDER BY published DESC LIMIT 3");&lt;br /&gt;   while($news = mysql_fetch_array($query))&lt;br /&gt;   {&lt;br /&gt;    echo'&lt;div class="storybox" id="'.$color.'" ref="'.$news["id"].'"&gt;    &lt;p class="headline"&gt;&lt;a href="articles.php?story='.$news["id"].'"&gt;'.$news["title"].'&lt;/a&gt;&lt;/p&gt;    &lt;p class="date"&gt;'.@date("d-m-Y", $news['published']).'&lt;/p&gt;    &lt;br /&gt;    &lt;/div&gt;';&lt;br /&gt;    if($color == 'odd')&lt;br /&gt;    $color='even';&lt;br /&gt;    else&lt;br /&gt;    $color='odd';&lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt;  ?&gt;&lt;br /&gt;   &lt;div class="storyboxEnd"&gt;   &lt;div class="readmore"&gt;&lt;a href="articles.php"&gt;Outras noticias »&lt;/a&gt;&lt;/div&gt;  &lt;/div&gt;&lt;br /&gt; &lt;div class="contentBox"&gt;&lt;div class="boxHeaderBlue"&gt;  &lt;h1&gt;Quartos&lt;/h1&gt;&lt;/div&gt;&lt;?php  $query1 = mysql_query("SELECT * FROM rooms WHERE users_now &gt;= '1'");&lt;br /&gt;  $num1 = mysql_num_rows($query1);&lt;br /&gt;  if($num1 == 0) {&lt;br /&gt;   echo "Sinto muito, Olhe como nao ha qualquer salas ativas para mostrar neste momento no tempo. Por que nao ir preencher um?";&lt;br /&gt;  } else {&lt;br /&gt; ?&gt;&lt;br /&gt; &lt;br /&gt; &lt;?php   $query = mysql_query("SELECT * FROM rooms WHERE users_now &gt;= '1' ORDER BY users_now DESC LIMIT 5");&lt;br /&gt;  $num = mysql_num_rows($query);&lt;br /&gt;  if($num &gt; 0)&lt;br /&gt;  {&lt;br /&gt;   $color = 'odd';&lt;br /&gt;   while($campaign = mysql_fetch_array($query))&lt;br /&gt;   {&lt;br /&gt;    echo' &lt;br /&gt;      &lt;div class="campaigncontainer" id="'.$color.'"&gt;            &lt;div class="campaign"&gt;       &lt;div class="title"&gt;&lt;a href="home.php?u='.$campaign['owner'].'"&gt;'.$campaign['caption'].'&lt;/a&gt;&lt;/div&gt;       &lt;div class="story"&gt;';strip_tags($campaign['description'], '&lt;br&gt;&lt;br/&gt;&lt;br /&gt;')?&gt;&lt;br /&gt;   &lt;?php         if($campaign['users_now'] &gt;= '8') {&lt;br /&gt;         echo "&lt;div class=\"redBg\"&gt;";&lt;br /&gt;         echo "{$campaign['users_now']}";&lt;br /&gt;         echo "&lt;/div&gt;";&lt;br /&gt;        }  elseif($campaign['users_now'] &gt;= '5') {&lt;br /&gt;         echo "&lt;div class=\"orangeBg\"&gt;";&lt;br /&gt;         echo "{$campaign['users_now']}";&lt;br /&gt;         echo "&lt;/div&gt;";&lt;br /&gt;        }&lt;br /&gt;         else {&lt;br /&gt;         echo "&lt;div class=\"greenBg\"&gt;";&lt;br /&gt;         echo "{$campaign['users_now']}";&lt;br /&gt;         echo "&lt;/div&gt;";&lt;br /&gt;        }&lt;br /&gt;        &lt;br /&gt;        ?&gt;&lt;br /&gt;   &lt;?php echo '&lt;/div&gt;&lt;br /&gt;        &lt;div class="readmore"&gt;Owner: &lt;a href="home.php?u='.$campaign['owner'].'"&gt;'.$campaign['owner'].'&lt;/a&gt;&lt;/div&gt;      &lt;/div&gt;     &lt;/div&gt;';&lt;br /&gt;    if($color == 'odd')&lt;br /&gt;    $color='even';&lt;br /&gt;    else&lt;br /&gt;    $color='odd';&lt;br /&gt;   }&lt;br /&gt;  } &lt;br /&gt; &lt;br /&gt; }&lt;br /&gt;  ?&gt;&lt;br /&gt; &lt;/div&gt;&lt;div class="contentBox"&gt;&lt;div class="boxHeaderGreen"&gt;  &lt;h1&gt;Mais ricos do hotel&lt;/h1&gt;&lt;/div&gt;&lt;table&gt;&lt;?php $datosTop = mysql_query("SELECT * FROM users ORDER BY credits DESC LIMIT 5");  while($datosTop10 = mysql_fetch_array($datosTop)){ echo ' &lt;tr&gt;&lt;td width="5px"&gt;&lt;/td&gt; &lt;td width="20px"&gt;';&lt;br /&gt; &lt;br /&gt; echo '&lt;img src="http://www.habbo.com.es/habbo-imaging/avatarimage?figure=' . $datosTop10['look'] . '&amp;direction=3&amp;head_direction=3&amp;gesture=sml&amp;action=crr=2&amp;size=s" align="left"&gt;&lt;/td&gt; &lt;td width="195px"&gt; &lt;a href="#"&gt;'.$datosTop10['username'].'&lt;/a&gt;&lt;br /&gt;'.$datosTop10['credits'].' creditos';&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; echo '&lt;/td&gt;                       '; } ?&gt; &lt;/table&gt;&lt;/div&gt; &lt;/div&gt; &lt;?php include('includes/footer.php'); ?&gt;        &lt;br /&gt; &lt;/div&gt;&lt;br /&gt; &lt;/body&gt; &lt;br /&gt; &lt;/html&gt;