1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
| <? require_once('connexion.php');?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
function envoi() {
document.form1.action='process1acontroler.php';
}
function envoi2() {
document.form1.action='process12chainageaverifier.php';
}
</script>
<style type="text/css">
<!--
body {
background-image: url(controler.jpg);
background-repeat: no-repeat;
background-position: center top;
}
.Style1 {color: #006666}
-->
</style></head>
<body>
<?
$sql="select * from 1acontroler";
$rs=mysql_query($sql,$connexion);
$find=mysql_fetch_object(mysql_query($sql,$connexion));
if($find!=""):
?>
<form name="form1" method="post" action="">
<center>
<div align="center"><br>
</div>
<p> </p>
<p> </p>
<p> </p>
<div align="center"><br>
<br>
<input type="submit" id="submit" value="2nouvelle demande" ONCLICK="envoi();">
<input type="submit" id="submit" value="12chainageaverfier" ONCLICK="envoi2();">
<br>
<br>
<table width="523" height="103" border=1 cellpadding="4" cellspacing="0" bordercolor=#0066FF >
<tr>
<td><div align="center" class="Style1">code</div></td>
<td><div align="center" class="Style1">commentaire</div></td>
<td><div align="center" class="Style1">selection</div></td>
<td><div align="center" class="Style1">commentaire</div></td>
</tr>
<?
while($ligne=mysql_fetch_object($rs))
{
$code=$ligne->code;
$datedentrer=$ligne->datedentrer;
$utilisateur=$ligne->utilisateur;
$commentaire=$ligne->commentaire;
?>
<tr>
<td><? echo("$code");?>
<input name="code2" type="hidden" value="<? echo("$code");?>"></td>
<td><? echo("$commentaire");?></td>
<td><center>
<input name="plop[]" type="checkbox" value="<? echo("$code");?>">
</center></td>
<td>
<textarea name="plop2[]"></textarea>
</td>
</tr>
<?
}
else:
$msg="ancun enregistrement";
endif
?>
</table>
</div>
</form> |
Partager