CAMP part 1, registration, apply, new login screen, wide layout

This commit is contained in:
Ricsi
2017-06-08 18:35:09 +02:00
parent 7bd93e1730
commit f17adf4850
58 changed files with 4469 additions and 57 deletions

View File

@@ -0,0 +1,14 @@
<?php
if ($this->is_id()) {
//$delete_query = "DELETE FROM user_kid WHERE uk_id = " . $this->get_id() . ";";
//$sql->execute_query($delete_query);
$sql->update_table('camp', array('camp_deleted' => 1), array('camp_id' => $this->get_id()));
$new_camp = new camp();
$new_camp->set_camp_data_by_id($this->get_id());
log::register('delete_camp', $new_camp->get_camp_from() . " (" . $new_camp->get_camp_city() . ")");
header("Location: /admin/camps");
}
?>