views/users.php
author viric@mandarina
Sun, 28 Dec 2008 16:57:53 +0000
changeset 3 f3e55c2386a1
child 5 cb13c07e7e5d
permissions -rw-r--r--
Made multiuser.

<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');