<script language="javascript" type="text/javascript" src="userroll/userrole.js"></script>
<style>
.formnamelist tbody td{
	color: #000;
    font-size: 15px;
    font-family:Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
}
</style>
<section class="content-header">
  <h1> <small>Manage</small> <?php echo ucfirst($foldername); ?> <a href="index.php?file=userroll/create" class="float-right btn-sm btn-primary">Add New</a> </h1>
</section>

<!-- Main content -->
<section class="content">
  <div class="row">
    <div class="col-12">
      <div class="box"> 
        <!-- /.box-header -->
        <div class="box-body">
          <div class="table-responsive">
            <table id="example" class="table table-bordered table-hover table-striped display nowrap margin-top-10 w-p100 formnamelist">
              <thead>
                <tr>
                 <!-- <th>#</th>-->
                  <th>ID</th>
                  <th>Name</th>
                  <th>Short Name</th>
                  <th>Sub ID</th>                  
                  <th>Delete Status</th>
                </tr>
              </thead>
              <tbody>
                <?php 
					$select_roll=$pdo_conn->prepare("SELECT * FROM userform ORDER BY delete_status ASC ");
					$select_roll->execute();
					$form_name=$select_roll->fetchAll();
				
					foreach($form_name as $value){ 
				?>
                <tr>
                 <!-- <td><?php echo $roll_id;?></td>-->
                  <td><?php echo $value['userform_id'];?></td>
                  <td><?php echo $value['form_name'];?></td>
                  <td><?php echo $value['short_name'];?></td>
                  <td><?php echo $value['sub_id'];?></td>
                  <td><?php echo $value['delete_status'];?></td>
                </tr>
                <?php 
					//$roll_id+=1;
					}
				 ?>
              </tbody>
            </table>
          </div>
        </div>
        <!-- /.box-body --> 
      </div>
      <!-- /.box --> 
      
    </div>
    <!-- /.col --> 
  </div>
  <!-- /.row --> 
</section>
<!-- /.content --> 
