62 lines
1.9 KiB
PHP
62 lines
1.9 KiB
PHP
<?php include('pdf_header_reverse.php');
|
|
// include('includes/config/config.php');
|
|
// include('includes/functions.php');
|
|
//include('pop_up_top.php');
|
|
?>
|
|
<html>
|
|
<link href="includes/css-js/admin.css" rel="stylesheet" type="text/css" />
|
|
|
|
<body>
|
|
<table width="100%">
|
|
<tr>
|
|
<div style="font-size:12px">
|
|
<td width="25%" align="left"> Run Date :
|
|
<?php echo date("d-M-Y"); ?>
|
|
</td>
|
|
<td width="50%" align="center" style="font-size:40px"><strong>ROLE LIST</strong></td>
|
|
<td width="25%" align="left"> User :
|
|
<?php echo $username ?>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table border="1">
|
|
<?php
|
|
$sql="select role_id,role_name,role_code,role_description,role_home_page,icon_color,icon_text from role_master";
|
|
//echo $sql;
|
|
|
|
$result = mysqli_query($conn,$sql);
|
|
//echo $result;
|
|
?>
|
|
<tr bgcolor="#eeeeee">
|
|
<th width="10%" ;>Sn</th>
|
|
<th width="10%" ;>Role</th>
|
|
<th width="20%" ;>Role Code</th>
|
|
<th width="20%" ;>Role Description</th>
|
|
<th width="10%" ;>Role Homepage</th>
|
|
<th width="10%" ;>Icon Colour</th>
|
|
<th width="10%" ;>Icon Text</th>
|
|
</tr>
|
|
<?php
|
|
while($rowOfEmployee=mysqli_fetch_array($result)){
|
|
|
|
?>
|
|
<tr>
|
|
<td><?php echo $rowOfEmployee['role_id']?></td>
|
|
<td><?php echo $rowOfEmployee['role_name']?></td>
|
|
<td><?php echo $rowOfEmployee['role_code']?></td>
|
|
<td><?php echo $rowOfEmployee['role_description']?></td>
|
|
<td><?php echo $rowOfEmployee['role_home_page']?></td>
|
|
<td><?php echo $rowOfEmployee['icon_color']?></td>
|
|
<td><?php echo $rowOfEmployee['icon_text']?></td>
|
|
</tr>
|
|
<?php
|
|
|
|
}
|
|
?>
|
|
</table>
|
|
</body>
|
|
|
|
</html>
|
|
<?php
|
|
include('pdf_footer.php');
|
|
?>
|