Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="nl-NL">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><?= $config['hotelName'] ?> Hotel: Mijn <?= $config['hotelName'] ?> </title>
- <?php include ("/includes/css_head.php"); ?>
- </head>
- <?php
- include ("/includes/header.php");
- include ("/includes/me_header.php");
- ?>
- <style>
- .credits_homepage {
- padding: 8px;
- border-radius: 25px;
- background-color: rgba(0, 0, 0, 0.21);
- }
- .duckets_homepage {
- padding: 8px;
- border-radius: 25px;
- background-color: rgba(0, 0, 0, 0.21);
- }
- .belcredits_homepage {
- padding: 8px;
- border-radius: 25px;
- background-color: rgba(0, 0, 0, 0.21);
- }
- </style>
- <div class="container" style="width: 950px;">
- <div class="jumbotron" style="background-image: url(/Web/Images/bgrooms.png);background-position-x: 20px;height: 170px;color: white;background-color: #30373C;">
- <p style="float: right;position: relative;z-index: 10;top: 12px;">
- <a href="/client" target="_blank" class="btn btn-success btn-lg" style="font-size: 18px;">Naar <?= $config['hotelName'] ?> Hotel <span class="fa fa-forward" aria-hidden="true"></span></a>
- </p>
- <div style="background-color: rgba(0, 0, 0, 0.15);position: relative;float: left;width: 106px;height: 106px;top: -14px;border-radius: 100px;border: solid 2px rgb(36, 43, 47);z-index:99;">
- <img src="https://avatar-retro.com/habbo-imaging/avatarimage?figure=<?= User::userData('look') ?>&size=l&direction=3&head_direction=3&crr=1&gesture=&frame=1&headonly=1" style="top: -14px;position: absolute;">
- </div>
- <h3 style="color: white;left: 30px;top: -40px;position: relative;"><?= User::userData('username') ?> <img src="/Web/Images/icons/icon_M.png">
- </h3>
- <p style="font-size: 14px;left: 30px;top: -38px;position: relative;"><i><?= User::userData('motto') ?></i></p>
- <div class="row" style="position: relative;z-index: 100;color: black;left: 45px;top: -50px;float: left;">
- <p style="font-size: small;position: relative;top: 10px;border-radius: 34px;word-spacing: 6px;font-weight: 600;color: #fff;float: left;">
- <img src="/Web/Images/icons/credits.png" style="opacity: ;" class="credits_homepage" ;> <?= User::userData('credits') ?> <small style="color: #B7AACC;"></small></span>
- <img class="duckets_homepage" src="/Web/Images/icons/duckets.png" style="opacity: ;"> <?= User::userData('activity_points') ?> <small style="color: #B7AACC;"></small></span>
- <img class="belcredits_homepage" src="/Web/Images/icons/belcredits.gif" style="opacity: ;"><?= User::userData('vip_points') ?><small style="color: #30373C;"></small></a></span>
- </span>
- </div>
- </div>
- <div style="clear:both;"></div>
- <div class="after_banner" style="top:-12px;position:relative;">
- <?php
- $sql = DB::Query("SELECT id,title,image,shortstory FROM cms_news ORDER BY id DESC LIMIT 1");
- while($news = $sql->fetch_assoc())
- {
- echo'
- <div class="jumbotron" style="float: left;position: relative;padding: 0px;background-image: url('.$news["image"].');height: 178px;color: white;width: 75%;overflow: hidden;background-position-y: -54px;">
- <div style="background-color: rgba(0, 0, 0, 0.28);position: relative;top: 0;padding-top: 2px;padding-left: 20px;padding-bottom: 8px;width: 100%;right: 0;filter: dropshadow(color=#000,offx=1,offy=1);border-top-right-radius: 5px;border-top-left-radius: 5px;">
- <h3 style="color: white;">'.$news["title"].'</h3></div><div style="padding-right:8px;position:relative;top:50px;"><a href="/news/'.$news["id"].'" class="btn btn-success" style="float: right;top: 14px;position: relative;text-transform: none;font-size: 13px;">Lees meer <span class="glyphicon glyphicon-plus" aria-hidden="true"></span></a></div><div style="padding-top: 10px;padding-left: 20px;width: 70%;position: relative;">'.$news["shortstory"].'</div><div style="width: 100%;height: 40px;padding-right: 15px;"></div></div>';
- }
- ?>
- <div style="background-image: url(/web/images/dvdw.png);float: right;background-color: rgb(48, 55, 60);width: 23%;height: 178px;border-radius: 5px;color: white;font-size: 22px;font-weight: 600;position: relative;">
- <div class="panel-body" style="text-align: center;">
- <span class="glyphicon glyphicon-circle" aria-hidden="true" style="float: right;font-size: 24px;"></span>
- <?php
- $uotw = "Jarno";
- $host = "localhost";
- $user = "root";
- $pass = "MySQL@#123";
- $daba = "test";
- $con = new mysqli($host, $user, $pass, $daba) or die(mysqli_error($con));
- $uotw = $con->real_escape_string($uotw);
- $q = $con->query("SELECT username,motto,look FROM users WHERE username = '" . $uotw . "'");
- $info = $q->fetch_assoc();
- echo "<h4 style=\"top: -5px;position: relative;color: white;font-weight: 100;\">SVDW: <strong>" . $info['username'] . "</h4></strong>";
- echo '<img src = "https://www.habbo.nl/habbo-imaging/avatarimage?figure=' . $info['look'] . '&size=l&direction=3&head_direction=3&crr=1&gesture=&frame=1&headonly=1" style="margin-top: -10px">';
- ?>
- </div>
- </div>
- <div style="clear:both;"></div>
- <div style="padding-bottom: 20;background-image: url('/web/images/bg/boxes/gifts.png');background-repeat: no-repeat;100%: 49%;background-position-y: -37px;width: 100%;position: relative;float: left;bottom: 15px;height: 137px;color: black;border-radius: 4px;border: 1px solid;border-color: #EAEAEA;">
- <div class="panel-body" style="font-size: 14px;color: white;">
- <span class="glyphicon glyphicon-gift" aria-hidden="true" style="float: right;font-size: 24px;color: white;"></span>
- <div style="width: 85%;">
- <div style="float: right;position: relative;padding: 4px;border-radius: 9px;background-color: rgba(0,0,0,0.12);font-size: 13px;text-align: center;top: 29px;">
- <div style="font-size: 18px;font-weight: 600;box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.25);z-index: 599;text-transform: none;">
- <form action="/me" method="post">
- <input type="hidden" name="gift" value="17-10">
- <button type="submit" class="btn btn-default btn-lg">Open mijn Cadeau</button>
- </form>
- </div>
- <b>0</b> cadeau's </div>
- </div>
- <h3 style="text-shadow: 1px 1px 1px rgba(3, 36, 72, 0.25);color: white;top: -15px;position: relative;">Dagelijks cadeau</h3>
- <span style="position: relative;top: -10px;">Log elke dag in op <?= $config['hotelName'] ?> Hotel om te gekke cadeau's te verdienen.<br>Door je vrienden naar <?= $config['hotelName'] ?> Hotel te roepen krijg je meer cadeau's.<br>Je vrienden moeten wel actieve spelers zijn! Roep dus snel je vrienden!</span>
- </div>
- </div>
- <div style="clear:both;"></div>
- <?php include_once 'includes/footer.php'; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement