apply.inc.php
来自「UCH求职招聘插件。 1.个人简历发布(可设置简历状态隐私」· PHP 代码 · 共 42 行
PHP
42 行
<?php
/*********************/
/* */
/* Version : 5.1.0 */
/* Author : RM */
/* Comment : 071223 */
/* */
/*********************/
if ( !defined( "IN_UCHOME" ) )
{
exit( "Access Denied" );
}
$uid = $_SGLOBAL['supe_uid'];
$perpage = 10;
$page = empty( $_GET['page'] ) ? 1 : intval( $_GET['page'] );
$start = ( $page - 1 ) * $perpage;
$summarylen = 200;
$classid = empty( $_GET['classid'] ) ? 1 : intval( $_GET['classid'] );
if ( 3 < $classid )
{
showmessage( "错误参数传递!", "job.php?ac=apply", 0 );
}
else
{
if ( !empty( $_GET['classid'] ) )
{
$classurl = "&classid=".$classid;
}
$count = sqlforone( "count(*)", "job_collect", "apply=".$classid." AND cuid=".$uid );
$theurl = "job.php?ac=apply".$classurl;
$query = $_SGLOBAL['db']->query( "SELECT * FROM ".tname( "job_collect" )." AS c , ".tname( "job_newjobs" )." AS n WHERE c.jobid=n.id AND c.apply=".$classid." AND c.cuid=".$uid." ORDER BY c.dateline DESC LIMIT ".$start.",".$perpage );
while ( $value = $_SGLOBAL['db']->fetch_array( $query ) )
{
$list[] = $value;
}
}
$active = array( " class=\"active\"" );
$multi = array( );
$multi['html'] = multi( $count, $perpage, $page, $theurl );
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?