<commit_before><script src="<?php echo  base_url(); ?>assets/js/bootstrap-select.js"></script>
<script src="<?= base_url() ?>assets/js/maxcdn_bootstrap.min.js"></script>
</section>
</span></span>
<footer class="site-footer"> 
   <div class="padding-b-10 col-md-12 no-padding">
	
  <?php
	$this->db->select('*');
	$this->db->where('domain',$_SERVER['HTTP_HOST']);
	$result=$this->db->get('invoice_conf');
	if($result->num_rows() > 0){
		$result=$result->result_array();
		$footer = $result[0]['website_footer'];
	}else{
		$footer = '';
	}
  	if($footer != ''){ ?>
		 <div style="margin-left:470px; "><?=$footer ?>
		 
		 <div style="" class="pull-left">
             <button style="" title="English" class="btn no-padding" id="close-image" type="button" name="en_EN" value="en_EN" onclick="get_lang('en_EN')" ;=""><img style="width: 20px; height: 18px;vertical-align:top;" src="<?php echo  base_url(); ?>assets/images/flags/flag_usa.png"></button>
            <button class="btn no-padding" title="Español" id="close-image" type="button" name="es_ES" value="es_ES" onclick="get_lang('es_ES')" ;=""><img style="width: 20px; height: 18px;vertical-align:top;" src="<?php echo  base_url(); ?>assets/images/flags/spain_flag.gif"></button>
            <button class="btn no-padding" title="Français" id="close-image" type="button" name="fr_FR" value="fr_FR" onclick="get_lang('fr_FR')" ;=""><img style="width: 20px; height: 18px;vertical-align:top;" src="<?php echo  base_url(); ?>assets/images/flags/france.png"></button> </div>
		 
		  </div>
	<?php	} else {
	if ($this->session->userdata['logintype'] == 2) { ?>
	    <div  class="pull-left col-md-3">
			<span>Powered by </span>
			<a href="http://www.astppbilling.org" target="_blank">
				<span style="color: #216397;text-shadow: 0px 1px 1px #FFF;">
					<strong>ASTPP</strong>
				</span><commit_msg>[FIX] Resolved footer issues<commit_after><script src="<?php echo  base_url(); ?>assets/js/bootstrap-select.js"></script>
<script src="<?= base_url() ?>assets/js/maxcdn_bootstrap.min.js"></script>
</section>
</span></span>
<footer class="site-footer"> 
   <div class="padding-b-10 col-md-12 no-padding">
	
  <?php
	$str = isset($_SERVER['HTTPS'])&& $_SERVER['HTTPS'] == 'on' ? 'https://' :'http://';
	$this->db->select('*');	
	$this->db->where('domain',$_SERVER['HTTP_HOST']);
	$this->db->or_where('domain','http://'.$_SERVER['HTTP_HOST']);
	$this->db->or_where('domain','https://'.$_SERVER['HTTP_HOST'])
	$result=$this->db->get('invoice_conf');
	if($result->num_rows() > 0){
		$result=$result->result_array();
		$footer = $result[0]['website_footer'];
	}else{
		$footer = '';
	}
  	if($footer != ''){ ?>
		 <div style="margin-left:470px; "><?=$footer ?>
		 
		 <div style="" class="pull-left">
             <button style="" title="English" class="btn no-padding" id="close-image" type="button" name="en_EN" value="en_EN" onclick="get_lang('en_EN')" ;=""><img style="width: 20px; height: 18px;vertical-align:top;" src="<?php echo  base_url(); ?>assets/images/flags/flag_usa.png"></button>
            <button class="btn no-padding" title="Español" id="close-image" type="button" name="es_ES" value="es_ES" onclick="get_lang('es_ES')" ;=""><img style="width: 20px; height: 18px;vertical-align:top;" src="<?php echo  base_url(); ?>assets/images/flags/spain_flag.gif"></button>
            <button class="btn no-padding" title="Français" id="close-image" type="button" name="fr_FR" value="fr_FR" onclick="get_lang('fr_FR')" ;=""><img style="width: 20px; height: 18px;vertical-align:top;" src="<?php echo  base_url(); ?>assets/images/flags/france.png"></button> </div>
		 
		  </div>
	<?php	} else {
	if ($this->session->userdata['logintype'] == 2) { ?>
	    <div  class="pull-left col-md-3">
			<span>Powered by </span>
			<a href="http://www.astppbilling.org" target="_blank">
				<span style="color: #216397;text-shadow: 0px 1px 1px #FFF;">
					<strong>ASTPP</strong>
				</span>
{'fraction_non_alphanumeric': 0.24185336048879838, 'fraction_numerical': 0.016293279022403257, 'mean_word_length': 5.110419906687403, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 105, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4036127', 'n_tokens_mistral': 1509, 'n_tokens_neox': 1395, 'n_words': 240}