Subversion Repositories SmartDukaan

Rev

Rev 22766 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div class="container">
        <!--<div class="row">
                <div class="col-xs-12">
                        <?php echo $this->Form->create('Retailer');
                                $searchtype = array(0 => 'Invite code inserted', 1=> 'Invite code not inserted',2=>'Not Verified');
                                echo $this->Form->input('searchReatailerBy',array('options'=> $searchtype ));
                                echo $this->Form->end(__('Submit'));
                        ?>
                        
                </div>
        </div>-->
        
        <?php if(isset($result) && !empty($result)):?>
                <div class="row">
                        <div class="col-xs-12 ">
                                <table cellpadding="0" cellspacing="0" class="table table-striped">
                                        <tr>
                                                <th>Name</th>
                                                <th>Email</th>
                                                <th>Mobile</th>
                                                <th>Business Name</th>
                                                <th>Type</th>
                                                <th>Number</th>
                                                <th>Created</th>
                                                <th>Actions</th>
                                        </tr>
                                        
                                        <?php foreach ($result as $rkey =>$rval):?>
                                        <tr>
                                                <td><?php echo $rval['u']['name'];?></td>
                                                <td><?php echo $rval['u']['email'];?></td>
                                                <td><?php echo $rval['u']['mobile_number'];?></td>
                                                <td><?php echo $rval['r']['name'];?></td>
                                                <td><?php echo $rval['r']['type'];?></td>
                                                <td><?php echo $rval['r']['number'];?></td>
                                                <td><?php echo $rval['r']['created'];?></td>
                                                <td><a href="#">View Details</a> 
                                        </tr>
                                        <?php endforeach;?>
                                        
                                </table>
                        </div>
                </div>
        <?php endif;?>
        
</div>