<?php include('inc/header.php');
$clientObj->select($org_id); 
if(isset($_POST['setting_submit']))
{
	$clientObj->school_name=sanitize($_POST['sh_name']);
	$clientObj->address=sanitize($_POST['sh_add']);
	$clientObj->attendance_type=sanitize($_POST['sh_attendance']);
	$clientObj->contact_email=sanitize($_POST['sh_email']);
	$clientObj->contact_person=sanitize($_POST['sh_contact']);
	$clientObj->country=sanitize($_POST['sh_country']);
	$clientObj->currency_type=sanitize($_POST['sh_currency']);
	$clientObj->end_date=date('Y-m-d H:i:s');
	$clientObj->fax=sanitize($_POST['sh_fax']);
	$clientObj->grading_type='1';
	$clientObj->language=sanitize($_POST['sh_language']);

if($_FILES["file"]["size"]>0)
{	
$file_exts = array("jpg", "bmp", "jpeg", "gif", "png");
$upload_exts = end(explode(".", $_FILES["file"]["name"]));

if ((($_FILES["file"]["type"] == "image/gif")

|| ($_FILES["file"]["type"] == "image/jpeg")

|| ($_FILES["file"]["type"] == "image/png")

|| ($_FILES["file"]["type"] == "image/pjpeg"))

&& ($_FILES["file"]["size"] < 50000)

&& in_array($upload_exts, $file_exts))
{
if ($_FILES["file"]["error"] > 0)
{
echo "Return Code: " . $_FILES["file"]["error"] . "<br>";
}
else
{
// Enter your path to <span id="IL_AD5" class="IL_AD">upload file</span> here
$filename=time().$_FILES["file"]["name"];
if (file_exists("uploads/".$filename))

{

}
else
{
move_uploaded_file($_FILES["file"]["tmp_name"],"uploads/".$filename);
$clientObj->logo=sanitize("uploads/".$filename);
}

}

}
else
{
$file_err=1;

}
}
	
	$clientObj->mobile=sanitize($_POST['sh_mobile']);
	$clientObj->phone_number=sanitize($_POST['sh_phone']);
	$clientObj->start_date=date('Y-m-d H:i:s');
	$clientObj->timezone=sanitize($_POST['timezone']);
	$clientObj->updated_date=date('Y-m-d H:i:s');
	$clientObj->update($org_id);
	$msg=1;
}

