|
Server IP : 10.128.40.6 / Your IP : 216.73.216.233 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 (0755) : /home/logmcpe/www/TMCPRO/pages/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
// echo "yassin <br/>" ;
include 'includes/config_tmcpro.php' ;
include 'includes/stable_functions_tmcpro.php' ;
// print_r($_POST) ;
// exit() ;
if($_POST['rowid']) {
$id_four=$_POST['rowid'];
$qm = dbi_query('select * from fournisseur where Fournisseur_ID='.$id_four.'') ;
$tabmod = dbi_fetch_row($qm);
$four_nom=$tabmod['Fournisseur_Nom'];
$four_adr1=$tabmod['Fournisseur_Adresse1'];
$four_adr2=$tabmod['Fournisseur_Adresse2'];
$four_adr3=$tabmod['Fournisseur_Adresse3'];
$four_cp=$tabmod['Fournisseur_CP'];
$four_ville=$tabmod['Fournisseur_ville'];
$four_cont=$tabmod['Fournisseur_contact'];
$four_cont_fonct=$tabmod['Fournisseur_contact_fonction'];
$four_cont_tel=$tabmod['Fournisseur_contact_tel'];
$four_cont_mail=$tabmod['Fournisseur_contact_mail'];
$four_franco=$tabmod['Fournisseur_franco'];
$four_refcli=$tabmod['Fournisseur_refclient'];
$idfour=$tabmod['Fournisseur_ID'];
}
$req_cl=dbi_query("SELECT * FROM ".TABLE_CLIENT."");
?>
<div class="modal-header task-single-header" data-task-single-id="5" data-status="4">
<h4 class="modal-title">Modifier Fournisseur <?php echo $prestationid ;?></h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form action="" method="POST">
<div class="card-body">
<!-- ///////Ligne société & Catégorie -->
<!-- ///////Ligne -->
<?php
echo'<input type="hidden" name="idfourm" value="'.$idfour.'">';?>
<div class="form-row">
<div class="form-group col-md-3">
<label for="inputName">Nom</label>
<input type="text" class="form-control" name="four_nom" onBlur="isFlottant()" value="<?php if(isset($four_nom)) echo $four_nom ?>" size="30" maxlength="60" />
</div>
<div class="form-group col-md-3">
<label for="inputName">Adresse 1</label>
<input type="text" class="form-control" name="four_adr1" onBlur="isFlottant()" value="<?php if(isset($four_adr1)) echo $four_adr1 ?>" size="30" maxlength="60" />
</div>
<div class="form-group col-md-3">
<label for="inputName">Adresse 2</label>
<input type="text" class="form-control" name="four_adr2" onBlur="isFlottant()" value="<?php if(isset($four_adr2)) echo $four_adr2 ?>" size="30" maxlength="60" />
</div>
<div class="form-group col-md-3">
<label for="inputName">Adresse 3</label>
<input type="text" class="form-control" name="four_adr3" onBlur="isFlottant()" value="<?php if(isset($four_adr3)) echo $four_adr3 ?>" size="30" maxlength="60" />
</div>
<div class="form-group col-md-3">
<label for="inputName">Code Postal</label>
<input type="text" class="form-control" name="four_cp" onBlur="isFlottant()" value="<?php if(isset($four_cp)) echo $four_cp ?>" size="30" maxlength="60" />
</div>
<div class="form-group col-md-3">
<label for="inputName"> Ville </label>
<input type="text" class="form-control" name="four_ville" onBlur="isFlottant()" value="<?php if(isset($four_ville)) echo $four_ville ?>" size="30" maxlength="60" />
</div>
<div class="form-group col-md-3">
<label for="inputName"> Contact </label>
<input type="text" class="form-control" name="four_cont" onBlur="isFlottant()" value="<?php if(isset($four_cont)) echo $four_cont ?>" size="30" maxlength="60" />
</div>
<div class="form-group col-md-3">
<label for="inputName"> Fonction </label>
<input type="text" class="form-control" name="four_cont_fonct" onBlur="isFlottant()" value="<?php if(isset($four_cont_fonct)) echo $four_cont_fonct ?>" size="30" maxlength="60" />
</div>
<div class="form-group col-md-3">
<label for="inputName"> Téléphone </label>
<input type="text" class="form-control" name="four_cont_tel" onBlur="isFlottant()" value="<?php if(isset($four_cont_tel)) echo $four_cont_tel ?>" size="30" maxlength="60" />
</div>
<div class="form-group col-md-3">
<label for="inputName"> Mail </label>
<input type="text" class="form-control" name="four_cont_mail" onBlur="isFlottant()" value="<?php if(isset($four_cont_mail)) echo $four_cont_mail ?>" size="30" maxlength="60" />
</div>
<div class="form-group col-md-3">
<label for="inputName"> Franco </label>
<input type="text" class="form-control" name="four_franco" onBlur="isFlottant()" value="<?php if(isset($four_franco)) echo $four_franco ?>" size="30" maxlength="60" />
</div>
<div class="form-group col-md-3">
<label for="inputName"> Réf Client </label>
<input type="text" class="form-control" name="refclient" onBlur="isFlottant()" value="<?php if(isset($four_franco)) echo $four_franco ?>" size="30" maxlength="60" />
</div>
</div>
<input type="hidden" name="prestation_id" value="<?php echo $prestation_id ; ?>">
<input type="hidden" name="prestation_ref" value="<?php echo $prest['prestation_ref'] ; ?>">
<input type="hidden" name="modifier" value="modifier">
</div>
<div class="modal-footer justify-content-between">
<button type="submit" name="Modifier" class="btn btn-primary">Modifier</button>
<button type="button" class="btn btn-primary" data-dismiss="modal">Fermer</button>
</form>
</div>
