/
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/mes_annonces.php
(6401B)
<?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>Mes Emplois | 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 type="text/javascript"> function updatestatus(Job_Post_ID, Post_Status) { //if (confirm('Are you sure you want to Update Port of Entry to USA?')) { var htmls = $.ajax({ type: "POST", url: "UpdatePostStatus.php", data: { Job_Post_ID: Job_Post_ID, Post_Status: Post_Status }, async: false }).responseText; if(htmls){ // alert(htmls); } var Open_Status = "Open" + "" + Job_Post_ID; //alert(Post_Status); if(Post_Status == "Ouvert") { document.getElementById(Open_Status).className = "glyphicon glyphicon-ok-circle green"; }else if(Post_Status == "Suspendu"){ document.getElementById(Open_Status).className = "glyphicon glyphicon-remove-circle red"; } //}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="mes_annonces.php">Mes Emplois</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"]; $No_Of_Employee = $row["No_Of_Employee"]; $Email = $row["Email"]; $Phone = $row["Phone"]; $Address = $row["Address"]; $City = $row["City"]; $Location = $row["Location"]; $State = $row["State"]; $ZipCode = $row["ZipCode"]; $Company_Name = $row["Company_Name"]; $RegisterTime = $row["Register_Time"]; $My_Name = $FName .' '. $LName; ?> <div class="container"> <div class="MyAccountHead align-center"><h1>Mes Emplois</h1></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 emplois</h2> </div> <div class="listing-info"> <a class="button btn btn--default" href="submit_offer_employee.php"><i class="glyphicon glyphicon-plus"></i> Publier un poste</a> </div> <!--<div class="MyAccountHead align-center"><h3>Vous avez 0 emplois restants à publier sur 0 initialement disponibles..</h3></div>--> <div class="box-content"> <form role="form"> <table class="table table-striped table-bordered bootstrap-datatable datatable responsive"> <thead> <tr> <th class="center">Postes</th> <th class="center">Lieu</th> <th class="center">Création</th> <th class="center">Candidats</th> <th class="center">Consultations</th> <th class="center">État</th> <th class="center">Modifier l'emploi</th> <th class="center">Effacer l'emploi</th> </tr> </thead> <tbody> <?php $query = "SELECT * from Job_Post Where Master_ID ='".$user_n."' order by Post_Creation_Date"; $result = $mysqli->query($query); while($row = $result->fetch_assoc()){ ?> <tr> <td class="center"><?echo $row["Post_Title"];?></td> <td class="center"><?echo $City .', '.$State;?></td> <td class="center"><?echo $row["Post_Creation_Date"];?></td> <td class="center">7 Candidats<br>1 à voir</td> <td class="center"><?echo $row["No_of_Visitor"];?></td> <td class="center"> <? if($row["Post_Status"] == "Ouvert") { ?> <i id="Open<?php echo $row["Job_Post_ID"];?>" name="Open<?php echo $row["Job_Post_ID"];?>" class="glyphicon glyphicon-ok-circle green"></i> <? }else{ ?> <i id="Open<?php echo $row["Job_Post_ID"];?>" name="Open<?php echo $row["Job_Post_ID"];?>" class="glyphicon glyphicon-remove-circle red"> <? } ?> <select id="selectError" name="selectStatus" onchange="updatestatus('<?php echo $row["Job_Post_ID"];?>',this.value)"> <option value="<?echo $row["Post_Status"];?>"> <?echo $row["Post_Status"];?></option> <? if($row["Post_Status"] == "Ouvert") { ?> <option value="Suspendu"> Suspendu</option> <? }else{ ?> <option value="Ouvert"> Ouvert</option> <? } ?> </select> </td> <td class="center"> <a class="center-block" href="./update_offer_employee.php?var=<?php $tag=","; echo $row["Job_Post_ID"];echo $tag; echo $row["Master_ID"];?>">Modifier</a> </td> <td class="center"> <a href="" class="center-block" onclick='delete_offer("<?php echo $row["Job_Post_ID"];?>","<?echo $row["Master_ID"];?>")'">Effacer</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