Exemple #1
0
<?php

require_once "../../class/Utils.php";
require_once "../../class/DBWork.php";
require_once "../../class/DBBoardWork.php";
$brdWork = new DBBoardWork();
$brdPost = null;
$contents = $_GET['contents'];
try {
    $brdWork->createWork($_GET, $chk);
    $brdPost = $brdWork->requestPost();
    $infoPost_prev = $brdWork->fetchArrayRow();
    $infoPost_next = $brdWork->fetchArrayRow();
    if ($brdPost == null) {
        throw new Exception('Board view error.');
    }
    $brdWork->destoryWork();
    $tblKind = $_GET['tbl_kind'];
    $pg_inx = $_GET['pg_inx'];
} catch (Exception $e) {
    $brdWork->destoryWork();
    echo $e->getMessage();
    exit;
}
?>


	<?php 
require '../common/content_iframe_header.html';
?>
	<script>