Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 7.92 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Bannlysningar - &nbsp;Pokerfreak.se - Gaming p&aring; svenska</title>
  5.  
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  7.    
  8. <link rel="stylesheet" href="http://cdn2.editmysite.com/css/sites.css?buildTime=1234" type="text/css" /><link rel='stylesheet' type='text/css' href='http://cdn1.editmysite.com/editor/libraries/fancybox/fancybox.css?1234' />
  9. <link rel='stylesheet' type='text/css' href='files/main_style.css?1414193836' title='wsite-theme-css' />
  10. <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
  11. <link href='http://fonts.googleapis.com/css?family=Montserrat+Alternates:400,700&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
  12. <style type='text/css'>
  13. .wsite-elements.wsite-not-footer div.paragraph, .wsite-elements.wsite-not-footer p, .wsite-elements.wsite-not-footer .product-block .product-title, .wsite-elements.wsite-not-footer .product-description, .wsite-elements.wsite-not-footer .wsite-form-field label, .wsite-elements.wsite-not-footer .wsite-form-field label, #wsite-content div.paragraph, #wsite-content p, #wsite-content .product-block .product-title, #wsite-content .product-description, #wsite-content .wsite-form-field label, #wsite-content .wsite-form-field label, .blog-sidebar div.paragraph, .blog-sidebar p, .blog-sidebar .wsite-form-field label, .blog-sidebar .wsite-form-field label {}
  14. #wsite-content div.paragraph, #wsite-content p, #wsite-content .product-block .product-title, #wsite-content .product-description, #wsite-content .wsite-form-field label, #wsite-content .wsite-form-field label, .blog-sidebar div.paragraph, .blog-sidebar p, .blog-sidebar .wsite-form-field label, .blog-sidebar .wsite-form-field label {}
  15. .wsite-elements.wsite-footer div.paragraph, .wsite-elements.wsite-footer p, .wsite-elements.wsite-footer .product-block .product-title, .wsite-elements.wsite-footer .product-description, .wsite-elements.wsite-footer .wsite-form-field label, .wsite-elements.wsite-footer .wsite-form-field label{}
  16. .wsite-elements.wsite-not-footer h2, .wsite-elements.wsite-not-footer .product-long .product-title, .wsite-elements.wsite-not-footer .product-large .product-title, .wsite-elements.wsite-not-footer .product-small .product-title, #wsite-content h2, #wsite-content .product-long .product-title, #wsite-content .product-large .product-title, #wsite-content .product-small .product-title, .blog-sidebar h2 {}
  17. #wsite-content h2, #wsite-content .product-long .product-title, #wsite-content .product-large .product-title, #wsite-content .product-small .product-title, .blog-sidebar h2 {}
  18. .wsite-elements.wsite-footer h2, .wsite-elements.wsite-footer .product-long .product-title, .wsite-elements.wsite-footer .product-large .product-title, .wsite-elements.wsite-footer .product-small .product-title{}
  19. #wsite-title {}
  20. .wsite-menu-default a {}
  21. .wsite-menu a {}
  22. .wsite-image div, .wsite-caption {}
  23. .galleryCaptionInnerText {}
  24. .fancybox-title {}
  25. .wslide-caption-text {}
  26. .wsite-phone {}
  27. .wsite-headline {}
  28. .wsite-headline-paragraph {}
  29. .wsite-button-inner {}
  30. .wsite-not-footer blockquote, #wsite-com-product-tab blockquote {}
  31. .wsite-footer blockquote {}
  32. .blog-header h2 a {}
  33. #wsite-content h2.wsite-product-title {}
  34. .wsite-product .wsite-product-price a {}
  35. </style>
  36.  
  37. <script><!--
  38. var STATIC_BASE = '//cdn1.editmysite.com/';
  39. var STYLE_PREFIX = 'wsite';
  40. //-->
  41. </script>
  42. <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
  43. <script src='http://cdn2.editmysite.com/js/site/main.js?buildTime=1234'></script>
  44. <script>_W.relinquish && _W.relinquish()</script>
  45. <script type='text/javascript'><!--
  46. var IS_ARCHIVE=1;
  47. (function(jQuery){
  48. function initFlyouts(){initPublishedFlyoutMenus([{"id":"254094828752645110","title":"Start","url":"index.html","target":""},{"id":"481050419584502937","title":"YouTube","url":"youtube.html","target":""},{"id":"641047422235897781","title":"Minecraft","url":"minecraft.html","target":""},{"id":"470060717304207327","title":"Donera","url":"donera.html","target":""},{"id":"708981432588014166","title":"Om","url":"om.html","target":""},{"id":"438658604425463498","title":"Nyhetsbrev","url":"nyhetsbrev.html","target":""},{"id":"808267226834601778","title":"Kontakt","url":"kontakt.html","target":""},{"id":"105589288594941960","title":"Bannlysningar","url":"bannlysningar.php","target":""}],"105589288594941960","<li><a href='#'>{{title}}<\/a><\/li>",'active',false)}
  49. if (jQuery) {
  50. if (jQuery.browser.msie && !window.flyoutMenusRefreshable) window.onload = initFlyouts;
  51. else jQuery(initFlyouts);
  52. }else{
  53. if (Prototype.Browser.IE) window.onload = initFlyouts;
  54. else document.observe('dom:loaded', initFlyouts);
  55. }
  56. })(window._W && _W.jQuery)
  57. //-->
  58. </script>
  59. </head>
  60. <body class='no-header-page  wsite-theme-light wsite-page-bannlysningar'>
  61. <div id="header-wrap">
  62.        <div class="container">
  63.      <div id="logo"><span class='wsite-logo'><a href='index.html'><span id="wsite-title">&nbsp;Pokerfreak.se - Gaming p&aring; svenska</span></a></span></div>
  64.       <div id="nav"><ul class='wsite-menu-default'><li id='pg254094828752645110'><a href='index.html'>Start</a></li><li id='pg481050419584502937'><a href='youtube.html'>YouTube</a></li><li id='pg641047422235897781'><a href='minecraft.html'>Minecraft</a></li><li id='pg470060717304207327'><a href='donera.html'>Donera</a></li><li id='pg708981432588014166'><a href='om.html'>Om</a></li><li id='pg438658604425463498'><a href='nyhetsbrev.html'>Nyhetsbrev</a></li><li id='pg808267226834601778'><a href='kontakt.html'>Kontakt</a></li><li id='active'><a href='bannlysningar.php'>Bannlysningar</a></li></ul></div>
  65.         </div><!-- end container -->
  66.     </div><!-- end header-wrap -->  
  67.  
  68.     <div id="main-wrap">
  69.         <div class="container">
  70.         <div id='wsite-content' class='wsite-elements wsite-not-footer'>
  71. <h2 class="wsite-content-title" style="text-align:left;">Bannlysningar</h2>
  72.  
  73. <div class="paragraph" style="text-align:left;">Brott mot regler på någon av våra spelservrar leder såklart till bannlysning, i värsta fall till alla spelservrar. Här visas bannade spelare på communityts olika servrar! Vill du få en ny chans så kommer detta finnas att köpa för 50 kronor inom en snar framtid, dock inte ännu. Om du upplever att din ban är orättvis eller inte borde finnas så kontakta oss med en utförlig version av varför den är felaktig på kontakt-fliken.</div></html>
  74.  
  75. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  76. <html>
  77. <head>
  78. <link rel="stylesheet" type="text/css" href="stylesheet-banlist.css">
  79. <meta http-equiv="content-type" content="text/plain;charset=utf-8">
  80. </head>
  81. <body>
  82. <?php
  83.  
  84. //Database Connect Info
  85.  
  86.   $server = "Secret";
  87.   $dbuser = "Secret";
  88.   $dbpass = "Secret";
  89.   $dbname = "Secret";
  90.  
  91. //Open Connection
  92.  
  93. mysql_connect($server, $dbuser, $dbpass)or die("<b style=color:red>Fel: Kunde inte ansluta till databasen. Kontakta Jacob, jacob@pokerfreak.se</b>");
  94. mysql_select_db($dbname)or die("Kunde inte valja databas");
  95.  
  96. // Query the database for results and loop thru them
  97. $result = mysql_query("SELECT * FROM bm_bans ORDER BY banned ASC")or die("Fel i MySQL_Query");
  98.  
  99. if ($row['server-type']!="alla servrar") {
  100.   $servertype = $row['server-type'];
  101. } else {
  102.   $servertype = "allaservrar";
  103. }
  104.  
  105. echo $servertype;
  106.  
  107. while($row = mysql_fetch_assoc($result))
  108. {
  109.     echo '<center><div class="box">
  110.     <div id="info">
  111.         <p>Spelaren <strong>' . $row['banned'] . '</strong> är bannad av <strong>' . $row['banned_by'] . ' </strong>på följande spelserver: <strong>' . $row['server-type'] . '</strong>. <a href="http://pokerfreak.meximas.com/unban/' . $row['server-type'] . '.php">Unbanna detta konto</a></p>
  112.     </div>
  113.     </div></center>';
  114. }
  115. ?>
  116.  
  117. <html></div>
  118.  
  119.         </div><!-- end container -->
  120.     </div><!-- end main-wrap -->
  121.  
  122.     <div id="footer-wrap">
  123.     </div><!-- end footer-wrap -->
  124.  
  125. </body>
  126. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement