EVOLUTION-NINJA
Edit File: reminder_details.php
<?php echo view('includes/header');?> <link href="<?php echo base_url('public/assets/admin_dashboard/css/jquery-ui.css');?>" rel="stylesheet"><script src="<?php echo base_url('public/assets/js/jquery-ui.js');?>"></script> <section class="content-header"> <h1> Reminders </h1> </section> <!--- section 1 --> <section class="content"> <div class="col-md-1"></div> <table class="table table-striped table-hover reminder_table" style=""> <thead> <tr class="default" > <th class="col-xs-2">Conversation</th> <th class="col-xs-1">Reminder Date</th> <th class="col-xs-2">Project</th> <th class="col-xs-1">Site Number</th> <th class="col-xs-1">Handled By</th> <th class="col-xs-1">Customer Name</th> </tr> </thead> <tbody id="table_body"> <?php foreach($details as $row) { if($row->notification_status == 1) {?> <tr style="background-color: #ffcce6"> <th><?php echo $row->conversation;?></th> <th><?php echo $row->reminder;?></th> <th><?php if($row->nick_name == "") {echo $row->project_name;} else {echo $row->nick_name;}?></th> <th><?php echo $row->site_number;?></th> <th><?php echo $row->username;?></th> <th><?php echo $row->customer_name;?></th> </tr> <?php } else { ?> <tr> <th><?php echo $row->conversation;?></th> <th><?php echo $row->reminder;?></th> <th><?php if($row->nick_name == "") {echo $row->project_name;} else {echo $row->nick_name;}?></th> <th><?php echo $row->site_number;?></th> <th><?php echo $row->username;?></th> <th><?php echo $row->customer_name;?></th> </tr> <?php } }?> </tbody> </table> <?php echo view('includes/footer');?>