XTZXD XTZXD  • 07.04.13 17:36

Olá queria ajuda no para colocar dolares me.php Empty Olá queria ajuda no para colocar dolares me.php 07.04.13 17:36

Olá queria ajuda no para colocar dolares me.php tipo la tem Creditos,Pixels,ID ai queria adicionar os dolares se alguen me ajudar agradeço!!

fiяєwαll fiяєwαll  • 07.04.13 18:19

Olá queria ajuda no para colocar dolares me.php Empty Re: Olá queria ajuda no para colocar dolares me.php 07.04.13 18:19

Muito bem.
Vá na edição do seu código php e no local que você quer o nome dos Dollares adicione o Código:

Código:

Você tem: <?php echo $myrow['dolares']; ?> Dolares

Vai aparecer o Texto + Quantos dollares seu user tem.
Espero ter ajudado.

Anonymous Convidado  • 07.04.13 19:59

XTZXD XTZXD  • 07.04.13 22:23

Olá queria ajuda no para colocar dolares me.php Empty Re: Olá queria ajuda no para colocar dolares me.php 07.04.13 22:23

:TFREC2E: Eu botei o codigo só q não apareceu nada...


aki esta minha me.php se alguen poder ja postar ela editada agradeço

----------------------------------------------------------------------

<?php

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 = $name;
$pageid = "1";

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

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);

$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];

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

///////////////////////////////////////////////////// ALEJO.MASTER97 ////////////////////////////////////////////////////////
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."','Por favor note que a sua subscrição terminou Vip.')";
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">

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


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


<?PHP
}
?>
<style>

.credits_small {
background-color: #98721A;
background-image: url("web-gallery/v2/images/credit.gif");
background-position: 2px 50%;
background-repeat: no-repeat;
border: 2px solid #D19E25;
border-radius: 5px 5px 5px 5px;
color: white;
font-size: 12px;
font-weight: bold;
text-shadow: #000 1px 1px 0px;color:#fff;font-weight:bold;
margin: 3px;
padding: 3px;
text-align: center;
width: 25%;
float: left;
}
.pixels_small {
background-color: #537384;
background-image: url("web-gallery/v2/images/pixel.gif");
background-position: 2px 50%;
background-repeat: no-repeat;
border: 2px solid #719DBA;
border-radius: 5px 5px 5px 5px;
color: white;
font-size: 12px;
font-weight: bold;
text-shadow: #000 1px 1px 0px;color:#fff;font-weight:bold;
margin: 3px;
padding: 3px;
text-align: center;
width: 26%;
float: left;
}
.mon_small {
background-color: #50C878;
background-image: url("web-gallery/v2/images/id.png");
background-position: 2px 50%;
background-repeat: no-repeat;
border: 2px solid #090;
border-radius: 5px 5px 5px 5px;
color: white;
font-size: 12px;
font-weight: bold;
text-shadow: #000 1px 1px 0px;color:#fff;font-weight:bold;
margin: 3px;
padding: 3px;
text-align: center;
width: 26%;
float: left;
}
</style>

<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']; ?>&size=b&action=wav&direction=2&head_direction=3&gesture=sml&size=s" width="64" height="110"/>
</a>
</div>

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

</div>

<div class="block">

<div class="credits_small"><?php echo $myrow['credits'];?> Creditos</a></div>

<div class="pixels_small"><?php echo $myrow['activity_points'];?> Pixels</a></div>

<div class="mon_small">Meu ID <?php echo $my_id; ?></a></div>
</div>

<iframe src="http://neethotel.com.br/radio/start" width="350" height="35" align="right" scrolling="no" frameborder="0"></iframe>

<?php

require_once('./noticiasmobiles.php');

?>

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

<div class="habblet-container ">

<div id="twitterfeed-habblet-container">
<div id="twitterfeed-habblet-content"></div>
<iframe src="//25.144.189.50/facebook.php" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:454px; height:297px;" allowTransparency="true"></iframe>
</div>


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

</div>

?>

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

<div class="habblet-container ">

<div id="twitterfeed-habblet-container">
<div id="twitterfeed-habblet-content"></div>
<iframe src="//25.144.189.50/facebook2.php" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:454px; height:297px;" allowTransparency="true"></iframe>
</div>


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

</div>

?>

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

<div class="habblet-container ">

<div id="twitterfeed-habblet-container">
<div id="twitterfeed-habblet-content"></div>
<iframe src="//25.144.189.50/chat.php" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:435px; height:400px;" allowTransparency="true"></iframe>
</div>


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

</div>

<a href="#" style="display:scroll;position:fixed;bottom:5px;right:5px;" title="Voltar ao Topo!"><img src="https://2img.net/h/oi50.tinypic.com/2j5xuft.gif"></a>
<img src="https://2img.net/h/oi50.tinypic.com/2j5xuft.gif">
</a>


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

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

// #########################################################################
// Seção Staff
// #########################################################################
?>




