?? 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 + -