Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include("connect.php");
- session_start();
- ?>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Players Online - Condemned MMO</title>
- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
- <link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
- <script src="//code.jquery.com/jquery-1.10.2.js"></script>
- <script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
- <script>
- $(function() {
- $( "#accordion" ).accordion({
- collapsible: true,
- active: false,
- heightStyle: "content"
- });
- });
- $(function() {
- $( "#accordion1" ).accordion({
- collapsible: true,
- active: false,
- heightStyle: "content"
- });
- });
- $(function() {
- $( "#accordion2" ).accordion({
- collapsible: true,
- active: false,
- heightStyle: "content"
- });
- });
- $(function() {
- $( "#accordion4" ).accordion({
- collapsible: true,
- active: false,
- heightStyle: "content"
- });
- });
- </script>
- <body bgcolor="#686868 "></body>
- <body background="WarZ.jpg" style="background-size: 100% 100%;">
- <style>
- .ventanas{
- border-right : #DCDCDC 2px solid;
- border-top : #DCDCDC 1px solid;
- border-bottom: #DCDCDC 1px solid;
- border-left : #DCDCDC 1px solid;
- font-style: normal;
- font-family: Arial;
- font-weight: normal;
- font-size: 12px;
- padding-right : 0px;
- padding-left : 0px;
- padding-top : 0px;
- padding-bottom: 0px;
- border-collapse:separate;
- border-spacing:0px 0px 0px 0px;
- border-radius: 5px 0px 0px 0px;
- -moz-border-radius: 5px 30px 45px 60px;
- -webkit-border-radius: 15px;
- }
- .ventanas2{
- border-right : #DCDCDC 2px solid;
- border-top : #DCDCDC 1px solid;
- border-bottom: #DCDCDC 1px solid;
- border-left : #DCDCDC 1px solid;
- font-style: normal;
- font-family: Arial;
- font-weight: normal;
- font-size: 12px;
- padding-right : 0px;
- padding-left : 0px;
- padding-top : 0px;
- padding-bottom: 0px;
- border-collapse:separate;
- border-spacing:0px 0px 0px 0px;
- border-radius: 5px 0px 0px 0px;
- -moz-border-radius: 5px 30px 45px 60px;
- -webkit-border-radius: 15px;
- }
- hr {border: 1px dashed #C0C0C0; height: 0; width: 100%;}
- .row{
- margin-top:40px;
- padding: 0 10px;
- }
- .clickable{
- cursor: pointer;
- }
- .panel-heading span {
- margin-top: -20px;
- font-size: 15px;
- }
- table a:link {
- color: #666;
- font-weight: bold;
- text-decoration:none;
- }
- table a:visited {
- color: #999999;
- font-weight:bold;
- text-decoration:none;
- }
- table a:active,
- table a:hover {
- color: #bd5a35;
- text-decoration:underline;
- }
- table {
- font-family:Arial, Helvetica, sans-serif;
- color:#666;
- font-size:12px;
- text-shadow: 1px 1px 0px #fff;
- background:#eaebec;
- margin:20px;
- border:#ccc 1px solid;
- -moz-border-radius:3px;
- -webkit-border-radius:3px;
- border-radius:3px;
- -moz-box-shadow: 0 1px 2px #d1d1d1;
- -webkit-box-shadow: 0 1px 2px #d1d1d1;
- box-shadow: 0 1px 2px #d1d1d1;
- }
- table th {
- padding:21px 25px 22px 25px;
- border-top:1px solid #fafafa;
- border-bottom:1px solid #e0e0e0;
- background: #ededed;
- background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
- background: -moz-linear-gradient(top, #ededed, #ebebeb);
- }
- table th:first-child {
- text-align: left;
- padding-left:20px;
- }
- table tr:first-child th:first-child {
- -moz-border-radius-topleft:3px;
- -webkit-border-top-left-radius:3px;
- border-top-left-radius:3px;
- }
- table tr:first-child th:last-child {
- -moz-border-radius-topright:3px;
- -webkit-border-top-right-radius:3px;
- border-top-right-radius:3px;
- }
- table tr {
- text-align: center;
- padding-left:20px;
- }
- table td:first-child {
- text-align: left;
- padding-left:20px;
- border-left: 0;
- }
- table td {
- padding:18px;
- border-top: 1px solid #ffffff;
- border-bottom:1px solid #e0e0e0;
- border-left: 1px solid #e0e0e0;
- background: #fafafa;
- background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
- background: -moz-linear-gradient(top, #fbfbfb, #fafafa);
- }
- table tr:nth-of-type(even) td {
- background: #f6f6f6;
- background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6));
- background: -moz-linear-gradient(top, #f8f8f8, #f6f6f6);
- }
- table tr:last-child td {
- border-bottom:0;
- }
- table tr:last-child td:first-child {
- -moz-border-radius-bottomleft:3px;
- -webkit-border-bottom-left-radius:3px;
- border-bottom-left-radius:3px;
- }
- table tr:last-child td:last-child {
- -moz-border-radius-bottomright:3px;
- -webkit-border-bottom-right-radius:3px;
- border-bottom-right-radius:3px;
- }
- table tr:hover td {
- background: #f2f2f2;
- background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
- background: -moz-linear-gradient(top, #f2f2f2, #f0f0f0);
- }
- button,input {line-height: normal}
- button,select {text-transform: none}
- button,html input[type=button],input[type=reset],input[type=submit] {
- -webkit-appearance: button;
- cursor: pointer;
- *overflow: visible
- }
- button[disabled],html input[disabled] {cursor: default}
- input[type=checkbox],input[type=radio] {
- box-sizing: border-box;
- padding: 0;
- *height: 13px;
- *width: 13px
- }
- input[type=search] {
- -webkit-appearance: textfield;
- -moz-box-sizing: content-box;
- -webkit-box-sizing: content-box;
- box-sizing: content-box
- }
- input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration {-webkit-appearance: none}
- button::-moz-focus-inner,input::-moz-focus-inner {border: 0;padding:0}
- .pure-button {
- display: inline-block;
- *display: inline;
- zoom: 1;
- line-height: normal;
- white-space: nowrap;
- vertical-align: baseline;
- text-align: center;
- cursor: pointer;
- -webkit-user-drag: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none
- }
- .pure-button::-moz-focus-inner {padding: 0;border:0}
- .pure-button {
- font-family: inherit;
- font-size: 100%;
- *font-size: 90%;
- *overflow: visible;
- padding: .5em 1em;
- color: #444;
- color: rgba(0,0,0,.8);
- *color: #444;
- border: 1px solid #999;
- border: 0 rgba(0,0,0,0);
- background-color: #E6E6E6;
- text-decoration: none;
- border-radius: 2px
- }
- .pure-button-hover,.pure-button:hover,.pure-button:focus {
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000', GradientType=0);
- background-image: -webkit-gradient(linear,0 0,0 100%,from(transparent),color-stop(40%,rgba(0,0,0,.05)),to(rgba(0,0,0,.1)));
- background-image: -webkit-linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1));
- background-image: -moz-linear-gradient(top,rgba(0,0,0,.05) 0,rgba(0,0,0,.1));
- background-image: -o-linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1));
- background-image: linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1))
- }
- .pure-button:focus {outline: 0}
- .pure-button-active,.pure-button:active {box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset,0 0 6px rgba(0,0,0,.2) inset}
- .pure-button[disabled],.pure-button-disabled,.pure-button-disabled:hover,.pure-button-disabled:focus,.pure-button-disabled:active {
- border: 0;
- background-image: none;
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
- filter: alpha(opacity=40);
- -khtml-opacity: .4;
- -moz-opacity: .4;
- opacity: .4;
- cursor: not-allowed;
- box-shadow: none
- }
- .pure-button-hidden {display: none}
- .pure-button::-moz-focus-inner {padding: 0;border:0}
- .pure-button-primary,.pure-button-selected,a.pure-button-primary,a.pure-button-selected {background-color: #0078e7;color:#fff}
- .pure-form input[type=text],.pure-form input[type=password],.pure-form input[type=email],.pure-form input[type=url],.pure-form input[type=date],.pure-form input[type=month],.pure-form input[type=time],.pure-form input[type=datetime],.pure-form input[type=datetime-local],.pure-form input[type=week],.pure-form input[type=number],.pure-form input[type=search],.pure-form input[type=tel],.pure-form input[type=color],.pure-form select,.pure-form textarea {
- padding: .5em .6em;
- display: inline-block;
- border: 1px solid #ccc;
- box-shadow: inset 0 1px 3px #ddd;
- border-radius: 4px;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box
- }
- .pure-form input:not([type]) {
- padding: .5em .6em;
- display: inline-block;
- border: 1px solid #ccc;
- box-shadow: inset 0 1px 3px #ddd;
- border-radius: 4px;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box
- }
- .pure-form input[type=color] {padding: .2em .5em}
- .pure-form input[type=text]:focus,.pure-form input[type=password]:focus,.pure-form input[type=email]:focus,.pure-form input[type=url]:focus,.pure-form input[type=date]:focus,.pure-form input[type=month]:focus,.pure-form input[type=time]:focus,.pure-form input[type=datetime]:focus,.pure-form input[type=datetime-local]:focus,.pure-form input[type=week]:focus,.pure-form input[type=number]:focus,.pure-form input[type=search]:focus,.pure-form input[type=tel]:focus,.pure-form input[type=color]:focus,.pure-form select:focus,.pure-form textarea:focus {
- outline: 0;
- outline: thin dotted 9;
- border-color: #129FEA
- }
- .pure-form input:not([type]):focus {
- outline: 0;
- outline: thin dotted 9;
- border-color: #129FEA
- }
- .pure-form input[type=file]:focus,.pure-form input[type=radio]:focus,.pure-form input[type=checkbox]:focus {outline: thin dotted #333;outline:1px auto #129FEA}
- .pure-form .pure-checkbox,.pure-form .pure-radio {margin: .5em 0;display:block}
- .pure-form input[type=text][disabled],.pure-form input[type=password][disabled],.pure-form input[type=email][disabled],.pure-form input[type=url][disabled],.pure-form input[type=date][disabled],.pure-form input[type=month][disabled],.pure-form input[type=time][disabled],.pure-form input[type=datetime][disabled],.pure-form input[type=datetime-local][disabled],.pure-form input[type=week][disabled],.pure-form input[type=number][disabled],.pure-form input[type=search][disabled],.pure-form input[type=tel][disabled],.pure-form input[type=color][disabled],.pure-form select[disabled],.pure-form textarea[disabled] {
- cursor: not-allowed;
- background-color: #eaeded;
- color: #cad2d3
- }
- .pure-form input:not([type])[disabled] {
- cursor: not-allowed;
- background-color: #eaeded;
- color: #cad2d3
- }
- .pure-form input[readonly],.pure-form select[readonly],.pure-form textarea[readonly] {
- background: #eee;
- color: #777;
- border-color: #ccc
- }
- .pure-form input:focus:invalid,.pure-form textarea:focus:invalid,.pure-form select:focus:invalid {color: #b94a48;border-color:#ee5f5b}
- .pure-form input:focus:invalid:focus,.pure-form textarea:focus:invalid:focus,.pure-form select:focus:invalid:focus {border-color: #e9322d}
- .pure-form input[type=file]:focus:invalid:focus,.pure-form input[type=radio]:focus:invalid:focus,.pure-form input[type=checkbox]:focus:invalid:focus {outline-color: #e9322d}
- .pure-form select {border: 1px solid #ccc;background-color:#fff}
- .pure-form select[multiple] {height: auto}
- .pure-form label {margin: .5em 0 .2em}
- .pure-form-stacked input[type=text],.pure-form-stacked input[type=password],.pure-form-stacked input[type=email],.pure-form-stacked input[type=url],.pure-form-stacked input[type=date],.pure-form-stacked input[type=month],.pure-form-stacked input[type=time],.pure-form-stacked input[type=datetime],.pure-form-stacked input[type=datetime-local],.pure-form-stacked input[type=week],.pure-form-stacked input[type=number],.pure-form-stacked input[type=search],.pure-form-stacked input[type=tel],.pure-form-stacked input[type=color],.pure-form-stacked select,.pure-form-stacked label,.pure-form-stacked textarea {display: block;margin:.25em 0}
- .pure-form-stacked input:not([type]) {display: block;margin:.25em 0}
- .pure-form-aligned input,.pure-form-aligned textarea,.pure-form-aligned select,.pure-form-aligned .pure-help-inline,.pure-form-message-inline {
- display: inline-block;
- *display: inline;
- *zoom: 1;
- vertical-align: middle
- }
- </style>
- <center><table cellspacing='0'>
- <thead>
- <tr>
- <th>Name</th>
- <th>Type</th>
- </tr>
- </thead>
- <tbody>
- <font color="red"><center><b>Players Online in past 15 Minutes</b></center></font>
- <?php
- $sqlcall = "{CALL WEB_PlayersOnline}";
- $query = sqlsrv_query($conexion,$sqlcall)or die(print_r(sqlsrv_errors(),true));
- while ($row = sqlsrv_fetch_array($query))
- {
- $name = $row["Gamertag"];
- $isDev = $row["IsDeveloper"];
- $accType = $row["AccountType"];
- Echo "<tr><td>" . $name . "</td>";
- if($isDev){
- echo "<td><font color=red>Developer</font></td></tr>";
- } elseif($accType == 0) {
- echo "<td><Font color=#EDDA74>Donator</font></td></tr>";
- } else {
- echo "<td>Regular Account</td></tr>";
- }
- }
- ?>
- </tbody>
- </table></center>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement