added news

This commit is contained in:
Tóth Richárd
2019-07-30 13:38:51 +02:00
parent 0e414de243
commit 27522d0053
16 changed files with 610 additions and 147 deletions

View File

@@ -0,0 +1,9 @@
<?php
if ($this->is_id()) {
$sql->update_table('news', array('n_deleted' => 1), array('n_id' => $this->get_id()));
log::register('delete_news', $this->get_id());
header("Location: /admin/news");
}
?>