<div class="tabbable page-tabs">
           
            <div class="tab-content"> <!-- First tab content -->
                <div class="tab-pane active fade in" id="inside"> <!-- Default datatable inside panel -->
                    <div class="panel panel-default">
                        <div class="panel-heading"><h6 class="panel-title"><i class="icon-table"></i> Список выплат</h6></div>
                        <div class="datatable">
                            <table class="table">
                                <thead>
                                <tr>
                                    <th>#ID</th>
                                    <th>Логин</th>
                                   
                                    <th>Сумма</th>
                                    <th>Система</th>
                                   
                                    <th>Дата</th>
                                    <th>Статус</th>
                                    
                                </tr>
                                </thead>
                                <tbody>
								<?
								$q = $mysql->query("SELECT * FROM db_enter ORDER BY Uid DESC");
								while($row = $q->fetch())
								{
									if($row['Status'] == 1) $status = '<font color="green">Оплачено</font>';
									else $status = '<font color="red"> Не Оплачено</font>';
								?>
                                <tr>
                                    <td><?=$row['Uid']; ?></td>
                                    <td><?=$row['Login']; ?></td>
                                    <td><?=$row['Summa']; ?></td>
                                    <td><?=$row['PlatSystem']; ?></td>
									
                                    <td><?=date("d.m.Y", $row['DateAdd']); ?></td>
                                    <td><?=$status; ?></td>
                                   
                                </tr>
								<? } ?>
                                </tbody>
                            </table>
                        </div>
                    </div>
					
					
                    </div>
                    </div>
                    </div>