//-------------------------------------------------------------------------------
//ÇÁ·Î±×·¥¸í : RoomSolution ½ºÄð·ë free
//¹èÆ÷¹öÁ¯ : 2.0 free
//ÇÁ·Î±×·¥µî·Ï : 2002-01-26-2944 ELS K-TooL
//ƯÇãÃâ¿ø : 2002-0076246
//°³¹ß»ç : (ÁÖ)ÀÌ¿¤¿¡½º - ELS CO.,Ltd.
//Homepage : http://www.els.co.kr
//µ¥¸ð ¹× ¼ºñ½º : www.rsolution.com
//* º» ¼Ò½ºÄÚµå´Â ¼ÒÇÁÆ®¿þ¾î, ƯÇã, ÀúÀÛ±Ç µîÀÇ ¹ý·ü¿¡ ÀÇÇØ º¸È£¹Þ°í ÀÖ½À´Ï´Ù.
//-------------------------------------------------------------------------------
?>
include "hit.html"; //ÃßõÇлýȨ Ä«¿îÅÍ
include "top.html";
include "left.html";
?>
|
|
$c_mdesign = stripslashes($cm[c_mdesign]);
$c_mdesign = ereg_replace(">",">",$c_mdesign);
$c_mdesign = ereg_replace("<","<",$c_mdesign);
// $c_mdesign = ereg_replace(chr(13)," ",$c_mdesign);
?>
=$c_mdesign?> |
|
|
|
|
//»õ¼Ò½Ä ½ÃÀÛ
$sql1=mysql_query("select * from news where c_no='$c_no' order by writeday desc limit 0,4");
while($rs1=mysql_fetch_array($sql1)){
$title=stripslashes($rs1[title]);
$ttitle1=$title;
$ttitle1=ereg_replace("\"","'",$ttitle1);
$titleLen=33;
if (strLen($title) >= $titleLen){
$title=substr($title,0,$titleLen-3)."...";
}
?>
|
[=$rs1[writeday]?>]=$title?> |
}
//»õ¼Ò½Ä ³¡
?>
|
//³ªÀÇÀ̾߱⠽ÃÀÛ
$sql2=mysql_query("select * from story where c_no='$c_no' order by writeday desc");
if ($rs2=mysql_fetch_array($sql2)){
$title=stripslashes($rs2[title]);
$ttitle1=$title;
$ttitle1=ereg_replace("\"","'",$ttitle1);
$titleLen=30;
if (strLen($title) >= $titleLen){
$title=substr($title,0,$titleLen-3)."...";
}
$content=stripslashes($rs2[content]);
$tcontent1=$content;
$tcontent1=ereg_replace("\"","'",$tcontent1);
$contentLen=120;
if (strLen($content) >= $contentLen){
$content=substr($content,0,$contentLen-3)."...";
}
$content=ereg_replace(chr(13)," ",$content);
$content=stripslashes($content);
?>
|
|
[=$rs2[writeday]?>]
=$title?>
=$content?>
|
}else{?>
}
//³ªÀÇÀ̾߱⠳¡
?>
|
//°Ô½ÃÆÇ ½ÃÀÛ
$csql3=mysql_query("select num,mchk,c_boardtitle from c_boardinfo where c_no='$c_no' and mchk='o'");
if ($c=mysql_fetch_array($csql3)){
$sql3=mysql_query("select num,title,c_no,c_num,c_bnum,writeday from c_board where step='0' and c_no='$c_no' and c_bnum='$c[num]' order by ref desc limit 0,4");
?>
|
>> =$c[c_boardtitle]?> <<
|
while($rs3=mysql_fetch_array($sql3)){
$title=stripslashes($rs3[title]);
$ttitle1=$title;
$ttitle1=ereg_replace("\"","'",$ttitle1);
$titleLen=30;
if (strLen($title) >= $titleLen){
$title=substr($title,0,$titleLen-3)."...";
}
?>
|
[=$rs3[writeday]?>]=$title?> |
}
?>
|
}
//°Ô½ÃÆÇ ³¡
?>
|
include "copyright.html";
?>