gluon-web-remote

Web remote Administration for big size of gluon routers
git clone git://archive.git.mtrnord.blog/MTRNord/gluon-web-remote.git
Log | Files | Refs | README

showProfile.php (1637B)


      1 <div class="container">
      2     <h1>ProfileController/showProfile/:id</h1>
      3     <div class="box">
      4 
      5         <!-- echo out the system feedback (error and success messages) -->
      6         <?php $this->renderFeedbackMessages(); ?>
      7 
      8         <h3>What happens here ?</h3>
      9         <div>This controller/action/view shows all public information about a certain user.</div>
     10 
     11         <?php if ($this->user) { ?>
     12             <div>
     13                 <table class="overview-table">
     14                     <thead>
     15                     <tr>
     16                         <td>Id</td>
     17                         <td>Avatar</td>
     18                         <td>Username</td>
     19                         <td>User's email</td>
     20                         <td>Activated ?</td>
     21                     </tr>
     22                     </thead>
     23                     <tbody>
     24                         <tr class="<?= ($this->user->user_active == 0 ? 'inactive' : 'active'); ?>">
     25                             <td><?= $this->user->user_id; ?></td>
     26                             <td class="avatar">
     27                                 <?php if (isset($this->user->user_avatar_link)) { ?>
     28                                     <img src="<?= $this->user->user_avatar_link; ?>" />
     29                                 <?php } ?>
     30                             </td>
     31                             <td><?= $this->user->user_name; ?></td>
     32                             <td><?= $this->user->user_email; ?></td>
     33                             <td><?= ($this->user->user_active == 0 ? 'No' : 'Yes'); ?></td>
     34                         </tr>
     35                     </tbody>
     36                 </table>
     37             </div>
     38         <?php } ?>
     39 
     40     </div>
     41 </div>