"; if ($is_admin) echo "

"; // 상단 HTML echo stripslashes($fm['fm_head_html']); echo "
"; echo "\n"; echo "
\n"; $sql = " select * from {$g4['shop_faq_table']} where fm_id = '$fm_id' order by fa_order , fa_id "; $result = sql_query($sql); $str = ""; for ($i=1; $row=sql_fetch_array($result); $i++) { echo ""; echo ""; echo ""; echo "\n"; $str .= "
$i." . stripslashes($row['fa_subject']) . "
"; $str .= ""; $str .= ""; $str .= ""; $str .= ""; $str .= ""; $str .= ""; $str .= ""; $str .= ""; $str .= ""; $str .= ""; $str .= ""; $str .= "
" . stripslashes($row['fa_subject']) . "
" . stripslashes($row['fa_content']) . "
"; } echo "
\n"; echo $str; echo "
"; echo stripslashes($fm['fm_tail_html']); $timg = G4_DATA_PATH."/faq/{$fm_id}_t"; if (file_exists($timg)) echo "

"; include_once('./_tail.php'); ?>