?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Settings/ |
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/drafthr/system/application/views/Settings/addactivity.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <script type="text/javascript"> jQuery(document).ready(function () { $('.one').datepick({dateFormat: 'dd-mm-yyyy'}); }); </script> <style> #viewmain { padding:10px 0 0 50px; } #viewmain table tr { height:35px; } #viewmain table tr td label { color:#000; } </style> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewactivity(1,'eventname','')" alt="Back" align = "center" width="25" height="25" /></label> </div> <?php $attributes = array('id' => 'customForm'); echo form_open('',$attributes); ?> <fieldset> <legend>Add New Events</legend> <div id="viewmain"> <table> <tr> <td> <label for="eventname"> Event Name</label> </td> <td> <input type="text" name="eventname" id="eventname"/> <span id="eventnameInfo" class="red_bold">*</span> </td> </tr> <tr> <td> <label for="description"> Description</label> </td> <td> <textarea cols="5" rows="5" name="description" id="description"></textarea> </td> </tr> <tr> <td> <label for="location"> Location</label> </td> <td> <input type="text" name="location" id="location"/> </td> </tr> <tr> <td> <label for="status"> Status</label> </td> <td> <select name="status" id="status"> <option value="Pending">Pending</option> <option value="Completed">Completed</option> <option value="Cancelled">Cancelled</option> </select> </td> </tr> <tr> <td> <label for="priority"> Priority</label> </td> <td> <select name="priority" id="priority"> <option value="high">High</option> <option value="medium">Medium</option> <option value="low">Low</option> </select> </td> </tr> <tr> <td> <label for="eventstart"> Event start at</label> </td> <td> <select style="width: 45px" name="eventhour" id="eventhour"> <?php for($i=0;$i<=24;$i++) { $i=str_pad($i, 2, "0", STR_PAD_LEFT); echo "<option value=".$i.">".$i."</option>"; } ?> </select> <?php echo " : "; ?> <select style="width: 50px" name="eventmin" id="eventmin"> <?php for($i=0;$i<=59;$i++) { $i=str_pad($i, 2, "0", STR_PAD_LEFT); echo "<option value=".$i.">".$i."</option>"; } ?> </select> <input class="one" readonly="readonly" id="startdate" name="startdate" value="<?php echo date("d-m-Y"); ?>" /><span id="startdateInfo" class="red_bold">*</span> </td> </tr> <tr> <td> <label for="eventend"> Event end at</label> </td> <td> <select style="width: 45px" name="eventhourend" id="eventhourend"> <?php for($i=0;$i<=24;$i++) { $i=str_pad($i, 2, "0", STR_PAD_LEFT); echo "<option value=".$i.">".$i."</option>"; } ?> </select> <?php echo " : "; ?> <select style="width: 50px" name="eventminend" id="eventminend"> <?php for($i=0;$i<=59;$i++) { $i=str_pad($i, 2, "0", STR_PAD_LEFT); echo "<option value=".$i.">".$i."</option>"; } ?> </select> <input class="one" readonly="readonly" id="enddate" name="enddate" value="<?php echo date("d-m-Y"); ?>" /><span id="enddateInfo" class="red_bold">*</span> </td> </tr> <tr> <td> <label>Alert Before</label> </td> <td> <input id="before" name="before" value=""/>days </td> </tr> <tr> <td> <label for="remark"> Remarks</label> </td> <td> <textarea cols="5" rows="5" name="remark" id="remark"></textarea> </td> </tr> <tr> <td> <br/><br/><br/> </td> </tr> <tr> <td> <button type="button" name="save_act" class="clickimage" onclick="return converttodate('startdate','enddate'),insert_activity()" id="save_act" value="save">Save</button> </td> </tr> </table></div> </fieldset> <?php echo form_close(); ?>