2018-07-25 03:00:13 +00:00
|
|
|
<?php
|
2022-03-03 02:58:38 +00:00
|
|
|
/**
|
|
|
|
* @package Joomla.Members.Manager
|
|
|
|
*
|
|
|
|
* @created 6th July, 2018
|
|
|
|
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
|
|
|
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
|
|
|
* @copyright Copyright (C) 2015. All Rights Reserved
|
|
|
|
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
// No direct access to this file
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
|
2022-05-27 05:52:58 +00:00
|
|
|
use Joomla\CMS\MVC\Controller\BaseController;
|
2022-03-03 02:58:38 +00:00
|
|
|
use Joomla\Utilities\ArrayHelper;
|
|
|
|
|
|
|
|
/**
|
2022-05-27 05:52:58 +00:00
|
|
|
* Membersmanager Ajax Base Controller
|
2022-03-03 02:58:38 +00:00
|
|
|
*/
|
2022-05-27 05:52:58 +00:00
|
|
|
class MembersmanagerControllerAjax extends BaseController
|
2022-03-03 02:58:38 +00:00
|
|
|
{
|
|
|
|
public function __construct($config)
|
|
|
|
{
|
|
|
|
parent::__construct($config);
|
|
|
|
// make sure all json stuff are set
|
|
|
|
JFactory::getDocument()->setMimeEncoding( 'application/json' );
|
|
|
|
// get the application
|
|
|
|
$app = JFactory::getApplication();
|
|
|
|
$app->setHeader('Content-Disposition','attachment;filename="getajax.json"');
|
|
|
|
$app->setHeader('Access-Control-Allow-Origin', '*');
|
2018-07-25 03:00:13 +00:00
|
|
|
// load the tasks
|
|
|
|
$this->registerTask('checkUnique', 'ajax');
|
2018-09-19 12:29:53 +00:00
|
|
|
$this->registerTask('getPlaceHolders', 'ajax');
|
2018-12-27 10:38:37 +00:00
|
|
|
$this->registerTask('getAnyPlaceHolders', 'ajax');
|
2018-07-25 03:00:13 +00:00
|
|
|
$this->registerTask('uploadfile', 'ajax');
|
2018-09-19 12:29:53 +00:00
|
|
|
$this->registerTask('removeFile', 'ajax');
|
|
|
|
$this->registerTask('getUserDetails', 'ajax');
|
2018-12-27 10:38:37 +00:00
|
|
|
$this->registerTask('getChartImageLink', 'ajax');
|
2018-09-19 12:29:53 +00:00
|
|
|
$this->registerTask('searchMembers', 'ajax');
|
2019-04-04 11:58:49 +00:00
|
|
|
$this->registerTask('getReport', 'ajax');
|
2022-03-03 02:58:38 +00:00
|
|
|
$this->registerTask('getListMessages', 'ajax');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function ajax()
|
|
|
|
{
|
|
|
|
// get the user for later use
|
|
|
|
$user = JFactory::getUser();
|
|
|
|
// get the input values
|
|
|
|
$jinput = JFactory::getApplication()->input;
|
|
|
|
// check if we should return raw
|
|
|
|
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
|
|
|
|
// return to a callback function
|
|
|
|
$callback = $jinput->get('callback', null, 'CMD');
|
|
|
|
// Check Token!
|
|
|
|
$token = JSession::getFormToken();
|
|
|
|
$call_token = $jinput->get('token', 0, 'ALNUM');
|
|
|
|
if($jinput->get($token, 0, 'ALNUM') || $token === $call_token)
|
|
|
|
{
|
|
|
|
// get the task
|
|
|
|
$task = $this->getTask();
|
|
|
|
switch($task)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
case 'checkUnique':
|
|
|
|
try
|
|
|
|
{
|
|
|
|
$fieldValue = $jinput->get('field', NULL, 'WORD');
|
|
|
|
$valueValue = $jinput->get('value', NULL, 'STRING');
|
2021-01-06 14:00:15 +00:00
|
|
|
if($fieldValue && $user->id != 0 && $valueValue)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
$result = $this->getModel('ajax')->checkUnique($fieldValue, $valueValue);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
$result = false;
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback . "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($result);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(Exception $e)
|
|
|
|
{
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback."(".json_encode($e).");";
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($e);
|
|
|
|
}
|
2018-07-25 03:00:13 +00:00
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($e).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
2018-09-19 12:29:53 +00:00
|
|
|
case 'getPlaceHolders':
|
2018-07-25 03:00:13 +00:00
|
|
|
try
|
|
|
|
{
|
2018-09-19 12:29:53 +00:00
|
|
|
$getTypeValue = $jinput->get('getType', NULL, 'WORD');
|
|
|
|
if($getTypeValue && $user->id != 0)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
2018-09-19 12:29:53 +00:00
|
|
|
$result = $this->getModel('ajax')->getPlaceHolders($getTypeValue);
|
2018-07-25 03:00:13 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
$result = false;
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback . "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($result);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(Exception $e)
|
|
|
|
{
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback."(".json_encode($e).");";
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($e);
|
|
|
|
}
|
2018-07-25 03:00:13 +00:00
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($e).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
2018-12-27 10:38:37 +00:00
|
|
|
case 'getAnyPlaceHolders':
|
|
|
|
try
|
|
|
|
{
|
|
|
|
$getTypeValue = $jinput->get('getType', NULL, 'WORD');
|
|
|
|
if($getTypeValue && $user->id != 0)
|
|
|
|
{
|
|
|
|
$result = $this->getModel('ajax')->getAnyPlaceHolders($getTypeValue);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
$result = false;
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-12-27 10:38:37 +00:00
|
|
|
{
|
|
|
|
echo $callback . "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($result);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(Exception $e)
|
|
|
|
{
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-12-27 10:38:37 +00:00
|
|
|
{
|
|
|
|
echo $callback."(".json_encode($e).");";
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($e);
|
|
|
|
}
|
2018-12-27 10:38:37 +00:00
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($e).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
2018-09-19 12:29:53 +00:00
|
|
|
case 'uploadfile':
|
2018-07-25 03:00:13 +00:00
|
|
|
try
|
|
|
|
{
|
2018-09-19 12:29:53 +00:00
|
|
|
$targetValue = $jinput->get('target', NULL, 'WORD');
|
|
|
|
$typeValue = $jinput->get('type', NULL, 'WORD');
|
2021-01-06 14:00:15 +00:00
|
|
|
if($targetValue && $user->id != 0 && $typeValue)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
2018-09-19 12:29:53 +00:00
|
|
|
$result = $this->getModel('ajax')->uploadfile($targetValue, $typeValue);
|
2018-07-25 03:00:13 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
$result = false;
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback . "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($result);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(Exception $e)
|
|
|
|
{
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback."(".json_encode($e).");";
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($e);
|
|
|
|
}
|
2018-07-25 03:00:13 +00:00
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($e).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
2018-09-19 12:29:53 +00:00
|
|
|
case 'removeFile':
|
2018-07-25 03:00:13 +00:00
|
|
|
try
|
|
|
|
{
|
2018-09-19 12:29:53 +00:00
|
|
|
$filenameValue = $jinput->get('filename', NULL, 'CMD');
|
|
|
|
$targetValue = $jinput->get('target', NULL, 'WORD');
|
|
|
|
$flushValue = $jinput->get('flush', NULL, 'INT');
|
|
|
|
$typeValue = $jinput->get('type', NULL, 'WORD');
|
2021-01-06 14:00:15 +00:00
|
|
|
if($filenameValue && $user->id != 0 && $targetValue && $flushValue && $typeValue)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
2018-09-19 12:29:53 +00:00
|
|
|
$result = $this->getModel('ajax')->removeFile($filenameValue, $targetValue, $flushValue, $typeValue);
|
2018-07-25 03:00:13 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
$result = false;
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback . "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($result);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(Exception $e)
|
|
|
|
{
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback."(".json_encode($e).");";
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($e);
|
|
|
|
}
|
2018-07-25 03:00:13 +00:00
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($e).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
2018-09-19 12:29:53 +00:00
|
|
|
case 'getUserDetails':
|
2018-07-25 03:00:13 +00:00
|
|
|
try
|
|
|
|
{
|
2018-09-19 12:29:53 +00:00
|
|
|
$userValue = $jinput->get('user', NULL, 'INT');
|
|
|
|
if($userValue && $user->id != 0)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
2018-09-19 12:29:53 +00:00
|
|
|
$result = $this->getModel('ajax')->getUserDetails($userValue);
|
2018-07-25 03:00:13 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
$result = false;
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback . "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($result);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(Exception $e)
|
|
|
|
{
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback."(".json_encode($e).");";
|
2018-12-27 10:38:37 +00:00
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($e);
|
|
|
|
}
|
2018-12-27 10:38:37 +00:00
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($e).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 'getChartImageLink':
|
|
|
|
try
|
|
|
|
{
|
2021-01-06 14:00:15 +00:00
|
|
|
$chartValue = $jinput->get('chart', NULL, 'STRING');
|
|
|
|
if($chartValue && $user->id != 0)
|
2018-12-27 10:38:37 +00:00
|
|
|
{
|
2021-01-06 14:00:15 +00:00
|
|
|
$result = $this->getModel('ajax')->getChartImageLink($chartValue);
|
2018-12-27 10:38:37 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
$result = false;
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-12-27 10:38:37 +00:00
|
|
|
{
|
|
|
|
echo $callback . "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($result);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(Exception $e)
|
|
|
|
{
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-12-27 10:38:37 +00:00
|
|
|
{
|
|
|
|
echo $callback."(".json_encode($e).");";
|
2018-07-25 03:00:13 +00:00
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($e);
|
|
|
|
}
|
2018-07-25 03:00:13 +00:00
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($e).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
2018-09-19 12:29:53 +00:00
|
|
|
case 'searchMembers':
|
2018-07-25 03:00:13 +00:00
|
|
|
try
|
|
|
|
{
|
2018-09-19 12:29:53 +00:00
|
|
|
$searchValue = $jinput->get('search', NULL, 'STRING');
|
|
|
|
if($searchValue && $user->id != 0)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
2018-09-19 12:29:53 +00:00
|
|
|
$result = $this->getModel('ajax')->searchMembers($searchValue);
|
2018-07-25 03:00:13 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
$result = false;
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback . "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($result);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(Exception $e)
|
|
|
|
{
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback."(".json_encode($e).");";
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($e);
|
|
|
|
}
|
2018-07-25 03:00:13 +00:00
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($e).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
2018-09-19 12:29:53 +00:00
|
|
|
case 'getReport':
|
2018-07-25 03:00:13 +00:00
|
|
|
try
|
|
|
|
{
|
2021-01-06 14:00:15 +00:00
|
|
|
$sleutelValue = $jinput->get('sleutel', NULL, 'STRING');
|
|
|
|
if($sleutelValue && $user->id != 0)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
2021-01-06 14:00:15 +00:00
|
|
|
$result = $this->getModel('ajax')->getReport($sleutelValue);
|
2018-07-25 03:00:13 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
$result = false;
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback . "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($result);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(Exception $e)
|
|
|
|
{
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2018-07-25 03:00:13 +00:00
|
|
|
{
|
|
|
|
echo $callback."(".json_encode($e).");";
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($e);
|
|
|
|
}
|
2018-07-25 03:00:13 +00:00
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($e).");";
|
|
|
|
}
|
|
|
|
}
|
2019-04-04 11:58:49 +00:00
|
|
|
break;
|
|
|
|
case 'getListMessages':
|
|
|
|
try
|
|
|
|
{
|
2021-01-06 14:00:15 +00:00
|
|
|
$sleutelValue = $jinput->get('sleutel', NULL, 'STRING');
|
|
|
|
if($sleutelValue && $user->id != 0)
|
2019-04-04 11:58:49 +00:00
|
|
|
{
|
2021-01-06 14:00:15 +00:00
|
|
|
$result = $this->getModel('ajax')->getListMessages($sleutelValue);
|
2019-04-04 11:58:49 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
$result = false;
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2019-04-04 11:58:49 +00:00
|
|
|
{
|
|
|
|
echo $callback . "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($result);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($result).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(Exception $e)
|
|
|
|
{
|
2022-03-03 02:58:38 +00:00
|
|
|
if($callback)
|
2019-04-04 11:58:49 +00:00
|
|
|
{
|
|
|
|
echo $callback."(".json_encode($e).");";
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode($e);
|
|
|
|
}
|
2019-04-04 11:58:49 +00:00
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode($e).");";
|
|
|
|
}
|
|
|
|
}
|
2022-03-03 02:58:38 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
// return to a callback function
|
|
|
|
if($callback)
|
|
|
|
{
|
|
|
|
echo $callback."(".json_encode(false).");";
|
|
|
|
}
|
|
|
|
// return raw
|
|
|
|
elseif($returnRaw)
|
|
|
|
{
|
|
|
|
echo json_encode(false);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo "(".json_encode(false).");";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|