$contact1=$client_Obj->contact_person;
$address1=$client_Obj->address;
$phone1=$client_Obj->phone_number;
if($contact1=='' || $address1=='' || $phone1=='')
{
	$setting_error1=1;
}
?>
<!-- mobile navigation -->
			<nav id="mobile_navigation"></nav>
			
			<section id="breadcrumbs">
				<div class="container">
					<ul>
						<li><a href="#">Web school </a></li>
						<li><span>General Settings</span></li>						
					</ul>
				</div>
			</section>
			<section class="container clearfix main_section">
				<div id="main_content_outer" class="clearfix">
					<div id="main_content">
						<div class="alert alert-info"><strong>General Settings</strong></div>
                            <?php 
						if($setting_error1==1)
						{
						?>
                        <div class="warning">Hello ! Please Complete your settings page. It is very important to fill up your general settings before you start.</div>
                        <?php
						}?>
                        <?php 
						if($msg==1)
						{
						?>
                        <div class="success">Settings has been saved successfully</div>
                        <?php
						}?> 
                         <?php 
						if($file_err==1)
						{
						?>
                        <div class="warning">Sorry ! Could not upload your logo. jpg,png,jpeg and gif image types are only accepted and image size must be less than 50KB.</div>
                        <?php
						}?>
						<!-- main content -->
                        <form action="#" method="POST" id="general" name="general" enctype="multipart/form-data">
						<div class="row">
							<div class="col-sm-7">
								<div class="panel panel-default">
									<!--<div class="panel-heading">
										<h4 class="panel-title">Simple Validation</h4>
									</div>-->
									<div class="panel-body">
										
											<div class="form_sep">
												<label for="reg_input_name" class="req">School/College Name</label>
												<input type="text" id="sh_name" name="sh_name" class="form-control" data-required="true" value="<?php echo $clientObj->school_name; ?>">
											</div>
                                            
                                            <div class="form_sep">
												<label for="reg_textarea_message" class="req">School/College Address</label>
												<textarea name="sh_add" id="sh_add" cols="30" rows="4" class="form-control" data-required="true" data-minlength="40"><?php echo $clientObj->address; ?></textarea>
											</div>
                                           
                                            
											<div class="form_sep">
												<label for="reg_input_email" class="req">School/College Email</label>
												<input type="text" id="sh_email" name="sh_email" class="form-control" data-required="true" data-type="email" value="<?php echo $clientObj->contact_email; ?>">
											</div>
											 <div class="form_sep">
												<label for="reg_input_name" class="req">School/College Phone</label>
												<input type="text" id="sh_phone" name="sh_phone" class="form-control" data-required="true" value="<?php echo $clientObj->phone_number; ?>" data-type="phone">
											</div> 
                                            <div class="form_sep">
												<label for="reg_input_name" class="req">School/College Mobile </label>
												<input type="text" id="sh_mobile" name="sh_mobile" class="form-control" data-required="true" value="<?php echo $clientObj->mobile; ?>" data-type="phone">
											</div> 
                                             <div class="form_sep">
												<label for="reg_input_name" >School/College Fax </label>
												<input type="text" id="sh_fax" name="sh_fax" class="form-control"  value="<?php echo $clientObj->fax; ?>">
											</div>
                                              
                                             											
											
											
											
										
									</div>
								</div>
							</div>
                            <div class="col-sm-5">
								<div class="panel panel-default">
									<!--<div class="panel-heading">
										<h4 class="panel-title">Simple Validation</h4>
									</div>-->
									<div class="panel-body">
                                    <div class="form_sep">
												<label for="reg_input_name" class="req">Admin Contact Person</label>
												<input type="text" id="sh_contact" name="sh_contact" class="form-control" data-required="true" value="<?php echo $clientObj->contact_person; ?>">
											</div>
											<div class="form_sep">
												<label for="reg_select" class="req">Country</label>
												<select name="sh_country" id="sh_country" class="form-control" data-required="true">
												<?php if($clientObj->country==''){ ?><option value="">Select Country</option><?php } else { echo '<option value="'.$clientObj->country.'">'.$clientObj->country.'</option>'; } ?>
													<?php echo country(); ?>

                
												</select>
											</div>
                                    		
											<div class="form_sep">
												<label for="reg_input_currency" class="req">Currency Type</label>
												<select  id="sh_currency" name="sh_currency" class="form-control" data-required="true" >
                                                
              <option <?php if($clientObj->currency_type=='AF'){ ?> selected="selected" <?php }?> value="AF">AFN</option>
              <option <?php if($clientObj->currency_type=='AL'){ ?> selected="selected" <?php }?> value="AL">ALL</option>
              <option <?php if($clientObj->currency_type=='DZ'){ ?> selected="selected" <?php }?>value="DZ">DZD</option>
              <option <?php if($clientObj->currency_type=='AS'){ ?> selected="selected" <?php }?>value="AS">USD</option>
              <option <?php if($clientObj->currency_type=='AD'){ ?> selected="selected" <?php }?>value="AD">EUR</option>
              <option <?php if($clientObj->currency_type=='AO'){ ?> selected="selected" <?php }?>value="AO">AOA</option>
              
            <option <?php if($clientObj->currency_type=='AI'){ ?> selected="selected" <?php }?>value="AI">XCD</option>
            <option <?php if($clientObj->currency_type=='AG'){ ?> selected="selected" <?php }?>value="AG">XCD</option>
            <option <?php if($clientObj->currency_type=='AR'){ ?> selected="selected" <?php }?>value="AR">ARP</option>
            <option <?php if($clientObj->currency_type=='AM'){ ?> selected="selected" <?php }?>value="AM">AMD</option>
            <option <?php if($clientObj->currency_type=='AW'){ ?> selected="selected" <?php }?>value="AW">AWG</option>
            <option <?php if($clientObj->currency_type=='AU'){ ?> selected="selected" <?php }?>value="AU">AUD</option>
            <option <?php if($clientObj->currency_type=='AT'){ ?> selected="selected" <?php }?>value="AT">EUR</option>
            <option <?php if($clientObj->currency_type=='AZ'){ ?> selected="selected" <?php }?>value="AZ">AZN</option>
            <option <?php if($clientObj->currency_type=='BS'){ ?> selected="selected" <?php }?>value="BS">BSD</option>
            <option <?php if($clientObj->currency_type=='BH'){ ?> selected="selected" <?php }?>value="BH">BHD</option>
            <option <?php if($clientObj->currency_type=='BD'){ ?> selected="selected" <?php }?>value="BD">BDT</option>
            <option <?php if($clientObj->currency_type=='BB'){ ?> selected="selected" <?php }?>value="BB">BBD</option>
            <option <?php if($clientObj->currency_type=='BY'){ ?> selected="selected" <?php }?>value="BY">BYR</option>
            <option <?php if($clientObj->currency_type=='BE'){ ?> selected="selected" <?php }?>value="BE">EUR</option>
            <option <?php if($clientObj->currency_type=='BZ'){ ?> selected="selected" <?php }?>value="BZ">BZD</option>
            <option <?php if($clientObj->currency_type=='BJ'){ ?> selected="selected" <?php }?>value="BJ">XOF</option>
            <option <?php if($clientObj->currency_type=='BM'){ ?> selected="selected" <?php }?>value="BM">BMD</option>
            <option <?php if($clientObj->currency_type=='BT'){ ?> selected="selected" <?php }?>value="BT">BTN</option>
            <option <?php if($clientObj->currency_type=='BO'){ ?> selected="selected" <?php }?>value="BO">BOV</option>
            <option <?php if($clientObj->currency_type=='BA'){ ?> selected="selected" <?php }?>value="BA">BAM</option>
            <option <?php if($clientObj->currency_type=='BW'){ ?> selected="selected" <?php }?>value="BW">BWP</option>
            <option <?php if($clientObj->currency_type=='BV'){ ?> selected="selected" <?php }?>value="BV">NOK</option>
            <option <?php if($clientObj->currency_type=='BR'){ ?> selected="selected" <?php }?>value="BR">BRL</option>
            <option <?php if($clientObj->currency_type=='IO'){ ?> selected="selected" <?php }?>value="IO">USD</option>
            <option <?php if($clientObj->currency_type=='BN'){ ?> selected="selected" <?php }?>value="BN">BND</option>
            <option <?php if($clientObj->currency_type=='BG'){ ?> selected="selected" <?php }?>value="BG">BGL</option>
            <option <?php if($clientObj->currency_type=='BF'){ ?> selected="selected" <?php }?>value="BF">XOF</option>
            <option <?php if($clientObj->currency_type=='BI'){ ?> selected="selected" <?php }?>value="BI">BIF</option>
            <option <?php if($clientObj->currency_type=='KH'){ ?> selected="selected" <?php }?>value="KH">KHR</option>
            <option <?php if($clientObj->currency_type=='CM'){ ?> selected="selected" <?php }?>value="CM">XAF</option>
            <option <?php if($clientObj->currency_type=='CA'){ ?> selected="selected" <?php }?>value="CA">CAD</option>
            <option <?php if($clientObj->currency_type=='CV'){ ?> selected="selected" <?php }?>value="CV">CVE</option>
            <option <?php if($clientObj->currency_type=='KY'){ ?> selected="selected" <?php }?>value="KY">KYD</option>
            <option <?php if($clientObj->currency_type=='CF'){ ?> selected="selected" <?php }?>value="CF">XAF</option>
            <option <?php if($clientObj->currency_type=='TD'){ ?> selected="selected" <?php }?>value="TD">XAF</option>
            <option <?php if($clientObj->currency_type=='CL'){ ?> selected="selected" <?php }?>value="CL">CLF</option>
            <option <?php if($clientObj->currency_type=='CN'){ ?> selected="selected" <?php }?>value="CN">CNY</option>
            <option <?php if($clientObj->currency_type=='CX'){ ?> selected="selected" <?php }?>value="CX">AUD</option>
            <option <?php if($clientObj->currency_type=='CC'){ ?> selected="selected" <?php }?>value="CC">AUD</option>
            <option <?php if($clientObj->currency_type=='CO'){ ?> selected="selected" <?php }?>value="CO">COU</option>
            <option <?php if($clientObj->currency_type=='KM'){ ?> selected="selected" <?php }?>value="KM">KMF</option>
            <option <?php if($clientObj->currency_type=='CG'){ ?> selected="selected" <?php }?>value="CG">XAF</option>
            <option <?php if($clientObj->currency_type=='CD'){ ?> selected="selected" <?php }?>value="CD">CDF</option>
            <option <?php if($clientObj->currency_type=='CK'){ ?> selected="selected" <?php }?>value="CK">NZD</option>
            <option <?php if($clientObj->currency_type=='CR'){ ?> selected="selected" <?php }?>value="CR">CRC</option>
            <option <?php if($clientObj->currency_type=='HR'){ ?> selected="selected" <?php }?>value="HR">HRK</option>
            <option <?php if($clientObj->currency_type=='CU'){ ?> selected="selected" <?php }?>value="CU">CUP</option>
            <option <?php if($clientObj->currency_type=='CY'){ ?> selected="selected" <?php }?>value="CY">EUR</option>
            <option <?php if($clientObj->currency_type=='CZ'){ ?> selected="selected" <?php }?>value="CZ">CZK</option>
            <option <?php if($clientObj->currency_type=='CS'){ ?> selected="selected" <?php }?>value="CS">CSJ</option>
            <option <?php if($clientObj->currency_type=='CI'){ ?> selected="selected" <?php }?>value="CI">XOF</option>
            <option <?php if($clientObj->currency_type=='DK'){ ?> selected="selected" <?php }?>value="DK">DKK</option>
            <option <?php if($clientObj->currency_type=='DJ'){ ?> selected="selected" <?php }?>value="DJ">DJF</option>
            <option <?php if($clientObj->currency_type=='DM'){ ?> selected="selected" <?php }?>value="DM">XCD</option>
            <option <?php if($clientObj->currency_type=='DO'){ ?> selected="selected" <?php }?>value="DO">DOP</option>
            <option <?php if($clientObj->currency_type=='EC'){ ?> selected="selected" <?php }?>value="EC">USD</option>
            <option <?php if($clientObj->currency_type=='EG'){ ?> selected="selected" <?php }?>value="EG">EGP</option>
            <option <?php if($clientObj->currency_type=='SV'){ ?> selected="selected" <?php }?>value="SV">USD</option>
            <option <?php if($clientObj->currency_type=='GQ'){ ?> selected="selected" <?php }?>value="GQ">EQE</option>
            <option <?php if($clientObj->currency_type=='ER'){ ?> selected="selected" <?php }?>value="ER">ERN</option>
            <option <?php if($clientObj->currency_type=='EE'){ ?> selected="selected" <?php }?>value="EE">EEK</option>
            <option <?php if($clientObj->currency_type=='ET'){ ?> selected="selected" <?php }?>value="ET">ETB</option>
            <option <?php if($clientObj->currency_type=='FK'){ ?> selected="selected" <?php }?>value="FK">FKP</option>
            <option <?php if($clientObj->currency_type=='FO'){ ?> selected="selected" <?php }?>value="FO">DKK</option>
            <option <?php if($clientObj->currency_type=='FJ'){ ?> selected="selected" <?php }?>value="FJ">FJD</option>
            <option <?php if($clientObj->currency_type=='FI'){ ?> selected="selected" <?php }?>value="FI">FIM</option>
            <option <?php if($clientObj->currency_type=='FR'){ ?> selected="selected" <?php }?>value="FR">XFO</option>
            <option <?php if($clientObj->currency_type=='GF'){ ?> selected="selected" <?php }?>value="GF">EUR</option>
            <option <?php if($clientObj->currency_type=='PF'){ ?> selected="selected" <?php }?>value="PF">XPF</option>
            <option <?php if($clientObj->currency_type=='TF'){ ?> selected="selected" <?php }?>value="TF">EUR</option>
            <option <?php if($clientObj->currency_type=='GA'){ ?> selected="selected" <?php }?>value="GA">XAF</option>
            <option <?php if($clientObj->currency_type=='GM'){ ?> selected="selected" <?php }?>value="GM">GMD</option>
            <option <?php if($clientObj->currency_type=='GE'){ ?> selected="selected" <?php }?>value="GE">GEL</option>
            <option <?php if($clientObj->currency_type=='DD'){ ?> selected="selected" <?php }?>value="DD">DDM</option>
            <option <?php if($clientObj->currency_type=='DE'){ ?> selected="selected" <?php }?>value="DE">EUR</option>
            <option <?php if($clientObj->currency_type=='GH'){ ?> selected="selected" <?php }?>value="GH">GHC</option>
            <option <?php if($clientObj->currency_type=='GI'){ ?> selected="selected" <?php }?>value="GI">GIP</option>
            <option <?php if($clientObj->currency_type=='GR'){ ?> selected="selected" <?php }?>value="GR">GRD</option>
            <option <?php if($clientObj->currency_type=='GL'){ ?> selected="selected" <?php }?>value="GL">DKK</option>
            <option <?php if($clientObj->currency_type=='GD'){ ?> selected="selected" <?php }?>value="GD">XCD</option>
            <option <?php if($clientObj->currency_type=='GP'){ ?> selected="selected" <?php }?>value="GP">EUR</option>
            <option <?php if($clientObj->currency_type=='GU'){ ?> selected="selected" <?php }?>value="GU">USD</option>
            <option <?php if($clientObj->currency_type=='GT'){ ?> selected="selected" <?php }?>value="GT">GTQ</option>
            <option <?php if($clientObj->currency_type=='GN'){ ?> selected="selected" <?php }?>value="GN">GNE</option>
            <option <?php if($clientObj->currency_type=='GW'){ ?> selected="selected" <?php }?>value="GW">GWP</option>
            <option <?php if($clientObj->currency_type=='GY'){ ?> selected="selected" <?php }?>value="GY">GYD</option>
            <option <?php if($clientObj->currency_type=='HT'){ ?> selected="selected" <?php }?>value="HT">USD</option>
            <option <?php if($clientObj->currency_type=='HM'){ ?> selected="selected" <?php }?>value="HM">AUD</option>
            <option <?php if($clientObj->currency_type=='VA'){ ?> selected="selected" <?php }?>value="VA">EUR</option>
            <option <?php if($clientObj->currency_type=='HN'){ ?> selected="selected" <?php }?>value="HN">HNL</option>
            <option <?php if($clientObj->currency_type=='HK'){ ?> selected="selected" <?php }?>value="HK">HKD</option>
            <option <?php if($clientObj->currency_type=='HU'){ ?> selected="selected" <?php }?>value="HU">HUF</option>
            <option <?php if($clientObj->currency_type=='IS'){ ?> selected="selected" <?php }?>value="IS">ISJ</option>
            <option <?php if($clientObj->currency_type=='IN'){ ?> selected="selected" <?php }?>value="IN">INR</option>
            <option <?php if($clientObj->currency_type=='ID'){ ?> selected="selected" <?php }?>value="ID">IDR</option>
            <option <?php if($clientObj->currency_type=='IR'){ ?> selected="selected" <?php }?>value="IR">IRR</option>
            <option <?php if($clientObj->currency_type=='IQ'){ ?> selected="selected" <?php }?>value="IQ">IQD</option>
            <option <?php if($clientObj->currency_type=='IE'){ ?> selected="selected" <?php }?>value="IE">IEP</option>
            <option <?php if($clientObj->currency_type=='IL'){ ?> selected="selected" <?php }?>value="IL">ILS</option>
            <option <?php if($clientObj->currency_type=='IT'){ ?> selected="selected" <?php }?>value="IT">ITL</option>
            <option <?php if($clientObj->currency_type=='JM'){ ?> selected="selected" <?php }?>value="JM">JMD</option>
            <option <?php if($clientObj->currency_type=='JP'){ ?> selected="selected" <?php }?>value="JP">JPY</option>
            <option <?php if($clientObj->currency_type=='JO'){ ?> selected="selected" <?php }?>value="JO">JOD</option>
            <option <?php if($clientObj->currency_type=='KZ'){ ?> selected="selected" <?php }?>value="KZ">KZT</option>
            <option <?php if($clientObj->currency_type=='KE'){ ?> selected="selected" <?php }?>value="KE">KES</option>
            <option <?php if($clientObj->currency_type=='KI'){ ?> selected="selected" <?php }?>value="KI">AUD</option>
            <option <?php if($clientObj->currency_type=='KP'){ ?> selected="selected" <?php }?>value="KP">KPW</option>
            <option <?php if($clientObj->currency_type=='KR'){ ?> selected="selected" <?php }?>value="KR">KRW</option>
            <option <?php if($clientObj->currency_type=='KW'){ ?> selected="selected" <?php }?>value="KW">KWD</option>
            <option <?php if($clientObj->currency_type=='KG'){ ?> selected="selected" <?php }?>value="KG">KGS</option>
            <option <?php if($clientObj->currency_type=='LA'){ ?> selected="selected" <?php }?>value="LA">LAJ</option>
            <option <?php if($clientObj->currency_type=='LV'){ ?> selected="selected" <?php }?>value="LV">LVL</option>
            <option <?php if($clientObj->currency_type=='LB'){ ?> selected="selected" <?php }?>value="LB">LBP</option>
            <option <?php if($clientObj->currency_type=='LS'){ ?> selected="selected" <?php }?>value="LS">ZAR</option>
            <option <?php if($clientObj->currency_type=='LR'){ ?> selected="selected" <?php }?>value="LR">LRD</option>
            <option <?php if($clientObj->currency_type=='LY'){ ?> selected="selected" <?php }?>value="LY">LYD</option>
            <option <?php if($clientObj->currency_type=='LI'){ ?> selected="selected" <?php }?>value="LI">CHF</option>
            <option <?php if($clientObj->currency_type=='LT'){ ?> selected="selected" <?php }?>value="LT">LTL</option>
            <option <?php if($clientObj->currency_type=='LU'){ ?> selected="selected" <?php }?>value="LU">LUF</option>
            <option <?php if($clientObj->currency_type=='MO'){ ?> selected="selected" <?php }?>value="MO">MOP</option>
            <option <?php if($clientObj->currency_type=='MK'){ ?> selected="selected" <?php }?>value="MK">MKN</option>
            <option <?php if($clientObj->currency_type=='MG'){ ?> selected="selected" <?php }?>value="MG">MGF</option>
            <option <?php if($clientObj->currency_type=='MW'){ ?> selected="selected" <?php }?>value="MW">MWK</option>
            <option <?php if($clientObj->currency_type=='MY'){ ?> selected="selected" <?php }?>value="MY">MYR</option>
            <option <?php if($clientObj->currency_type=='MV'){ ?> selected="selected" <?php }?>value="MV">MVR</option>
            <option <?php if($clientObj->currency_type=='ML'){ ?> selected="selected" <?php }?>value="ML">MAF</option>
            <option <?php if($clientObj->currency_type=='MT'){ ?> selected="selected" <?php }?>value="MT">MTL</option>
            <option <?php if($clientObj->currency_type=='MH'){ ?> selected="selected" <?php }?>value="MH">USD</option>
            <option <?php if($clientObj->currency_type=='MQ'){ ?> selected="selected" <?php }?>value="MQ">EUR</option>
            <option <?php if($clientObj->currency_type=='MR'){ ?> selected="selected" <?php }?>value="MR">MRO</option>
            <option <?php if($clientObj->currency_type=='MU'){ ?> selected="selected" <?php }?>value="MU">MUR</option>
            <option <?php if($clientObj->currency_type=='YT'){ ?> selected="selected" <?php }?>value="YT">EUR</option>
            <option <?php if($clientObj->currency_type=='MX'){ ?> selected="selected" <?php }?>value="MX">MXV</option>
            <option <?php if($clientObj->currency_type=='FM'){ ?> selected="selected" <?php }?>value="FM">USD</option>
            <option <?php if($clientObj->currency_type=='MD'){ ?> selected="selected" <?php }?>value="MD">MDL</option>
            <option <?php if($clientObj->currency_type=='MC'){ ?> selected="selected" <?php }?>value="MC">MCF</option>
            <option <?php if($clientObj->currency_type=='MN'){ ?> selected="selected" <?php }?>value="MN">MNT</option>
            <option <?php if($clientObj->currency_type=='ME'){ ?> selected="selected" <?php }?>value="ME">EUR</option>
            <option <?php if($clientObj->currency_type=='MS'){ ?> selected="selected" <?php }?>value="MS">XCD</option>
            <option <?php if($clientObj->currency_type=='MA'){ ?> selected="selected" <?php }?>value="MA">MAD</option>
            <option <?php if($clientObj->currency_type=='MZ'){ ?> selected="selected" <?php }?>value="MZ">MZM</option>
            <option <?php if($clientObj->currency_type=='MM'){ ?> selected="selected" <?php }?>value="MM">MMK</option>
            <option <?php if($clientObj->currency_type=='NA'){ ?> selected="selected" <?php }?>value="NA">ZAR</option>
            <option <?php if($clientObj->currency_type=='NR'){ ?> selected="selected" <?php }?>value="NR">AUD</option>
            <option <?php if($clientObj->currency_type=='NP'){ ?> selected="selected" <?php }?>value="NP">NPR</option>
            <option <?php if($clientObj->currency_type=='NL'){ ?> selected="selected" <?php }?>value="NL">NLG</option>
            <option <?php if($clientObj->currency_type=='AN'){ ?> selected="selected" <?php }?>value="AN">ANG</option>
            <option <?php if($clientObj->currency_type=='NC'){ ?> selected="selected" <?php }?>value="NC">XPF</option>
            <option <?php if($clientObj->currency_type=='NZ'){ ?> selected="selected" <?php }?>value="NZ">NZD</option>
            <option <?php if($clientObj->currency_type=='NI'){ ?> selected="selected" <?php }?>value="NI">NIO</option>
            <option <?php if($clientObj->currency_type=='NE'){ ?> selected="selected" <?php }?>value="NE">XOF</option>
            <option <?php if($clientObj->currency_type=='NG'){ ?> selected="selected" <?php }?>value="NG">NGN</option>
            <option <?php if($clientObj->currency_type=='NU'){ ?> selected="selected" <?php }?>value="NU">NZD</option>
            <option <?php if($clientObj->currency_type=='NF'){ ?> selected="selected" <?php }?>value="NF">AUD</option>
            <option <?php if($clientObj->currency_type=='MP'){ ?> selected="selected" <?php }?>value="MP">USD</option>
            <option <?php if($clientObj->currency_type=='NO'){ ?> selected="selected" <?php }?>value="NO">NOK</option>
            <option <?php if($clientObj->currency_type=='OM'){ ?> selected="selected" <?php }?>value="OM">OMR</option>
            <option <?php if($clientObj->currency_type=='PK'){ ?> selected="selected" <?php }?>value="PK">PKR</option>
            <option <?php if($clientObj->currency_type=='PW'){ ?> selected="selected" <?php }?>value="PW">USD</option>
            <option <?php if($clientObj->currency_type=='PA'){ ?> selected="selected" <?php }?>value="PA">USD</option>
            <option <?php if($clientObj->currency_type=='PG'){ ?> selected="selected" <?php }?>value="PG">PGK</option>
            <option <?php if($clientObj->currency_type=='PY'){ ?> selected="selected" <?php }?>value="PY">PYG</option>
            <option <?php if($clientObj->currency_type=='YD'){ ?> selected="selected" <?php }?>value="YD">YDD</option>
            <option <?php if($clientObj->currency_type=='PE'){ ?> selected="selected" <?php }?>value="PE">PEH</option>
            <option <?php if($clientObj->currency_type=='PH'){ ?> selected="selected" <?php }?>value="PH">PHP</option>
            <option <?php if($clientObj->currency_type=='PN'){ ?> selected="selected" <?php }?>value="PN">NZD</option>
            <option <?php if($clientObj->currency_type=='PL'){ ?> selected="selected" <?php }?>value="PL">PLN</option>
            <option <?php if($clientObj->currency_type=='PT'){ ?> selected="selected" <?php }?>value="PT">TPE</option>
            <option <?php if($clientObj->currency_type=='PR'){ ?> selected="selected" <?php }?>value="PR">USD</option>
            <option <?php if($clientObj->currency_type=='QA'){ ?> selected="selected" <?php }?>value="QA">QAR</option>
            <option <?php if($clientObj->currency_type=='RO'){ ?> selected="selected" <?php }?>value="RO">ROK</option>
            <option <?php if($clientObj->currency_type=='RU'){ ?> selected="selected" <?php }?>value="RU">RUB</option>
            <option <?php if($clientObj->currency_type=='RW'){ ?> selected="selected" <?php }?>value="RW">RWF</option>
            <option <?php if($clientObj->currency_type=='RE'){ ?> selected="selected" <?php }?>value="RE">EUR</option>
            <option <?php if($clientObj->currency_type=='SH'){ ?> selected="selected" <?php }?>value="SH">SHP</option>
            <option <?php if($clientObj->currency_type=='KN'){ ?> selected="selected" <?php }?>value="KN">XCD</option>
            <option <?php if($clientObj->currency_type=='LC'){ ?> selected="selected" <?php }?>value="LC">XCD</option>
            <option <?php if($clientObj->currency_type=='PM'){ ?> selected="selected" <?php }?>value="PM">EUR</option>
            <option <?php if($clientObj->currency_type=='VC'){ ?> selected="selected" <?php }?>value="VC">XCD</option>
            <option <?php if($clientObj->currency_type=='WS'){ ?> selected="selected" <?php }?>value="WS">WST</option>
            <option <?php if($clientObj->currency_type=='SM'){ ?> selected="selected" <?php }?>value="SM">EUR</option>
            <option <?php if($clientObj->currency_type=='ST'){ ?> selected="selected" <?php }?>value="ST">STD</option>
            <option <?php if($clientObj->currency_type=='SA'){ ?> selected="selected" <?php }?>value="SA">SAR</option>
            <option <?php if($clientObj->currency_type=='SN'){ ?> selected="selected" <?php }?>value="SN">XOF</option>
            <option <?php if($clientObj->currency_type=='RS'){ ?> selected="selected" <?php }?>value="RS">CSD</option>
            <option <?php if($clientObj->currency_type=='SC'){ ?> selected="selected" <?php }?>value="SC">SCR</option>
            <option <?php if($clientObj->currency_type=='SL'){ ?> selected="selected" <?php }?>value="SL">SLL</option>
            <option <?php if($clientObj->currency_type=='SG'){ ?> selected="selected" <?php }?>value="SG">SGD</option>
            <option <?php if($clientObj->currency_type=='SK'){ ?> selected="selected" <?php }?>value="SK">SKK</option>
            <option <?php if($clientObj->currency_type=='SI'){ ?> selected="selected" <?php }?>value="SI">SIT</option>
            <option <?php if($clientObj->currency_type=='SB'){ ?> selected="selected" <?php }?>value="SB">SBD</option>
            <option <?php if($clientObj->currency_type=='SO'){ ?> selected="selected" <?php }?>value="SO">SOS</option>
            <option <?php if($clientObj->currency_type=='ZA'){ ?> selected="selected" <?php }?>value="ZA">ZAL</option>
            <option <?php if($clientObj->currency_type=='ES'){ ?> selected="selected" <?php }?>value="ES">ESB</option>
            <option <?php if($clientObj->currency_type=='LK'){ ?> selected="selected" <?php }?>value="LK">LKR</option>
            <option <?php if($clientObj->currency_type=='SD'){ ?> selected="selected" <?php }?>value="SD">SDG</option>
            <option <?php if($clientObj->currency_type=='SR'){ ?> selected="selected" <?php }?>value="SR">SRG</option>
            <option <?php if($clientObj->currency_type=='SJ'){ ?> selected="selected" <?php }?>value="SJ">NOK</option>
            <option <?php if($clientObj->currency_type=='SZ'){ ?> selected="selected" <?php }?>value="SZ">SZL</option>
            <option <?php if($clientObj->currency_type=='SE'){ ?> selected="selected" <?php }?>value="SE">SEK</option>
            <option <?php if($clientObj->currency_type=='CH'){ ?> selected="selected" <?php }?>value="CH">CHW</option>
            <option <?php if($clientObj->currency_type=='SY'){ ?> selected="selected" <?php }?>value="SY">SYP</option>
            <option <?php if($clientObj->currency_type=='TW'){ ?> selected="selected" <?php }?>value="TW">TWD</option>
            <option <?php if($clientObj->currency_type=='TJ'){ ?> selected="selected" <?php }?>value="TJ">TJR</option>
            <option <?php if($clientObj->currency_type=='TZ'){ ?> selected="selected" <?php }?>value="TZ">TZS</option>
            <option <?php if($clientObj->currency_type=='TH'){ ?> selected="selected" <?php }?>value="TH">THB</option>
            <option <?php if($clientObj->currency_type=='TL'){ ?> selected="selected" <?php }?>value="TL">USD</option>
            <option <?php if($clientObj->currency_type=='TG'){ ?> selected="selected" <?php }?>value="TG">XOF</option>
            <option <?php if($clientObj->currency_type=='TK'){ ?> selected="selected" <?php }?>value="TK">NZD</option>
            <option <?php if($clientObj->currency_type=='TO'){ ?> selected="selected" <?php }?>value="TO">TOP</option>
            <option <?php if($clientObj->currency_type=='TT'){ ?> selected="selected" <?php }?>value="TT">TTD</option>
            <option <?php if($clientObj->currency_type=='TN'){ ?> selected="selected" <?php }?>value="TN">TND</option>
            <option <?php if($clientObj->currency_type=='TR'){ ?> selected="selected" <?php }?>value="TR">TRL</option>
            <option <?php if($clientObj->currency_type=='TM'){ ?> selected="selected" <?php }?>value="TM">TMM</option>
            <option <?php if($clientObj->currency_type=='TC'){ ?> selected="selected" <?php }?>value="TC">USD</option>
            <option <?php if($clientObj->currency_type=='TV'){ ?> selected="selected" <?php }?>value="TV">AUD</option>
            <option <?php if($clientObj->currency_type=='SU'){ ?> selected="selected" <?php }?>value="SU">SUR</option>
            <option <?php if($clientObj->currency_type=='UG'){ ?> selected="selected" <?php }?>value="UG">UGS</option>
            <option <?php if($clientObj->currency_type=='UA'){ ?> selected="selected" <?php }?>value="UA">UAK</option>
            <option <?php if($clientObj->currency_type=='AE'){ ?> selected="selected" <?php }?>value="AE">AED</option>
            <option <?php if($clientObj->currency_type=='GB'){ ?> selected="selected" <?php }?>value="GB">GBP</option>
            <option <?php if($clientObj->currency_type=='US'){ ?> selected="selected" <?php }?>value="US">USS</option>
            <option <?php if($clientObj->currency_type=='UM'){ ?> selected="selected" <?php }?>value="UM">USD</option>
            <option <?php if($clientObj->currency_type=='UY'){ ?> selected="selected" <?php }?>value="UY">UYI</option>
            <option <?php if($clientObj->currency_type=='UZ'){ ?> selected="selected" <?php }?>value="UZ">UZS</option>
            <option <?php if($clientObj->currency_type=='VU'){ ?> selected="selected" <?php }?>value="VU">VUV</option>
            <option <?php if($clientObj->currency_type=='VE'){ ?> selected="selected" <?php }?>value="VE">VEB</option>
            <option <?php if($clientObj->currency_type=='VN'){ ?> selected="selected" <?php }?>value="VN">VNC</option>
            <option <?php if($clientObj->currency_type=='VG'){ ?> selected="selected" <?php }?>value="VG">USD</option>
            <option <?php if($clientObj->currency_type=='VI'){ ?> selected="selected" <?php }?>value="VI">USD</option>
            <option <?php if($clientObj->currency_type=='WF'){ ?> selected="selected" <?php }?>value="WF">XPF</option>
            <option <?php if($clientObj->currency_type=='EH'){ ?> selected="selected" <?php }?>value="EH">MAD</option>
            <option <?php if($clientObj->currency_type=='YE'){ ?> selected="selected" <?php }?>value="YE">YER</option>
            <option <?php if($clientObj->currency_type=='YU'){ ?> selected="selected" <?php }?>value="YU">YUM</option>
            <option <?php if($clientObj->currency_type=='ZR'){ ?> selected="selected" <?php }?>value="ZR">ZRZ</option>
            <option <?php if($clientObj->currency_type=='ZM'){ ?> selected="selected" <?php }?>value="ZM">ZMK</option>
            <option <?php if($clientObj->currency_type=='ZW'){ ?> selected="selected" <?php }?>value="ZW">ZWC</option>

                                                
                                                
                                               </select> 
											</div>
										
											
											
											<div class="form_sep">
												<label for="Language">Language</label>
												<input type="text" id="sh_language" name="sh_language" class="form-control" readonly value="English" >
											</div>
                                            <div class="form_sep">
												<label for="Timezone" class="req">Timezone</label>
												<select name="timezone" id="timezone" class="form-control" data-required="true">
                                                <?php if($clientObj->timezone==''){ ?><option value="">Select Timezone</option><?php } else { echo '<option value="'.$clientObj->timezone.'">'.$clientObj->timezone.'</option>'; } ?>
													<?php echo timezone(); ?>
               
												</select>
											</div>
                                         <!--   <div class="form_sep">
												<label class="req">Start Date</label>
												<div class="input-group date startdate" data-date-format="yyyy-mm-dd">
													<input  name="startdate" id="startdate" class="form-control input_validate" type="text" data-required="true" data-type="dateIso" value="<?php //if($clientObj->start_date=='0000-00-00 00:00:00'){ echo ''; } else { echo date('Y-m-d',strtotime($clientObj->start_date)); } ?>">
													<span class="input-group-addon"><i class="icon-calendar"></i></span>
												</div>
											</div>
                                            <div class="form_sep">
												<label class="req">End Date</label>
												<div class="input-group date enddate" data-date-format="yyyy-mm-dd">
													<input  name="enddate" id="enddate" class="form-control input_validate" type="text" data-required="true" data-type="dateIso" value="<?php //if($clientObj->end_date=='0000-00-00 00:00:00'){ echo ''; } else { echo date('Y-m-d',strtotime($clientObj->end_date)); } ?>">
													<span class="input-group-addon"><i class="icon-calendar"></i></span>
												</div>
											</div>-->
                                            
												<div class="form_sep">
												<label for="reg_input_attendance" >Attendance</label>
												<input type="text" id="sh_attendance" name="sh_attendance" class="form-control" data-required="true" value="Daily" readonly>
											</div>
                                            <div class="form_sep">
												<label for="reg_input_logo" >Upload Logo</label>
												<input  type="file" id="file" name="file" class="" >
											</div>
											<!--<div class="form_sep">
												<label >Grading System</label>
												<label for="reg_chbox_a"  class="checkbox-inline">
                                                <input  name="grading_1" id="grading_1" checked="checked" type="checkbox"  value="CCA">CCA</label>
												<label for="reg_chbox_b"  class="checkbox-inline">
                                                <input name="grading_2" id="grading_2" checked="checked"  type="checkbox"  value="CWA">CWA</label>
												<label for="reg_chbox_c" class="checkbox-inline">
                                                <input name="grading_3" id="grading_3" checked="checked" type="checkbox"  value="GPA">GPA</label>
											</div>-->
											
										
									</div>
								</div>
                                
							</div>
                            
						</div>
                        
						<div class="row">
							<div class="col-sm-5">
							<div class="form_sep">
												<button class="btn btn-success" type="submit" name="setting_submit" id="setting_submit" >Save</button>
											</div>
                                            </div>
						</div>
				</form>
						
						
							
						</div>
					</div>
				
			</section>
			<div id="footer_space"></div>
		</div>
	<?php include('inc/footer.php'); ?>