include "dbopen.inc";
include "process.inc";
#############ÀڱⱤ°í°¡ ¾Æ´Ï¸é ¼öÁ¤ ¾ÈµÊ############
$res1 = mysql_query("select no, ad_no from doumy_data where ad_no='$doumy_ad_no'");
$res1_row=mysql_fetch_array($res1);
mysql_free_result($res1);
if($res1_row[no]!=$no){
echo "";
exit;
}
#### ¸Þ´ºÃß°¡¸ðµå ######
if($add=="addok" and $no){
$comment2_1 = eregi_replace(" "," ",$comment2_1);
$comment2_1 = eregi_replace("\r\n","
",$comment2_1);
$comment3_1 = eregi_replace(" "," ",$comment3_1);
$comment3_1 = eregi_replace("\r\n","
",$comment3_1);
$addres=mysql_query("update doumy_data set comment2='$comment2', comment2_1='$comment2_1', comment3='$comment3', comment3_1='$comment3_1' where no='$no' ");
if($addres){
/// ÀúÀåÈÄ À̵¿¸µÅ©
if($no<=19172) {
echo "";
exit;
}
else
{
echo "";
exit;
}
}
}
$resRow[comment2_1] = eregi_replace("
","\r\n",$resRow[comment2_1] );
$resRow[comment3_1] = eregi_replace("
","\r\n",$resRow[comment3_1] );
?>
±¤°í´Â µµ¿ì¹Ì114¿¡¼!!
|
|
$mainskin="skin/$resRow[title_no]".".gif";
if($resRow[title_no]=="0" or $resRow[title_no]=="-1"){
if(file_exists("../$adFolder/$resRow[no]"."-mainskin.gif")){ $mainskin="../$adFolder/$resRow[no]"."-mainskin.gif"; }
else if(file_exists("../$adFolder/$resRow[no]"."-mainskin.jpg")){ $mainskin="../$adFolder/$resRow[no]"."-mainskin.jpg"; }
}
?>
$title2=strip_tags($resRow[title]);
if($resRow[title_no]=="-1") {
echo "";
echo " | $upjong2";
if($upjong3!="") { echo " $upjong3"; }
echo " | ";
}else{
if(strlen($title2)<=24) {
echo "";
echo " | $upjong2";
if($upjong3!="") { echo " $upjong3"; }
echo " | ";
}else{
echo "";
echo " | $upjong2";
if($upjong3!="") { echo " $upjong3"; }
echo " | ";
}
} ///$Á¶°Ç´ÝÀ½
?>
|
|
|
|
">
|
if($doumy_id) { echo"".$doumy_id."´Ô ·Î±×ÀÎÁß!";}else{ echo"¼Õ´ÔÀ̽ʴϴÙ.";} ?>
if($doumy_ad_no==$resRow[ad_no]) { /// ±¤°íÁÖ¿¡°Ô¸¸ ±¤°í¸¶°¨ÀÏ º¸ÀÓ
if($resRow[ad_no]<'207-0370'){ $endY=substr($resRow[in_day],0,4) +1; }
else{ $endY=substr($resRow[in_day],0,4) +2; }
$endM=substr($resRow[in_day],4,2);
$endD=substr($resRow[in_day],6,2);
echo " | ±¤°í¸¶°¨ÀÏ:".$endY."/".$endM."/".$endD." ";
}
?>
if($doumy_id and $doumy_ad_no){ echo"·Î±×¾Æ¿ô"; }
else{ echo "°ü¸®ÀÚ"; }
?>
E-mail";} else {echo "E-mail";}?> >µµ¿ì¹ÌȨ |
|
|
|
|
|
|
|
|
|
|
$resRow[pre_p]";?> |
$resRow[next_p]";?> |
if($resRow[comment2]!=""){ echo " $resRow[comment2] | "; }
if($resRow[comment3]!=""){ echo " $resRow[comment3] | "; }
if($resRow[homepage]!=""){ echo " ȨÆäÀÌÁö | "; }
if($resRow[board]!=""){echo " °Ô ½Ã ÆÇ | "; }
if($resRow[map]!=""){echo " ¾à µµ | "; }
?>
|
|
|
if($doumy_ad_no==$resRow[ad_no]) { ?>
">">
} ?>
|
¸Þ ´º Ãß °¡ |
|
|
|
|
|
if($resRow[addr]!=""){ echo " ÁÖ¼Ò : ".$resRow[addr]; }
if(substr($resRow[ceo_name],0,1)!="1"){echo " ´ëÇ¥ : $resRow[ceo_name]"; }
if(($resRow[tel1]!="")||($resRow[tel2]!="")){
echo " ";
echo " Tel : ".$resRow[tel1];
if($resRow[tel2]!=""){ echo " / ".$resRow[tel2]; }
}
if(($resRow[hp]!="")||($resRow[fax]!="")||($resRow[no_tel]!="")){ echo " ";}
if($resRow[hp]!=""){ echo " HP : ".$resRow[hp]; }
if($resRow[fax]!=""){ echo " FAX : ".$resRow[fax]; }
if($resRow[no_tel]!=""){ echo " ¹«·áÀüÈ : ".$resRow[no_tel]; }
if(($resRow[mail]!="")||($resRow[homepage]!="")){echo " ";}
if($resRow[mail]!=""){ echo " E-mail : ".$resRow[mail].""; }
if($resRow[homepage]!=""){ echo " ȨÆäÀÌÁö : ".$resRow[homepage].""; }
?>
|
|
|
|
|
|
Copyright 2003 ¨Ï 114doumy.com All Rights Reserved [±¤°í½Åû] |
|
|
|