コード例 #1
0
ファイル: grid.php プロジェクト: yunsite/devana-heroic
<?php

include 'core/config.php';
include 'core/core.php';
$db->query('start transaction');
if (isset($_GET['x'], $_GET['y'])) {
    $x = misc::clean($_GET['x'], 'numeric');
    $y = misc::clean($_GET['y'], 'numeric');
    $vars = 'x=' . $x . '&y=' . $y;
}
$grid = new grid();
$grid->getAll();
if (isset($status) && $status == 'error') {
    $db->query('rollback');
} else {
    $db->query('commit');
}
include 'templates/' . $_SESSION[$shortTitle . 'User']['template'] . '/grid.php';