views/users.php
changeset 3 f3e55c2386a1
child 5 cb13c07e7e5d
equal deleted inserted replaced
2:7c6c888b2fed 3:f3e55c2386a1
       
     1 <h2>Uzantoj</h2>
       
     2 <?=$loginlink?>
       
     3 
       
     4 <h3>Komparite kun <?=$other_user_name?></h3>
       
     5 
       
     6 <?=form_open("opiniarbo/index/$assertionid/$other_user"); ?>
       
     7     <select name="other_user">
       
     8 <?php foreach($other_users as $user):
       
     9     if ($user['id'] != $other_user)
       
    10         echo "<option value=\"{$user['id']}\">{$user['name']}</option>";
       
    11     else
       
    12         echo "<option value=\"{$user['id']}\" selected>{$user['name']}</option>";
       
    13     endforeach;?>
       
    14     <input type="submit" name="compare" value="Kompari kun">
       
    15 </form>
       
    16 
       
    17 <?=anchor("opiniarbo/index/0/$other_user",'Montri la bazajn asertojn');