📄 apply.inc.php
字号:
<?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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -