    <div class="content-w">
        <?php include 'fancy.php';?>
        <div class="header-spacer"></div>
        <div class="conty">
            <div class="os-tabs-w menu-shad">
                <div class="os-tabs-controls">
                    <ul class="navs navs-tabs upper">
                        <li class="navs-item">
                            <a class="navs-links" href="<?php echo base_url();?>admin/system_settings/"><i class="os-icon picons-thin-icon-thin-0050_settings_panel_equalizer_preferences"></i><span><?php echo getEduAppGTLang('system_settings');?></span></a>
                        </li>
                        <li class="navs-item">
                            <a class="navs-links active" href="<?php echo base_url();?>admin/sms/"><i class="os-icon picons-thin-icon-thin-0287_mobile_message_sms"></i><span><?php echo getEduAppGTLang('sms');?></span></a>
                        </li>
                        <li class="navs-item">
                            <a class="navs-links" href="<?php echo base_url();?>admin/email/"><i class="os-icon picons-thin-icon-thin-0315_email_mail_post_send"></i><span><?php echo getEduAppGTLang('email_settings');?></span></a>
                        </li>
                        <li class="navs-item">
                            <a class="navs-links" href="<?php echo base_url();?>admin/translate/"><i class="os-icon picons-thin-icon-thin-0307_chat_discussion_yes_no_pro_contra_conversation"></i><span><?php echo getEduAppGTLang('translate');?></span></a>
                        </li>
                        <li class="navs-item">
                            <a class="navs-links" href="<?php echo base_url();?>admin/database/"><i class="picons-thin-icon-thin-0356_database"></i><span><?php echo getEduAppGTLang('database');?></span></a>
                        </li>
						<li class="navs-item">
                            <a class="navs-links" href="<?php echo base_url();?>admin/frontend/"><i class="picons-thin-icon-thin-0180_www_website_address_url_browser"></i><span><?php echo getEduAppGTLang('frontend');?></span></a>
                        </li>
                    </ul>
                </div>
            </div><br>
            <div class="all-wrapper no-padding-content solid-bg-all">
                <div class="layout-w">
                    <div class="content-w">
                        <div class="content-i">
                            <div class="content-box">
                                <div class="col-sm-12">
                       	        <?php $status = $this->crud->getInfo('sms_status');?>
									<?php echo form_open(base_url() . 'admin/sms/update', array('class' => 'form m-b'));?>
										<div class="element-box shadow shadow lined-purple rad10">
				        					<div class="col-sm-12">
				        						<div class="form-group label-floating is-select">
                                                    <label class="control-label"><?php echo getEduAppGTLang('sms_service');?></label>
                                                    <div class="select">
                                                        <select name="sms_status" onchange="submit();">
                                                            <option value="deactivate" <?php if($status == 'deactivate') echo 'selected';?>><?php echo getEduAppGTLang('disabled');?></option>
					    	                        		<option value="clickatell" <?php if($status == 'clickatell') echo 'selected';?>>Clickatell</option>
                                                    		<option value="twilio" <?php if($status == 'twilio') echo 'selected';?>>Twilio</option>
							                                 <option value="msg91" <?php if($status == 'msg91') echo 'selected';?>>MSG91</option>
                                                        </select>
                                                    </div>
                                                </div>
                                			</div>
                        			    </div>
                        			<?php echo form_close();?>
	                				<div class="row">
    		                    		<div class="col-sm-4">
    									    <div class="element-box shadow shadow lined-primary rad10">
    		  								    <h3 class="form-header">Clickatell</h3><br>
    		  									<?php echo form_open(base_url() . 'admin/sms/clickatell');?>
    		  										<div class="col-sm-12">
                                         				<div class="form-group label-floating">
                                            				<label class="control-label">Clickatell Username</label>
                                            				<input class="form-control" required value="<?php echo $this->crud->getInfo('clickatell_username');?>" type="text" name="clickatell_username" required="">
                                            				<span class="material-input"></span>
                                        				</div>
                                    				</div>
                                    				<div class="col-sm-12">
                                         				<div class="form-group label-floating">
                                            				<label class="control-label">Clickatell Password</label>
                                            				<input class="form-control" required value="<?php echo $this->crud->getInfo('clickatell_password');?>" type="text" name="clickatell_password" required="">
                                            				<span class="material-input"></span>
                                        				</div>
                                    				</div>
                                    				<div class="col-sm-12">
                                         				<div class="form-group label-floating">
                                            				<label class="control-label">API ID</label>
                                            				<input class="form-control" required value="<?php echo $this->crud->getInfo('clickatell_api');?>" type="text" name="clickatell_api" required="">
                                            				<span class="material-input"></span>
                                        				</div>
                                    				</div>
    		   										<div class="form-buttons-w text-right">
                										<button class="btn btn-rounded btn-primary" type="submit"> <?php echo getEduAppGTLang('update');?></button>
              										</div>
              									<?php echo form_close();?>
    										</div>
    									</div>
    									<div class="col-sm-4">
    		      							<div class="element-box shadow lined-danger rad10">
    		  									<h3 class="form-header">Twilio</h3><br>
    		  									<?php echo form_open(base_url() . 'admin/sms/twilio');?>
    												<div class="col-sm-12">
                 										<div class="form-group label-floating">
                    										<label class="control-label">Twilio Account SID</label>
                    										<input class="form-control" required value="<?php echo $this->crud->getInfo('twilio_account');?>" type="text" name="twilio_account" required="">
                    										<span class="material-input"></span>
                										</div>
            										</div>
            										<div class="col-sm-12">
                 										<div class="form-group label-floating">
                    										<label class="control-label">Authentication Token</label>
                    										<input class="form-control" required value="<?php echo $this->crud->getInfo('authentication_token');?>" type="text" name="authentication_token" required="">
                    										<span class="material-input"></span>
                										</div>
            										</div>
            										<div class="col-sm-12">
                 										<div class="form-group label-floating">
                    										<label class="control-label">Registered Phone Number</label>
                    										<input class="form-control" required value="<?php echo $this->crud->getInfo('registered_phone');?>" type="text" name="registered_phone" required="">
                    										<span class="material-input"></span>
                										</div>
            										</div>
       												<div class="form-buttons-w text-right">
    													<button class="btn btn-rounded btn-danger" type="submit"> <?php echo getEduAppGTLang('update');?> </button>
      												</div>
              									<?php echo form_close();?>
    										</div>
    									</div>
										<div class="col-sm-4">
										    <div class="element-box shadow lined-success rad10">
		  										<h3 class="form-header">MSG91</h3><br>
												<?php echo form_open(base_url() . 'admin/sms/msg91');?>
												    <div class="col-sm-12">
                                     					<div class="form-group label-floating">
                                        					<label class="control-label">Authentication Key SID</label>
                                        					<input class="form-control" value="<?php echo $this->crud->getInfo('msg91_key');?>" type="text" name="msg91_key" required="">
                                        					<span class="material-input"></span>
                                    					</div>
                                					</div>
                                					<div class="col-sm-12">
                                     					<div class="form-group label-floating">
                                        					<label class="control-label">Sender ID</label>
                                        					<input class="form-control" value="<?php echo $this->crud->getInfo('msg91_sender');?>" type="text" name="msg91_sender" required="">
                                        					<span class="material-input"></span>
                                    					</div>
                                					</div>
                                					<div class="col-sm-12">
                                     					<div class="form-group label-floating">
                                        					<label class="control-label">Route</label>
                                        					<input class="form-control" value="<?php echo $this->crud->getInfo('msg91_route');?>" type="text" name="msg91_route" required="">
                                        					<span class="material-input"></span>
                                    					</div>
                                					</div>
                                					<div class="col-sm-12">
                                     					<div class="form-group label-floating">
                                        					<label class="control-label">Country Code</label>
                                        					<input class="form-control" value="<?php echo $this->crud->getInfo('msg91_code');?>" type="text" name="msg91_code" required="">
                                        					<span class="material-input"></span>
                                    					</div>
                                					</div>
		   											<div class="form-buttons-w text-right">
            											<button class="btn btn-rounded btn-success" type="submit"> <?php echo getEduAppGTLang('update');?> </button>
          											</div>
          										<?php echo form_close();?>
											</div>
										</div>
									</div>
		                            <?php echo form_open(base_url() . 'admin/sms/services');?>
                                        <div class="element-box lined-primary shadow rad10">
                            	            <h3 class="form-header"><?php echo getEduAppGTLang('notify_send');?></h3><br>
                                            <div class="row">   
                                                <div class="col-sm-6">
                                	                <h4><?php echo getEduAppGTLang('for_parents');?></h4>
                                	                <hr>
                                                    <div class="description-toggle">
    									                <div class="description-toggle-content">
										                    <div class="h6"><?php echo getEduAppGTLang('absences');?></div>
										                    <p><?php echo getEduAppGTLang('absences_message');?></p>
									                    </div>
									                    <div class="togglebutton">
    										                <label><input name="absences" value="1" type="checkbox" <?php if($this->crud->getInfo('absences') == 1) echo "checked";?>></label>
									                    </div>
								                    </div>
								                    <br>
								                    <div class="description-toggle">
    									                <div class="description-toggle-content">
										                    <div class="h6"><?php echo getEduAppGTLang('students_reports');?></div>
										                    <p><?php echo getEduAppGTLang('students_reports_message');?></p>
									                    </div>  
									                    <div class="togglebutton">
    										                <label><input name="students_reports" value="1" type="checkbox" <?php if($this->crud->getInfo('students_reports') == 1) echo "checked";?>></label>
									                    </div>
								                    </div>
								                    <br>
								                    <div class="description-toggle">
    									                <div class="description-toggle-content">
										                    <div class="h6"><?php echo getEduAppGTLang('new_invoice');?></div>
										                    <p><?php echo getEduAppGTLang('new_invoice_message');?></p>
									                    </div>
									                    <div class="togglebutton">
    										                <label><input name="p_new_invoice" value="1" type="checkbox" <?php if($this->crud->getInfo('p_new_invoice') == 1) echo "checked";?>></label>
									                    </div>
								                    </div>
                                                </div>
                                                <div class="col-sm-6"> 
                                	                <h4><?php echo getEduAppGTLang('for_students');?></h4>
                                	                <hr>
                                                    <div class="description-toggle">
    									                <div class="description-toggle-content">
										                    <div class="h6"><?php echo getEduAppGTLang('new_invoices');?></div>
										                    <p><?php echo getEduAppGTLang('new_invoice_message');?></p>
									                    </div>
									                    <div class="togglebutton">
    										                <label><input name="s_new_invoice" value="1" type="checkbox" <?php if($this->crud->getInfo('s_new_invoice') == 1) echo "checked";?>></label>
									                    </div>
								                    </div>
                                                </div>
                                                <hr>
                                                <div class="col-sm-12">
                                                    <div class="pull-right">
                                                        <button class="btn btn-primary btn-rounded pull-right" type="submit"> <?php echo getEduAppGTLang('update');?></button>
                                                    </div>
                                                </div>
		                                    </div>
		                                </div>
		                            <?php echo form_close();?> 
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="display-type"></div>
            </div>
        </div>
    </div>