From 86042acca2f45f1153104941a17677ae01c91c9d Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Mon, 18 May 2015 00:42:16 +0200 Subject: PHPify everything and add user login --- categories.php | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) (limited to 'categories.php') diff --git a/categories.php b/categories.php index 2ef44df..f141e3e 100644 --- a/categories.php +++ b/categories.php @@ -1,3 +1,6 @@ + @@ -9,25 +12,42 @@

Categories

-
+find(); foreach( $categories as $category ){ - echo "
getId()}\">{$category->getName()}
"; - echo "
{$category->getDescription()}
"; + echo ""; + echo ""; + echo ""; + if(isset($username)) + { + echo ""; + echo ""; + } + echo ""; } ?> - +
getId()}\">{$category->getName()}{$category->getDescription()}getId()}\">EditgetId()}\">Delete
-- cgit v1.2.3-70-g09d2