diff options
author | Nicolas BERNSTEIN <alexis211@gmail.com> | 2011-09-17 16:48:29 +0200 |
---|---|---|
committer | Nicolas BERNSTEIN <alexis211@gmail.com> | 2011-09-17 16:48:29 +0200 |
commit | d0060968b77c39bdf8abffb071c971c166b59edb (patch) | |
tree | 0be52e00a25bd298235a0cf916fb07496d3ab95f /tpl/notes/index.php | |
download | Bits-d0060968b77c39bdf8abffb071c971c166b59edb.tar.gz Bits-d0060968b77c39bdf8abffb071c971c166b59edb.zip |
First commit.
Diffstat (limited to 'tpl/notes/index.php')
-rw-r--r-- | tpl/notes/index.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tpl/notes/index.php b/tpl/notes/index.php new file mode 100644 index 0000000..1be4cd5 --- /dev/null +++ b/tpl/notes/index.php @@ -0,0 +1,11 @@ +<?php +$title = "User's notebooks"; +require("tpl/general/top.php"); + +echo "<ul>"; +foreach($users as $u) { + echo '<li><a href="user-notes-' . $u['id'] . '">' . $u['name'] . '</a> (' . $u['nbNotes'] . ' notes)</li>'; +} +echo "</ul>"; + +require("tpl/general/bottom.php"); |