?
Current Path : /home1/savoy/public_html/savoyglobal.net/sims/school/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/sims/school/application/views/Settings/viewschoolsetup.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); foreach ($viewinfo->result() as $row) { $name=$row->name; $phone=$row->phone; $email=$row->email; $address=$row->address; $website=$row->website; $no_periods=$row->no_periods; $holidays=explode(',', $row->holidays); } ?> <span class="section_content_top"></span> <div class="section_content_inner"> <?php $attributes=array('class'=>'search_form','id'=>'validateform'); echo form_open_multipart('settings/addinsettings/insertschoolsetup/viewschoolsetup/1/',$attributes); ?> <input type="hidden" name="to_upload" value="1"/> <!--[if !IE]>start fieldset<![endif]--> <fieldset> <!--[if !IE]>start forms<![endif]--> <div class="forms"> <h3>General Information</h3> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>School Name</label> <div class="inputs"> <span class="input_wrapper"><input class="text required" name="name" id="name" type="text" value="<?=$name;?>" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Email</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="email" id="email" type="text" value="<?=$email;?>" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Phone No</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="phone" id="phone" type="text" value="<?=$phone;?>" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Website</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="website" id="website" type="text" value="<?=$website;?>" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Logo</label> <div class="inputs"> <?php if($row->logo!=""){ ?> <img src="<?=base_url().$row->logo;?>"/> <?php } ?> <span class="input_wrapper"><input class="text" name="upload_logo" id="upload_logo" type="file" /></span> <input type="hidden" name="oldlogo" value="<?=$row->logo;?>"/> </div> </div> <!--[if !IE]>end row<![endif]--> <div class="row" <label>Address</label> <div class="inputs"> <textarea name="address" id="address" rows="5" cols="30"><?=$address;?></textarea> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>No of Periods per day</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="no_periods" id="no_periods" type="text" value="<?=$no_periods;?>" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Holidays</label> <div class="inputs"> <input class="text" name="day_1" id="day_1" value="Sunday" type="checkbox" <?php if(in_array('Sunday', $holidays)){echo "checked";}?> />Sunday<br/> <input class="text" name="day_2" id="day_2" value="Monday" type="checkbox" <?php if(in_array('Monday', $holidays)){echo "checked";}?> />Monday<br/> <input class="text" name="day_3" id="day_3" value="Tuesday" type="checkbox" <?php if(in_array('Tuesday', $holidays)){echo "checked";}?> />Tuesday<br/> <input class="text" name="day_4" id="day_4" value="Wednesday" type="checkbox" <?php if(in_array('Wednesday', $holidays)){echo "checked";}?> />Wednesday<br/> <input class="text" name="day_5" id="day_5" value="Thursday" type="checkbox" <?php if(in_array('Thursday', $holidays)){echo "checked";}?> />Thursday<br/> <input class="text" name="day_6" id="day_6" value="Friday" type="checkbox" <?php if(in_array('Friday', $holidays)){echo "checked";}?> />Friday<br/> <input class="text" name="day_7" id="day_7" value="Saturday" type="checkbox" <?php if(in_array('Saturday', $holidays)){echo "checked";}?> />Saturday </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <div class="inputs"> <span class="button blue_button search_button" onclick="addformdata('validateform')"><span><span><em>Save</em></span></span><input name="" type="submit" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> </div> <!--[if !IE]>end forms<![endif]--> </fieldset> <!--[if !IE]>end fieldset<![endif]--> <?php echo form_close(); ?> </div> <span class="section_content_bottom"></span>