?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/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/www/savoyglobal.net/drafthr/system/application/views/Master/addcity.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="showcity()" alt="Back" align = "center" width="25" height="25" /></label> </div> <fieldset> <legend>Add City</legend> <?php $attributes = array('id' => 'customForm'); echo form_open_multipart('master/addcity',$attributes);?> <ul> <li> <label for="country">Country</label> <?php echo "<select name='country_id' id='country_id'>"; echo "<option value='0'>Select Country</option>"; if (count($country)) { foreach ($country as $key => $list) { echo "<option value='". $list['id'] . "'>" . $list['countryname'] . "</option>"; } echo "</select>"; } ?> <span id="country_idInfo" class="red_bold">*</span> </li> <li> <label for="country">City Name</label> <?php $data = array( 'name' => 'cityname', 'id' => 'cityname', 'value' => '', 'style' =>'width:250px;' ); echo form_input($data).form_error($data); ?> <span id="citynameInfo" class="red_bold">*</span> </li> <li> <label for="country">City code</label> <?php echo form_input('citycode').form_error('citycode'); ?> </li> <li><label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="return validateform('country_id','cityname');">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>