| Current Path : /home/a/t/a/ataenra/www/ATA/INTRANET/ |
| Current File : /home/a/t/a/ataenra/www/ATA/INTRANET/Untitled-1.php |
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<link href="./ATA/Intranet/outils/css/agcom.css" rel="stylesheet" type="text/css">
<title>GESTION DES TABLES MATERIEL ATA</title>
</head>
<body>
<form method="post" autocomplete="off">
<div class="containerPage">
<div class="containerTitre">
<div class="row">
<div class="col-md-2">
<img src="./ATA/Intranet/Outils/required/ATA-logo.jpg" alt="ISO" width=50% class= />
</div>
<div class="col-md-8">
<span class="align-middle">GESTION DES BASES MATERIEL</span>
<select class="form-control" name="TypeProjet">
<option value="" disabled selected hidden>Choisir le type de projet</option>
<?php $ll1= $dbco->prepare("SELECT * FROM gest_listetablemateriel"); $ll1->execute(); ?>
<?php while($LL1 = $ll1->fetch(PDO::FETCH_OBJ)) { ?>
<option value="<?php echo $LL1->ID_tablemateriel; ?>"><?php echo $LL1->TypeProjet; ?></option>
<?php } ?></select>
<input class="btn-lg btn-primary" type="submit" name="Table" Value="CHOISIR" >
</div>
<div class="col-md-2">
<a href="./index.php/aexploit" title="">
<img alt="HOME" src="./ATA/Intranet/Outils/required/home1.png" alt="ISO" width=45% class="img-responsive" class="align-right"/> </a>
</div>
</div>
</div>
<div class="col-md-4">
<!-- SELECT TABLE KIT MATERIEL -->
<h4 class="btn-lg btn-success">CHOIX TABLE TYPE PROJET</h4> <br>
</form>
</div>
</div>
</div>
<div class="container1">
<div class="row">
<div class="col-md-4">
<!-- RECUP INFO listetablemateriel selon table projet selectionnée-->
<?php if(isset($_GET['IDm'])){ ?>
<div class="col-md-8">
<!-- SELECT TABLE KIT MATERIEL -->
<h4 class="btn-lg btn-success">LISTE DU MATERIEL </h4>
<?php $list4 = $dbco->prepare("SELECT * FROM ".$_GET['Tm'].""); $list3->execute();?>
<?php if(isset($_GET['Tm'])){$list3 = $dbco->prepare("SELECT * FROM ".$_GET['Tm'].""); $list3->execute();} ?>
<?php ?>
<div class="table-responsive">
<div style="overflow-x: hidden; overflow-y: scroll; width: 100%; height: 150px;">
<br>
<table class='table table-hover table-bordered table-condensed'>
<thead>
<tr>
<th>ID</th>
<th>DESIGNATION</th>
<th>PUISSANCE</th>
<th>ACTION</th>
</tr>
</thead>
<?php while ($R3 = $list3->fetch(PDO::FETCH_OBJ)) { ?>
<tr>
<td><?php echo $R3->IDm; ?></td>
<td><?php echo $R3->appel; ?></td>
<td><?php echo $R3->Puissance; ?></td>
<td><?php echo'<input class="btn btn-warning" type="submit" name="IDm" Value="VOIR" >'?>
</tr>
<?php } ?>
</table>
</div>
</div>
</div>
</div>
<?php echo '<a class="btn btn-primary" href="./ATA/INTRANET/admin/Gestion_Materiel/New_Materiel.php">CREER</a>'; ?>
<?php } ?>
</div>
</div>
<?php } ?>