| Current Path : /home/ataenra/www/ATA/INTRANET/Admin/Gestion_Articles/ |
| Current File : /home/ataenra/www/ATA/INTRANET/Admin/Gestion_Articles/Gestion_Article.php |
<?php
session_start();
require "../../Outils/co.php";
if (isset($_POST['ACTION'])){$_SESSION['ACTION']=$_POST['ACTION'];}
//DEBUG
//echo "<pre>";
//print_r($_SESSION);
//print_r($_POST);
//print_r($_GET);
//echo "</pre>";
?>
<!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="css/bootstrap-4.4.1.css" rel="stylesheet">-->
<link href="../../outils/css/agcom.css" rel="stylesheet" type="text/css">
<title>GESTION DES BASES ARTICLES ATA</title>
</head>
<body>
<div class="containerPage">
<form method="post" autocomplete="off">
<div class="containerTitre">
<div class="row">
<div class="col-md-2">
<img src="../../Outils/required/ATA-Logo.jpg" alt="ISO" width=50% class= />
</div>
<div class="col-md-7">
<h3>GESTION DES ARTICLES</h3>
<div class="col-md-4">
<input class="btn-lg btn btn-success" type="submit" name="ACTION" Value="Article_View" >
</div>
<div class="col-md-4">
<input class="btn-lg btn btn-warning" type="submit" name="ACTION" Value="Article_Modif" >
</div>
<div class="col-md-4">
<input class="btn-lg btn btn-info" type="submit" name="ACTION" Value="Article_New" >
</div>
<h3>GESTION DES PACKS ARTICLES</h3>
<div class="col-md-4">
<input class="btn-lg btn btn-success" type="submit" name="ACTION" Value="Pack_View" >
</div>
<div class="col-md-4">
<input class="btn btn-warning" type="submit" name="ACTION" Value="Pack_Modif" >
<input class="btn btn-warning" type="submit" name="ACTION" Value="Pack_Liaison" >
</div>
<div class="col-md-4">
<input class="btn-lg btn btn-info" type="submit" name="ACTION" Value="Pack_New" >
</div>
</div>
<div class="col-md-2">
<a href="../../../../index.php/aexploit" title="">
<img alt="HOME" src="../../Outils/required/home1.png" alt="ISO" width=45% class="img-responsive" class="align-right"/> </a>
</div>
</form>
</div>
</div>
<?php
//PAGE GESTION BASE ET VARIABLES
if(!isset($_SESSION['ACTION'])){$_SESSION['ACTION']="Article_View";}
if(($_SESSION['ACTION']=="Article_New")||($_SESSION['ACTION']=="Article_View")||($_SESSION['ACTION']=="Article_Modif")){
require "Articles/Article_Base.php";
}elseif(($_SESSION['ACTION']=="Pack_New")||($_SESSION['ACTION']=="Pack_View")||($_SESSION['ACTION']=="Pack_Modif")){
require "Packs/Pack_Base.php";
}
?>
<!-- PAGE CREATION ARTICLE -->
<?php if($_SESSION['ACTION']=="Article_New"){ require "Articles/Article_New.php";} ?>
<!-- PAGE CONSULTATION ARTICLE -->
<?php if($_SESSION['ACTION']=="Article_View"){ require "Articles/Article_View.php";} ?>
<!-- PAGE MODIFICATION ARTICLE -->
<?php if($_SESSION['ACTION']=="Article_Modif"){ require "Articles/Article_Modif.php";}?>
<!-- PAGE CREATION PACK -->
<?php if($_SESSION['ACTION']=="Pack_New"){ require "Packs/Pack_New.php";} ?>
<!-- PAGE CONSULTATION PACK-->
<?php if($_SESSION['ACTION']=="Pack_View"){ require "Packs/Pack_View.php";} ?>
<!-- PAGE MODIFICATION ARTICLE -->
<?php if($_SESSION['ACTION']=="Pack_Modif"){ require "Packs/Pack_Modif.php";} ?>
<!-- PAGE MODIFICATION ARTICLE -->
<?php if($_SESSION['ACTION']=="Pack_Liaison"){ require "Packs/Pack_Liaison.php";} ?>
</div>
</div>
</body>
</html>