require_once("./common.inc.php");
getget();
getpost();
$sql = "SELECT * FROM `category` WHERE `display` = 1 order by `sorting` ";
$result=mysql_query($sql);
$count=mysql_num_rows($result);
$list = '';
$row_count = 0;
while($row = $db->fetch_array($result)){
$temp_str = preg_replace('#\n#','
',$row['e_content']);
$content_array = explode('
',$temp_str);
$list .= '