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
|
<body>
<p class="texte">Vous êtes sur la page comptabilité, que voulez vous faire ? :</p>
<br/>
<br/>
<br/>
<form method="get" action="" name="formulaire_choix">
<input <?php if (!(strcmp($_GET['choix_action'],"consulter"))) {echo "checked=\"checked\"";} ?> type="radio" name="choix_action" value="consulter" /> Consulter mes Opérations
<input <?php if (!(strcmp($_GET['choix_action'],"ajouter"))) {echo "checked=\"checked\"";} ?> type="radio" name="choix_action" value="ajouter" /> Ajouter une Opération
<input name="choix" type="submit" value="OK" />
</form>
<form method="post" action="" name="formulaire" onSubmit="return verification();">
<?php
if (isset($_GET['choix_action'])){
$choix=$_GET['choix_action'];
if ($choix=="consulter"){
include("./compta_consulter.php");
}
elseif($choix=="ajouter"){
include("./compta_ajouter.php");
}
}
?>
</form>
</body> |