views/users.php
changeset 3 f3e55c2386a1
child 5 cb13c07e7e5d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/views/users.php	Sun Dec 28 16:57:53 2008 +0000
@@ -0,0 +1,17 @@
+<h2>Uzantoj</h2>
+<?=$loginlink?>
+
+<h3>Komparite kun <?=$other_user_name?></h3>
+
+<?=form_open("opiniarbo/index/$assertionid/$other_user"); ?>
+    <select name="other_user">
+<?php foreach($other_users as $user):
+    if ($user['id'] != $other_user)
+        echo "<option value=\"{$user['id']}\">{$user['name']}</option>";
+    else
+        echo "<option value=\"{$user['id']}\" selected>{$user['name']}</option>";
+    endforeach;?>
+    <input type="submit" name="compare" value="Kompari kun">
+</form>
+
+<?=anchor("opiniarbo/index/0/$other_user",'Montri la bazajn asertojn');