<?php

/*
* @package BANANA WARS
* @copyright: (c) 2017 G.P. aka Mvcshka (mvcshka@yandex.ru)
* @license: GNU General Public License version 2; see LICENSE.txt
* @files: /theme/foot.php
*
*/

?>

<?php if(!isset($_SESSION['id'])) { ?>

		<?php } else { ?>
        <!-- OPEN FOOTER -->
								<tr>
									<td height="180" align="left" valign="bottom"><img src="/images/inv.gif" width="970" height="10"><br>
										<table width="100%" border="0" cellpadding="0" cellspacing="0" id="footer-copyright">
											<tbody>
												<tr>
													<td width="245" align="left" valign="midline">
														<table width="345" border="0" cellpadding="0" cellspacing="0" height="76">
															<tbody>
																<tr>
																	<td style="padding-left:5px;font-size: 9pt;">"Банановые войны" © 2018<br><nobr></nobr></td>
																<script id="_wau17x">var _wau = _wau || []; _wau.push(["colored", "6zqxnj0b25", "17x", "5ab931000000"]);</script><script async src="//waust.at/co.js"></script>	
																</tr>
															</tbody>
														</table>
													</td>
													<td align="right" valign="midline">
														<table cellpadding="0" cellspacing="0" border="0">
															<tbody>
																<tr>
																	
																	
																	<td style="padding-left:5px;padding-right:0px" width="88"><a target="_top" href=""><img src="/images/payeer.jpg" border="0" height="31" width="88" alt="Payeer" style="filter:alpha(Opacity=50)"></a></td>
<div id="linkslot_210731"><script src="https://linkslot.ru/bancode.php?id=210731" async></script></div>
<td style="padding-left:5px;padding-right:0px" width="88"><a target="_top" href="http://sauna-yulia.ru/ferm_pay"><img src="http://sauna-yulia.ru/img/Ulia.gif" border="0" height="31" width="88" alt="Payeer" style="filter:alpha(Opacity=50)"></a></td>
<td style="padding-left:5px;padding-right:0px" width="88"><a target="_top" href="https://mywmz.net/zarabotok-na-igrax"><img src="https://mywmz.net/wp-content/uploads/2017/05/M-88.gif" border="0" height="31" width="88" alt="Payeer" style="filter:alpha(Opacity=50)"></a></td>
<td style="padding-left:5px;padding-right:0px" width="88"><a target="_top" href="http://monitorgam.org/info/19"><img src="http://monitorgam.org/img/88x31.gif" border="0" height="31" width="88" alt="Payeer" style="filter:alpha(Opacity=50)"></a></td>
<td style="padding-left:5px;padding-right:0px" width="88"><a target="_top" href="https://goodmonitorgame.ru/pays"><img src="http://goodmonitorgame.ru/img/goodmonitor1.gif" border="0" height="31" width="88" alt="Payeer" style="filter:alpha(Opacity=50)"></a></td>
<td style="padding-left:5px;padding-right:0px" width="88"><a target="_top" href="http://monitplay.info/info/30"><img src="http://monitplay.info/img/88x31.gif" border="0" height="31" width="88" alt="Payeer" style="filter:alpha(Opacity=50)"></a></td>


																</tr>
															</tbody>
														</table>
													</td>
												</tr>
											</tbody>
										</table>
									</td>
								</tr>
								<!-- CLOSE FOOTER -->
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</td>			
			<!-- CLOSE BODY CENTER -->

			<!-- OPEN LEFT BG -->
		
				<td align="left" valign="top" class="index-header-center2">
					<table height="100%" border="0" cellspacing="0" cellpadding="0" width="100%">
						<tbody>
							<tr>
								<td class="inner-header-up2">&nbsp;</td>
							</tr>
							<tr>
								<td class="index-header-center2"></td>
							</tr>
						</tbody>
					</table>
				</td>
			
			<!-- CLOSE LEFT BG -->			
		<?php } ?>
		</tr>
			
		<?php if(!isset($_SESSION['id'])) { ?>

		<?php } else { ?>
			<style>
			#mons a{
				display:inline-block;
				padding:4px;
				border:1px solid #6b1f00;
				background-color:#c28659;
			}
			#mons a:hover{
				cursor:pointer;
				background-color:#1B87C8;
				border-color:#000;
			}
			</style>
				
			<script type="text/javascript" src="/js/placeholder.js"></script>	
			<style>
			.right_activity {
				position: fixed;
				top: 50%;
				left: 100%;
				width: 236px;
				height: 174px;
				color: #FFF;
				border: 2px solid #8AA137;
				background: #7B9100;
				margin-top: -34px;
				margin-left: -64px;
				line-height: 30px;
				vertical-align: middle;
				text-transform: uppercase;
				font-family: "Tahoma";
				font-weight: bold;
				-webkit-border-top-left-radius: 5px;
				-webkit-border-top-right-radius: 5px;
				-moz-border-radius-topleft: 5px;
				-moz-border-radius-topright: 5px;
				border-top-left-radius: 5px;
				border-top-right-radius: 5px;
				z-index: 999999;
				transform: rotate(-90deg);
				text-align: center;
			}
			.right_activity:hover {
				cursor: pointer;
				background: #8AA137;
				color: #fff;
			}


			.right_activity_block {
				position: fixed;
				width: 570px;
				height: 350px;
				top: 50%;
				left: 100%;
				margin-top: -250px;
				padding: 0px 5px 10px 10px;
				z-index: 999999;
				background: #F0EBB8 url("/images/game_bg.png") no-repeat;
				color: #FFF;
				border: 0 none;
				
			}

				.close_activity{
				position:relative;
				float:left;
				width:25px;
				height:25px;
				background-image: url("/images/button/close.bmp");
				background-repeat:no-repeat;
				background-size:25px 25px;
				background-position:center center;
				opacity:0.5;
				margin-top: 15px;
				margin-left: 0px;
				border: 0 none;
				}
				.close_activity:hover{
					color:#000;
					text-shadow:none;
					cursor:pointer;
					/*opacity:1;*/
					background: url("/images/button/close_hover.bmp") no-repeat;
				}
				#content_activity{
					max-height:260px;
					overflow-y:auto;
					overflow-x:hidden;
					}
					.log_mess {
						border-bottom: 2px dotted #495700;
						font-size: 13px;
						text-align: left;
						color: #333;
						margin-top: 3px;
						margin-bottom: 0;
						padding: 9px 0 0 0;
						width: 490px;
						height: 30px;
					}
				
			</style>

			<script>
			var actr;
			function show_activity(){
				$('.right_activity').hide();
				$('.right_activity_block').animate({'margin-left':'-570px'},500);
				refresh_activity();
				actr=setInterval("refresh_activity();",300000);
				
			}
			function hide_activity(){
				$('.right_activity_block').animate({'margin-left':'0px'},500,function(){
					
					$('.right_activity').show();
				});
				clearInterval(actr);
				$('#content_activity').html("<center><img src='/images/loader_circle.gif'></center>");
			}
			function refresh_activity(){
				$.post('/log.php','refresh_activity=1',function(data){
				
					$('#content_activity').html(data);
				});
					
			}
			</script>
		
			<div class='right_activity' onClick='show_activity();'>Активность &nbsp;игроков</div>
			<div class='right_activity_block'><div class='close_activity' onClick='hide_activity();'></div>

			<h3 style="color: #FFF;text-shadow:none;text-align:right;margin-top:0px;text-align: center; padding: 13px;">

			Активность на сайте</h3>
				<div id='content_activity'>
					<center>
						<img src='/images/loader_circle.gif'>
					</center>
				</div>
			</div>
			<div id='alert_wi' style='display:none;position:fixed;z-index:100500;top:50%;left:50%;margin-top:-30px;margin-left:-100px;padding:5px;border:2px solid #f60;background:#FFD817;text-align:center;font-size:14px;line-height:20px;vertical-align:middle;'>
				<span id='alert_te' style='float:left;text-transform:uppercase;'></span>
				<img src='/images/button/close.bmp' style='float:right;cursor:pointer;margin-left:10px; margin-top:5px;' title='Закрыть' width="25" height="25" onCLick='hidealert();'>
			</div>
		<?php } ?>
		
	</tbody>
</table>
</center>
</body>
</html>