AnonSec Team
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  ]

Current File : /home/logmcpe/www/TMCPRO/pages/jaxModifSousTache_23_11_2021.php
<?php

// echo "yassin <br/>" ; 
include 'includes/config_tmcpro.php' ;
include 'includes/stable_functions_tmcpro.php' ;
// echo "<pre>" ; 
// print_r($_POST) ; 
// echo "</pre>" ; 

// exit() ; 

 
$rowid=$_POST['rowid'] ; 


// echo "==> ".$_GET['chantier_ID']."<br/>"

	
	// $qm = dbi_query('scddelect * from contact where contact_id='.$contact_id.'') ;
	// $tabmod = dbi_fetch_row($qm);
	
	// $contact_nom=$tabmod['contact_nom'];
	// $contact_pnom=$tabmod['contact_pnom'];
	// $contact_fonction=$tabmod['contact_fonction'];
	// $contact_tele1=$tabmod['contact_tele1'];
	// $contact_tele2=$tabmod['contact_tele2'];
	// $contact_email=$tabmod['contact_email'];

?>


             

            <div class="modal-header task-single-header" data-task-single-id="5" data-status="4">
              <h4 class="modal-title">Modifier Sous Tache <?php echo $prestationid ;?></h4>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <div class="modal-body">
 

  <form action="" method="POST">   
   
   <?php
   

   // unset($red) ; 
   
   // echo" test " ; 
   
   // exit() ; 
	$q =  dbi_fetch_row(dbi_query("SELECT * FROM `sous_tache` WHERE `sous_tache_id` = $rowid ")) ; 
   // $red=  dbi_fetch_row(dbi_query("SELECT * FROM `demliv` WHERE `demliv_id` = ".$rowid )) ; 
   
   
   
   // $chantier_designation = $red['chantier_designation']; 
   
   // echo "====>".$chantier_designation."<br/>" ; 
   ?>

 <!-- ///////Ligne société & Catégorie --> 

<!-- ///////Ligne -->   



  <div class="form-row"> <!-- champs Société --> 
  
  
  
  		

	
	<div class="form-group col-md-12">
			  
			  <label for="inputAddresse">Sous tache</label>
                <textarea class="" placeholder="Place some text here"
                          style="width: 100%; height: 200px; font-size: 14px; line-height: 18px; border: 1px solid #dddddd; padding: 10px;" name="sous_tache_designation"    > <?=$q['sous_tache_designation'] ?></textarea>
              </div>
			  
			  
			  
			  <?php
			  
			  // echo $q['sous_tache_date_fin']."<br/>" ; 
			  ?>
			  
			  
			   <div class="form-group col-md-5">
      <label for="inputsociete">Date fin</label>
     
	<input type="date" class="form-control" id="end" name="sous_tache_date_fin" value="<?=$q['sous_tache_date_fin'] ?>" required>
  
   </div>
   
   
   
   
   				<?php $req_user =dbi_query("SELECT * FROM `users`") ; 	?>
		
						
   
    <div class="form-group col-md-5">
      <label for="inputsociete" >User </label>
                 
                    <!-- <input type="text" class="form-control"  name="number"  placeholder="jj/mm/aaaa"> -->

                      <select class="form-control select2" name="user_id">
				<option value="-1" selected="selected" disabled="disabled">-User-</option>
				<?php 
				while(  $user=dbi_fetch_row($req_user))
				{
				?>
				
                    <option value="<?=$user['user_id']?>"   <?php if($q['user_id'] == $user['user_id'] )echo 'selected' ; ?> ><?php echo $user['user_nom']." ".$user['user_prenom'];  ?></option>
					
					<?php 
				}
				?>
                </select>
				
                 
    
   </div>
           
		   	<div class="form-group col-md-2"><!-- Liste déroulante établissement -->  
                <label>Terminé</label>
				<div class="input-group">
                <select  class="form-control select2" name="sous_tache_status">
				<option value="0" <?php if($q['sous_tache_status'] == 0 )echo 'selected' ; ?> > NON</option>
                 <option value="1" <?php if($q['sous_tache_status'] == 1 )echo 'selected' ; ?> > OUI</option>    
                </select>
				</div>
    </div>
	

	
	 
	

      
   
   
	
  </div> <!-- ///////Permet de passer à la ligne suivante -->   

			  
	


   
  
  
  

  

  <input type="hidden" name="sous_tache_id" value="<?=$rowid ?>">
	
	           <div class="modal-footer justify-content-between">
								<button type="submit"   name="Modifier"  value="Modifier" class="btn btn-primary">Modifier</button>
								<button style="width=10px;" type="button" class="btn btn-danger" data-dismiss="modal">Fermer</button>
								  		  
				</div>
	
  
</form>
 
 <script src="../../plugins/bs-custom-file-input/bs-custom-file-input.min.js"></script>
<script src="../../plugins/summernote/summernote-bs4.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
  bsCustomFileInput.init();
});


  $(function () {
    // Summernote
    $('.textarea').summernote()
  })
</script>
			
			
			
			
			
			
			

	  
	  



AnonSec - 2021