=650) {$w_rate=650/$height; $height=650; $width=floor($width*$w_rate);} } //ÇöÀçÀÇ ³ªÀÌ¿Í ´Þ¸®±â ½ÃÀ۳⵵¸¦ ±¸ÇÑ´Ù. $current_old=date(Y)-$row[sub1]+1; $carrier_year=date(Y)-$row[sub2]+1; //Å«À̹ÌÁö º¸±â if($row[file2]){ $img_link = " \"Å«À̹ÌÁöº¸±â\"\n"; } else { $img_link = " \"$row[title]\"\n"; } //À̹ÌÁö¸¦ Ãâ·ÂÇϱâÀ§ÇÑ Á¶°Ç°ú ÇÔ¼ö, °¡·Î·Î ÃÖ´ë 5°³, ÃÖ¼Ò 1±îÁö Çã¿ë if($img_nums<=0) $img_nums=1; //°¡·Î·Î ÃÖ¼Ò 1°³ÀÌ»óÀ» Çã¿ëÇϱâÀ§ÇØ $td_size=floor(100/$img_nums); //ÇÑ ºí·°ÀÇ Å©±â¸¦ ³»¼­ td¿¡ ³ÐÀ̸¦ Á¤ÇϱâÀ§ÇØ if($line%$img_nums==0) echo "\n"; //ȸ¿ø¸¸ ³»¿ëº¸±â¸¦ ÇßÀ» ½Ã¿¡ ¸µÅ© if(($read_key==c and strlen($id)>0) or $read_key==a or $read_key==b) $title_link=""; echo "
\n"; //°øÁö±ÛÀÌ ¾Æ´Ñ ±Û¾´ÀÌ¿¡ ·¹À̾ °É¾îÁØ´Ù. $noo=$no+2; if($writer_no==a) { if($row[main_no]<0) echo "$name"; else echo "$name"; } echo "  $title_link$title $count_opp \n"; if($row[read_only]==a) echo "´Þ¸®±âÀÏÁöº¸±â[ºñ°ø°³]"; else echo "´Þ¸®±âÀÏÁöº¸±â[°ø°³]"; echo "
\n"; //runningÄÚµå·ÎºÎÅÍ µ¥ÀÌŸ¸¦ ºÒ·¯¿Â´Ù 10km, half, fullÄÚ½º ÃÖ°í±â·Ï »Ì¾Æ³»±â $sql= "select * from $board where code = 'running' and add_no=0 and main_no>0 and id='$row[id]' order by sub1 desc, sub2 desc, sub3 desc, main_no desc, dep_no desc"; $result = mysql_query($sql); $ten_num=0; $half_num=0; $full_num=0; $total_num=0; while($rowr = mysql_fetch_array($result)) { if($rowr[reply_sel]==n and $rowr[read_only]==b) {$ten_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $ten_num++;} if($rowr[reply_sel]==n and $rowr[read_only]==c) {$half_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $half_num++;} if($rowr[reply_sel]==n and $rowr[read_only]==d) {$full_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $full_num++;} $total_distance = $total_distance+$rowr[link1]; $total_num++; } if(!$ten_best) $ten_best="±â·Ï¾øÀ½"; if(!$half_best) $half_best="±â·Ï¾øÀ½"; if(!$full_best) $full_best="±â·Ï¾øÀ½"; if(!$total_distance) $total_distance="±â·Ï¾øÀ½"; else $total_distance=number_format($total_distance,0)." km"; echo "
\n"; if(strlen($row[file2])>0) echo $img_link; else echo "\n"; if($row[sub4]=="W") $sex="(¿©)"; else $sex="(³²)"; echo " ÇöÀ糪ÀÌ : $current_old"."¼¼ $sex

´Þ¸²°æ·Â : $carrier_year ³â°

ÀüÈ­¹øÈ£ : $row[sub3]\n"; if($row[email]) echo "

À̸ÞÀÏ : $row[email]"; if($row[homeurl]<>"http://") echo "

ȨÆäÀÌÁö : $row[homeurl]
ÃÖ °í ±â ·Ï
Full : $full_best ($full_num"."ȸ)
Half : $half_best ($half_num"."ȸ)
10km : $ten_best ($ten_num"."ȸ)
ÃÑ´Þ¸°°Å¸®
$total_distance ($total_num)
$title_link»ó¼¼³»¿ëº¸($row[view])
\n"; echo "
\n"; } // ========================================================ÇÔ¼ö µî·Ï ºÎ //¾Æ·¡ DB·ÎºÎÅÍ µ¥ÀÌŸ¸¦ ºÒ·¯¿Í Á¤¿­ÇÏ´Â ¹æ½ÄÀ» ¼±Åà //""¾È¿¡ Á¤¿­À» ¿øÇÏ´Â º¯¼ö¸¦ ¾²¸é µÈ´Ù. ¿øÇÏÁö ¾ÊÀ¸¸é ""¸¸ ¾¸. (ÁÖÀÇ)º¯¼öµÚ ½°Ç¥(,)Àº ²À ¾µ °Í. //¿ªÀ¸·Î Á¤¿­À» ¿øÇϸé "º¯¼ö desc," ÀÌ·± ½ÄÀ¸·Î ÇÒ °Í. $db_array=""; //db·ÎºÎÅÍ µ¥ÀÌŸ¸¦ ºÒ·¯¿Í¼­ °¡°øÃ³¸® include("../../inc_file/list/sql_1.php"); //±Û ³»¿ë º¸±â Æû°ú ÆäÀÌÁö À̵¿ Æû include("../../inc_file/list/form.php"); //°Ô½ÃÆÇ Á¦¸ñ°ú Ä«¿îÅ͸¦ ´ã°í ÀÖÀ½--htmlÀ̹ǷΠº»ÀÎÀÇ ±¸¹Ì¿¡ ¸Â°Ô ¼öÁ¤ °¡´É include("../../inc_file/list/titlecount.php"); ?> CELLSPACING=0 CELLPADDING=>
cellpadding=2 border=0 width=100% class=outline>

>