forked from 0xm4n/Pingpin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapply.php
More file actions
83 lines (66 loc) · 2.47 KB
/
apply.php
File metadata and controls
83 lines (66 loc) · 2.47 KB
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
<?php
include_once("PHP/mysql.php");
session_start();
if(!isset($_SESSION['log']) || empty($_SESSION['log'])|| $_SESSION['log']!=1){
echo "<script>alert('请先登陆!');</script>";
header("Refresh:0;url=index.html");
exit();
}
getConnect();
$requireSQL = "SELECT * FROM information,contactinfo WHERE information.id=contactinfo.id";
$result = mysql_query($requireSQL);
?>
<!doctype html>
<html>
<head>
<title>申请兼职</title>
<meta charset="utf-8">
<?php
echo "<link rel=\"stylesheet\" href=\"./assets/css/apply.css\">";
?>
</head>
<body>
<div id="header">
<img id="logo_img" src="img/logo.png" alt="logo">
<span id="seperator">|</span>
<form action="">
<input id="search_input" type="text" title="在此处输入搜索内容" placeholder="搜索相关兼职">
<img src="" alt="">
</form>
<span class="header_tab" id="f1">
<a href="home.php">首页</a>
</span>
<span class="header_tab" id="f2">申请兼职</span>
<span class="header_tab" id="f3">
<a href="hiring.php">发布兼职</a>
</span>
<span class="header_tab" id="f4">我的兼职</span>
<span class="header_tab" id="logout">
<a href="index.html">退出登录</a>
</span>
<img id="logout_icon" src="img/logout.png" alt="logout">
</div>
<div id="content">
<!--主体内容头部标题-->
<div class="content_header">
<h1 id="topic">华工校内兼职招聘相信息</h1>
<hr>
</div>
<!--主体内容表格-->
<div class="content_body">
<!--招聘内容表格-->
<?php
while($row = mysql_fetch_array($result)){
echo"<div class=\"ptJob_Info\"><h2 class=\"pt_title\">".$row['title'].
"</h2><div class=\"clickToApply\"><span id=\"salary\"><span id=\"money\">".$row['reward'].
"</span><span></span></span><button id=\"apply_btn\">点击申请</button> </div><div><ul><li>
<span>工作时间:</span><span>".$row['time']."</span></li><li><span>兼职类型:</span><span>"
.$row['type']."</span> </li><li><span>工作地点:</span><span>".$row['place']."</span></li><li>
<span>学历要求:</span><span>".$row['education']."</span></li></ul></div></div>";
}
closeConnect();
?>
</div>
</div>
</body>
</html>