//background color¼³Á¤ $bgcolor1="ccddcc"; $bgcolor2="f9f9f9"; //DB°èÁ¤ ÀÎÁõ //include "mission.php"; //DB¿Í ¿¬°á $result = mysql_query("select * from mission_group where id=$id", $connection); $total = mysql_num_rows($result); $a = 0; $title = mysql_result($result, $a, "title"); $udate = mysql_result($result, $a, "udate"); $edit_date = mysql_result($result, $a, "edit_date"); $comment = mysql_result($result, $a, "comment"); $context = mysql_result($result, $a, "context"); $photo1 = mysql_result($result, $a, "photo1_name"); $photo2 = mysql_result($result, $a, "photo2_name"); $photo3 = mysql_result($result, $a, "photo3_name"); $fromdate = mysql_result($result, $a, "fromdate"); $todate = mysql_result($result, $a, "todate"); $link1 = mysql_result($result, $a, "link1"); $link2 = mysql_result($result, $a, "link2"); $link3 = mysql_result($result, $a, "link3"); $link_title1 = mysql_result($result, $a, "link_title1"); $link_title2 = mysql_result($result, $a, "link_title2"); $link_title3 = mysql_result($result, $a, "link_title3"); $keyword = mysql_result($result, $a, "keyword"); $title_e = mysql_result($result, $a, "title_e"); $photo3 = mysql_result($result, $a, "photo3_name"); $leader = mysql_result($result, $a, "leader"); $worker = mysql_result($result, $a, "worker"); $zipcode = mysql_result($result, $a, "zipcode"); $address = mysql_result($result, $a, "address"); $tel = mysql_result($result, $a, "tel"); $fax = mysql_result($result, $a, "fax"); $email = mysql_result($result, $a, "email"); $homepage = mysql_result($result, $a, "homepage"); $s_bank = mysql_result($result, $a, "s_bank"); $sb_owner = mysql_result($result, $a, "sb_owner"); if(!$edit_date) { $edit_date=$udate; } //´Üü¼Ò°³ $context=str_replace("\n","","$context"); //·Î°í°¡ ÀÖ³ª¿ä? if(!$photo3) { $logo = ""; }else{ $logo = ""; } //·Î°í°¡ ÀÖ³ª¿ä? if(!$photo2) { $FOTO = ""; }else{ $FOTO = ""; } //¾÷µ¥ÀÌÆ®³¯Â¥¸¦ º¸±âÆíÇÏ°Ô ¸¸µì´Ï´Ù. $edit_date = strval($edit_date); $UPD_DATE = $edit_date[0].$edit_date[1].$edit_date[2].$edit_date[3]."³â ".$edit_date[4].$edit_date[5]."¿ù ".$edit_date[6].$edit_date[7]."ÀÏ"; //ȨÆäÀÌÁö°¡ ÀÖ´ÂÁö È®ÀÎÇÕ´Ï´Ù. if($homepage=='http://') { $HOMEPAGE = "ȨÆäÀÌÁö ¾øÀ½"; }elseif(!$homepage) { $HOMEPAGE = "ȨÆäÀÌÁö ¾øÀ½"; }else{ $HOMEPAGE = "$homepage"; } //E-mailÀÌ ÀÖ´ÂÁö È®ÀÎÇÕ´Ï´Ù. if(!$email) { $EMAILYN = ""; }else{ $EMAILYN = " E-mail $email "; } //°ü·Ã¸µÅ©°¡ ÀÖ´ÂÁö È®ÀÎÇÕ´Ï´Ù. if($link1 && $link_title1) { $links1 = "$link_title1"." ($link1".")"; } if($link2 && $link_title2) { $links2 = "$link_title2"." ($link2".")"; } if($link3 && $link_title3) { $links3 = "$link_title3"." ($link3".")"; } $links = $links1.$links2.$links3; echo " KCM ±ÝÁÖÀÇ ¼±±³´Üü - $title"." »ó¼¼Á¤º¸"; include "../head.htm"; echo " $logo $title($title_e".") $FOTO ".$HOMEPAGE." ´ëÇ¥ÀÚ $leader ½Ç¹«ÀÚ $worker ÀüȹøÈ£ $tel FAX $fax ".$EMAILYN." ÁÖ¼Ò ¿ìÆí¹øÈ£ : $zipcode$address ÈÄ¿ø°èÁ $s_bank ( ¿¹±ÝÁÖ : $sb_owner ) ´Üü¼Ò°³ $context °ü·Ã»çÀÌÆ® $links (ÃÖÁ¾¾÷µ¥ÀÌÆ® : $UPD_DATE".") ¼±±³´Üü¸®½ºÆ®Àüüº¸±â ÀÌÀüÆäÀÌÁö "; include ('copyright.htm'); echo " "; ?>