📄 vacancies_display_latest_detail.php
字号:
<?
session_start();
require_once('../header.php');
if($HTTP_SESSION_VARS['status'] == "logged"){
if($_POST['reference'] != ''){
require_once('../database.php');
$query = "SELECT slary,discription,location,deadline FROM $dbTable_03 WHERE reference='".$_POST['reference']."'";
$result = mysql_query($query);
$db_entryCount = mysql_num_rows($result);
print("<card id='vacancies' title='Vacancy Details'>
<p align='center'>
<a href='vacancies_display_latest.php'><img src='../../images/c_head_vacancies.gif' alt='Vacancies'/></a>
<br/><br/>
<img src='../../images/space9.gif' alt='space'/>
<br/>
");
for ($count = 0; $count < $db_entryCount; $count++){
$thread = mysql_fetch_array($result);
$db_slary = $thread['slary'];
$db_reference = $_POST['reference'];
$db_discription = $thread['discription'];
$db_location = $thread['location'];
$db_deadline = $thread['deadline'];
print ("<b>Discription:</b><br/> ".$db_discription."<br/><img src='../../images/space9.gif' alt='space'/><br/>");
print ("<b>Location:</b><br/> ".$db_location."<br/><img src='../../images/space9.gif' alt='space'/><br/>");
print ("<b>Salary:</b><br/> ".$db_slary."<br/><img src='../../images/space9.gif' alt='space'/><br/>");
print ("<b>Deadline:</b><br/> ".$db_deadline ."<br/><img src='../../images/space9.gif' alt='space'/><br/>");
print ("<b>Reference:</b><br/> ".$db_reference."<br/><img src='../../images/space9.gif' alt='space'/><br/>");
print("<anchor>Get Vacancy by Email<go href='vacancies_send.php' method='post'>
<postfield name='reference' value='".$db_reference."'/>
</go>
</anchor>");
}
print("<br/><img src='../../images/space8.gif' alt='space'/><br/>
</p>
<p align='center'>
<a href='about.php'><img src='../../images/c_sub_nav_about.gif' alt='about us'/></a>
<a href='vacancies.php'><img src='../../images/c_sub_nav_vacancies.gif' alt='vacancies'/></a>
<a href='student.php'><img src='../../images/c_sub_nav_student.gif' alt='student info'/></a>
<a href='contact.php'><img src='../../images/c_sub_nav_contact.gif' alt='contact us'/></a>
</p></card></wml>");
}
}else{
print("<card id='splash' title='Vacancies' ontimer='vacancies.php#login'>>
<timer value='20'/>
<p align='center'>
<img src='../../images/c_head_vacancies.gif' alt='head'/><br/>
<img src='../../images/c_notice_vacancies_02.gif' alt='Please insert your username + password!'/>
</p>
</card>
</wml>");
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -