-
Notifications
You must be signed in to change notification settings - Fork 3
/
hiring.php
executable file
·196 lines (173 loc) · 7.98 KB
/
hiring.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<?php
session_start();
if (!isset($_SESSION['log']) || empty($_SESSION['log']) || $_SESSION['log'] != 1) {
echo "<script>alert('请先登陆!');</script>";
header("Refresh:0;url=index.html");
exit();
}
if (!isset($_SESSION['role']) || empty($_SESSION['role']) || $_SESSION['role'] != 1) {
echo "<script>alert('您没有权力发布兼职!');</script>";
header("Refresh:0;url=home.php");
exit();
}
?>
<!doctype html>
<html>
<head>
<title>发布兼职</title>
<meta charset="utf-8">
<link rel="stylesheet" href="./assets/css/nav.css">
<link rel="stylesheet" href="./assets/css/hiring.css">
</head>
<body>
<div id="header">
<div class="width_limit">
<a class="logo" href="home.php">
<img id="logo_img" src="images/logo.png" alt="logo">
</a>
<div class="logoutdiv">
<a href="index.html" class="header_tab logout">退出登录</a>
</div>
<div class="search">
<form action="">
<input id="search_input" type="text" title="在此处输入搜索内容" placeholder="搜索相关兼职">
<a id="search_btn" href="#">
<img src="images/search-btn.png" alt="search" style="width: 23px;height: 23px;">
</a>
</form>
</div>
<!-- navigator -->
<!-- 用列表结构实现导航栏,实现下拉框 -->
<ul>
<li><a href="home.php">首页</a></li>
<div class="dropdown">
<a href="apply.php" class="dropbtn">申请兼职</a>
<div class="dropdown-content">
<a href="apply_school.php">校内兼职</a>
<a href="apply_company.php">企业兼职</a>
<a href="apply_lab.php">实验室兼职</a>
</div>
</div>
<li><a href="hiring.php" class="active">发布兼职</a></li>
<li><a href="myjob.php">我的兼职</a></li>
</ul>
</div>
</div>
<!--主体内容-->
<form method="POST" action="/PHP/hiring.php">
<div id="content">
<!--主体内容头部标题-->
<div class="content_header">
<h1 id="topic">填写兼职相关信息</h1>
<hr>
</div>
<!--主体内容表格-->
<div class="content_body">
<div class="row ">
<span class="red_star"> *</span>
<span>兼职标题:</span>
<input class="type1" name="title" maxlength=40 placeholder="请输入兼职标题" >
</div>
<div class="row ">
<span class="red_star"> *</span>
<span>兼职类型:</span>
<span>
<select class="select type " id="type " name="type">
<option selected="selected ">请选择类型</option>
<option>校内兼职</option>
<option>实验室兼职</option>
<option>校企合作</option>
<option>其它</option>
</select>
</span>
</div>
<div class="row ">
<span class="red_star"> *</span>
<span>学历要求:</span>
<span>
<select class="select type " id="type " name="education">
<option selected="selected ">请选择类型</option>
<option>本科生(含大一)</option>
<option>研究生</option>
<option>大二及以上</option>
<option>大三及以上</option>
</select>
</span>
</div>
<div class="row ">
<span class="red_star"> *</span>
<span>性别要求:</span>
<span>
<select class="select type " id="type " name="sex">
<option selected="selected ">请选择类型</option>
<option>男</option>
<option>女</option>
<option>不限</option>
</select>
</span>
</div>
<div class="row ">
<span> 其他要求:</span>
<textarea class="type2" name="other" maxlength=140 placeholder="请输入其他工作要求" ></textarea>
</div>
<div class="row ">
<span class="red_star"> *</span>
<span>工作内容:</span>
<textarea class="type2" name="content" maxlength=140 placeholder="请输入兼职工作内容" ></textarea>
</div>
<div class="row ">
<span class="red_star"> *</span>
<span>工作时间:</span>
<input class="type1" name="time" maxlength=40 placeholder="如:每周不少于10小时,根据学生空闲时间进行安排" >
</div>
<div class="row ">
<span class="red_star"> *</span>
<span>工作地点:</span>
<input class="type1" name="place" maxlength=40 placeholder="如:五山校区西区饭堂" >
</div>
<div class="row ">
<span class="red_star"> *</span>
<span>工作报酬:</span>
<input class="type1" name="reward" maxlength=40 placeholder="如:18.3元/小时" >
</div>
<div class="row ">
<span> 备注:</span>
<textarea class="type2" name="remarks"maxlength=140 placeholder="其他信息" ></textarea>
</div>
</div>
<!--主体内容头部标题-->
<div class="content_header">
<h1 id="topic">填写联系方式</h1>
<hr>
</div>
<!--主体内容表格-->
<div class="content_body">
<div class="row ">
<span class="red_star"> *</span>
<span>联系人: </span>
<input class="type1" name="contacts" maxlength=40 placeholder="请输入联系人姓名" >
</div>
<div class="row ">
<span class="red_star"> *</span>
<span>咨询电话 :</span>
<input class="type1" name="phone" maxlength=40 placeholder="请输入咨询电话" >
</div>
<div class="row ">
<span>简历邮箱: </span>
<input class="type1" name="email"maxlength=40 placeholder="请输入简历投递邮箱" >
</div>
<div class="row ">
<span>QQ或其他 :</span>
<input class="type1" name="otherway" maxlength=40 placeholder="请输入联系QQ或其他方式" >
</div>
</div>
</div>
<!--提交按钮-->
<div class="btnnn ">
<button id="publish">点击发布</button>
</div>
</form>
<br><br>
</body>
<script type="text/javascript" src="./assets/src/nav.js"></script>
</html>