|
$headline_news[email]]";
}
else{
$name="[$headline_news[name]]";
}
if($headline_news[up_filename]){
switch($headline_news[pic_location]){
case("left") :
$pic=" ";
break;
case("right") :
$pic=" ";
break;
case("center") :
$pic=" ";
break;
}#switch
}#if
else{
$pic="";
}#else
#------- Çìµå¶óÀÎ ±â»ç ÀÚ¸£±â
$str_location=500;
if(strlen($headline_news[body])>$str_location and $headline_news[type]!="html"){#if...1
$headline_news[body]=substr($headline_news[body],0,$str_location+1);
$aa=ord(substr($headline_news[body],15,-1));
while(ord(substr($headline_news[body],$str_location-1,-1))>126){
$str_location=$str_location-1;
}#if...1
$headline_news[body]=substr($headline_news[body],0,$str_location);
$headline_news[body]=$headline_news[body].".....";
}
if($headline_news[type]=="text"){
$headline_news[body]=htmlspecialchars($headline_news[body]);
$headline_news[body]=trim($headline_news[body]);
$headline_news[body]=nl2br($headline_news[body]);
}
$headline_news[body]=$headline_news[body]."[°è¼Ó]";
echo"
$headline_news[subject]
$pic$headline_news[body]
";
}#while
}#while
?>
|
|
|