<?php

require_once "../boot.php";
$dbCon = new DbConn();
require_once APP_INC_DIR . "incColumnShow.php";
$smarty = new SmartyEx();
$ColumnShow = new ColumnShow($dbCon, $smarty);
// キーを設定
$ColumnShow->SetKey($_GET["id"]);
// データベースからデータをセット
$isData = $ColumnShow->SetDbData();
if ($isData) {
    $smarty->display("column/column.html");
} else {
    $smarty->showErrorPage(404);
}