<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-default" style="width:100%;">
            <!-- /.panel-heading -->
            <div class="panel-body">
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                        <thead>
                            <tr>
                                <th style="text-align:center">No</th>
                                <th style="text-align:center">
                                    Services Type
                                </th>
                                <th style="text-align:center">
                                    Services Desc
                                </th>
                                <th style="text-align:center" width="30">Edit</th> 
                            </tr>
                        </thead>
                        <tbody>
                        	
                            <?php
								mysqli_query($conn,"SET NAMES utf8");
								$selects=mysqli_query($conn,"SELECT * FROM tbl_services"); 
								while($row_p=mysqli_fetch_array($selects)){
								$i=0;
								?>
                                <tr>
                                <td style="font-size:12px; width:40px;" align="center"><?php echo $i+=1; ?></td>
                                <td style="font-size:12px;"><?php echo $row_p['s_name'];?></td>
                                <td style="font-size:12px;"><?php echo substr($row_p['s_desc'],0,150)."...";?></td>
                                <td align="center"><a href="?page=editservices&s_id=<?=$row_p['s_id'];?>" title="edit"><div class="fa fa-edit fa-fw"></div></a></td>                                
                            </tr>
                            <?php
								}		
							?>                             
                       </tbody>
                    </table>
                </div>
                <!-- /.table-responsive -->
                
            </div>
            <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
    </div>
    <!-- /.col-lg-12 -->
</div>
<!-- /.row -->