First code received by Master Leon
This commit is contained in:
commit
4230eb6922
330 changed files with 15543 additions and 0 deletions
33
page/ferme.php
Normal file
33
page/ferme.php
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<? session_start(); ?>
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<link rel="stylesheet" media="screen" name="design" href="design/design.css">
|
||||
<?
|
||||
$id=$_SESSION['id'];
|
||||
include 'ressource.php';
|
||||
include 'bdd.php';
|
||||
?>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table>
|
||||
<tr>
|
||||
<? echo "<tr><td><img src= height=120 width=120></td>
|
||||
<td width=600>Champ d'algues Niveau ".$ferme."<br><br>
|
||||
Important pour creer de nouveaux bigorneaux et la nourriture quotidienne de vos troupes.<br><br>";
|
||||
$a=$ferme+5;
|
||||
$c=$ferme-2;
|
||||
echo '<table><tr><td>Niveau</td><td>Production par heure</td></td=r><br>';
|
||||
for ($c;$c<$a;$c++) {
|
||||
$b=ceil($c * exp(0.6 * $c) + 100);
|
||||
$h=ceil($c * exp(0.6 * $c) + 100) - ceil(($c-1) * exp(0.6 * ($c-1)) + 100);
|
||||
echo '<tr><td>'.$c.'</td><td>'.$b.' (+ '.$h.')</td></tr>';
|
||||
}
|
||||
|
||||
echo"</table></td></tr>";
|
||||
|
||||
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue