//³»¿ë ºÒ·¯¿À±â
$sql = "select * from $board
where code='running' and main_no=$main_no and dep_no='$dep_no' and add_no=0";
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
//listÀÇ echo_lineÇÔ¼ö·Î º¸³»±â À§ÇÑ º¯¼ö »ý¼º
$d_main = $row[main_no];
$d_dep = $row[dep_no];
//read_pass´Â Àǰߴޱ⸦ ÇÒ ¶§ save¿¡¼ º¸³»¿Â º¯¼ö´Ù.
if($read_pass==a or $mode==modify or $mode==add_del or $mode==reply) $read_only=b;
if($read_key==a or $read_only==a) include('../../system/login/login-inc.php');
//Ä«¿îÆ® Áõ°¡
$sql = "update $board set view = view+1
where code='running' and main_no=$main_no and dep_no='$dep_no' and add_no=0";
mysql_query($sql);
echo mysql_error();
?>
include("../../inc_file/view/layer_1.php");?>
//º¸µå ŸÀÌÆ²À» ±ÛÀڷΠǥÇöÇÒ °ÍÀΰ¡ À̹ÌÁö·Î Ç¥ÇöÇÒ °ÍÀΰ¡ ¼±ÅÃ(key°ªÀº a, b)
if($title_key==a) {
echo "$game [ $row[name] ] | \n";
}
else {
echo " | \n";
}
?>
border="0" cellpadding="1" cellspacing="1" class=outline>
>
>¡Û =$row[homeurl]?> [ include("../../inc_file/view/email_home.php");?> ] |
Á¶È¸¼ö ( =$row[view]?> ) |
|
>´Þ¸°³¯Â¥ |
=$row[email]?> |
>´Þ¸°Àå¼Ò |
=$row[title]?> |
>´Þ¸°½Ã°£ |
echo "$row[sub1]½Ã $row[sub2]ºÐ $row[sub3]ÃÊ";?> |
>´Þ¸°°Å¸® |
echo "$row[link1] Km"; ?> |
//Æò±Õ¼Ó·Â±¸Çϱâ
$runtime=$row[sub1]+$row[sub2]/60+$row[sub3]/3600;
$avetime=($runtime/$row[link1])*60;
$int_minute=floor($avetime);
$int_second=($avetime-$int_minute)*60;
$int_second=floor($int_second);
if($runtime==0) $speed=0; else $speed=$row[link1]/$runtime;
$speed=number_format($speed,2);
?>
>Æò±Õ½Ã°£ |
echo "$int_minute ºÐ $int_second ÃÊ";?> (1Km´ç) |
>Æò±Õ½Ã¼Ó |
=$speed ?> Km/h (1½Ã°£´ç) |
>³¯ ¾¾ |
=$row[link2]?> |
>ÄÁ µð ¼Ç |
=$row[link3] ?> |
if($row[reply_sel]==n) {
if($row[read_only]==g) { $game="5k"; $title="$row[homeurl]";}
elseif($row[read_only]==b) { $game="10km"; $title="$row[homeurl]";}
elseif($row[read_only]==c) { $game="HALF"; $title="$row[homeurl]";}
elseif($row[read_only]==d) { $game="FULL"; $title="$row[homeurl]";}
elseif($row[read_only]==e) { $game="¿ïÆ®¶ó"; $title="$row[homeurl]"; }
elseif($row[read_only]==f) { $game="±âŸ"; $title="$row[homeurl]"; }
?>
>´ëȸ¸íĪ |
=$title?> |
>Á¾ ¸ñ |
if($row[read_only]==d and $row[reply_sel]==n and $row[sub1]<=2) $sub_3="[Ãßļ~ SUB3 ¾ßÀ¯!!]"; ?>
echo "$game $sub_3" ?> |
}?>
>»ó¼¼³»¿ë |
|
border=0 cellpadding=1 cellspacing=0>
>
>
//include('../../inc_file/view/vote.php'); ?>
|
//if($vote_no==a) echo "Ãßõ¼ö : ".$row[vote]; ?>
|
|
|
border=0 cellpadding=1 cellspacing=0>
">
$keyword=urldecode("$keyword"); ?>
|