Hallo Community,
heute gebe ich euch den Script zur WerbeTeamPage. Viel Spaß damit!
[hide]<?php error_reporting(0); ?>
<?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');
$pagename = "WerbeTeam";
$pageid = "100";
require_once('./templates/community_subheader.php');
require_once('./templates/community_header.php');
?>
<div id="container">
<div id="content">
<div id="column1" class="column">
<div class="habblet-container ">
<div class="cbb clearfix white ">
<h2 class="title"><?php echo $sitename; ?>Higgo - WerbeTeam</h2>
<?php
$i = 0;
$getXlers = mysql_query("SELECT * FROM user_werb");
while($row = mysql_fetch_assoc($getXlers)){
$Xler = mysql_fetch_assoc(mysql_query("SELECT * FROM users WHERE id = '".$row['user_id']."' LIMIT 1"));
foreach($Xler As $key => $value) {
$Xler[$key] = htmlspecialchars($value);
}
$i++;
if(IsEven($i)){
$even = "odd";
} else {
$even = "even";
}
?>
<li class="<?php echo $even; ?>">
<img align="left" src="<?php echo $avatar; echo $Xler['look']; ?>&action=std,wav,&head_direction=3&gesture=sml"><br>
<a href="../home/<?php echo $Xler['username']; ?>"><b><?php echo $Xler['username']; ?></b></a>
<b style="font-size: 110%;"><?php if($Xler['online'] >= 1){ ?><img src="../web-gallery/images/myhabbo/habbo_online_anim_big.gif"><?php }else{ ?><img src="../web-gallery/images/myhabbo/habbo_offline_big.gif"><?php } ?></b><br />
<i><?php echo $Xler['motto']; ?></i><br><br>
<b>VIP:</b> <?php if($Xler['vip'] == 1) { echo "Ja"; } else { echo "Nein"; } ?><br>
<b>Letzer Login: </b><?php echo date('d.m.Y - H:i:s', $Xler['last_online']); ?> Uhr<br>
<br><br><br>
<?php } ?><br>
</table>
</div></div></div>
<div id="column2" class="column">
<div class="habblet-container">
<div class="cbb clearfix white">
<h2 class="title">Was ist das WerbeTeam?</h2>
<div class="habblet box-content">
Das <?php echo $sitename; ?> WerbeTeam , wirbt in anderen Hotels , sie sind <b>zuständig für</b> den ständigen <b>Zuwachs der User</b>.<br>Sie <b>werben in jedem Hotel</b> und bemühen sich soviele User ins Hotel zu holen wie es geht!
</div>
</div>
</div>
<div id="column2" class="column">
</div>
</div>
</div>
</div></div>
</div></div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<?php require_once('./templates/community_footer.php'); ?>[/hide]