Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title></title>
- <style type="text/css">
- body{overflow:hidden;}.button{margin-top:0px;left:0px;top:0px;-moz-box-shadow:inset 0 1px 0 0 #fff;-webkit-box-shadow:inset 0 1px 0 0 #fff;box-shadow:inset 0 1px 0 0 #fff;background-color:#ededed;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;border:1px solid #dcdcdc;display:inline-block;color:#777;font-family:arial;font-weight:700;text-decoration:none;text-shadow:1px 1px 0 #fff;height:20px;width:50px}.button:hover{background-color:#e8e8e8}.button:active{position:relative;top:1px}.votes{margin-top:0px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;height:20px;width:45px;float:right;background-color:#FAFAFA;border:1px solid #D4D4D4;font-family:Helvetica,Arial;font-size:15px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none}.parent{width:110px;margin-top:0px;}
- </style>
- </head>
- <body>
- <?php
- $id = $_GET['id'];
- if(!is_numeric($id)) {
- die("Ungültige id");
- }
- $votes = file_get_contents("http://minecraft-server.eu/votes.php?server=" . $id);
- ?>
- <div class="parent">
- <button class="button" onclick="window.location='http://www.minecraft-server.eu/index.php?go=servervote&id=<?php echo $id;?>';">Voten</button>
- <div class="votes"> <?php echo $votes;?> </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement