echo $langArray["phone"]; ?> </td> <td><?php echo $langArray["email"]; ?> </td> <td><?php echo $langArray["delete"]; ?> </td> </tr> <?php foreach ($arrResult as $arItem) { $linkView = CMain::getLink(array("controller" => "user", "view" => "view", "id" => $arItem["id"])); $linkDelete = CMain::getLink(array("controller" => "user", "view" => "delete", "id" => $arItem["id"])); ?> <tr> <td><?php echo $arItem["id"]; ?> </td> <td><a href="<?php echo $linkView; ?> "><?php echo $arItem["login"]; ?> </a></td> <td><a href="<?php echo $linkView;
<div class="column1"> <ul class="menu"> <li><a href="<?php echo CMain::getLink(array("controller" => "user", "view" => "create")); ?> "><?php echo $langArray["createUser"]; ?> </a></li> <li><a href="<?php echo CMain::getLink(array("controller" => "user", "view" => "index")); ?> "><?php echo $langArray["allUsers"]; ?> </a></li> </ul> </div> <div class="column2"> <form method="post" action=""> <table class="changeUser"> <tr> <td><?php echo $langArray["login"]; ?> </td> <td><input type="text" name="user[login]" value="<?php echo $arrResult["login"]; ?> "></td>
<table class="userList" border> <tr class="table-head"> <td><a href="?sort=id¶m=asc">ID asc</a>/<br /><a href="?sort=id¶m=desc">ID desc</a></td> <td><a href="?sort=login¶m=asc">LOGIN asc</a>/<br /><a href="?sort=login¶m=desc">LOGIN desc</a></td> <td><a href="?sort=role¶m=asc">ROLE asc</a>/<br /><a href="?sort=role¶m=desc">ROLE desc</a></td> <td><a href="?sort=firstName¶m=asc">NAME asc</a>/<br /><a href="?sort=firstName¶m=desc">NAME desc</a></td> <td><a href="?sort=lastName¶m=asc">SURNAME asc</a>/<br /><a href="?sort=lastName¶m=desc">SURNAME desc</a></td> <td><a href="?sort=birthday¶m=asc">DATE asc</a>/<br /><a href="?sort=birthday¶m=desc">DATE desc</a></td> <td>PHONE</td> <td>EMAIL</td> <td>DELETE</td> </tr> <?php foreach ($arrResult as $arItem) { $link = CMain::getLink(array("controller" => "user", "view" => "view", "id" => $arItem["id"])); ?> <tr> <td><?php echo $arItem["id"]; ?> </td> <td><a href="<?php echo $link; ?> "><?php echo $arItem["login"]; ?> </a></td> <td><a href="<?php echo $link;