?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Home/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Home/viewsingle-reminder.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php $rslt=$singlereminder->row(); $date=$rslt->remind_date; $newdate= $this->mastermodel->convdatformat($date); ?> <style> #ndiv { float:left; min-height: 25px; width:25%; } #ndiv1 { float:left; color:gray; min-height: 25px; width:70%; } #dot { float:left; min-height: 25px; width:2%; } </style> <fieldset> <div style="width: 100%"> <div style="width: 100%; border-bottom: 2px solid gray; border-right: 2px solid gray; height: 30px; font-size: 16px; text-align: center;background-color: #eae8df"> <?= "Reminder"//$rslt->remind_name ?> </div> <ul><li><div><div id="ndiv"><label>Subject</label></div><div id="dot">:</div> <div id="ndiv1"> <?=$rslt->remind_name ?></div></div></li> <li><div><div id="ndiv"><label>Description</label> </div> <div id="dot">:</div><div id="ndiv1"> <?=$rslt->description ?></div></div></li> <li><div><div id="ndiv"><label>Date</label></div><div id="dot">:</div> <div id="ndiv1"><?=$this->mastermodel->convdatformat($rslt->remind_date); ?></div></div></li> </ul> </div> </fieldset> <?php $date1=$rslt->remind_date; $date2=date('Y-m-d'); $days = (strtotime($date1) - strtotime($date2)) / (60 * 60 * 24); echo $days. ' day(s) left'; ?>