//require ('controlers/edituser.php'); // Просмотр клиентов $order = strip_tags($_GET["order"]); if ($order == 'id') { $order = 'id'; } elseif ($order == 'login') { $order = 'Login'; } elseif ($order == 'email') { $order = 'Email'; } elseif ($order == 'group') { $order = 'id_group'; } else { $order = 'id'; } $select_list = new User(); $list = $select_list->SelectAllUser($order); ?> <table class="table table-striped"> <tr> <th>ID</th> <th>Login</th> <th>Password</th> <th>Email</th> <th>Group</th> <th>Company</th> <th>Avatar</th> <th>Delete</th> </tr> <?php $num = 5; // число абонентов на станице