Initial commit
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
<?php session_start();
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="pl">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
||||
<title>Wykaz pracy studni</title>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
<link href="bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<h1>Wykaz pracy studni</h1>
|
||||
<?php echo'Okres obliczeniowy: '.$_SESSION['site809_rap004'][0]['fr'].' - '.$_SESSION['site809_rap004'][0]['to']; ?><br/>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<br/>
|
||||
<div class="pull-right"><button type="button" class="btn btn-default" onclick="window.print();">Drukuj</button></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<table class="table table-bordered">
|
||||
|
||||
<?php
|
||||
$newBariera=null;
|
||||
for($i=0;$i<count($_SESSION['site809_rap004']);$i++)
|
||||
{
|
||||
if ($newBariera!=$_SESSION['site809_rap004'][$i]['bar'])
|
||||
{
|
||||
$newBariera=$_SESSION['site809_rap004'][$i]['bar'];
|
||||
|
||||
echo'
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="13">Bariera '.$newBariera.'</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Lp.</th>
|
||||
<th>Studnia</th>
|
||||
<th>Typ</th>
|
||||
<th>Pompa</th>
|
||||
<th>Q<sub>n</sub> [m<sup>3</sup>/min]</th>
|
||||
<th>Silnik</th>
|
||||
<th>Moc [kW]</th>
|
||||
<th>Q<sub>śr</sub> [m<sup>3</sup>/min]</th>
|
||||
<th>T<sub>p</sub> [h]</th>
|
||||
<th>V [m<sup>3</sup>]</th>
|
||||
<th>H<sub>D</sub> [m]</th>
|
||||
<th>H<sub>ST</sub> [m]</th>
|
||||
<th>T<sub>W</sub> [<sup>o</sup>C]</th>
|
||||
</tr>
|
||||
</thead>
|
||||
';
|
||||
|
||||
}
|
||||
|
||||
|
||||
echo"
|
||||
<tr>
|
||||
<td>".($i+1).".</td>
|
||||
<td>".$_SESSION['site809_rap004'][$i]['a']."</td>
|
||||
<td>".$_SESSION['site809_rap004'][$i]['b']."</td>
|
||||
<td>".$_SESSION['site809_rap004'][$i]['c']."</td>
|
||||
<td>".$_SESSION['site809_rap004'][$i]['d']."</td>
|
||||
<td>".$_SESSION['site809_rap004'][$i]['e']."</td>
|
||||
<td>".$_SESSION['site809_rap004'][$i]['f']."</td>
|
||||
|
||||
<td>".$_SESSION['site809_rap004'][$i]['g']."</td>
|
||||
<td>".$_SESSION['site809_rap004'][$i]['h']."</td>
|
||||
<td>".$_SESSION['site809_rap004'][$i]['i']."</td>
|
||||
<td>".$_SESSION['site809_rap004'][$i]['j']."</td>
|
||||
<td>".$_SESSION['site809_rap004'][$i]['k']."</td>
|
||||
<td>".$_SESSION['site809_rap004'][$i]['l']."</td>
|
||||
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user