?
Current Path : /home1/savoy/public_html/savoyglobal.net/cocorico/application/views/master/ |
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/cocorico/application/views/master/edit_nursery.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Updating User Details</div> <div class="tools"> <a href="#" onclick=" viewdata('master','viewinmastersearch','search_nursery','view_nursery','1');" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('master/addinmaster/update_nursery/view_nursery/1', $attributes); ?> <h3 class="form-section">Nursery Details</h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Nursery Name </label> <div class="controls"> <input type="text"name="nursery_name" id="nursery_name" class="required span12" value="<?= $viewinfo->nursery_name ?>"> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">City </label> <div class="controls"> <input type="text" name="city" id="city" class="required span12" value="<?= $viewinfo->city ?>" /> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Country </label> <div class="controls"> <input type="text" name="country" id="country" class="required span12" value="<?= $viewinfo->country ?>" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Municipality</label> <div class="controls"> <input type="text" name="municipality" id="municipality" class="span12 required" value="<?= $viewinfo->municipality ?>" /> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Address</label> <div class="controls"> <textarea name="address" id="address" class="span12" ><?= $viewinfo->address ?></textarea> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Age Limit</label> <div class="controls"> <input name="age_limit" id="age_limit" class="span12 required" type="text" value="<?= $viewinfo->age_limit ?>" /> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Curriculum</label> <div class="controls"> <input name="curriculum" id="curriculum" type="text" class="span12" value="<?= $viewinfo->curriculum ?>" /> </div> </div> </div> </div> <h3 class="form-section">Contact Details</h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Contact Number</label> <div class="controls"> <input name="contact_no" id="contact_no" type="text" class="span12" value="<?= $viewinfo->contact_no ?>" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">E Mail</label> <div class="controls"> <input name="email" id="email" class="email span12" type="text" value="<?= $viewinfo->email ?>" /> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Fax</label> <div class="controls"> <input name="fax" id="fax" type="text" class="span12" value="<?= $viewinfo->fax ?>" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Po Code</label> <div class="controls"> <input name="po_code" id="po_code" type="text" class="span12" value="<?= $viewinfo->po_code ?>" /> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Website</label> <div class="controls"> <input name="website" id="website" type="text" class="span12" value="<?= $viewinfo->website ?>" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Theme</label> <div class="controls"> <select name="theme" id="theme" class="span12"> <option value="blue" <?php if ($viewinfo->theme == "blue") { echo "selected"; } ?>>Blue</option> <option value="brown" <?php if ($viewinfo->theme == "brown") { echo "selected"; } ?>>Brown</option> <option value="grey" <?php if ($viewinfo->theme == "grey") { echo "selected"; } ?>>Grey</option> <option value="light" <?php if ($viewinfo->theme == "light") { echo "selected"; } ?>>Light</option> <option value="purple" <?php if ($viewinfo->theme == "purple") { echo "selected"; } ?>>Purple</option> </select> </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="resfunction" id="resfunction" value="search_nursery"/> <input type="hidden" name="nursery_id" id="nursery_id" value="<?= $viewinfo->nursery_id ?>"/> <button type="submit" class="btn blue" onclick="addformdata('validateform')">Update</button> <button type="button" onclick=" viewdata('master','viewinmastersearch','search_nursery','view_nursery','1');" class="btn">Cancel</button> </div> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>