
<!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: LicCli.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

namespace seraph_accel;

if( !defined( &#039;ABSPATH&#039; ) )
	exit;

require( __DIR__ . &#039;/Lic.php&#039; );

class LicCli
{
	const Act_Activate					= &#039;activate&#039;;
	const Act_Deactivate				= &#039;deactivate&#039;;
	const Act_Check						= &#039;check&#039;;

	static function Action( $srvUrl, $apiSecret, $action, $key, $unitId, $unitVer, $endpointId, $endpointName = null )
	{
		$res = array( &#039;hr&#039; =&gt; Gen::E_FAIL, &#039;response&#039; =&gt; null );

		$url = self::_GetRequestUrl( $srvUrl, $apiSecret, $action, $key, $unitId, $unitVer, $endpointId, $endpointName );

		$requestRes = wp_remote_get( $url, array( &#039;timeout&#039; =&gt; 30 ) );

		$res[ &#039;hr&#039; ] = Net::GetHrFromWpRemoteGet( $requestRes );
		if( $res[ &#039;hr&#039; ] != Gen::S_OK )
			return( $res );

		$res[ &#039;response&#039; ] = json_decode( wp_remote_retrieve_body( $requestRes ), true );
		if( !is_array( $res[ &#039;response&#039; ] ) )
		{
			$res[ &#039;response&#039; ] = null;
			$res[ &#039;hr&#039; ] = Gen::E_DATACORRUPTED;
		}

		return( $res );
	}

	static function GetDataUrl( $srvUrl, $apiSecret, $key, $unitId, $unitVer, $endpointId, $endpointName, $feature, $item )
	{
		return( self::_GetRequestUrl( $srvUrl, $apiSecret, &#039;getdata&#039;, $key, $unitId, $unitVer, $endpointId, $endpointName, $feature, $item ) );
	}

	static function _GetRequestUrl( $srvUrl, $apiSecret, $action, $key, $unitId, $unitVer, $endpointId, $endpointName = null, $feature = null, $item = null )
	{
		$srvUrl .= &#039;/v&#039; . Lic::API_VER;

		$args = array( &#039;secret&#039; =&gt; $apiSecret, &#039;key&#039; =&gt; $key, &#039;unit&#039; =&gt; $unitId, &#039;unit_ver&#039; =&gt; $unitVer, &#039;endpoint&#039; =&gt; $endpointId );
		if( $endpointName )
			$args[ &#039;endpoint_name&#039; ] = $endpointName;
		if( $feature )
			$args[ &#039;feature&#039; ] = $feature;

		$args = array( &#039;action&#039; =&gt; $action, &#039;args&#039; =&gt; @rawurlencode( @base64_encode( @json_encode( $args ) ) ) );
		if( $item )
			$args[ &#039;item&#039; ] = $item;

		return( add_query_arg( $args, $srvUrl ) );
	}
}

</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://www.mijikendarealestate.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-property-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-agent-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-ube_content-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-type-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-status-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-feature-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-label-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-state-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-city-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-neighborhood-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-agency-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
