Your IP : 216.73.217.87


Current Path : /var/www/vlevski/g2s/
Upload File :
Current File : //var/www/vlevski/g2s/l.php

<?php
	if (isset($_SESSION["lng"]))
	{
		$lng=$_SESSION["lng"];
	}
	else
	{
		$lng="uk";
	}
	if (($lng=="bg") || ($lng=="es") || ($lng=="pl") || ($lng=="rs") || ($lng=="tr"))
	{
	}
	else
	{
		$lng="uk";
	}
	include(__DIR__."/conn.php");
	$lngq=mysqli_query($db, "SELECT * FROM `l` ORDER BY `i` ASC;");
	while($res=mysqli_fetch_row($lngq))
	{
		$c="".$res[1]."";
		if ($lng=="bg")
		{
			$v=$res[3];
		}
		else if ($lng=="es")
		{
			$v=$res[4];
		}
		else if ($lng=="pl")
		{
			$v=$res[5];
		}
		else if ($lng=="rs")
		{
			$v=$res[6];
		}
		else if ($lng=="tr")
		{
			$v=$res[7];
		}
		else
		{
			$v=$res[2];
		}
		if ($v=="")
		{
			$v=$res[2];
		}
		$l["".$c.""]="".$v."";
	}
?>