PHP Classes

File: kchat/view/groups.php

Recommend this page to a friend!
  Classes of Ganesh Kandu   kchat   kchat/view/groups.php   Download  
File: kchat/view/groups.php
Role: Example script
Content type: text/plain
Description: Example script
Class: kchat
Database driven PHP live chat system
Author: By
Last change:
Date: 6 years ago
Size: 3,725 bytes
 

Contents

Class file image Download

    <div class="col-md-10 content">
        <div class="box-body no-padding">
                  <div>
                    <div class="btn-group">
                      <button class="btn btn-default btn-sm" id="start_msg0" ><i class="glyphicon glyphicon-envelope" ></i></button>
                    </div><!-- /.btn-group -->
                    <a class="btn btn-default btn-sm" href="<?php echo $this->data['config']['purl']."/users/ulist/"; ?>" ><i class="glyphicon glyphicon-refresh"></i></a>
                    <div class="pull-right">
                      <?php echo $this->data['users']['start'].'-'.$this->data['users']['end'].'/'.$this->data['users']['no']; ?>
<div class="btn-group">
                        <a class="btn btn-default btn-sm" href="<?php echo $this->data['config']['purl']."/users/ulist/".$this->data['users']['prev']; ?>" ><i class="glyphicon glyphicon-arrow-left"></i></a>
                        <a class="btn btn-default btn-sm" href="<?php echo $this->data['config']['purl']."/users/ulist/".$this->data['users']['post']; ?>" ><i class="glyphicon glyphicon-arrow-right"></i></a>
                      </div><!-- /.btn-group -->
                    </div><!-- /.pull-right -->
                  </div>
                  <hr>
                  <div class="table-responsive mailbox-messages">
                    <table id="usersgroups" class="table table-hover table-striped">
                      <tbody>
                        <tr>
                          <td><b>Check</b></td>
                          <td><b>Fisrt Name</b></td>
                          <td><b>Surname</b></td>
                          <td><b>User Name</b></td>
                          <td><b>Chat</b></td>
                        </tr>
                        <?php foreach($this->data['users'] as $user){ ?>
<?php if(is_array($user)){ ?>
<tr>
                              <td><input name="users" value="<?php echo $user['id']; ?>" type="checkbox"></td>
                              <td><b><?php echo $user['fname']; ?></b></td>
                              <td><b><?php echo $user['lname']; ?></b></td>
                              <td><b><?php echo $user['uname']; ?></b></td>
                              <td><b><a href="<?php echo $this->data['config']['purl']."/msgs/g/KChat_".$user['id']; ?>" ><i class="glyphicon glyphicon-envelope"></i></a></b></td>
                            </tr>
                        <?php }} ?>
</tbody>
                    </table>
                  </div>
                </div>
                <hr>
                <div class="box-footer no-padding">
                  <div>
                    <div class="btn-group">
                      <button class="btn btn-default btn-sm" id="start_msg1" ><i class="glyphicon glyphicon-envelope"></i></button>
                    </div><!-- /.btn-group -->
                    <a class="btn btn-default btn-sm" href="<?php echo $this->data['config']['purl']."/users/ulist/"; ?>" ><i class="glyphicon glyphicon-refresh"></i></a>
                    <div class="pull-right">
                      <?php echo $this->data['users']['start'].'-'.$this->data['users']['end'].'/'.$this->data['users']['no']; ?>
<div class="btn-group">
                        <a class="btn btn-default btn-sm" href="<?php echo $this->data['config']['purl']."/users/ulist/".$this->data['users']['prev']; ?>" ><i class="glyphicon glyphicon-arrow-left"></i></a>
                        <a class="btn btn-default btn-sm" href="<?php echo $this->data['config']['purl']."/users/ulist/".$this->data['users']['post']; ?>" ><i class="glyphicon glyphicon-arrow-right"></i></a>
                      </div><!-- /.btn-group -->
                    </div><!-- /.pull-right -->
                  </div>
                </div>
              </div><!-- /. box -->