slot gacor
slot gacor
Whole page translation - Bootstrap 4.5 theme - eXtended CRUD & Data Management System
DEMO SITE v1.7.26

Whole page translation Bootstrap 4.5 theme

All page words translation

HIDE CODE
<br>
<?php
    $xcrud = Xcrud::get_instance();
	   $languages = array(
	              array('en','English'),
	              array('fr','French'),
				  array('de','Germany'),
				  array('es','Spanish'));
	if(isset($_GET['language'])){
		$language = $_GET['language'];   
	}else{
		$language = 'en';//default to english   
	}
	
	$xcrud->language($language);
	//gets translation from one of the files based on selection
	//xcrud/languages/de.ini;
	//xcrud/languages/fr.ini;
	//xcrud/languages/es.ini;
	
	echo "<label>" . $xcrud->translate_external_text("Select Language") . "</label>";
?>

<select class="select-language selectpicker form-control" title="" data-width="110px">                              
     <?php						  
			foreach ( $languages as $val ) {	
					if($language == $val[0]){
						echo "<option selected value=" . $val[0]  . ">" . $val[1] . "</option>";	
					}else{
						echo "<option value=" . $val[0]  . ">" . $val[1] . "</option>";	
					}								
			}			
		?>
</select>

<?php
   	
	 
	$xcrud->table("payments");
	$xcrud->table_name($xcrud->translate_external_text("Payments"));
	$xcrud->label('checkNumber',$xcrud->translate_external_text("check_number"));
	$xcrud->label('paymentDate',$xcrud->translate_external_text("payment_date"));
	$xcrud->label('customerNumber',$xcrud->translate_external_text("check_number"));
	$xcrud->label('amount',$xcrud->translate_external_text("amount"));	   
	
	echo $xcrud->render();			
?>

<script>
	
	$(".select-language").change(function(){
		var hrefString = window.location.href;
		hrefString = hrefString.replace('&language=en',''); 
		hrefString = hrefString.replace('&language=fr',''); 
		hrefString = hrefString.replace('&language=de',''); 
		hrefString = hrefString.replace('&language=es','');  
		window.location = hrefString + "&language=" + $(".select-language").val();
	});
	
</script>

Payments

#Check NumberCheck NumberPayment DateAmountTest1
Actions
111simonepppp19.12.2004 00:00:0010033 View Edit Remove
2114NP6038531.05.2003 00:00:00100 View Edit Remove
3114NR2755210.03.2004 00:00:00100 View Edit Remove
4119DB93370414.11.2004 00:00:00100 View Edit Remove
5124AE21543305.03.2005 00:00:0082261009 View Edit Remove
6124BG25540628.08.2004 00:00:0082261 View Edit Remove
7124CQ28796711.04.2003 00:00:0082261009 View Edit Remove
8124ET6439616.04.2005 00:00:0082261 View Edit Remove
9124HI36647427.12.2004 00:00:0047142.7 View Edit Remove
10124HR8657802.11.2004 00:00:0055639.66 View Edit Remove
Search
 
slot thailand
slot thailand slot gacor
slot gacor