<?php
	require "php/lib/function.php";
	
	$_GET = decode($_GET);
	
	$bmsno = $_GET["n"];
	$comno = $_GET["c"];
	
	require_once "php/model/BmsDetail.php";
	
	try
	{
		$bms_detail = new BmsDetail($bmsno); 
		$impre = $bms_detail->get_impre_for_append($comno);
	}
	catch(Exception $e)
	{
		error($e->getMessage());
	}
	
	$comment = hbr($impre['comment']);
	$date = h($impre['post_time']);
	
	require_once "php/view/append.php"
?>
