µî·ÏµÈ±Û: ÃÑ echo("$total_number °³"); ?> |
Allegro Entertainment |
±Û¹øÈ£ |
Á¦¸ñ |
À̸§ |
³¯Â¥ |
Á¶È¸¼ö |
if($mode=='sr') { // ¸¸¾à °Ë»ö¸ðµå ¿´´Ù¸é
$bb="select * from $table where $sel LIKE '%$search%' order by date desc LIMIT $page_start, $max_num";
}
else {
$bb="select * from $table order by date desc LIMIT $page_start, $max_num";
}
$result2=mysql_query($bb, $connect);
while($row=mysql_fetch_array($result2)) {
$number=$row[number];
$name=$row[name];
$email=$row[email];
$title=$row[title];
$date=$row[date];
$count=$row[count];
$same=$row[same];
$now=date("Y/m/d", $date); // ±Û ¿Ã¸° ½Ã°£ÀÇ Ç¥½Ã
if($now==$today_date) { // ¸¸¾à ¿À´Ã¿Ã·ÈÀ¸¸é ±½Àº»öÀ¸·Î Ç¥½Ã
$bold='';
$bold_end='';
$f_color='';
$f_color_end='';
$new_image=' ';
}
else { // ¸¸¾à ¿À´Ã¿Ã·ÈÀ¸¸é ±½Àº»öÀ¸·Î Ç¥½Ã
$bold='';
$bold_end='';
$f_color='';
$f_color_end='';
$new_image='';
}
echo("
$number |
$title $new_image |
$name |
$f_color $bold $now $bold_end $f_color_end |
$count |
");
}
echo(" |