?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/draft/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/public_html/savoyglobal.net/sgms/draft/application/views/Home/leftmain.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <div id="events-column-main" > <div> </div> <?php $attributes=array('id'=>'searchvalidateform','class'=>'customForm'); echo form_open('customer/viewincustomersearch/search_customer/view_customer/1',$attributes); ?> <div id="events-column" style="margin: 20px 0 0 5px; width:100% ; height:100px;" > <div style="float: left;"> <img src="<?php echo base_url() ?>assets/images/cust-search.png" width="50px" height="50px"/> </div> Search Customer<br/> <div style="float: right;margin-top: -50px;"> <?php $attributes=array('id'=>'searchvalidateform','class'=>'customForm'); echo form_open('customer/viewincustomersearch/search_customer/view_customer/1',$attributes); if(isset($_SESSION['searchdata'])) { $searchdata=$_SESSION['searchdata']; if(!empty($searchdata)) { $searchtext=$searchdata['searchtext']; $searchfield=$searchdata['searchopt']; } else { $searchtext = ""; $searchfield = ""; } } else { $searchtext = ""; $searchfield = ""; } ?> <br/><br/><br/> <input type="text" name="searchtext" id="searchtext" value="<?=$searchtext;?>"> <input name="searchopt" type="hidden" id="searchopt" value="customer_name"/> <input type="image" style="border:0px;" src="<?php echo base_url() ?>assets/images/button-search.png" onclick="addformdata('searchvalidateform')" /> <?php echo form_close(); ?> </div> </div> <!--table class="sort" cellpadding="0" cellspacing="0" width="100%" style="margin-top: 20px;margin-left: 20px;"> <caption>My Alerts</caption> <thead> <tr> <th>Module</th> <th>Alert Type</th> <th width="10%">Count</th> </tr> </thead> <tbody> </tbody> </table--> <?php $viewinfo=$this->mastermodel->getreminder(); ?> <table class="sort" cellpadding="0" cellspacing="0" width="100%" style="margin-top: 20px;margin-left: 20px;"> <caption>Reminders</caption> <thead> <tr> <th>Sl No</th> <th>Subject</th> <th>Date</th> </tr> </thead> <tbody> <?php if ($viewinfo->num_rows() > 0) { $table=""; $field=""; $z=1; foreach ($viewinfo->result() as $row) { if($z%2==0) $alt="alt"; else $alt="alt1"; ?> <tr class="<?=$alt;?>"> <td><?=$z;?></td> <td><?=$row->reminder_subject;?></td> <td><?=$this->mastermodel->convertdatenormalformat($row->reminder_date);?></td> <?php $z++; } } ?> </tbody> </table> </div>