|
Server IP : 10.128.40.6 / Your IP : 216.73.216.200 Web Server : Apache System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : logmcpe ( 111175) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0705) : /home/logmcpe/MC/../www/mcg/plugins/jszip/../../.github/../sms/../pages/python/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<!DOCTYPE html>
<?php
// echo "bbb <br/>" ;
// exit() ;
include 'includes/config_tmcpro.php' ;
include 'includes/stable_functions_tmcpro.php' ;
/*
$Adresse = utf8_decode("110 avenue du Général de Gaulle 92800 PUTEAUX");
$Tel = utf8_decode("Tél. "."09 72 29 04 30");
$Fax = utf8_decode("Fax. "."01 72 74 95 77");
$Email = utf8_decode("info@mc-pro.fr");
if(!empty($_POST) and isset($_POST['Enregistrer']))
{
$Adresse = utf8_decode($_POST['Adresse']);
$Tel = utf8_decode($_POST['Tel']);
$Fax = utf8_decode($_POST['Fax']);
$Email = utf8_decode($_POST['Email']);
include 'code/facture-entetes.php' ;
// header('Location:users.php?msg= utilisateur bien ajouter &color=success');
}*/
// include 'code/facture-entetes.php' ;
?>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Enregistrer le titre de la page --><title> LogMCPRO | Etablissements</title>
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Font Awesome -->
<link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<!-- overlayScrollbars -->
<link rel="stylesheet" href="../dist/css/adminlte.min.css">
<!-- Google Font: Source Sans Pro -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
</head>
<?php
if(!empty($_POST) and isset($_POST['Enregistrer']))
{
$Adresse = utf8_decode($_POST['Adresse']);
$Tel = utf8_decode($_POST['Tel']);
$Fax = utf8_decode($_POST['Fax']);
$Email = utf8_decode($_POST['Email']);
dbi_query("INSERT INTO entete(adresse ,tel,fax,mail) VALUES ('$Adresse', '$Fax', '$Fax', '$Email') ") ;
include 'code/facture-entetes.php' ;
}
$ADR = dbi_fetch_row(dbi_query("SELECT adresse ,tel,fax,mail FROM entete ORDER BY id DESC limit 1 "));
$Adresse = utf8_decode($ADR['adresse']);
$Tel = utf8_decode($ADR['tel']);
$Fax = utf8_decode($ADR['fax']);
$Email = utf8_decode($ADR['mail']);
?>
<body class="hold-transition sidebar-mini">
<!-- Site wrapper -->
<div class="wrapper">
<!-- TOP MENU -->
<nav class="main-header navbar navbar-expand navbar-white navbar-light">
<!-- Menu extensible -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a>
</li>
<!-- liens TOP MENU GAUCHE-->
</ul>
<!-- liens TOP MENU DROITE -->
<ul class="navbar-nav ml-auto">
<!-- Placer ici l'élément à positionner à droite du TOP MENU -->
</ul>
</nav> <!-- fin du TOP MENU -->
<!-- BARRE DE NAVIGATION -->
<?php include('menu.php'); ?>
<!-- Ne pas toucher au dessus / fin de la BARRE DE NAVIGATION-->
<!-- DEMARRAGE DE LA PAGE PRINCIPALE -->
<div class="content-wrapper">
<!-- TITRE DE LA PAGE PRINCIPALE A PLACE ENTRE LES BALISES H1 & ARBORESCENCE SUR LA DROITE-->
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1></h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
</ol>
</div>
</div>
</div><!-- /.container-fluid -->
</section>
<!-- FIN DU TITRE DE LA PAGE PRINCIPALE A PLACE ENTRE LES BALISES H1 & ARBORESCENCE SUR LA DROITE-->
<?php
?>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<?php
if(isset($_GET["msg"])){
?>
<div class="alert alert-<?php echo $_GET["color"]; ?> alert-dismissible col-12" role="alert">
<strong><?php echo $_GET["color"].': '; ?></strong><?php echo $_GET["msg"]; ?>.
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<?php
}
?>
<div class="row">
<div class="col-sm-11"><h3 class="card-title"> <i class="nav-icon fas fa-user"></i> ENTETES FACTURES</h3> </div>
</div>
</div>
<!-- /.card-header -->
<div class="card-body">
<form method="POST" action="">
<div class="form-row">
<div class="form-group col-md-12">
<label for="Adresse">Adresse</label>
<input type="text" class="form-control" id="Adresse" name="Adresse" value="<?php echo $Adresse;?>" placeholder="Adresse" >
</div>
</div>
<div class="form-row">
<div class="form-group col-md-4">
<label for="Adresse">Tél</label>
<input type="text" class="form-control" id="Tel" name="Tel" value="<?php echo $Tel;?>" placeholder="Tel" >
</div>
<div class="form-group col-md-4">
<label for="Adresse">Fax</label>
<input type="text" class="form-control" id="Fax" name="Fax" value="<?php echo $Fax;?>" placeholder="Fax" >
</div>
<div class="form-group col-md-4">
<label for="Adresse">E-mail</label>
<input type="text" class="form-control" id="Email" name="Email" value="<?php echo $Email;?>" placeholder="E-mail" >
</div>
</div>
<button type="submit" name="Enregistrer" class="btn btn-primary">Enregistrer</button>
</form>
</div>
<!-- /.card-body -->
</div>
<!-- /.card -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</section>
<!-- /.content -->
</div>
<!-- NE PAS TOUCHER AU DESSUS DESSOUS -->
<!-- DEBUT DU PIED DE PAGE -->
<footer class="main-footer">
<div class="float-right d-none d-sm-block">
<b>Version</b> 3.0.1
</div>
<strong>Copyright © 2019 MCPRO</strong>
</footer>
<!-- FIN DU PIED DE PAGE -->
<!-- NE PAS TOUCHER CI-DESSOUS -->
<!-- Control Sidebar -->
<aside class="control-sidebar control-sidebar-dark">
<!-- Control sidebar content goes here -->
</aside>
<!-- /.control-sidebar -->
</div>
<!-- ./wrapper -->
<!-- jQuery -->
<script src="../plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="../dist/js/adminlte.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="../dist/js/demo.js"></script>
<script src="../../plugins/bs-custom-file-input/bs-custom-file-input.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
bsCustomFileInput.init();
});
</script>
</body>
</html>
