init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
8
scripts/touren_org.php
Normal file
8
scripts/touren_org.php
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
|
||||
if(isset($_POST['tour'])) { $GLOBALS['mysql']->insert("INSERT INTO touren (tour,infotitel) VALUES('".$_POST['tour']."','".$_POST['infotitel']."')"); }
|
||||
if(isset($_POST['delete'])) { $GLOBALS['mysql']->query("DELETE FROM touren WHERE id='".$_POST['delete']."'"); }
|
||||
$tourenliste = $GLOBALS['mysql']->query_array("SELECT * FROM touren");
|
||||
$template->assign('tourenliste', $tourenliste);
|
||||
$template->assign('content', 'tpl/touren_list.tpl');
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue