Retirar e colocar, pagina me je4n 20.11.13 22:19
Oi
Eu queria que alguem retirase
Usuário em Destaque,
e colocase o plugin do facebook
Obrigado!
Codigo da Pagina:
Eu queria que alguem retirase
Usuário em Destaque,
e colocase o plugin do facebook
Obrigado!
Codigo da Pagina:
- Spoiler:
- <?php
/*======================================================================*\
| RetroZ CMS - Content system manager. |
| #######################################################################|
| Copyright (c) 2013, by Je4n |
| http://www.pixelacao.zz.mu |
| #######################################################################|
| Essa CMS usa núcleo Lavvos. / Data_classe by: rThiag0 |
| Todos os direitos reservados à Seus respéctivos criadores. |
\*======================================================================*/
require_once('./data_classes/server-data.php_data_classes-core.php.php');
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") or die(mysql_error());
}
$pagename = Principal;
$pageid = "1";
include('templates/community_subheader.php');
include('templates/community_header.php');
$fetch_tags = mysql_query("SELECT tag,id FROM user_tags WHERE user_id = '".$my_id."' LIMIT 20") or die(mysql_error());
$tags_num = mysql_num_rows($fetch_tags);
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'");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<br clear="all"/>
<div class="main container">
<div class="padding main">
<div class="conteudo left">
<div class="perfil_info" style="position:relative;">
<div style="position:absolute; margin-left:77px; top:18px;">
<img alt="<?php echo $name; ?>" src="http://www.habbo.fr/habbo-imaging/avatarimage?figure=<?php echo $myrow['look']; ?>&size=b&direction=2&action=wlk,wav,&head_direction=3&gesture=sml">
</div><a href="<?php echo $path; ?>/client" target="client"><div class="botao">Entrar no Hotel</div></a></div>
<div class="conteudo_box">
<div class="padding out">
<div class="conteudo_titulo vermelho">
<div class="padding">
Últimas notícias </div>
</div>
<div class="c-box">
<?php
$news1_6 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 4") or die(mysql_error());
$news4_5 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 2 OFFSET 2") or die(mysql_error());
?>
<?php $i = 0; while($news = mysql_fetch_assoc($news1_6)){ $i++; ?>
<ul id="hotcampaigns-habblet-list">
<li class="even">
<div class="h-campaign"><div class="noticia-imagem" style="background-image:url(<?php echo $news['image']; ?>);">
</div>
<div class="noticia-titulo"><?php echo $news['title']; ?></div>
<div class="noticia-subtitulo"><?php echo $news['longstory']; ?> <a href="<?php echo $path; ?>/artigos/<?php echo $news['id']; ?>">Continuar lendo..</a></div>
</div>
</li>
</ul>
<?php } ?>
</div>
</div>
</div>
</div>
<div class="conteudo direito">
<div class="conteudo_box">
<div class="padding out">
<div class="conteudo_titulo preto">
<div class="padding">
Usuário em Destaque</div>
</div>
<div class="c-box">
<?php
$i = 0;
$getem = mysql_query("SELECT * FROM ranks WHERE id < 4 ORDER BY id DESC LIMIT 1") or die(mysql_error());
while ($rank = mysql_fetch_assoc($getem)) {
?>
<?php
$userdata = mysql_query("SELECT * FROM users WHERE rank = '".$rank['id']."' ORDER BY last_online DESC");
while($row = mysql_fetch_assoc($userdata)){
$i++;
$get_groups = mysql_query("SELECT * FROM group_members WHERE id_user = '".$row['id']."' AND is_current = '1'");
$members_row = mysql_fetch_assoc($get_groups);
if($row['online'] == "1"){
$image = "online_anim_big2";
} else {
$image = "offline_big2";
}
if(IsEven($i)){
$even = "even";
} else {
$even = "odd";
}
?>
<div align="center" style="font-weight: normal; color: rgb(54, 54, 54); font-family: Tahoma, sans-serif; font-size: 11px; line-height: 14px;"><p></p><b style="text-align: left;"><b style="text-align: left;"><b style="text-align: left;"><p></p></b></b></b></div><span style="text-align: left;"><span style="text-align: left;"><span style="text-align: left;"><span style="text-align: left;"><span style="text-align: left;">
<div class="avatar-me"><img src="<?php echo $avatar; echo $row['look']; ?>&size=b&direction=3&head_direction=3&action=crr=6&gesture=sml&size=s" border="0" onmouseover="this.src='<?php echo $avatar; echo $row['look']; ?>&size=b&direction=3&head_direction=2&action=crr=6&gesture=srp&size=s'" onmouseout="this.src='<?php echo $avatar; echo $row['look']; ?>&size=b&direction=3&head_direction=3&action=crr=6&gesture=sml&size=s'"></a></div>
<div class="texto-me">
<?php echo $row['username']; ?></div><b><br /><br />
<div style="font-weight: normal; border-left-width: 2px; border-left-style: solid; border-left-color: rgb(204, 204, 204); border-top-left-radius: 1px; border-top-right-radius: 1px; border-bottom-right-radius: 1px; border-bottom-left-radius: 1px; float: left; font-size: 11px; margin-top: 2px; padding-left: 4px; padding-top: 3px; width: 170px;">
Por estar sempre ligado(a) em nosso Hotel, participando de eventos, sendo amigável, parabéns.</div><b>
</b></b></div></div>
<?php } ?> <?php } ?>
</div>
</div>
<div class="conteudo direito">
<div class="conteudo_box">
<div class="c-box">
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2F<?php echo $Facebook_id; ?>&width=292&height=258&show_faces=true&colorscheme=light&stream=false&show_border=false&header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:302px; height:98px;" allowTransparency="true"></iframe>
</div>
</div>
</div>
<?php require_once('./templates/community_footer.php'); ?>