Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. <?php
  2. #|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|
  3. #| #|
  4. #| Développement de RetroPHP par Tyler #|
  5. #| #|
  6. #|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|
  7.  
  8. require_once './init.php';
  9.  
  10. $pagename = "Équipe secondaire";
  11. $pageid = "staffs";
  12. ?>
  13. <!doctype html>
  14. <html>
  15. <head>
  16. <meta charset="utf-8">
  17. <title><?php print Settings('Name'); ?>: <?php print $pagename; ?></title>
  18. <link type="text/css" href="<?php print URL; ?>/web/css/material.css?<?php print UPDATE; ?>" rel="stylesheet">
  19.  
  20. <?php include './templates/header.php'; ?>
  21. <style>body{background:#fff;}#staff_display{display:inline-block;background-color:rgba(0,0,0,0.04);margin-left:19px;box-shadow:3px 3px rgba(0,0,0,.2);margin-right:19px;margin-bottom:15px;margin-top:15px;width:155px;padding:17px 3px;border-radius:4px;}#staff_display:hover{box-shadow:5px 5px rgba(0,0,0,.2);}#titre_staff{text-align:center;font-size:14px;margin-bottom:5px;color:#000;text-shadow:1px 1px #FFFFFF;font-weight:bold;}#desc_staff{text-align:center;font-size:14px;margin-bottom:5px;color:#fff;text-shadow:1px 1px #000;font-weight:bold;background:#069;}.display_staff{-ms-interpolation-mode:nearest-neighbor;image-rendering:-webkit-crisp-edges;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:pixelated;height:83px;}</style>
  22. <div id="gradient_bg_adow" style="background: linear-gradient(white,#E6E6E6);">
  23. <div class="container_24">
  24. <div class="grid_21">
  25. <div id="contentBox" class="activity" style="border-top: 3px solid #FF6E6E;">
  26. <div class="head" style=" padding: 0px 3px 0px;min-height: 30px;">
  27. Équipe secondaire <a style="float:right;color:#069;text-decoration:none;font-size:12px;">Ils sont là pour aider l'équipe première.</a><br>
  28. </div>
  29. <xss style="display:inline;">
  30. <?php $sql = $bdd->query("SELECT * FROM users WHERE rank >= '4'"); while($s = $sql->fetch()) { ?>
  31. <div id="staff_display">
  32. <div id="titre_staff"><?php print $s['username']; ?></div>
  33. <div id="desc_staff" style=" <?php if($s['online'] == '0') { ?>background: #EF5350;<?php } elseif($s['online'] == '1') { ?>background: #4CAF50;<?php } ?>"><?php $gradesql = $bdd->query("SELECT * FROM ranks WHERE id = '".safe($s['rank'],'SQL')."'"); while($grade = $gradesql->fetch()) { print $grade['name']; } ?></div>
  34. <center><img src="<?php print Settings('C_Images'); ?>/album1584/ADM.gif" style="
  35. box-shadow: 0px 3px 7px rgba(239, 83, 80, 0.46); border-radius: 26px;
  36. margin-bottom: 9px;
  37. "><div style="background-image:url(<?php print Settings('Avatarimage'); ?>avatarimage?figure=<?php print $s['look'] ; ?>&direction=3&head_direction=3&gesture=sml&action=&size=l); height: 101px;
  38. background-position: 12px -41px;z-index: 999;"></div></center>
  39. <center>
  40. <?php if($s['online'] == '0') { ?>
  41. <a class="button raised red" style="
  42. width: auto;
  43. padding: 0px 14px;
  44. margin-bottom: -4px;
  45. margin-top: 7px;
  46. ">
  47. <div class="center" style="line-height: 32px;" fit="">Hors ligne</div>
  48. <paper-ripple fit=""></paper-ripple>
  49. </a>
  50. <?php } elseif($s['online'] == '1') { ?>
  51. <a class="button raised green" style="
  52. width: auto;
  53. padding: 0px 14px;
  54. margin-bottom: -4px;
  55. margin-top: 7px;
  56. ">
  57. <div class="center" style="line-height: 32px;" fit="">En ligne</div>
  58. <paper-ripple fit=""></paper-ripple>
  59. </a>
  60. <?php } ?>
  61. </center> </div>
  62. <?php } ?>
  63.  
  64. </xss> </div></div></div></div>
  65.  
  66. <?php include './templates/footer.php'; ?>
  67.  
  68. </body>
  69. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement