Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <HEAD>
- <style type="text/css">
- <!--
- body {cursor: url('cursor.ani');}
- -->
- </style>
- </HEAD>
- <?php
- $sound = "<embed src='http://murder-city.com/includes/test2.wav' height=0 width=0 hidden=true autostart=true loop=false volume=100 />";
- $q_ry = array();
- $q_ry = "SELECT e_id
- FROM member_events
- WHERE e_playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'
- AND e_read = '0'";
- $evs = array();
- $evs = mysql_query($q_ry);
- if (mysql_num_rows($evs)) {
- echo "$sound";
- }
- ?>
- <style type="text/css">
- tr .odd {
- background: url(images/odd.png) repeat-y left top;
- }
- tr .even {
- background: url(images/even.png) repeat-y left top;
- }
- body {
- margin-top:0px;
- text-align:center;
- color:black;
- }
- a:visited,a:active,a:link {
- color: black;text-decoration: underline;
- }
- a:hover {
- color: black;text-decoration: underline;
- }
- <?php
- if (ae_detect_ie()) {
- ?>
- tr .odd {
- background: url(images/ieodd.png) no-repeat center top;
- }
- tr .even {
- background: url(images/ieeven.png) no-repeat center top;
- }
- tr .even:hover, tr .odd:hover {
- background: url(images/iehover.png) no-repeat center top;
- }
- tr .odds {
- background: url(images/ieodds.png) no-repeat center top;
- }
- tr .evens {
- background: url(images/ieevens.png) no-repeat center top;
- }
- tr .evens:hover, tr .odds:hover {
- background: url(images/iehovers.png) no-repeat center top;
- }
- input {
- border:0px;
- }
- input.nostyle {
- border:0px;
- }
- main {
- font-family:helvetica, arial, geneva, sans-serif;font-size:14px; color: black;
- font-weight: 800px;
- }
- <?php
- }
- ?>
- <?php
- if (!ae_detect_ie()) {
- ?>
- tr .odd {
- background: url(images/odd.png) repeat-y left top;
- }
- tr .even {
- background: url(images/even.png) repeat-y left top;
- }
- tr .even:hover, tr .odd:hover {
- background: url(images/ffhover.png) repeat-y left top;
- }
- tr .odds {
- background: url(images/odd.png) repeat-y left top;
- }
- tr .evens {
- background: url(images/even.png) repeat-y left top;
- }
- tr .evens:hover, tr .odds:hover {
- background: url(images/ffhover.png) repeat-y left top;
- }
- input {
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- background-color: #FFFFFF;
- -moz-border-radius: 7px;
- -webkit-border-radius: 5px;
- border:solid; style="
- background-color:
- #000000; 1px
- padding: 10px;"
- }
- input.nostyle {
- border:0px;
- }
- main {
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- font-weight: 800;
- text-shadow: #363636 0px 0px 4px;
- }
- <?php
- }
- ?>
- .trainbutt {
- -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
- -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
- box-shadow:inset 0px 1px 0px 0px #ffffff;
- background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
- background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
- filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
- background-color:#ededed;
- -webkit-border-top-left-radius:0px;
- -moz-border-radius-topleft:0px;
- border-top-left-radius:0px;
- -webkit-border-top-right-radius:0px;
- -moz-border-radius-topright:0px;
- border-top-right-radius:0px;
- -webkit-border-bottom-right-radius:0px;
- -moz-border-radius-bottomright:0px;
- border-bottom-right-radius:0px;
- -webkit-border-bottom-left-radius:0px;
- -moz-border-radius-bottomleft:0px;
- border-bottom-left-radius:0px;
- text-indent:0;
- border:1px solid #dcdcdc;
- display:inline-block;
- color:#777777;
- font-family:Arial;
- font-size:15px;
- font-weight:normal;
- font-style:normal;
- height:20px;
- line-height:20px;
- width:59px;
- text-decoration:none;
- text-align:center;
- text-shadow:1px 1px 0px #ffffff;
- }
- .trainbutt:hover {
- background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
- background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
- filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
- background-color:#dfdfdf;
- }.trainbutt:active {
- position:relative;
- top:1px;
- }
- .endbut {
- -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
- -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
- box-shadow:inset 0px 1px 0px 0px #ffffff;
- background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
- background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
- filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
- background-color:#ededed;
- -webkit-border-top-left-radius:0px;
- -moz-border-radius-topleft:0px;
- border-top-left-radius:0px;
- -webkit-border-top-right-radius:0px;
- -moz-border-radius-topright:0px;
- border-top-right-radius:0px;
- -webkit-border-bottom-right-radius:0px;
- -moz-border-radius-bottomright:0px;
- border-bottom-right-radius:0px;
- -webkit-border-bottom-left-radius:0px;
- -moz-border-radius-bottomleft:0px;
- border-bottom-left-radius:0px;
- text-indent:0;
- border:1px solid #dcdcdc;
- display:inline-block;
- color:#777777;
- font-family:Arial;
- font-size:16px;
- font-weight:normal;
- font-style:normal;
- height:55px;
- line-height:55px;
- width:112px;
- text-decoration:none;
- text-align:center;
- text-shadow:1px 1px 0px #ffffff;
- }
- .endbut:hover {
- background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
- background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
- filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
- background-color:#dfdfdf;
- cursor: pointer;
- }.endbut:active {
- position:relative;
- top:1px;
- }
- .trainbut {
- -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
- -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
- box-shadow:inset 0px 1px 0px 0px #ffffff;
- background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
- background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
- filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
- background-color:#ededed;
- -webkit-border-top-left-radius:0px;
- -moz-border-radius-topleft:0px;
- border-top-left-radius:0px;
- -webkit-border-top-right-radius:0px;
- -moz-border-radius-topright:0px;
- border-top-right-radius:0px;
- -webkit-border-bottom-right-radius:0px;
- -moz-border-radius-bottomright:0px;
- border-bottom-right-radius:0px;
- -webkit-border-bottom-left-radius:0px;
- -moz-border-radius-bottomleft:0px;
- border-bottom-left-radius:0px;
- text-indent:0;
- border:1px solid #dcdcdc;
- display:inline-block;
- color:#777777;
- font-family:Arial;
- font-size:15px;
- font-weight:normal;
- font-style:normal;
- height:20px;
- line-height:20px;
- width:59px;
- text-decoration:none;
- text-align:center;
- text-shadow:1px 1px 0px #ffffff;
- cursor: pointer;
- }
- .trainbut:hover {
- background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
- background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
- filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
- background-color:#dfdfdf;
- cursor: pointer;
- }.trainbut:active {
- position:relative;
- top:1px;
- }
- main {
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- font-weight: 800;
- text-shadow: #363636 0px 0px 4px;
- }
- input.chat {
- font-size:10px;
- border:1px lightblue solid;
- cursor:pointer;
- }
- textarea {
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- background-color: #FFFFFF;
- -moz-border-radius: 7px;
- -webkit-border-radius: 5px;
- border:solid; style="
- background-color:
- #000000; 1px
- padding: 10px;"
- }
- textarea.nostyle {
- font-size:10px;
- border:1px lightblue solid;
- }
- .maintable {
- margin-top:10px;
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- -moz-border-radius: 7px;
- -webkit-border-radius: 5px;
- border: style="
- background-color:
- #000000; 1px solid #000000;
- padding: 5px;"
- }
- .maintable td {
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- font-size:12px;
- }
- .rounded {
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- -moz-border-radius: 1em;
- -moz-box-shadow: 0px 2px 20px rgba(0,0,0,0.9);
- border: style="
- background-color:
- #ffffff; 1px;
- padding: 5px;"
- }
- .bj {
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- -moz-border-radius: 10em;
- -moz-box-shadow: 0px 2px 20px rgba(0,0,0,0.9);
- border: style="
- background-color:
- green; 1px;
- padding: 5px;"
- }
- .rounded td.round {
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- -moz-border-radius: 1em;
- }
- .forum {
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- background-color:#E3E3E3;
- -moz-border-radius: 1em;
- -moz-box-shadow: 0px 2px 20px rgba(0,0,255,0.9);
- border: style="
- background-color:
- #ffffff; 1px;
- padding: 5px;"
- }
- .red {
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- background-color:#E3E3E3;
- -moz-border-radius: 1em;
- -moz-box-shadow: 0px 2px 20px rgba(252,3,3,0.9);
- border: style="
- background-color:
- #ffffff; 1px;
- padding: 5px;"
- }
- .orange {
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- background-color:#E3E3E3;
- -moz-border-radius: 1em;
- -moz-box-shadow: 0px 2px 20px rgba(255,165,0,0.9);
- border: style="
- background-color:
- #ffffff; 1px;
- padding: 5px;"
- }
- .forum td.round {
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- -moz-border-radius: 1em;
- }
- .properties {
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- background-color:#E3E3E3;
- -moz-border-radius: 1em;
- -moz-box-shadow: 0px 2px 20px rgba(124,252,0,0.9);
- border: style="
- background-color:
- #ffffff; 1px;
- padding: 5px;"
- }
- .properties td.round {
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- -moz-border-radius: 1em;
- }
- .properties table.movedin {
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- -moz-border-radius: 1em;
- }
- .forumreply {
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- -moz-border-radius: 1em;
- -moz-box-shadow: 0px 2px 20px rgba(255,0,0,1);
- border: style="
- background-color:
- #ffffff; 1px;
- padding: 5px;"
- }
- .forumreply td.round {
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- -moz-border-radius: 1em;
- }
- .menu {
- margin-top:2px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- background-color:#E3E3E3;
- -moz-border-radius: 12px 22px;
- -moz-box-shadow: 0px 2px 20px rgba(0,0,0,0.9);
- border: style="
- background-color:
- #000000; 1px solid #000000;
- padding: 5px;"
- }
- .menu td {
- background-color: #FFFFFF;
- }
- .menu td.a:visited,a:active,a:link {
- color: black;text-decoration: none;
- }
- #banner {
- width:800px;
- height:70px;
- align:center;
- }
- #btmbar {
- bottom:0;
- right:5px;
- position:fixed;
- background-color:#FFFFFF;
- height:25px;
- }
- #staffbar {
- bottom:0px;
- right:0px;
- left:0px;
- border:1px;
- position:fixed;
- text-align: center;
- }
- #BARfrndlist {
- bottom:25px;
- right:9px;
- position:fixed;
- background-color:#A1A1A1;
- width:150px;
- }
- #BARwindow1 {
- bottom:25px;
- right:174px;
- position:fixed;
- background-color:#E3E3E3;
- width:175px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- }
- #BARwindow2 {
- bottom:25px;
- right:354px;
- position:fixed;
- background-color:#E3E3E3;
- width:175px;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- }
- #BARfriends {
- width:150px;
- border:1px #000000 solid;
- }
- .chtbx {
- width:175px;
- border:1px #000000 solid;
- text-align:left;
- }
- .popUp {
- display:none;
- left: auto;
- right: auto;
- }
- #procomments {
- display:none;
- }
- .popUpOpen {
- display:block;
- bottom:230px;
- left: 450px;
- position:fixed;
- background-color:#E3E3E3;
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- margin-top:2px;
- -moz-border-radius: 1em;
- -moz-box-shadow: 0px 2px 20px rgba(0,0,255,0.9);
- border: style="
- background-color:
- #ffffff; 1px;
- padding: 5px;"
- }
- tr .even:hover, tr .odd:hover {
- background: none repeat scroll 0 0 #54C2F0;
- border-bottom-right-radius: 7px;
- border-right: 1px solid transparent;
- box-shadow: 1px 2px 2px #999999;
- cursor: pointer;
- }
- tr .odds {
- background: url(images/odd.png) repeat-y left top;
- }
- tr .evens {
- background: url(images/even.png) repeat-y left top;
- }
- tr .evens:hover, tr .odds:hover{
- background: none repeat scroll 0 0 #54C2F0;
- border-bottom-right-radius: 7px;
- border-right: 1px solid transparent;
- box-shadow: 1px 2px 2px #999999;
- cursor: pointer;
- }
- input {
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- background-color: #FFFFFF;
- -moz-border-radius: 7px;
- -webkit-border-radius: 5px;
- border:1px solid #000000;
- }
- input.nostyle {
- border:0px;
- }
- #top_header-wrap {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- }
- #hederimage {
- height: 48px;
- background: url( ../images/headerbgimage.png) repeat-x left bottom;
- valign: center;
- }
- #headeroverlay {
- width: 85%;
- margin: 0 auto;
- position: relative;
- }
- #top_header h1 {
- color: #beffbf;
- text-align: right;
- width: 290px;
- margin: 0;
- position: absolute;
- left: 0;
- top: 20px;
- }
- #top_header h1 em{
- color: #90b874;
- font-size: small;
- display: block;
- }
- #top_header ul {
- margin: 0;
- padding: 0;
- list-style: none;
- position: absolute;
- top: 8px;
- right: 0;
- }
- #top_header ul li {
- float: left;
- }
- #top_header ul li a{
- color: #90b874;
- font-weight: bold;
- font-size: 1.4em;
- text-decoration: none;
- }
- #top_header ul li a:hover {
- color: #beffbf;
- }
- main {
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color:#FFFFFF ;
- font-weight: 800;
- text-shadow: #363636 0px 0px 4px;
- }
- .crime_result {
- border:1px solid #000000;
- border-radius:5px;
- background-color:#FFFFFF;
- font-weight:bold;
- }
- .crime_stats {
- border:1px solid #000000;
- border-radius:5px;
- color:#999999;
- background-color:#555555;
- }
- #crimelink:hover{
- background-color:#888888;
- color:#222222;
- cursor:pointer;
- }
- #tooltip {position:absolute;
- font-size:12px;
- z-index: 99999999;
- min-width: 50px;
- text-shadow: none !important;
- background: -webkit-gradient(linear, left top, left bottom, from(#4E4E4E), to(#262626));
- background: -moz-linear-gradient(top, #4E4E4E, #262626);
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4E4E4E', endColorstr='#262626');
- border: 1px solid #3A3A3A;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- box-shadow: 0px 0px 5px #FFFFFF;
- text-align:center;
- padding-left: 10px;
- padding-right: 10px;
- }
- #tooltip .tipHeader {
- height:8px;
- color:#ffffff;
- font-weight:bold;
- padding-bottom:0px;
- background:none;
- }
- #tooltip .tipBody {
- background: #000000;
- padding:0px;
- }
- #tooltip .tipFooter {
- height:8px;
- background:none;
- }
- .stats-bar-fill {
- height: 6px;
- }
- .clock_body {
- background: url("../images/crbar.png") repeat scroll 0 0 transparent;
- border: 1px solid #F1EFE1;
- border-radius: 10px 10px 10px 10px;
- color: #000000;
- cursor: default;
- text-align: center;
- padding-left:5px;
- padding-right:5px;
- font-weight:bold;
- text-align:center;
- font-size:11px;
- width: 55px;
- }
- #item_wrapper{
- border:1px solid #000000;
- text-align:center;
- cursor:pointer;
- }
- #item_wrapper:hover{
- background-color:#AABBCC;
- }
- .item_links{
- background-color:#F5FFFA;
- font-weight:bold;
- width:100%;
- }
- *html #tooltip .tipHeader {margin-bottom:-6px;}
- </style>
- <style> #all > tr {
- float: left; width: 200px;
- padding: 0 10px 0 0;
- }
- #all .turf_header {
- text-decoration: none;
- display: block;
- width:100%;
- border-radius: 20px;
- background:#990000;
- color: white;
- text-align: center;
- margin: 0 0 5px 0;
- }
- #all a {
- text-decoration: none;
- display: block;
- padding: 10px;
- color: white;
- text-align: center;
- margin: 0 0 5px 0;
- -webkit-transition: all 0.2s ease;
- -moz-transition: all 0.2s ease;
- -o-transition: all 0.2s ease;
- }
- #all:hover a {
- opacity: 0.2;
- }
- #all:hover tr:hover a {
- opacity: 0.5;
- }
- #all:hover tr:hover a:hover {
- opacity: 1;
- }</style>
- <link href="/css/banner.css" media="all" rel="stylesheet" type="text/css">
- <link href='css/newcss.css' rel='stylesheet' type='text/css'/>
- <link REL="SHORTCUT ICON" HREF="ico-icon.jpg">
- <title>Reunited City | Free Text Based RPG Game</title>
- <link type="text/css" rel="stylesheet" media="all" href="../css/chat.css" />
- <link type="text/css" rel="stylesheet" href="css/popup.css" />
- <link type="text/css" rel="stylesheet" href="css/profiles.css" />
- <link rel="stylesheet" type="text/css" href="css/incrementing.css" />
- <link type="text/css" rel="stylesheet" href="css/main_chat.css" />
- <link type="text/css" rel="stylesheet" href="css/style.css" />
- <link href="/css/lolno.css" media="all" rel="stylesheet" type="text/css">
- <link href="/css/sidebar.css?v=<?php
- echo time();
- ?>" rel="stylesheet" type="text/css" />
- <link href="/css/banner.css" media="all" rel="stylesheet" type="text/css">
- <link href="/css/dock.css" rel="stylesheet" type="text/css" />
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <script type="text/javascript" src="../js/jquery.js"></script>
- <script type="text/javascript" src="../js/incrementing.js"></script>
- <script src="../js/jquery-1.4.2.js" type="text/javascript"></script>
- <script type="text/javascript" src="../js/dock.js"></script>
- <script src="../js/popups.js" type="text/javascript"></script>
- <script type = 'text/javascript'>
- var timeoutId;
- $(document).ready(function() {
- $('[rel=tooltip]').mouseover(function(e) {
- var tip = $(this).attr('title');
- var tiptitle = $(this).attr('id');
- $(this).attr('title','','');
- $(this).css('cursor','pointer');
- $(this).append('<div id="tooltip"><div class="tipHeader">' + tiptitle + '</div><div class="tipBody">' + tip + '</div><div class="tipFooter"></div></div>');
- }).mouseout(function() {
- $(this).attr('title',$('.tipBody').html(),'id');
- $(this).children('div#tooltip').remove();
- });
- });
- </script>
- <script type="text/javascript">
- $(document).ready(
- function()
- {
- $('#dock').Fisheye(
- {
- maxWidth: 50,
- items: 'a',
- itemsText: 'span',
- container: '.dock-container',
- itemWidth: 40,
- proximity: 90,
- halign : 'center'
- }
- )
- }
- );
- </script>
- <script language="javascript" type="text/javascript">
- var timeOut = new Array();
- function postFormAjax(formname, url, number)
- {
- var xmlhttp;
- if (window.XMLHttpRequest)
- {
- xmlhttp=new XMLHttpRequest();
- }
- else
- {
- xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
- }
- if(xmlhttp)
- {
- var fields = new Array();
- if(formname)
- {
- var ajax = formname;
- }
- for(var x = 0; x < eval("document."+ajax+".elements.length"); x++)
- {
- eval("fields.push(document."+ajax+".elements[x].name+'='+document."+ajax+".elements[x].value)");
- }
- var sendf = fields.join('&');
- xmlhttp.open("POST", url, true);
- xmlhttp.onreadystatechange = function()
- {
- if(xmlhttp.readyState == 4)
- {
- if(xmlhttp.status == 200)
- {
- var elemn = "actionstatus" + number;
- document.getElementById(elemn).innerHTML = '';
- document.getElementById(elemn).innerHTML = xmlhttp.responseText;
- }
- }
- }
- xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
- xmlhttp.send(sendf);
- }
- }
- function loadNotes() {
- var xmlhttp;
- if(window.XMLHttpRequest) {
- xmlhttp = new XMLHttpRequest();
- }
- else
- {
- xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
- }
- xmlhttp.onreadystatechange=function()
- {
- if(xmlhttp.readyState==4) {
- document.getElementById("shownotes").innerHTML = xmlhttp.responseText;
- }
- }
- xmlhttp.open("GET", "staffnotes.php?noteLoader=true", true);
- xmlhttp.send(null);
- }
- function loadBar(type, url) {
- var xmlhttp;
- if(window.XMLHttpRequest) {
- xmlhttp = new XMLHttpRequest();
- }
- else
- {
- xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
- }
- xmlhttp.onreadystatechange=function()
- {
- if(xmlhttp.readyState==4) {
- var elemnt = "BAR" + type;
- document.getElementById(elemnt).innerHTML = xmlhttp.responseText;
- }
- }
- xmlhttp.open("GET", url, true);
- xmlhttp.send(null);
- }
- function resetBar(elem) {
- document.getElementById(elem).innerHTML = '';
- }
- function startChat(who) {
- var xmlhttp;
- if(window.XMLHttpRequest) {
- xmlhttp = new XMLHttpRequest();
- }
- else
- {
- xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
- }
- xmlhttp.onreadystatechange=function()
- {
- if(xmlhttp.readyState==4) {
- loadBar('openchats', 'bar.php?load=chats');
- }
- }
- var url = "bar.php?load=start&id=" + who;
- xmlhttp.open("GET", url, true);
- xmlhttp.send(null);
- }
- // run the function below once the DOM(Document Object Model) is ready
- $(document).ready(function() {
- // trigger the function when clicking on an assigned element
- $(".toggleAd").click(function () {
- // check the visibility of the next element in the DOM
- if ($(this).next().is(":hidden")) {
- $(this).next().slideDown("medium"); // slide it down
- } else {
- $(this).next().slideUp("medium"); // hide it
- }
- });
- });
- $(document).ready(function() {
- // trigger the function when clicking on an assigned element
- $(".toggleSec").click(function () {
- // check the visibility of the next element in the DOM
- if ($(this).next().is(":hidden")) {
- $(this).next().slideDown("medium"); // slide it down
- } else {
- $(this).next().slideUp("medium"); // hide it
- }
- });
- });
- $(document).ready(function() {
- // trigger the function when clicking on an assigned element
- $(".toggleMod").click(function () {
- // check the visibility of the next element in the DOM
- if ($(this).next().is(":hidden")) {
- $(this).next().slideDown("medium"); // slide it down
- } else {
- $(this).next().slideUp("medium"); // hide it
- }
- });
- });
- $(document).ready(function() {
- // trigger the function when clicking on an assigned element
- $(".toggleHelp").click(function () {
- // check the visibility of the next element in the DOM
- if ($(this).next().is(":hidden")) {
- $(this).next().slideDown("medium"); // slide it down
- } else {
- $(this).next().slideUp("medium"); // hide it
- }
- });
- });
- $(document).ready(function() {
- // trigger the function when clicking on an assigned element
- $(".toggleSnote").click(function () {
- // check the visibility of the next element in the DOM
- if ($(this).next().is(":hidden")) {
- $(this).next().slideDown("medium"); // slide it down
- } else {
- $(this).next().hide(); // hide it
- }
- });
- });
- $(document).ready(function() {
- // trigger the function when clicking on an assigned element
- $("div#NSbutton").click(function () {
- // check the visibility of the next element in the DOM
- $(this).hide();
- });
- });
- function EnterSub(e, id)
- {
- var key = (e.keyCode ? e.keyCode : e.which);
- if(key == 13) {
- var clicker = 'post' + id;
- document.getElementById(clicker).click();
- }
- }
- function closeMainChatBox(chatboxtitle,chatboxno) {
- $('#chatbox_'+chatboxtitle).css('display','none');
- loadBar('window'+chatboxno, 'bar.php?load=min&id='+chatboxtitle);
- }
- <?php
- if (ae_detect_ie()) {
- ?>
- tr .odd {
- background: url(images/ieodd.png) no-repeat center top;
- }
- tr .even {
- background: url(images/ieeven.png) no-repeat center top;
- }
- tr .even:hover, tr .odd:hover {
- background: url(images/iehover.png) no-repeat center top;
- }
- tr .odds {
- background: url(images/ieodds.png) no-repeat center top;
- }
- tr .evens {
- background: url(images/ieevens.png) no-repeat center top;
- }
- tr .evens:hover, tr .odds:hover {
- background: url(images/iehovers.png) no-repeat center top;
- }
- input {
- border:0px;
- }
- input.nostyle {
- border:0px;
- }
- main {
- font-family:helvetica, arial, geneva, sans-serif;font-size:14px; color: black;
- font-weight: 800px;
- }
- <?php
- }
- if (!ae_detect_ie()) {
- ?>
- tr .odd {
- background: url(images/odd.png) repeat-y left top;
- }
- tr .even {
- background: url(images/even.png) repeat-y left top;
- }
- tr .even:hover, tr .odd:hover {
- background: url(images/ffhover.png) repeat-y left top;
- }
- tr .odds {
- background: url(images/odd.png) repeat-y left top;
- }
- tr .evens {
- background: url(images/even.png) repeat-y left top;
- }
- tr .evens:hover, tr .odds:hover {
- background: url(images/ffhover.png) repeat-y left top;
- }
- input {
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- background-color: #FFFFFF;
- -moz-border-radius: 7px;
- -webkit-border-radius: 5px;
- border:solid; style="
- background-color:
- #000000; 1px
- padding: 10px;"
- }
- input.nostyle {
- border:0px;
- }
- main {
- font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
- font-weight: 800;
- text-shadow: #363636 0px 0px 4px;
- }
- <?php
- }
- ?>
- #tooltip {
- position:absolute;
- color:#ffffff;
- font-size:12px;
- width:300px;
- }
- #tooltip .tipHeader {
- height:8px;
- background: url('images/hover-top.png') no-repeat center top;
- }
- #tooltip .tipBody {
- background: url('images/hover-middle.png') repeat-y center top;
- padding:5px;
- }
- #tooltip .tipFooter {
- height:8px;
- background: url('images/hover-bottom.png') no-repeat center bottom;
- }
- *html #tooltip .tipHeader {margin-bottom:-6px;}
- </style>
- <link type="text/css" rel="stylesheet" media="all" href="css/chat.css" />
- <link type="text/css" rel="stylesheet" href="css/style.css" />
- <head>
- <link REL="SHORTCUT ICON" HREF="ico-icon.jpg">
- <title>Reuited City | Free Text Based RPG Game</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <script type="text/javascript" src="js/jquery.js"></script>
- <script src="js/popups.js" type="text/javascript"></script>
- <script src="js/jquery-1.4.2.js" type="text/javascript"></script>
- <script type="text/javascript" src="js/chat.js"></script>
- <script type = 'text/javascript'>
- var timeoutId;
- $(document).ready(function() {
- $('[rel=tooltip]').mouseover(function(e) {
- var tip = $(this).attr('title');
- $(this).attr('title','');
- $(this).css('cursor','pointer');
- $(this).append('<div id="tooltip"><div class="tipHeader"></div><div class="tipBody">' + tip + '</div><div class="tipFooter"></div></div>');
- $('#tooltip').css('top', e.pageY + 8 );
- $('#tooltip').css('left', e.pageX + 8 );
- }).mousemove(function(e) {
- $('#tooltip').css('top', e.pageY + 8 );
- $('#tooltip').css('left', e.pageX + 8 );
- }).mouseout(function() {
- $(this).attr('title',$('.tipBody').html());
- $(this).children('div#tooltip').remove();
- $(document).ready(function() {
- $(".openPopup1").click(function () {
- $("#po1").removeClass("popUp").addClass("popUpOpen");
- });
- });
- </script>
- </head>
- <?php
- ob_start();
- ob_flush();
- if ($_SESSION['attacking']) {
- header('location:run.php');
- }
- $jorh = array();
- $jorh = mysql_query("SELECT * FROM members WHERE
- playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'");
- $joh = array();
- $joh = mysql_fetch_array($jorh);
- $pl = mysql_fetch_assoc(mysql_query("SELECT * FROM members WHERE playerid='" . $_SESSION['playerid'] . "'"));
- $bgc = array();
- $sides = array();
- $banner = array();
- if ($joh['my_jail'] > gmtime()) {
- $bgc = 'E09900';
- $sides = 'j';
- } else if ($joh['my_hosp'] > gmtime()) {
- $bgc = 'FDFDFD';
- $sides = 'h';
- } else {
- $bgc = 'CCCCCC';
- $sides = '';
- }
- /* {start} Venom ([email protected]) */
- $playerid = $_SESSION['playerid'];
- if ($pl['myTheme'] == 2) {
- $statBars = array(
- 'energy' => ($joh['my_energy'] / $joh['my_maxenergy']) * 100,
- 'happy' => ($joh['my_happy'] / $joh['my_maxhappy']) * 100,
- 'nerve' => ($joh['my_nerve'] / $joh['my_maxnerve']) * 100
- );
- $nextMinute = date('i') + 1;
- if ($pl['my_dondays']) {
- if ($nextMinute > '50') {
- $energyMins = (60 - $nextMinute);
- } else if ($nextMinute > '40') {
- $energyMins = (50 - $nextMinute);
- } else if ($nextMinute > '30') {
- $energyMins = (40 - $nextMinute);
- } else if ($nextMinute > '20') {
- $energyMins = (30 - $nextMinute);
- } else if ($nextMinute > '10') {
- $energyMins = (20 - $nextMinute);
- } else if ($nextMinute > '00') {
- $energyMins = (10 - $nextMinute);
- }
- } else {
- if ($nextMinute > '45') {
- $energyMins = (60 - $nextMinute);
- } else if ($nextMinute > '30') {
- $energyMins = (45 - $nextMinute);
- } else if ($nextMinute > '15') {
- $energyMins = (30 - $nextMinute);
- } else if ($nextMinute > '00') {
- $energyMins = (15 - $nextMinute);
- }
- }
- if ($nextMinute > '45') {
- $happyMins = (60 - $nextMinute);
- } else if ($nextMinute > '30') {
- $happyMins = (45 - $nextMinute);
- } else if ($nextMinute > '15') {
- $happyMins = (30 - $nextMinute);
- } else if ($nextMinute > '00') {
- $happyMins = (15 - $nextMinute);
- }
- if ($nextMinute > '55') {
- $nerveMins = (60 - $nextMinute);
- } else if ($nextMinute > '50') {
- $nerveMins = (55 - $nextMinute);
- } else if ($nextMinute > '45') {
- $nerveMins = (50 - $nextMinute);
- } else if ($nextMinute > '40') {
- $nerveMins = (45 - $nextMinute);
- } else if ($nextMinute > '35') {
- $nerveMins = (40 - $nextMinute);
- } else if ($nextMinute > '30') {
- $nerveMins = (35 - $nextMinute);
- } else if ($nextMinute > '25') {
- $nerveMins = (30 - $nextMinute);
- } else if ($nextMinute > '20') {
- $nerveMins = (25 - $nextMinute);
- } else if ($nextMinute > '15') {
- $nerveMins = (20 - $nextMinute);
- } else if ($nextMinute > '10') {
- $nerveMins = (15 - $nextMinute);
- } else if ($nextMinute > '05') {
- $nerveMins = (10 - $nextMinute);
- } else if ($nextMinute > '00') {
- $nerveMins = (05 - $nextMinute);
- }
- $newEvents = mysql_num_rows(mysql_query("SELECT e_id FROM member_events WHERE e_playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "' AND e_read = '0'"));
- $newMail = mysql_num_rows(mysql_query("SELECT mm_id FROM member_mail WHERE mm_playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "' AND mm_read = '0'"));
- $newAwards = mysql_num_rows(mysql_query("SELECT ma_id FROM members_awards WHERE ma_playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "' AND ma_viewed = '0'"));
- echo "<link href='/css/ingame.css' rel='stylesheet' type='text/css' />";
- if ($pl['my_jail'])
- echo "<style type='text/css'>body { background-color: #" . $bgc . " !important; }</style>";
- if ($pl['my_hosp'])
- echo "<style type='text/css'>body { background-color: #" . $bgc . " !important; }</style>";
- echo "<style type='text/'>body { background-color: #" . $bgcssc . " !important; }</style>";
- echo "
- <div class='vnm-header'>
- <div class='vnm-headerInner'>
- <div class='vnm-headerLogo' style='background-position:" . ($joh['my_jail'] ? "0px -40px" : ($joh['my_hosp'] ? "0px -80px" : "0px 0px")) . "' onclick=\"location.href='/index.php'\"></div>
- <div class='vnm-headerBarEnergyOuter'><div class='vnm-headerBarVal'>" . $joh['my_energy'] . "/" . $joh['my_maxenergy'] . "</div><div class='vnm-headerBarEnergy' style='width:" . $statBars['energy'] . "%'></div></div>
- <div class='vnm-headerBarHappyOuter'><div class='vnm-headerBarVal'>" . $joh['my_happy'] . "/" . $joh['my_maxhappy'] . "</div><div class='vnm-headerBarHappy' style='width:" . $statBars['happy'] . "%'></div></div>
- <div class='vnm-headerBarNerveOuter'><div class='vnm-headerBarVal'>" . $joh['my_nerve'] . "/" . $joh['my_maxnerve'] . "</div><div class='vnm-headerBarNerve' style='width:" . $statBars['nerve'] . "%'></div></div>
- <div class='vnm-headerBarTimes'>
- <div>Energy: " . ($joh['my_energy'] < $joh['my_maxenergy'] && isset($energyMins) ? $energyMins : 0) . "mins</div>
- <div>Happy: " . ($joh['my_happy'] < $joh['my_maxhappy'] && isset($happyMins) ? $happyMins : 0) . "mins</div>
- <div>Nerve: " . ($joh['my_nerve'] < $joh['my_maxnerve'] && isset($nerveMins) ? $nerveMins : 0) . "mins</div>
- </div>
- <div class='vnm-headerStats1'>
- <table width='99%' cellpadding='0' cellspacing='0' border = '0'><tr>
- <td colspan = '2' align = 'left'>
- <img src='images/" . $pl['my_gender'] . ".gif' title = '" . $pl['my_gender'] . "'>";
- if ($mjb['my_job']) {
- echo "<img src='images/";
- if ($mjb['my_job'] == '1') {
- echo "army.png' alt = 'Job: Army' title='Job: Army";
- }
- if ($mjb['my_job'] == '2') {
- echo "market.png' alt = 'Job: Grocer' title='Job: Grocer";
- }
- if ($mjb['my_job'] == '3') {
- echo "casino.png' alt = 'Job: Casino' title='Job: Casino";
- }
- echo "'>";
- }
- if ($pl['my_faction']) {
- $q_ry = array();
- $q_ry = "SELECT fac_name
- FROM faction_s
- WHERE fac_id = '" . mysql_real_escape_string($pl['my_faction']) . "'";
- $fn = array();
- $fn = mysql_fetch_array(mysql_query($q_ry));
- echo " <img src='images/navigation/faction.gif' alt = 'Faction: " . $fn['fac_name'] . "' title='Faction: " . $fn['fac_name'] . "'>";
- }
- if ($pl['my_partner']) {
- $q_ry = array();
- $q_ry = "SELECT playername
- FROM members
- WHERE playerid = '" . mysql_real_escape_string($pl['my_partner']) . "'";
- $pn = array();
- $pn = mysql_fetch_array(mysql_query($q_ry));
- echo " <img src='images/spouse.png' alt = 'Spouse: " . $pn['playername'] . "' title='Spouse: " . $pn['playername'] . "'>";
- }
- if (mysql_num_rows($bnka)) {
- $bk = array();
- $bk = mysql_fetch_array($bnka);
- echo " <img src='images/bank.png' alt = 'Investment: " . money_alter($bk['a_ammount']) . " - " . gettimeleft($bk['a_time']) . "' title='Investment: " . money_alter($bk['a_ammount']) . " -
- " . gettimeleft($bk['a_time']) . "'>";
- }
- if (mysql_num_rows($oncrs)) {
- $onc = array();
- $onc = mysql_fetch_array($oncrs);
- echo " <img src='images/education.png' alt = '" . $onc['edu_name'] . ": " . gettimeleft($onc['lc_time']) . "' title='" . $onc['edu_name'] . ": " . gettimeleft($onc['lc_time']) . "'>";
- }
- $q_ry = array();
- $q_ry = "SELECT mi_time,mi_effect_left,mi_drug_id
- FROM member_influences
- WHERE mi_playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'
- AND mi_time >= '" . mysql_real_escape_string(time()) . "'";
- $druggy = array();
- $druggy = mysql_query($q_ry);
- if (mysql_num_rows($druggy)) {
- $dr = array();
- $dr = mysql_fetch_array($druggy);
- $type = array(
- 9 => 'Ecstacey',
- 100 => 'Vicodin',
- 79 => 'Xanax'
- );
- echo " <img src='images/drug.png' title='" . $type[$dr['mi_drug_id']] . ": " . gettimeleft($dr['mi_time']) . "'>";
- }
- if ($pl['my_dondays']) {
- echo " <img src='images/donator.gif' alt = 'Donator: " . $pl['my_dondays'] . " Days left' title='Donator: " . $pl['my_dondays'] . " Days left'>";
- }
- if ($pl['vipday']) {
- echo " <img src='images/vip.jpg' alt = 'VIP: " . $pl['vipday'] . " Days left' title='VIP: " . $pl['vipday'] . " Days left'>";
- }
- if ($pl['am_i_staff'] > 1) {
- echo " <img src='images/staff.png' title='Staff member'>";
- }
- echo "</td></tr>
- </table>
- Name: <a href='/profile.php?XID=" . $_SESSION['playerid'] . "'>" . $joh['playername'] . "</a><br/>
- Money: \$" . number_format($joh['wallet']) . "<br/>
- Level: </td><td align = 'left'>" . $pl['my_level'];
- $q_ry = array();
- $q_ry = "SELECT my_experience,my_crimeexp
- FROM members_extra
- WHERE playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'";
- $lvl = array();
- $lvl = mysql_query($q_ry);
- $lv = mysql_fetch_array($lvl);
- if (($lv['my_experience'] + ($lv['my_crimeexp'] / $pl['my_level'])) > exp_level($pl['my_level'])) {
- echo "</td><td align = 'center'> [<a href='levelup.php'>upgrade</a>]";
- }
- echo "</td></tr>
- </div>
- <div class='vnm-headerStats2'>
- Points: " . number_format($joh['my_points']) . "</td><td align = 'center'> [<a href='pexchange.php'>use</a>]</td></tr><br/>
- Merits: " . number_format($joh['my_merits']) . "</td><td align = 'center'> [<a href='mexchange.php'>use</a>]</td></tr><br/>
- </div>
- <form action='/search.php' method='post'>
- <input type='hidden' name='type' value='username' />
- <input type='text' name='name' placeholder='Search players' class='vnm-headerSearch' />
- <input type='submit' value='Go' name='srch' class='vnm-headerSearchGo' />
- </form>
- <a href='/logout.php' class='vnm-headerLogout'>Logout</a>
- <div menufor='Account' class='vnm-headerMenu vnm-headerMenuAccount" . ($newEvents || $newAwards || $newMail ? " vnm-headerMenuActive" : "") . "'>Account</div>
- <div menufor='Explore' class='vnm-headerMenu vnm-headerMenuExplore'>Explore</div>
- <div menufor='Preferences' class='vnm-headerMenu vnm-headerMenuPreferences'>Preferences</div>
- <div class='vnm-headerNavigation vnm-headerNavigationAccount'>
- <div onclick=\"location.href='/events.php'\"" . ($newEvents ? " class='vnm-headerNavigationActive'" : "") . ">Events (" . $newEvents . ")</div>
- <div onclick=\"location.href='/messages.php'\"" . ($newMail ? " class='vnm-headerNavigationActive'" : "") . ">Messages (" . $newMail . ")</div>
- <div onclick=\"location.href='/awards.php'\"" . ($newAwards ? " class='vnm-headerNavigationActive'" : "") . ">Awards (" . $newAwards . ")</div>
- <div onclick=\"location.href='/notifications.php'\">Notifications</div>
- " . ($joh['my_refpoints'] ? "<div onclick=\"location.href='/normalrefill.php?step=refill'\">Refills (" . $joh['my_refpoints'] . ")</div>" : "") . "
- </div>
- <div class='vnm-headerNavigation vnm-headerNavigationExplore'>
- <div onclick=\"location.href='/index.php'\">Home</div>
- <div onclick=\"location.href='/item.php'\">Item</div>
- <div onclick=\"location.href='/city.php'\">City</div>
- <div onclick=\"location.href='/properties.php'\">Properties</div>
- <div onclick=\"location.href='/school.php'\">Education</div>
- <div onclick=\"location.href='/php_gym.php'\">Gym</div>
- <div onclick=\"location.href='/crimes.php'\">Crimes</div>
- <div onclick=\"location.href='/job.php'\">Job</div>
- <div onclick=\"location.href='/jail.php'\">Jail</div>
- <div onclick=\"location.href='/hospital.php'\">Hospital</div>
- <div onclick=\"location.href='/friends.php'\">Friends</div>
- <div onclick=\"location.href='/enemies.php'\">Enemies</div>
- <div onclick=\"location.href='/search.php'\">Search</div>
- <div onclick=\"location.href='/usersonline.php'\">Users online</div>
- <div onclick=\"location.href='/newspaper.php'\">Newspaper</div>
- <div onclick=\"location.href='/forums.php'\">Forums</div>
- " . ($pl['my_faction'] ? "<div onclick=\"location.href='/faction.php'\">Faction</div>" : "") . "
- </div>
- <div class='vnm-headerNavigation vnm-headerNavigationPreferences'>
- <div onclick=\"location.href='/preferences.php'\">Preferences</div>
- <div onclick=\"location.href='/createchat.php'\">Private Chat</div>
- <div onclick=\"location.href='/player_report.php'\">Player Report</div>
- </div>
- </div>
- </div>
- </div>
- <span class='headerBarMsg'><center><a href='donate.php'><font color=orange size=3><b></b></font></a></center></span>
- <br/>
- <table width='1300px' border = '0' cellpadding='0' cellspacing='0' class='maintable' style='margin-top:10px;' align='center'>
- <tr>
- <td align='center' valign='top' width = '100%'>
- <table cellspacing = '0' cellpadding = '0' border = '0' width = '100%'>
- <tr>
- <center><a href='donate.php'>*Become a donator today and receive a 150 energy bar + loads more!(LTD:<b>5 x Feathery Hotel Coupon</b>[<a href='iinfo.php?XID=125'>View</a>])*</a></center><br/>";
- } else {
- $jorh = array();
- $jorh = mysql_query("SELECT my_jail,my_hosp,color FROM members WHERE
- playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'");
- $joh = array();
- $joh = mysql_fetch_array($jorh);
- $bgc = array();
- $sides = array();
- $banner = array();
- if ($joh['my_jail'] > gmtime()) {
- $bgc = 'BBA47E';
- $sides = 'j';
- } else if ($joh['my_hosp'] > gmtime()) {
- $bgc = 'FDFDFD';
- $sides = 'h';
- } else {
- $bgc = ($joh['color']);
- $sides = '';
- }
- echo "<body style='background: #" . $bgc . "'>
- <div align='left' class='headerBar'><a href='index.php'>
- <img src='images/reunitednewbanbraidz.png' BORDER=0 height='50px'></a>
- <span align='right' class='headerBarMsg'><a href='profile.php?XID=" . $_SESSION['playerid'] . "'><font color=grey><b>", stripslashes(htmlentities($pl['playername'])), "</a> [", $_SESSION['playerid'], "]</b></font> • <a href='/help.php'> Help</a> • <a href='/preferences.php'> Settings</a> • <a style='margin-right:0px;' href='logout.php'> Logout</a></span>
- <form action='/search.php' method='post'>
- <input type='hidden' name='type' value='username' />
- <input type='text' name='name' placeholder='Search players' />
- <input type='submit' value='Go' name='srch' />
- </form>
- </div>
- <div class='vnm-headerBarMsg1'>";
- $q_ry = array();
- $q_ry = "SELECT *
- FROM updates
- ORDER BY u_date DESC LIMIT 1";
- $up = array();
- $up = mysql_query($q_ry);
- $d = array();
- echo "<center>";
- while ($d = mysql_fetch_array($up)) {
- echo "<td align = 'center'><b><font color=#CC9933>" . $d['u_update'] . "</font></b></td></tr>";
- }
- echo "
- </a></a></div>
- <br/>
- <div align='center'>
- <table width='100%' border = '0' cellpadding='0' cellspacing='0' class='maintable' style='margin-top:10px;'>
- <tr>
- <td align='left' valign='top' width='20%' rowspan='2' style='margin-left:10px;'>";
- $q_ry = array();
- $q_ry = "SELECT lc.lc_time,ed.edu_name
- FROM live_courses lc
- LEFT JOIN educate_courses ed
- ON lc.lc_course = ed.edu_id
- WHERE lc.lc_playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'";
- $oncrs = array();
- $oncrs = mysql_query($q_ry);
- $q_ry = array();
- $q_ry = "SELECT a_ammount,a_time
- FROM bank_accounts
- WHERE a_playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'";
- $bnka = array();
- $bnka = mysql_query($q_ry);
- $q_ry = array();
- $q_ry = "SELECT my_job
- FROM members_extra
- WHERE playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'";
- $mjb = array();
- $mjb = mysql_fetch_array(mysql_query($q_ry));
- $ep = (int) (($pl['my_energy'] / $pl['my_maxenergy']) * 165);
- if ($ep > 165) {
- $ep = 165;
- }
- $np = (int) (($pl['my_nerve'] / $pl['my_maxnerve']) * 165);
- if ($np > 165) {
- $np = 165;
- }
- $hp = (int) (($pl['my_happy'] / $pl['my_maxhappy']) * 165);
- if ($hp > 165) {
- $hp = 165;
- }
- echo "<table cellspacing = '0' cellpadding = '0' border = '0' width = '190px'>
- <tr>
- <td width = '14px'></td>
- <td align = 'center'>
- <table width='96%' cellpadding='0' cellspacing='0'>
- <tr><td align = 'left' style = 'background:#222' no-repeat center top;font-weight:800;'><div class='hydra-navigationtitle' align = left><left><font color=white size=2> Information</left></div></td></tr>
- <tr><td align = 'center' class='hydra-sidebarinfo'>
- <table width='99%' cellpadding='0' cellspacing='0' border = '0'><tr>
- <td colspan = '2' align = 'left'>
- " . round_table('195%') . "<img src='images/" . $pl['my_gender'] . ".gif' title = '" . $pl['my_gender'] . "'>";
- if ($mjb['my_job']) {
- echo "<img src='images/";
- if ($mjb['my_job'] == '1') {
- echo "army.png' alt = 'Job: Army' title='Job: Army";
- }
- if ($mjb['my_job'] == '2') {
- echo "market.png' alt = 'Job: Grocer' title='Job: Grocer";
- }
- if ($mjb['my_job'] == '3') {
- echo "casino.png' alt = 'Job: Casino' title='Job: Casino";
- }
- if ($mjb['my_job'] == '4') {
- echo "edu.png' alt = 'Job: Casino' title='Job: Hospital";
- }
- if ($mjb['my_job'] == '5') {
- echo "edu.png' alt = 'Job: Casino' title='Job: Education";
- }
- if ($mjb['my_job'] == '6') {
- echo "edu.png' alt = 'Job: Casino' title='Job: Law";
- }
- echo "'>";
- }
- if ($pl['my_faction']) {
- $q_ry = array();
- $q_ry = "SELECT fac_name
- FROM faction_s
- WHERE fac_id = '" . mysql_real_escape_string($pl['my_faction']) . "'";
- $fn = array();
- $fn = mysql_fetch_array(mysql_query($q_ry));
- echo " <img src='images/navigation/faction.gif' alt = 'Faction: " . $fn['fac_name'] . "' title='Faction: " . $fn['fac_name'] . "'>";
- }
- if ($pl['my_partner']) {
- $q_ry = array();
- $q_ry = "SELECT playername
- FROM members
- WHERE playerid = '" . mysql_real_escape_string($pl['my_partner']) . "'";
- $pn = array();
- $pn = mysql_fetch_array(mysql_query($q_ry));
- echo " <img src='images/spouse.png' alt = 'Spouse: " . $pn['playername'] . "' title='Spouse: " . $pn['playername'] . "'>";
- }
- if (mysql_num_rows($bnka)) {
- $bk = array();
- $bk = mysql_fetch_array($bnka);
- echo " <img src='images/bank.png' alt = 'Investment: " . money_alter($bk['a_ammount']) . " - " . gettimeleft($bk['a_time']) . "' title='Investment: " . money_alter($bk['a_ammount']) . " -
- " . gettimeleft($bk['a_time']) . "'>";
- }
- if (mysql_num_rows($oncrs)) {
- $onc = array();
- $onc = mysql_fetch_array($oncrs);
- echo " <img src='images/education.png' alt = '" . $onc['edu_name'] . ": " . gettimeleft($onc['lc_time']) . "' title='" . $onc['edu_name'] . ": " . gettimeleft($onc['lc_time']) . "'>";
- }
- $q_ry = "SELECT wallet
- FROM members
- WHERE playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'";
- $mywallet = mysql_query($q_ry);
- $myw = mysql_fetch_array($mywallet);
- $wallet = $myw['wallet'];
- if ($wallet < 1) {
- $wallet = "<font color=FireBrick>" . number_format($wallet) . "</font>";
- } else {
- $wallet = "<font color=DarkGreen>" . number_format($wallet) . "</font>";
- }
- $q_ry = "SELECT deposit
- FROM members
- WHERE playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'";
- $deposit = mysql_query($q_ry);
- $mydeposit = mysql_fetch_array($deposit);
- $deposit = $mydeposit['deposit'];
- if ($deposit < 0.0000) {
- $deposit = "<font color=FireBrick>" . number_format($pl['deposit'], 4) . "</font>";
- } else {
- $deposit = "<font color=DarkGreen>" . number_format($pl['deposit'], 4) . "</font>";
- }
- $q_ry = array();
- $q_ry = "SELECT mi_time,mi_effect_left,mi_drug_id
- FROM member_influences
- WHERE mi_playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'
- AND mi_time >= '" . mysql_real_escape_string(time()) . "'";
- $druggy = array();
- $druggy = mysql_query($q_ry);
- if (mysql_num_rows($druggy)) {
- $dr = array();
- $dr = mysql_fetch_array($druggy);
- $type = array(
- 9 => 'Ecstacey',
- 100 => 'Vicodin',
- 79 => 'Xanax'
- );
- echo " <img src='images/drug.png' title='" . $type[$dr['mi_drug_id']] . ": " . gettimeleft($dr['mi_time']) . "'>";
- }
- if ($pl['fhc']) {
- echo " <img src='images/icons/up.png' alt = 'Booster Cooldown: " . $pl['fhc'] . " Minutes left' title='Booster Cooldown: " . $pl['fhc'] . " Minutes left'>";
- }
- if ($pl['my_dondays']) {
- echo " <img src='images/donator.gif' alt = 'Donator: " . $pl['my_dondays'] . " Days left' title='Donator: " . $pl['my_dondays'] . " Days left'>";
- }
- if ($pl['vipday']) {
- echo "<img src='images/vip.jpg' alt = 'VIP: " . $pl['vipday'] . " Days left' title='VIP: " . $pl['vipday'] . " Days left'>";
- }
- if ($pl['am_i_staff'] > 1) {
- echo " <img src='images/staff.png' title='Staff member'>";
- }
- echo "" . end_round() . "<hr/>
- </table>
- <table width='99%' cellpadding='0' cellspacing='2' style = 'background: url(../images/1.jpg) repeat-y center top; height:57px;' border = '0'>
- <tr><td width = '30%' align = 'left'><b>Name:</b></td><td align = 'left'><a href='profile.php?XID=" . $_SESSION['playerid'] . "'>", stripslashes(htmlentities($pl['playername'])), "</a> [", $_SESSION['playerid'], "]</b></td></tr>
- <tr><td width = '30%' align = 'left'><b>Money:</b> </td><td align = 'left'>$ $wallet</font></span></td></tr>
- <tr><td align = 'left'><b>Level:</b> </td><td align = 'left'>" . $pl['my_level'];
- $q_ry = array();
- $q_ry = "SELECT my_experience,my_crimeexp
- FROM members_extra
- WHERE playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'";
- $lvl = array();
- $lvl = mysql_query($q_ry);
- $lv = mysql_fetch_array($lvl);
- if (($lv['my_experience'] + ($lv['my_crimeexp'] / $pl['my_level'])) > exp_level($pl['my_level'])) {
- echo "</td><td align = 'center'>[<a href='levelup.php'>upgrade</a>]";
- }
- echo "</td></tr>
- <tr><td align = 'left'><b>Points:</b> </td><td align = 'left'>[ ", number_format($pl['my_points']), " ]</td><td align = 'center'>[<a href='pexchange.php'>use</a>]</td></tr>
- <tr><td align = 'left'><b>Merits:</b> </td><td align = 'left'>[ ", number_format($pl['my_merits']), " ]</td><td align = 'center'>[<a href='mexchange.php'>use</a>]</td></tr>
- </table><hr/>
- " . round_table('195%') . "<table width='99%' cellpadding='0' cellspacing='0' style = 'background: url(../images/1.jpg) no-repeat center top; height:93px; margin-bottom:3px;' border = '0'>
- <tr><td align = 'left' colspan = '2' height = '8px'></td></tr>
- <tr><td width = '40%' align = 'left'><b><span rel = 'tooltip' title = '<b>Energy</b><img src = \"images/energy.gif\"><br/>Use energy for attacking and in the gym.'>Energy:</span></b> </td><td align = 'left'><span id = 'mie'><small>", $pl['my_energy'], "/", $pl['my_maxenergy'], "(";
- $loadtime = date('i') + 1;
- if ($pl['my_energy'] >= $pl['my_maxenergy']) {
- echo "full";
- } else {
- if ($pl['my_dondays']) {
- if ($loadtime > '50') {
- echo (60 - $loadtime);
- } else if ($loadtime > '40') {
- echo (50 - $loadtime);
- } else if ($loadtime > '30') {
- echo (40 - $loadtime);
- } else if ($loadtime > '20') {
- echo (30 - $loadtime);
- } else if ($loadtime > '10') {
- echo (20 - $loadtime);
- } else if ($loadtime > '00') {
- echo (10 - $loadtime);
- }
- } else {
- if ($loadtime > '45') {
- echo (60 - $loadtime);
- } else if ($loadtime > '30') {
- echo (45 - $loadtime);
- } else if ($loadtime > '15') {
- echo (30 - $loadtime);
- } else if ($loadtime > '00') {
- echo (15 - $loadtime);
- }
- }
- echo "m:" . (60 - date('s')) . "s";
- }
- echo ")</small></span></td></tr>
- <tr><td colspan = '2' align = 'center'><span id = 'sbe'><img src='images/bar_green.jpg' width = '" . $ep . "' height = '10px'><img src='images/bar_red.jpg' width = '" . (165 - $ep) . "' height = '10px'></span></td></tr>
- <tr><td align = 'left'><b><span rel = 'tooltip' title = '<b>Nerve</b><img src = \"images/graft.gif\"><br/>Use nerve for crimes.'>Nerve:</span></b> </td><td align = 'left'><span id = 'mig'><small>", $pl['my_nerve'], "/", $pl['my_maxnerve'], "(";
- if ($pl['my_nerve'] >= $pl['my_maxnerve']) {
- echo "full";
- } else {
- if ($loadtime > '55') {
- echo (60 - $loadtime);
- } else if ($loadtime > '50') {
- echo (55 - $loadtime);
- } else if ($loadtime > '45') {
- echo (50 - $loadtime);
- } else if ($loadtime > '40') {
- echo (45 - $loadtime);
- } else if ($loadtime > '35') {
- echo (40 - $loadtime);
- } else if ($loadtime > '30') {
- echo (35 - $loadtime);
- } else if ($loadtime > '25') {
- echo (30 - $loadtime);
- } else if ($loadtime > '20') {
- echo (25 - $loadtime);
- } else if ($loadtime > '15') {
- echo (20 - $loadtime);
- } else if ($loadtime > '10') {
- echo (15 - $loadtime);
- } else if ($loadtime > '05') {
- echo (10 - $loadtime);
- } else if ($loadtime > '00') {
- echo (05 - $loadtime);
- }
- echo "m:" . (60 - date('s')) . "s";
- }
- echo ")</small></span></td></tr>
- <tr><td colspan = '2' align = 'center'><span id = 'sbg'><img src='images/bar_grey.jpg' width = '" . $np . "' height = '10px'><img src='images/bar_red.jpg' width = '" . (165 - $np) . "' height = '10px'></span></td></tr>
- <tr><td align = 'left'><b><span rel = 'tooltip' title = '<b>Happy</b><img src = \"images/happy.gif\"><br/>The more happy you are the better you train your stats.'>Happy:</span></b> </td><td align = 'left'><span id = 'mih'><small>", $pl['my_happy'], "/", $pl['my_maxhappy'], "(";
- if ($pl['my_happy'] >= $pl['my_maxhappy']) {
- echo "full";
- } else {
- if ($loadtime > '45') {
- echo (60 - $loadtime);
- } else if ($loadtime > '30') {
- echo (45 - $loadtime);
- } else if ($loadtime > '15') {
- echo (30 - $loadtime);
- } else if ($loadtime > '00') {
- echo (15 - $loadtime);
- }
- echo "m:" . (60 - date('s')) . "s";
- }
- echo ")</small></span></td></tr>
- <tr><td colspan = '2' align = 'center'><span id = 'sbh'><img src='images/bar_blue.jpg' width = '" . $hp . "' height = '10px'><img src='images/bar_red.jpg' width = '" . (165 - $hp) . "' height = '10px'></span></td></tr>
- </table>" . end_round() . "<hr/>
- </td></tr>
- <tr><td align='left'>
- <table width='100%' cellpadding='0' cellspacing='0' style = 'padding-top:0px;'>
- ";
- include_once('navigation.php');
- include_once('navigation.php');
- echo "</td>
- <td align='center' valign='top' width = '80%'>
- <table cellspacing = '0' cellpadding = '0' border = '0' width = '100%'>
- <tr>
- ";
- }
- $q_ry = array();
- $q_ry = "SELECT *
- FROM active_missions am
- LEFT JOIN game_missions m ON
- am.am_mission = m.m_id
- WHERE am.am_playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'";
- $active = array();
- $active = mysql_query($q_ry);
- if (mysql_num_rows($active)) {
- $a = array();
- $a = mysql_fetch_array($active);
- if (($a['am_time'] - time()) <= '0') {
- $q_ry = array();
- $q_ry = "INSERT INTO member_mail
- VALUES ('NULL',
- '" . mysql_real_escape_string($_SESSION['playerid']) . "',
- '" . mysql_real_escape_string($a['m_playerid']) . "',
- 'Failed!',
- '" . mysql_real_escape_string($a['m_failmessage']) . "',
- unix_timestamp(),
- '0')";
- mysql_query($q_ry);
- $q_ry = array();
- $q_ry = "DELETE FROM active_missions
- WHERE am_playerid = '" . mysql_real_escape_string($_SESSION['playerid']) . "'";
- mysql_query($q_ry);
- } else {
- echo "<center><a href='missions.php?action=details'><font color = 'red'><b>You have " . gettimeleft($a['am_time']) . " to finish the mission</font> " . stripslashes($a['m_name']) . "</b></a></center>";
- }
- }
- echo "<img src = 'images/ieodd.png' style = 'display: none;'>
- <img src = 'images/ieeven.png' style = 'display: none;'>
- <img src = 'images/iehover.png' style = 'display: none;'>
- <img src = 'images/ieodds.png' style = 'display: none;'>
- <img src = 'images/ieevens.png' style = 'display: none;'>
- <img src = 'images/iehovers.png' style = 'display: none;'>";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment