Gazelle/sections/sitehistory/take_create.php
2013-07-28 08:00:53 +00:00

9 lines
270 B
PHP

<?
authorize();
if (!check_perms('users_mod') ) {
error(403);
}
SiteHistory::add_event($_POST['date'], $_POST['title'], $_POST['url'], $_POST['category'], $_POST['sub_category'], $_POST['tags'], $_POST['body'], $LoggedUser['ID']);
header("Location: sitehistory.php");