📄 jobs.inc.php
字号:
<?php
/*********************/
/* */
/* Version : 5.1.0 */
/* Author : RM */
/* Comment : 071223 */
/* */
/*********************/
if ( !defined( "IN_UCHOME" ) )
{
exit( "Access Denied" );
}
$uid = $_SGLOBAL['supe_uid'];
$id = empty( $_GET['id'] ) ? 0 : intval( $_GET['id'] );
$list = sqlforlist( "job_newjobs", "id=".$id );
$list = $list[0];
if ( empty( $list ) )
{
showmessage( "view_to_info_did_not_exist" );
}
$list['jobintro'] = blog_bbcode( $list['jobintro'] );
if ( $list['uid'] != $uid )
{
if ( $list['draft'] == 1 )
{
showmessage( "除发布者外草稿不能看", "job.php", 0 );
}
if ( $list['verify'] == 1 )
{
showmessage( "除发布者外未审核不能看", "job.php", 0 );
}
}
if ( empty( $list ) )
{
showmessage( "参数错误", "job.php", 0 );
}
else
{
$company = sqlforlist( "job_company", "id=".$list['corpid'] );
$company = $company[0];
$company['corpdescription'] = blog_bbcode( $company['corpdescription'] );
$_SGLOBAL['db']->query( "UPDATE ".tname( "job_newjobs" )." SET view=view+1 WHERE id=".$id );
}
$edudegrees = array( "无", "小学", "初中", "高中", "中技", "中专", "大专", "本科", "硕士", "MBA", "博士", "其他" );
$senioritys = array( "无", "在校学生", "应届毕业生", "一年以上", "二年以上", "三年以上", "五年以上", "八年以上", "十年以上" );
$jobtypes = array( "无", "全职", "兼职", "临时", "实习" );
$emoluments = array( "面议", "2万以下/年", "2-3万/年", "3-4万/年", "4-5万/年", "5-6万/年", "8-10万/年", "10-15万/年", "15-30万/年", "30-50万/年", "50-100万/年", "100万以上/年" );
$corpsizes = array( "1-49人", "50-99人", "100-499人", "500-999人", "1000人以上" );
$corptypes = array( "无", "外资(欧美)", "外资(非欧美)", "合资(欧美)", "合资(非欧美)", "国企/上市公司", "民营/私营公司", "外企代表处", "其它性质" );
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -