Advertisement
Guest User

Untitled

a guest
Oct 17th, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.43 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="nl-NL">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title><?= $config['hotelName'] ?> Hotel: Mijn <?= $config['hotelName'] ?> </title>
  6.  
  7. <?php include ("/includes/css_head.php"); ?>
  8. </head>
  9.  
  10. <?php
  11. include ("/includes/header.php");
  12. include ("/includes/me_header.php");
  13. ?>
  14.  
  15. <style>
  16. .credits_homepage {
  17. padding: 8px;
  18. border-radius: 25px;
  19. background-color: rgba(0, 0, 0, 0.21);
  20. }
  21.  
  22. .duckets_homepage {
  23. padding: 8px;
  24. border-radius: 25px;
  25. background-color: rgba(0, 0, 0, 0.21);
  26. }
  27.  
  28. .belcredits_homepage {
  29. padding: 8px;
  30. border-radius: 25px;
  31. background-color: rgba(0, 0, 0, 0.21);
  32. }
  33. </style>
  34. <div class="container" style="width: 950px;">
  35. <div class="jumbotron" style="background-image: url(/Web/Images/bgrooms.png);background-position-x: 20px;height: 170px;color: white;background-color: #30373C;">
  36. <p style="float: right;position: relative;z-index: 10;top: 12px;">
  37. <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>
  38. </p>
  39. <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;">
  40. <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;">
  41. </div>
  42. <h3 style="color: white;left: 30px;top: -40px;position: relative;"><?= User::userData('username') ?> <img src="/Web/Images/icons/icon_M.png">
  43. </h3>
  44. <p style="font-size: 14px;left: 30px;top: -38px;position: relative;"><i><?= User::userData('motto') ?></i></p>
  45. <div class="row" style="position: relative;z-index: 100;color: black;left: 45px;top: -50px;float: left;">
  46. <p style="font-size: small;position: relative;top: 10px;border-radius: 34px;word-spacing: 6px;font-weight: 600;color: #fff;float: left;">
  47. <img src="/Web/Images/icons/credits.png" style="opacity: ;" class="credits_homepage" ;> <?= User::userData('credits') ?> <small style="color: #B7AACC;"></small></span>
  48. <img class="duckets_homepage" src="/Web/Images/icons/duckets.png" style="opacity: ;"> <?= User::userData('activity_points') ?> <small style="color: #B7AACC;"></small></span>
  49. <img class="belcredits_homepage" src="/Web/Images/icons/belcredits.gif" style="opacity: ;"><?= User::userData('vip_points') ?><small style="color: #30373C;"></small></a></span>
  50. </span>
  51. </div>
  52. </div>
  53. <div style="clear:both;"></div>
  54. <div class="after_banner" style="top:-12px;position:relative;">
  55. <?php
  56. $sql = DB::Query("SELECT id,title,image,shortstory FROM cms_news ORDER BY id DESC LIMIT 1");
  57. while($news = $sql->fetch_assoc())
  58. {
  59. echo'
  60. <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;">
  61. <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;">
  62. <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>';
  63. }
  64. ?>
  65. <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;">
  66. <div class="panel-body" style="text-align: center;">
  67. <span class="glyphicon glyphicon-circle" aria-hidden="true" style="float: right;font-size: 24px;"></span>
  68. <?php
  69. $uotw = "Jarno";
  70. $host = "localhost";
  71. $user = "root";
  72. $pass = "MySQL@#123";
  73. $daba = "test";
  74.  
  75. $con = new mysqli($host, $user, $pass, $daba) or die(mysqli_error($con));
  76. $uotw = $con->real_escape_string($uotw);
  77. $q = $con->query("SELECT username,motto,look FROM users WHERE username = '" . $uotw . "'");
  78. $info = $q->fetch_assoc();
  79. echo "<h4 style=\"top: -5px;position: relative;color: white;font-weight: 100;\">SVDW: <strong>" . $info['username'] . "</h4></strong>";
  80. 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">';
  81. ?>
  82. </div>
  83. </div>
  84. <div style="clear:both;"></div>
  85. <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;">
  86. <div class="panel-body" style="font-size: 14px;color: white;">
  87. <span class="glyphicon glyphicon-gift" aria-hidden="true" style="float: right;font-size: 24px;color: white;"></span>
  88. <div style="width: 85%;">
  89. <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;">
  90. <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;">
  91. <form action="/me" method="post">
  92. <input type="hidden" name="gift" value="17-10">
  93. <button type="submit" class="btn btn-default btn-lg">Open mijn Cadeau</button>
  94. </form>
  95. </div>
  96. <b>0</b> cadeau&#39;s </div>
  97. </div>
  98. <h3 style="text-shadow: 1px 1px 1px rgba(3, 36, 72, 0.25);color: white;top: -15px;position: relative;">Dagelijks cadeau</h3>
  99. <span style="position: relative;top: -10px;">Log elke dag in op <?= $config['hotelName'] ?> Hotel om te gekke cadeau&#39;s te verdienen.<br>Door je vrienden naar <?= $config['hotelName'] ?> Hotel te roepen krijg je meer cadeau&#39;s.<br>Je vrienden moeten wel actieve spelers zijn! Roep dus snel je vrienden!</span>
  100. </div>
  101. </div>
  102. <div style="clear:both;"></div>
  103. <?php include_once 'includes/footer.php'; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement