|
$num1 = 0;
######### Å×ÀÌºí³» ¸ðµç ·¹ÄÚµåÀÇ °¢ Çʵ尪À» °¢°¢ÀÇ º¯¼ö¿¡ ÀúÀåÇÏ¿© Ãâ·ÂÇÑ´Ù. ##########
for($i1 = 0; $i1 < $num_per_page1; $i1++) {
if($first1 > $last1) break;
$idx = mysql_result($result1,$i1,0);
$jurnel = mysql_result($result1,$i1,1);
$year = mysql_result($result1,$i1,2);
$vol = mysql_result($result1,$i1,3);
$pageq = mysql_result($result1,$i1,4);
$subject1 = mysql_result($result1,$i1,5);
$files1 = mysql_result($result1,$i1,7);
$writer1 = mysql_result($result1,$i1,6);
$abstract = mysql_result($result1,$i1,10);
$regmonth = mysql_result($result1,$i1,11);
$professor = mysql_result($result1,$i1,12);
?>
[
±³¼ö ¿¬±¸½Ç ]
³â ¿ùÈ£ |
|
|
|
if($first1 >= $last1) {
break;
} else {
$first1++;
}
}
?>
|
|
|
|
|
$num = 0;
######### Å×ÀÌºí³» ¸ðµç ·¹ÄÚµåÀÇ °¢ Çʵ尪À» °¢°¢ÀÇ º¯¼ö¿¡ ÀúÀåÇÏ¿© Ãâ·ÂÇÑ´Ù. ##########
for($i = 0; $i < $num_per_page; $i++) {
if($first > $last) break;
$no = mysql_result($result,$i,0);
$division = mysql_result($result,$i,4);
$date = substr(mysql_result($result,$i,12),5,5);
$subject = StringCut(mysql_result($result,$i,6),40);
$datechk = mysql_result($result, $i, 12);
?>
|
[]
$recent_time = 60*60*24*3; //3ÀÏ À̳»
$year = substr($datechk, 0, 4); $mon = substr($datechk, 5, 2) ; $day = substr($datechk, 8,2);
$hour = substr($datechk, 11, 2); $min=substr($datechk,14,2); $sec=substr($datechk, 17, 2);
$today = mktime();
$datechk = mktime($hour, $min, $sec, $mon, $day, $year);
$wtime = $today-$datechk;
if($wtime <= $recent_time){ echo ""; }
?>
|
|
if($first >= $last) {
break;
} else {
$first++;
}
}
?>
|
|
|
|
$num = 0;
######### Å×ÀÌºí³» ¸ðµç ·¹ÄÚµåÀÇ °¢ Çʵ尪À» °¢°¢ÀÇ º¯¼ö¿¡ ÀúÀåÇÏ¿© Ãâ·ÂÇÑ´Ù. ##########
for($i = 0; $i < $num_per_pagej; $i++) {
if($firstj > $lastj) break;
$no = mysql_result($resultj,$i,0);
$division = mysql_result($resultj,$i,4);
$date = substr(mysql_result($resultj,$i,12),5,5);
$subject = StringCut(mysql_result($resultj,$i,6),40);
$datechk = mysql_result($resultj, $i, 12);
?>
|
[]
$recent_time = 60*60*24*3; //3ÀÏ À̳»
$year = substr($datechk, 0, 4); $mon = substr($datechk, 5, 2) ; $day = substr($datechk, 8,2);
$hour = substr($datechk, 11, 2); $min=substr($datechk,14,2); $sec=substr($datechk, 17, 2);
$today = mktime();
$datechk = mktime($hour, $min, $sec, $mon, $day, $year);
$wtime = $today-$datechk;
if($wtime <= $recent_time){ echo ""; }
?>
|
|
if($firstj >= $lastj) {
break;
} else {
$firstj++;
}
}
?>
|
|
|
|
$num = 0;
######### Å×ÀÌºí³» ¸ðµç ·¹ÄÚµåÀÇ °¢ Çʵ尪À» °¢°¢ÀÇ º¯¼ö¿¡ ÀúÀåÇÏ¿© Ãâ·ÂÇÑ´Ù. ##########
for($i = 0; $i < $num_per_pager; $i++) {
if($firstr > $lastr) break;
$no = mysql_result($resultr,$i,0);
$division = mysql_result($resultr,$i,4);
$date = substr(mysql_result($resultr,$i,12),5,5);
$datechk = mysql_result($resultr,$i,12);
$subject = StringCut(mysql_result($resultr,$i,6),38);
?>
|
[]
$recent_time = 60*60*24*30; //30ÀÏ À̳»
$year = substr($datechk, 0, 4); $mon = substr($datechk, 5, 2) ; $day = substr($datechk, 8,2);
$hour = substr($datechk, 11, 2); $min=substr($datechk,14,2); $sec=substr($datechk, 17, 2);
$today = mktime();
$datechk = mktime($hour, $min, $sec, $mon, $day, $year);
$wtime = $today-$datechk;
if($wtime <= $recent_time){ echo ""; }
?>
|
|
if($firstr >= $lastr) {
break;
} else {
$firstr++;
}
}
?>
|
|
|
|
|