/
home
/
techb158
/
immovalet.ca
/
Master
/
/home/techb158/immovalet.ca/Master
mkdir
upload
Name
Size
Mode
Actions
img/
-
0777
rm
Inc/
-
0777
rm
local/
-
0777
rm
acceptprofile.php
5652
0666
edit
dl
rm
alertes_cv.php
13181
0666
edit
dl
rm
archives_cv.php
5559
0666
edit
dl
rm
authorizedpage.php
1216
0666
edit
dl
rm
bootstrap-cerulean.min.css
121997
0666
edit
dl
rm
charisma-app.css
41790
0666
edit
dl
rm
dashboard.php
9901
0666
edit
dl
rm
delete_offer_employee.php
519
0666
edit
dl
rm
emplois_offerts.php
17556
0666
edit
dl
rm
emplois_offert_Ex.php
14292
0666
edit
dl
rm
footer.php
2440
0666
edit
dl
rm
head.php
3451
0666
edit
dl
rm
header.php
2267
0666
edit
dl
rm
mes_annonces.php
6401
0666
edit
dl
rm
mes_applications.php
7969
0666
edit
dl
rm
mes_factures.php
7709
0666
edit
dl
rm
mes_produits.php
6550
0666
edit
dl
rm
mes_rapports.php
6238
0666
edit
dl
rm
modifier_profil.php
12751
0666
edit
dl
rm
plan_valeurs.php
7342
0666
edit
dl
rm
search.php
761
0666
edit
dl
rm
searchs.php
562
0666
edit
dl
rm
submit_offer_employee.php
12394
0666
edit
dl
rm
UpdatePostStatus.php
910
0666
edit
dl
rm
update_offer_employee.php
15209
0666
edit
dl
rm
Update_Profile.php
3558
0666
edit
dl
rm
Update_Publish_Post.php
5022
0666
edit
dl
rm
upload.php
2479
0666
edit
dl
rm
vori_talent_profil.php
9503
0666
edit
dl
rm
Edit:
/home/techb158/immovalet.ca/Master/alertes_cv.php
(13181B)
<?php include_once '../includes/db_connect.php'; include_once '../includes/functions.php'; sec_session_start(); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Alertes CV | BonBoss</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content="Bala Group Technologies Inc"> <!-- The styles --> <?include "head.php"; ?> <script> function acceptprofile(FileID,Job_Post, Task) { if (confirm('Voulez-vous consulter ce CV?')) { try { var html = $.ajax({ type: "POST", url: "acceptprofile.php", data: { file_id: FileID, Job_Post: Job_Post, Task: Task }, async: false }).responseText; if(html){ alert(html); // window.location = 'modifier_profil.php'; } }catch(e) { //alert(e); } }else{ } } </script> </head> <body> <!-- topbar starts --> <?include "header.php"; ?> <!-- topbar ends --> <div class="ch-container"> <div class="row"> <div id="content" class="col-lg-10 col-sm-10"> <!-- content starts --> </div> <ul class="breadcrumb"> <li> <a href="dashboard.php">Dashboard</a> </li> <li> <a href="alertes_cv.php">Alertes CV</a> </li> </ul> </div> </div> <?php if (login_check($mysqli) == true) : ?> <?php if (!empty($error_msg)) { echo $error_msg; } if (!empty($succc)) { echo "<div class=\"alert alert-success\"><strong>Notification!</strong> ".$succc."</div>"; } if (isset($_GET['error'])) { $mesg= $_GET['error']; echo "<div class=\"alert alert-success\"><strong>Notification!</strong> ".$mesg."</div>"; } $user_n=$_SESSION['user_id']; $query = "SELECT * FROM Master Where M_ID ='".$user_n."'"; $result = $mysqli->query($query); $row = $result->fetch_assoc(); $ID = $row['M_ID']; $User_img = $row['User_img']; $FName = $row["First_Name"]; $LName = $row["Last_name"]; $LName = $row["Last_name"]; $RegisterTime = $row["Register_Time"]; $My_Name = $FName .' '. $LName; ?> <div class="container"> <div class="MyAccountHead align-center"><h1>MES CV REÇUS</h1> <p> # Attirer ceux qui partagent vos valeurs </p> <p> Soyez informé des talents qui partagent vos valeurs et les atouts qu’ils recherchent dans leur futur emploi. </p><p>Vous pourrez demander et recevoir des CV sans même avoir à afficher un emploi publiquement. </p><p>C’est une nouvelle méthode pour attirer les talents à l’année. En plus, cela facilite la rétention des talents. </p> </div> <div class="row"> <div class="box col-md-12"> <div class="box-inner"> <div class="box-header well" data-original-title=""> <h2><i class="glyphicon glyphicon-edit"></i>MES CV REÇUS</h2> </div> <div class="listing-info"> <!--<a class="button btn btn--default" href="#"><i class="glyphicon glyphicon-plus"></i> Ajouter nouvelle alerte CV</a>--> </div> <div class="box-content"> <form role="form"> <table class="table table-striped table-bordered bootstrap-datatable datatable responsive"> <thead> <tr> <th class="center">Nom des talents</th> <th class="center">Titre du poste</th> <th class="center">Demander CV</th> <th class="center">% Match </th> <th class="center">Actions</th> </tr> </thead> <tbody> <? $queryss = "select * from Submit_Talent_Profile_Apply_Job where Master_ID ='".$user_n."' AND Matching_Rate_Benefits>2 AND Matching_Rate_Essential>2 AND Status<3"; $results = $mysqli->query($queryss); while($lines = $results->fetch_assoc()) { $C_ID=$lines["C_ID"]; $User_Name=$lines["User_Name"]; $Job_Post_ID=$lines["Job_Post_ID"]; $Status=$lines["Status"]; $Matching_Rate_Essential=$lines["Matching_Rate_Essential"]; $Matching_Rate_Benefits=$lines["Matching_Rate_Benefits"]; $Matching_Count=$Matching_Rate_Essential+$Matching_Rate_Benefits; $query = "select * from Clients where C_ID ='".$C_ID."' and Username ='".$User_Name."'"; $result = $mysqli->query($query); $order= $result->fetch_assoc(); //$email = $order["Email"]; $Talent_Name = $order["First_Name"] .' '.$order["Last_name"]; $queryd = "SELECT * FROM Job_Post Where Job_Post_ID ='".$Job_Post_ID."'"; $resultd = $mysqli->query($queryd); $Managers = $resultd->fetch_assoc(); $Post_Title = $Managers['Post_Title']; $querydw = "SELECT * FROM CV_File_Upload Where C_ID ='".$C_ID."' and Username ='".$User_Name."'"; $resultw = $mysqli->query($querydw); $Manager = $resultw->fetch_assoc(); $File_Name_Path = $Manager['File_Path'] .''.$Manager['File_Name']; $Files_Path=substr($File_Name_Path, 1); $uri = 'https://'. $_SERVER['SERVER_NAME'] .'/Client'. $Files_Path; ?> <tr> <td class="center"><?echo $Talent_Name;?></td> <td class="center"><?echo $Post_Title;?></td> <td class="center"> <!----> <?if($Status != 1){?> <a href="" style="cursor:pointer;" class="btns btn-info" onclick="acceptprofile(<?echo $C_ID;?>,<?echo $Job_Post_ID;?>,'Accepter')"> <i class="glyphicon glyphicon-edit icon-white"></i> Accepter </a> <?}else if($Status == 1){?> <a href="<?echo $uri;?>" target="_blank"> <?echo $Talent_Name;?> - CV </a> <?}?> </td> <td class="center"> <? if($Matching_Count ==10) { ?> <div style="cursor: pointer; width: 100px;"> <img src="../img/star-on.png" alt="1" title="bad"> <img src="../img/star-on.png" alt="2" title="poor"> <img src="../img/star-on.png" alt="3" title="regular"> <img src="../img/star-on.png" alt="4" title="good"> <img src="../img/star-on.png" alt="5" title="gorgeous"><input type="hidden" name="score" value="5"></div> <? }else if($Matching_Count ==9) { ?> <div style="cursor: pointer; width: 100px;"> <img src="../img/star-on.png" alt="1" title="bad"> <img src="../img/star-on.png" alt="2" title="poor"> <img src="../img/star-on.png" alt="3" title="regular"> <img src="../img/star-on.png" alt="4" title="good"> <img src="../img/star-off.png" alt="5" title="gorgeous"><input type="hidden" name="score" value="4"></div> <? }else if($Matching_Count ==8) { ?> <div style="cursor: pointer; width: 100px;"> <img src="../img/star-on.png" alt="1" title="bad"> <img src="../img/star-on.png" alt="2" title="poor"> <img src="../img/star-on.png" alt="3" title="regular"> <img src="../img/star-off.png" alt="4" title="good"> <img src="../img/star-off.png" alt="5" title="gorgeous"><input type="hidden" name="score" value="3"></div> <? }else if($Matching_Count ==7) { ?> <div style="cursor: pointer; width: 100px;"> <img src="../img/star-on.png" alt="1" title="bad"> <img src="../img/star-on.png" alt="2" title="poor"> <img src="../img/star-on.png" alt="3" title="regular"> <img src="../img/star-off.png" alt="4" title="good"> <img src="../img/star-off.png" alt="5" title="gorgeous"><input type="hidden" name="score" value="3"></div> <? }else if($Matching_Count ==6) { ?> <div style="cursor: pointer; width: 100px;"> <img src="../img/star-on.png" alt="1" title="bad"> <img src="../img/star-on.png" alt="2" title="poor"> <img src="../img/star-on.png" alt="3" title="regular"> <img src="../img/star-off.png" alt="4" title="good"> <img src="../img/star-off.png" alt="5" title="gorgeous"><input type="hidden" name="score" value="3"></div> <? } ?> </td> <td class="center"> <a class="btns btn-success" target="_blank" href="vori_talent_profil.php?var=<?echo $C_ID;?>"> <i class="glyphicon glyphicon-zoom-in icon-white"></i> Voir </a> <a href="" style="cursor:pointer;" class="btns btn-warning" onclick="acceptprofile(<?echo $C_ID;?>,<?echo $Job_Post_ID;?>,'Archiver')"> <i class="glyphicon glyphicon-star icon-white"></i> Archiver </a> <a href="" style="cursor:pointer;" class="btns btn-danger" onclick="acceptprofile(<?echo $C_ID;?>,<?echo $Job_Post_ID;?>,'Supprimer')"> <i class="glyphicon glyphicon-trash icon-white"></i> Supprimer </a> </td> </tr> <? } ?> <!-- <tr> <td class="center">David</td> <td class="center">Vous n'avez pas encore sauvegardé de recherches.</td> <td class="center"> <a class="btns btn-info" href="#"> <i class="glyphicon glyphicon-edit icon-white"></i> Accepter </a> </td> <td class="center"> <div style="cursor: pointer; width: 100px;"><img src="../img/star-on.png" alt="1" title="bad"> <img src="../img/star-on.png" alt="2" title="poor"> <img src="../img/star-on.png" alt="3" title="regular"> <img src="../img/star-on.png" alt="4" title="good"> <img src="../img/star-on.png" alt="5" title="gorgeous"><input type="hidden" name="score" value="5"></div> </td> </td> <td class="center"> <a class="btns btn-success" target="_blank" href="vori_talent_profil.php"> <i class="glyphicon glyphicon-zoom-in icon-white"></i> Voir </a> <a class="btns btn-warning" href="#"> <i class="glyphicon glyphicon-star icon-white"></i> Archiver </a> <a class="btns btn-danger" href="#"> <i class="glyphicon glyphicon-trash icon-white"></i> Supprimer </a> </td> </tr> <tr> <td class="center">David</td> <td class="center">Vous n'avez pas encore sauvegardé de recherches.</td> <td class="center"> <a class="btns btn-info" href="#"> <i class="glyphicon glyphicon-edit icon-white"></i> Accepter </a> </td> <td class="center"> <div style="cursor: pointer; width: 100px;"><img src="../img/star-on.png" alt="1" title="bad"> <img src="../img/star-on.png" alt="2" title="poor"> <img src="../img/star-on.png" alt="3" title="regular"> <img src="../img/star-off.png" alt="4" title="good"> <img src="../img/star-off.png" alt="5" title="gorgeous"><input type="hidden" name="score" value="3"></div> </td> <td class="center"> <a class="btns btn-success" target="_blank" href="vori_talent_profil.php"> <i class="glyphicon glyphicon-zoom-in icon-white"></i> Voir </a> <a class="btns btn-warning" href="#"> <i class="glyphicon glyphicon-star icon-white"></i> Archiver </a> <a class="btns btn-danger" href="#"> <i class="glyphicon glyphicon-trash icon-white"></i> Supprimer </a> </td> </tr> <tr> <td class="center">David</td> <td class="center">Vous n'avez pas encore sauvegardé de recherches.</td> <td class="center"> <a class="btns btn-info" href="#"> <i class="glyphicon glyphicon-edit icon-white"></i> Accepter </a> </td> <td class="center"> <div style="cursor: pointer; width: 100px;"><img src="../img/star-on.png" alt="1" title="bad"> <img src="../img/star-on.png" alt="2" title="poor"> <img src="../img/star-on.png" alt="3" title="regular"> <img src="../img/star-on.png" alt="4" title="good"> <img src="../img/star-off.png" alt="5" title="gorgeous"><input type="hidden" name="score" value="4"></div> </td> <td class="center"> <a class="btns btn-success" target="_blank" href="vori_talent_profil.php"> <i class="glyphicon glyphicon-zoom-in icon-white"></i> Voir </a> <a class="btns btn-warning" href="#"> <i class="glyphicon glyphicon-star icon-white"></i> Archiver </a> <a class="btns btn-danger" href="#"> <i class="glyphicon glyphicon-trash icon-white"></i> Supprimer </a> </td> </tr>--> </tbody> </table> </form> </div> </div> </div> <!--/span--> </div> </div> <hr> <?include "footer.php"; ?><!--/.fluid-container--> <?php else : ?> <?php include'authorizedpage.php';?> <?php endif; ?> <!-- external javascript --> </body> </html>
Save
cmd:
run