<?php $sql = mysql_query("SELECT * FROM cms_recommended WHERE type = 'room' ORDER BY id ASC") or die(mysql_error());
while($row = mysql_fetch_assoc($sql)) {
$i++;
$roomsql = mysql_query("SELECT * FROM rooms WHERE id = '".$row['id_rec']."' LIMIT 1");
$roomrow = mysql_fetch_assoc($roomsql);

if(IsEven($i)){
$even = "even left";
} else {
$even = "even2";
}


$roomcount = $roomrow['users_now'] / $roomrow['users_max'] * 100;
if($roomcount == 99 || $roomcount > 99){
$rl = 5;
} elseif($roomcount > 65){
$rl = 4;
} elseif($roomcount > 32){
$rl = 3;
} elseif($roomcount > 0){
$rl = 2;
} elseif($roomcount < 1){
$rl = 1;
}

$getOwner = mysql_query("SELECT * FROM users WHERE id = '".$roomrow['owner']."'");
$owner = mysql_fetch_assoc($getOwner);

?>

<li class="<?php echo $even; ?> room-occupancy-<?php echo $rl; ?>" roomid="<?php echo $roomrow['id']; ?>">
<div>
<span class="room-name"><a href="../client?forwardId=2&amp;roomId=<?php echo $roomrow['id']; ?>" onclick="HabboClient.roomForward(this, '<?php echo $roomrow['id']; ?>', '<?php echo $roomrow['roomtype']; ?>'); return false;" target="85d327955e5fc804ac33675ef8d05e3c9d3ef7ed"><?php echo $roomrow['caption']; ?></a></span>
<span class="room-owner"><a href="/home/<?php echo $owner['username']; ?>"><?php echo $owner['username']; ?></a></span>
<p><?php echo $roomrow['description']; ?></p>

</div>
</li>

<?php } ?>
</ul>
</div>
</div>


<div id="tab-1-3-2-content" >
<div id="staffpicks-groups-habblet-list-container" class="habblet-list-container groups-list">

<ul class="habblet-list two-cols">

<?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 group_details WHERE id = '".$row['id_rec']."' 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(<?php echo $path; ?>/habbo-imaging/badge.php?badge=<?php echo $grouprow['badge']; ?>)">
<?php if($grouprow['roomid'] !== 0) { ?><a href="<?php echo $path; ?>/client?forwardId=2&amp;roomId=<?php echo $grouprow['roomid']; ?>" onclick="HabboClient.roomForward(this, '<?php echo $grouprow['roomid']; ?>', 'private'); return false;" target="9cf76b1ff4b99b02656456ee94e0271ab56272ee" class="group-room"></a><?php } ?>
<a class="item" href="./groups/<?php echo $grouprow['id']; ?>"><?php echo HoloText($grouprow['name']); ?></a>
</li>
<?php } ?>
</ul>
</div>

</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>

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

</script>
</div>


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





</div>



<script type="text/javascript">

HabboView.run();

</script>

FaKeS FaKeS  • 08.04.13 2:28

Olá queria ajuda no para colocar dolares me.php Empty kk '-' 08.04.13 2:28

Poracaso vc ta usando a Remix v3.0 ? Parece '-'
Bom eu sei colocar...
1º vai aonde ta sua CMS
2ºabra a pasta chamada templates
3ºabra o arquivo "community header" em bloco de notas
4º logo la em cima vc cola esse codigo


<body id="<?php echo $body_id; ?>" class=""<?php if($pageid == "4"){ ?> onload="NaviFenster()"<?php } ?>>
<link rel="stylesheet" href="/web-gallery/v2/styles/top.css" type="text/css" />
<div id="top">
<p class="alignleft"><b> Bem vindo <?php echo $name; ?> | <img src="/web-gallery/v2/images/test/new_04.png"/> <?php echo $myrow['credits']; ?> Créditos </li> | <img src="/web-gallery/v2/images/test/cat_1.png"/> <?php echo $myrow['activity_points']; ?> Pixels | <img src="/Premiun_Images/dolares.png" /> <?php echo $myrow['dolares']; ?> Dólares <b></b>
<p class="alignright"> <img src="/web-gallery/v2/images/test/new_17.gif"/> <?php echo $online_count; ?> <?php echo $shortname; ?>'s Online </li> </b> | <a href="/account/logout"><img src="/web-gallery/v2/images/test/salir.gif"/></a></p>
<div style="clear: both;"></div></div>
<div id="overlay"></div>

e depois fecha e salva ai de um F5 na Me

Pronto é isso ai se ajudei aperta no +
e se ainda não conseguiu adc no facebook >> www-facebook-com/gilderson15
OBS.: AONDE TA - É PRA COLOCAR . Ok, boa sorte ai :;P:

XTZXD XTZXD  • 08.04.13 2:43

Olá queria ajuda no para colocar dolares me.php Empty Re: Olá queria ajuda no para colocar dolares me.php 08.04.13 2:43

:*-*: Dúvida Resolvida !! FaKeS me ajudou podem fexa !!

νσℓ¢σм νσℓ¢σм  • 08.04.13 5:19

Olá queria ajuda no para colocar dolares me.php Empty Re: Olá queria ajuda no para colocar dolares me.php 08.04.13 5:19

-SUPORTE-

@FECHADO. AUTOR SATISFEITO
Permissões neste sub-fórum
Não podes responder a tópicos

BH Servers

Recomendamos a BH Servers com proteção DDOS gratuita em Cloud Server de alta performance. Entrega imediata.