-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstudent.php
102 lines (90 loc) · 2.73 KB
/
student.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?php
include_once('header.php');
include_once('connection.php');
?>
<!-- USER -->
<?php
error_reporting(E_ERROR | E_WARNING | E_PARSE);
session_start();
if(isset($_SESSION['uid'])){
include_once('dbclass.php');
$db=new db;
$res=$db->getUserData();
$row=mysqli_fetch_array($res,MYSQLI_ASSOC);
}
else{
header("location:login.php");
exit;
}
?>
<?php
$id=$_SESSION['uid'];
/*$name=$row['name'];
$phone=$row['phone'];
$email=$row['email'];*/
?>
<!-- PREMIUM JOB ADDS -->
<br>
<section class="product-filter-section">
<div class="container">
<div class="section-title">
<h2>YOUR RESUME'S</h2>
</div>
<div class="row">
<?php
/*if (isset($_GET['job_id'])) {
$id=$_GET['job_id'];
}
else
{
echo "Not done";
}*/
$db=$conn;
global $db;
$get_product="SELECT * FROM stud_table WHERE user_id='$id' ";
$run_products=mysqli_query($db,$get_product);
if (mysqli_num_rows($run_products)>0)
{
while ($row_product=mysqli_fetch_array($run_products)) {
$stud_id=$row_product['stud_id'];
$user_id = $row_product['user_id'];
$name = $row_product['name'];
$address = $row_product['address'];
$email = $row_product['email'];
$phone = $row_product['phone'];
$profession = $row_product['profession'];
$objective = $row_product['objective'];
$education = $row_product['education'];
$experience = $row_product['experience'];
$skill = $row_product['skill'];
$language = $row_product['language'];
$links = $row_product['links'];
$img1 = $row_product['img1'];
echo "<div class='col-lg-3 col-sm-6'>
<div class='product-item'>
<div class='pi-pic'>
<a href='resume.php?stud_id=$stud_id'><img src='./img/form_img/$img1' alt='' height='250px' width='400px'></a>
<div class='pi-links'>
<a href='resume.php?stud_id=$stud_id' class='add-card'><i class='flaticon-bag'></i><span>VISIT POST</span></a>
<!--<a href='#' class='wishlist-btn'><i class='flaticon-heart'></i></a>-->
</div>
</div>
<div class='pi-text'>
<h6>$profession</h6>
<p>$name</p>
</div>
</div>
</div>";
}
}
else
{
echo " <h4>You Have not created any Gig</h4>";
}
?>
</div>
</div>
</section>
<!-- NORMAL JOB ADDS -->
<br>
<?php include_once('footer.php') ?>