Meine alte Me gefunden
Die Box ist drinnen Fisch sie dir selber hinaus:
PHP
<?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 = '".$_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[] = "Was ist deine Lieblins Sendung?";$randomq[] = "Wer ist dein Lieblings Schauspieler?";$randomq[] = "Wer ist deine Lieblings Schauspielerin?";$randomq[] = "Was machst du am Liebsten?";$randomq[] = "Was ist dein Lieblings Lied?";$randomq[] = "Wie beschreibst du dich?";$randomq[] = "Was ist deine Lieblings Band";$randomq[] = "Was ist deine Lieblings Comic";$randomq[] = "Was ist deine Lieblings Zeit des Jahres?";$randomq[] = "Was ist dein Lieblings Essen?";$randomq[] = "Was für Sport machst du?";$randomq[] = "Wer war deine erste Liebe?";$randomq[] = "Was ist dein Lieblings Film?";$randomq[] = "Was ist dein Lieblings Tier?";$randomq[] = "Was ist deine Lieblings Farbe?";$randomq[] = "Hast du ein Lieblings Mitarbeiter?";
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'");
?><div id="container">
<div id="content" style="position: relative" class="clearfix">
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/v2/styles/lightweightmepage.css" type="text/css" />
<script src="<?php echo $path; ?>/web-gallery/v2/styles/lightweightmepage.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/js/moredata.js" type="text/javascript"></script><?php$Q1 = mysql_query("SELECT * FROM cms_alerts WHERE userid = '".$myrow["id"]."'");while($R = mysql_fetch_array($Q1)){ if($R["type"] == "alert") { ?> <div align="center" style="background-color: #eaffbd; padding: 5px; margin: 5px; border-radius: 5px; border: 1px solid #86b81b; width: 39.4%; margin-left: 25.6%;">
<strong>[<font color="red"><a href="me?delid=<?php echo $R["id"]; ?>">Löschen</a></font>]</strong> <b>Nachricht vom <?php echo $shortname; ?> Staff:</b> <?php echo htmlspecialchars($R["alert"]); ?></div> <?php } else { ?> <div align="center" style="background-color: #eaffbd; padding: 5px; margin: 5px; border-radius: 5px; border: 1px solid #86b81b; width: 39.4%; margin-left: 25.6%;">
<strong>[<font color="red"><a href="me?delid=<?php echo $R["id"]; ?>">Löschen</a></font>]</strong> <?php echo $R["alert"];?></div> <?php }}?><div id="container"> <div id="content" style="position: relative" class="clearfix"> <div id="wide-personal-info">
<div id="habbo-plate">
<a href="../me"> <img alt="<?php echo $myrow["username"]; ?>" src="http://images.habbo.mn/habbo-imaging/avatarimage?figure=<?php echo $myrow["look"]; ?>&head_direction=3&action=wav"/>
</a>
</div>
<div id="name-box" class="info-box">
<div class="label">Name:</div>
<div class="content"><?php echo htmlspecialchars($myrow["username"]); ?></div>
</div>
<div id="motto-box" class="info-box">
<div class="label">Motto:</div>
<div class="content"><?php echo htmlspecialchars($myrow["motto"]); ?></div>
</div>
<div id="last-logged-in-box" class="info-box">
<div class="label">Letzter Login:</div>
<div class="content"><?php if(strlen($myrow["last_online"]) == 10) echo date("d.m.Y H:m:s", $myrow["last_online"]); else echo $myrow["last_online"]; ?></div>
</div>
<div class="enter-hotel-btn"> <div class="open enter-btn"> <a href="../client" target="40f7c48299821e8d4cfe1c8e8474f5233d9fbb23" onclick="HabboClient.openOrFocus(this); return false;">Ins Hotel<i></i></a> <b></b> </div> <ul class="newcrbar"><li onClick="location.href='{site}/credits'"><a href="/credits" style="color: #fff; text-decoration: none"><?php echo HoloText($myrow['credits']); ?> Credits</a></li><li onClick="location.href='{site}/credits/pixels'"><a href="/credits/pixels" style="color: #fff; text-decoration: none"><?php echo HoloText($myrow['activity_points']); ?> Pixels</a></li></ul>
</div>
</div>
<div id="promo-box">
<div id="promo-bullets"></div>
<?php$NEW_QUERY = mysql_query("SELECT * FROM cms_news ORDER BY id DESC LIMIT 6");$i = 0;while($ROW = mysql_fetch_array($NEW_QUERY)){$i++;?><div class="promo-container" style="<?php if($i > 1) { echo "display: none;"; } ?> background-image: url(<?php echo $ROW["image"]; ?>); border-radius: 6px;"> <div class="promo-content-container"> <div class="promo-content">
<div class="title"><?php echo $ROW["title"]; ?></div>
<div class="body"><?php echo $ROW["longstory"]; ?></div>
</div> </div><div class="promo-link-container"> <div class="enter-hotel-btn"> <div class="open enter-btn"> <a href="../articles/<?php echo $ROW["id"]; ?>" target="2fd25562e5cd9dabc03c7ec91482ca18ce904e8c">Weiter lesen<i></i></a> <b></b> </div> </div>
<a href="http://www.facebook.com/pages/BuBBle-Hotel-Deutschland/199148200129931" target="_blank" class="facebook-link" onclick="recordOutboundLink('Promo','Horses Facebook Button');"></a>
</div> </div>
<?php}
?></div>
<script type="text/javascript">
document.observe("dom:loaded", function() { PromoSlideShow.init(); });
</script>
<div id="column1" class="column"> <div class="habblet-container "> <div id="twitterfeed-habblet-container"> <div id="twitterfeed-habblet-content"></div> <script>new TWTR.Widget({ version: 2, id: 'twitterfeed-habblet-content', type: 'profile', rpp: 5, interval: 30000, width: 453, height: 163, theme: { shell: { background: '#4a4d4f', color: '#ffffff' }, tweets: { background: '#ffffff', color: '#4a4d4f', links: '#fe6301' } }, features: { scrollbar: true, loop: false, live: false, behavior: 'default' } }).render().setUser('Bubble_Hotel').start(); </script></div><div id="container">
<div class="clearfix" style="position: relative" id="content">
<div id="container">
<div id="content" style="position: relative" class="clearfix">
<div id="column7" class="column">
<div class="habblet-container">
<div class="cb clearfix blue"><div class="bt"><div></div></div><div class="i1"><div class="i2"><div class="i3">
<div class="rounded-container"><div style="background-color: rgb(255, 255, 255); "><div style="margin: 0px 1px; height: 1px; overflow: hidden; background-color: rgb(255, 255, 255); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(111, 153, 196); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(53, 113, 173); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(39, 103, 167); "></div></div></div></div><div style="margin: 0px; height: 1px; overflow: hidden; background-color: rgb(255, 255, 255); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(53, 113, 173); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(39, 103, 167); "></div></div></div><div style="margin: 0px; height: 1px; overflow: hidden; background-color: rgb(111, 153, 196); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(39, 103, 167); "></div></div><div style="margin: 0px; height: 1px; overflow: hidden; background-color: rgb(53, 113, 173); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(39, 103, 167); "></div></div></div><h2 class="title rounded-done"><?php echo $shortname; ?> - Quick Links</h2><div style="background-color: rgb(255, 255, 255); "><div style="margin: 0px; height: 1px; overflow: hidden; background-color: rgb(53, 113, 173); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(39, 103, 167); "></div></div><div style="margin: 0px; height: 1px; overflow: hidden; background-color: rgb(111, 153, 196); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(39, 103, 167); "></div></div><div style="margin: 0px; height: 1px; overflow: hidden; background-color: rgb(255, 255, 255); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(53, 113, 173); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(39, 103, 167); "></div></div></div><div style="margin: 0px 1px; height: 1px; overflow: hidden; background-color: rgb(255, 255, 255); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(111, 153, 196); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(53, 113, 173); "><div style="height: 1px; overflow: hidden; margin: 0px 1px; background-color: rgb(39, 103, 167); "></div></div></div></div></div></div>
<div class="habblet box-content">
<center>
<a href="/home/<?php echo $myrow["username"]; ?>" class="new-button green-button"><b>Home »</b><i></i></a>
<a href="/staff.php" class="new-button green-button"><b>Staffs »</b><i></i></a>
<a href="/client.php" class="new-button green-button"><b>Client »</b><i></i></a>
<a href="/credits.php" class="new-button green-button"><b>Taler »</b><i></i></a>
<a href="/credits/pixels" class="new-button green-button"><b>Pixel »</b><i></i></a>
<a href="/articles.php" class="new-button green-button"><b>News »</b><i></i></a>
<a href="/credits/shop/vip" class="new-button red-button"><b>VIP Kaufen »</b><i></i></a>
</center>
<br><br></div></div></div></div><div class="bb"><div></div></div></div></div></div></div>
<br><br></div></div></div> <?php // #########################################################################// Hot Campaigns// #########################################################################
$hotcampaigns = mysql_query("SELECT * FROM cms_hotcampaigns ORDER BY id DESC LIMIT 10") or die(mysql_error()); if(mysql_num_rows($hotcampaigns) > 0){ ?>
<div class="habblet-container "> <div class="cbb clearfix blue"><h2 class="title">Was Neues</h2><div id="hotcampaigns-habblet-list-container">
<?php while($row = mysql_fetch_assoc($hotcampaigns)){ ?>
<ul id="hotcampaigns-habblet-list">
<li class="even"> <div class="hotcampaign-container"> <a href="<?php echo $row['url']; ?>"><img src="<?php echo $row['image_url']; ?>" align="left" alt="" /></a> <h3><?php echo $row['caption']; ?></h3> <p><?php echo $row['descr']; ?></p> <p class="link"><a href="<?php echo $row['url']; ?>">Hier lang »</a></p> </div></li>
</ul>
<?php } ?></div></div></div><script type="text/javascript">if (!$(document.body).hasClassName('process-template)) { Rounder.init(); }</script>
<?php }
// #########################################################################// Minimail// #########################################################################?> </div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>
<?php require_once('./templates/community_footer.php'); ?>
Alles anzeigen