���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/zhaagvlk/public_html/wp-includes/Requests/library/block-bindings/Http.zip
���ѧ٧ѧ�
PK �nu\k�f� � Status504.phpnu �[��� <?php /** * Exception for 504 Gateway Timeout responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 504 Gateway Timeout responses * * @package Requests\Exceptions */ final class Status504 extends Http { /** * HTTP status code * * @var integer */ protected $code = 504; /** * Reason phrase * * @var string */ protected $reason = 'Gateway Timeout'; } PK �nu\h��m� � Status413.phpnu �[��� <?php /** * Exception for 413 Request Entity Too Large responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 413 Request Entity Too Large responses * * @package Requests\Exceptions */ final class Status413 extends Http { /** * HTTP status code * * @var integer */ protected $code = 413; /** * Reason phrase * * @var string */ protected $reason = 'Request Entity Too Large'; } PK �nu\]��� � Status407.phpnu �[��� <?php /** * Exception for 407 Proxy Authentication Required responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 407 Proxy Authentication Required responses * * @package Requests\Exceptions */ final class Status407 extends Http { /** * HTTP status code * * @var integer */ protected $code = 407; /** * Reason phrase * * @var string */ protected $reason = 'Proxy Authentication Required'; } PK �nu\��(�s s Status429.phpnu �[��� <?php /** * Exception for 429 Too Many Requests responses * * @link https://tools.ietf.org/html/draft-nottingham-http-new-status-04 * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 429 Too Many Requests responses * * @link https://tools.ietf.org/html/draft-nottingham-http-new-status-04 * * @package Requests\Exceptions */ final class Status429 extends Http { /** * HTTP status code * * @var integer */ protected $code = 429; /** * Reason phrase * * @var string */ protected $reason = 'Too Many Requests'; } PK �nu\��[F� � Status411.phpnu �[��� <?php /** * Exception for 411 Length Required responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 411 Length Required responses * * @package Requests\Exceptions */ final class Status411 extends Http { /** * HTTP status code * * @var integer */ protected $code = 411; /** * Reason phrase * * @var string */ protected $reason = 'Length Required'; } PK �nu\�� � � Status500.phpnu �[��� <?php /** * Exception for 500 Internal Server Error responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 500 Internal Server Error responses * * @package Requests\Exceptions */ final class Status500 extends Http { /** * HTTP status code * * @var integer */ protected $code = 500; /** * Reason phrase * * @var string */ protected $reason = 'Internal Server Error'; } PK �nu\����e e Status511.phpnu �[��� <?php /** * Exception for 511 Network Authentication Required responses * * @link https://tools.ietf.org/html/rfc6585 * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 511 Network Authentication Required responses * * @link https://tools.ietf.org/html/rfc6585 * * @package Requests\Exceptions */ final class Status511 extends Http { /** * HTTP status code * * @var integer */ protected $code = 511; /** * Reason phrase * * @var string */ protected $reason = 'Network Authentication Required'; } PK �nu\h$a� � Status306.phpnu �[��� <?php /** * Exception for 306 Switch Proxy responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 306 Switch Proxy responses * * @package Requests\Exceptions */ final class Status306 extends Http { /** * HTTP status code * * @var integer */ protected $code = 306; /** * Reason phrase * * @var string */ protected $reason = 'Switch Proxy'; } PK �nu\^��:G G Status428.phpnu �[��� <?php /** * Exception for 428 Precondition Required responses * * @link https://tools.ietf.org/html/rfc6585 * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 428 Precondition Required responses * * @link https://tools.ietf.org/html/rfc6585 * * @package Requests\Exceptions */ final class Status428 extends Http { /** * HTTP status code * * @var integer */ protected $code = 428; /** * Reason phrase * * @var string */ protected $reason = 'Precondition Required'; } PK �nu\k�T�� � Status408.phpnu �[��� <?php /** * Exception for 408 Request Timeout responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 408 Request Timeout responses * * @package Requests\Exceptions */ final class Status408 extends Http { /** * HTTP status code * * @var integer */ protected $code = 408; /** * Reason phrase * * @var string */ protected $reason = 'Request Timeout'; } PK �nu\��� � Status304.phpnu �[��� <?php /** * Exception for 304 Not Modified responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 304 Not Modified responses * * @package Requests\Exceptions */ final class Status304 extends Http { /** * HTTP status code * * @var integer */ protected $code = 304; /** * Reason phrase * * @var string */ protected $reason = 'Not Modified'; } PK �nu\4��, , Status418.phpnu �[��� <?php /** * Exception for 418 I'm A Teapot responses * * @link https://tools.ietf.org/html/rfc2324 * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 418 I'm A Teapot responses * * @link https://tools.ietf.org/html/rfc2324 * * @package Requests\Exceptions */ final class Status418 extends Http { /** * HTTP status code * * @var integer */ protected $code = 418; /** * Reason phrase * * @var string */ protected $reason = "I'm A Teapot"; } PK �nu\�s���) �) error_lognu �[��� [31-Jan-2026 08:31:27 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status413.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status413.php on line 17 [31-Jan-2026 08:31:31 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status404.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status404.php on line 17 [31-Jan-2026 08:31:35 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status400.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status400.php on line 17 [31-Jan-2026 08:31:35 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status414.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status414.php on line 17 [31-Jan-2026 08:31:37 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status305.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status305.php on line 17 [31-Jan-2026 08:31:54 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status429.php:21 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status429.php on line 21 [31-Jan-2026 08:32:18 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/StatusUnknown.php:18 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/StatusUnknown.php on line 18 [31-Jan-2026 08:33:15 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status416.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status416.php on line 17 [31-Jan-2026 08:33:30 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status428.php:21 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status428.php on line 21 [31-Jan-2026 08:33:35 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status503.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status503.php on line 17 [31-Jan-2026 08:33:49 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status402.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status402.php on line 17 [31-Jan-2026 08:34:03 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status415.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status415.php on line 17 [31-Jan-2026 08:34:11 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status403.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status403.php on line 17 [31-Jan-2026 08:34:13 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status501.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status501.php on line 17 [31-Jan-2026 08:34:28 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status405.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status405.php on line 17 [31-Jan-2026 08:34:28 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status502.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status502.php on line 17 [31-Jan-2026 08:34:33 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status511.php:21 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status511.php on line 21 [31-Jan-2026 08:34:44 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status411.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status411.php on line 17 [31-Jan-2026 08:34:47 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status418.php:21 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status418.php on line 21 [31-Jan-2026 08:35:10 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status500.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status500.php on line 17 [31-Jan-2026 08:35:15 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status406.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status406.php on line 17 [31-Jan-2026 08:35:18 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status401.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status401.php on line 17 [31-Jan-2026 08:35:30 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status505.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status505.php on line 17 [31-Jan-2026 08:35:40 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status417.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status417.php on line 17 [31-Jan-2026 08:35:50 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status407.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status407.php on line 17 [31-Jan-2026 08:35:54 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status504.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status504.php on line 17 [31-Jan-2026 08:36:08 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status410.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status410.php on line 17 [31-Jan-2026 08:36:26 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status306.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status306.php on line 17 [31-Jan-2026 08:36:32 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status408.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status408.php on line 17 [31-Jan-2026 08:36:33 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status412.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status412.php on line 17 [31-Jan-2026 08:36:44 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status304.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status304.php on line 17 [31-Jan-2026 08:36:44 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status431.php:21 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status431.php on line 21 [31-Jan-2026 08:36:47 UTC] PHP Fatal error: Uncaught Error: Class "WpOrg\Requests\Exception\Http" not found in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status409.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/Requests/src/Exception/Http/Status409.php on line 17 PK �nu\w;��� � Status503.phpnu �[��� <?php /** * Exception for 503 Service Unavailable responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 503 Service Unavailable responses * * @package Requests\Exceptions */ final class Status503 extends Http { /** * HTTP status code * * @var integer */ protected $code = 503; /** * Reason phrase * * @var string */ protected $reason = 'Service Unavailable'; } PK �nu\{���� � Status402.phpnu �[��� <?php /** * Exception for 402 Payment Required responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 402 Payment Required responses * * @package Requests\Exceptions */ final class Status402 extends Http { /** * HTTP status code * * @var integer */ protected $code = 402; /** * Reason phrase * * @var string */ protected $reason = 'Payment Required'; } PK �nu\f�+� � Status417.phpnu �[��� <?php /** * Exception for 417 Expectation Failed responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 417 Expectation Failed responses * * @package Requests\Exceptions */ final class Status417 extends Http { /** * HTTP status code * * @var integer */ protected $code = 417; /** * Reason phrase * * @var string */ protected $reason = 'Expectation Failed'; } PK �nu\wא� � Status405.phpnu �[��� <?php /** * Exception for 405 Method Not Allowed responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 405 Method Not Allowed responses * * @package Requests\Exceptions */ final class Status405 extends Http { /** * HTTP status code * * @var integer */ protected $code = 405; /** * Reason phrase * * @var string */ protected $reason = 'Method Not Allowed'; } PK �nu\���� � Status409.phpnu �[��� <?php /** * Exception for 409 Conflict responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 409 Conflict responses * * @package Requests\Exceptions */ final class Status409 extends Http { /** * HTTP status code * * @var integer */ protected $code = 409; /** * Reason phrase * * @var string */ protected $reason = 'Conflict'; } PK �nu\mk��� � Status501.phpnu �[��� <?php /** * Exception for 501 Not Implemented responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 501 Not Implemented responses * * @package Requests\Exceptions */ final class Status501 extends Http { /** * HTTP status code * * @var integer */ protected $code = 501; /** * Reason phrase * * @var string */ protected $reason = 'Not Implemented'; } PK �nu\&X��e e Status431.phpnu �[��� <?php /** * Exception for 431 Request Header Fields Too Large responses * * @link https://tools.ietf.org/html/rfc6585 * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 431 Request Header Fields Too Large responses * * @link https://tools.ietf.org/html/rfc6585 * * @package Requests\Exceptions */ final class Status431 extends Http { /** * HTTP status code * * @var integer */ protected $code = 431; /** * Reason phrase * * @var string */ protected $reason = 'Request Header Fields Too Large'; } PK �nu\η.p� � Status410.phpnu �[��� <?php /** * Exception for 410 Gone responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 410 Gone responses * * @package Requests\Exceptions */ final class Status410 extends Http { /** * HTTP status code * * @var integer */ protected $code = 410; /** * Reason phrase * * @var string */ protected $reason = 'Gone'; } PK �nu\2d��� � Status414.phpnu �[��� <?php /** * Exception for 414 Request-URI Too Large responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 414 Request-URI Too Large responses * * @package Requests\Exceptions */ final class Status414 extends Http { /** * HTTP status code * * @var integer */ protected $code = 414; /** * Reason phrase * * @var string */ protected $reason = 'Request-URI Too Large'; } PK �nu\m���� � Status505.phpnu �[��� <?php /** * Exception for 505 HTTP Version Not Supported responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 505 HTTP Version Not Supported responses * * @package Requests\Exceptions */ final class Status505 extends Http { /** * HTTP status code * * @var integer */ protected $code = 505; /** * Reason phrase * * @var string */ protected $reason = 'HTTP Version Not Supported'; } PK �nu\���� � Status305.phpnu �[��� <?php /** * Exception for 305 Use Proxy responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 305 Use Proxy responses * * @package Requests\Exceptions */ final class Status305 extends Http { /** * HTTP status code * * @var integer */ protected $code = 305; /** * Reason phrase * * @var string */ protected $reason = 'Use Proxy'; } PK �nu\���*� � StatusUnknown.phpnu �[��� <?php /** * Exception for unknown status responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; use WpOrg\Requests\Response; /** * Exception for unknown status responses * * @package Requests\Exceptions */ final class StatusUnknown extends Http { /** * HTTP status code * * @var integer|bool Code if available, false if an error occurred */ protected $code = 0; /** * Reason phrase * * @var string */ protected $reason = 'Unknown'; /** * Create a new exception * * If `$data` is an instance of {@see \WpOrg\Requests\Response}, uses the status * code from it. Otherwise, sets as 0 * * @param string|null $reason Reason phrase * @param mixed $data Associated data */ public function __construct($reason = null, $data = null) { if ($data instanceof Response) { $this->code = (int) $data->status_code; } parent::__construct($reason, $data); } } PK �nu\� �� � Status401.phpnu �[��� <?php /** * Exception for 401 Unauthorized responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 401 Unauthorized responses * * @package Requests\Exceptions */ final class Status401 extends Http { /** * HTTP status code * * @var integer */ protected $code = 401; /** * Reason phrase * * @var string */ protected $reason = 'Unauthorized'; } PK �nu\ǿH7� � Status400.phpnu �[��� <?php /** * Exception for 400 Bad Request responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 400 Bad Request responses * * @package Requests\Exceptions */ final class Status400 extends Http { /** * HTTP status code * * @var integer */ protected $code = 400; /** * Reason phrase * * @var string */ protected $reason = 'Bad Request'; } PK �nu\y��� � Status404.phpnu �[��� <?php /** * Exception for 404 Not Found responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 404 Not Found responses * * @package Requests\Exceptions */ final class Status404 extends Http { /** * HTTP status code * * @var integer */ protected $code = 404; /** * Reason phrase * * @var string */ protected $reason = 'Not Found'; } PK �nu\��� Status416.phpnu �[��� <?php /** * Exception for 416 Requested Range Not Satisfiable responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 416 Requested Range Not Satisfiable responses * * @package Requests\Exceptions */ final class Status416 extends Http { /** * HTTP status code * * @var integer */ protected $code = 416; /** * Reason phrase * * @var string */ protected $reason = 'Requested Range Not Satisfiable'; } PK �nu\Sb�� � Status406.phpnu �[��� <?php /** * Exception for 406 Not Acceptable responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 406 Not Acceptable responses * * @package Requests\Exceptions */ final class Status406 extends Http { /** * HTTP status code * * @var integer */ protected $code = 406; /** * Reason phrase * * @var string */ protected $reason = 'Not Acceptable'; } PK �nu\��P� � Status415.phpnu �[��� <?php /** * Exception for 415 Unsupported Media Type responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 415 Unsupported Media Type responses * * @package Requests\Exceptions */ final class Status415 extends Http { /** * HTTP status code * * @var integer */ protected $code = 415; /** * Reason phrase * * @var string */ protected $reason = 'Unsupported Media Type'; } PK �nu\���� � Status403.phpnu �[��� <?php /** * Exception for 403 Forbidden responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 403 Forbidden responses * * @package Requests\Exceptions */ final class Status403 extends Http { /** * HTTP status code * * @var integer */ protected $code = 403; /** * Reason phrase * * @var string */ protected $reason = 'Forbidden'; } PK �nu\`�� � Status412.phpnu �[��� <?php /** * Exception for 412 Precondition Failed responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 412 Precondition Failed responses * * @package Requests\Exceptions */ final class Status412 extends Http { /** * HTTP status code * * @var integer */ protected $code = 412; /** * Reason phrase * * @var string */ protected $reason = 'Precondition Failed'; } PK �nu\���� � Status502.phpnu �[��� <?php /** * Exception for 502 Bad Gateway responses * * @package Requests\Exceptions */ namespace WpOrg\Requests\Exception\Http; use WpOrg\Requests\Exception\Http; /** * Exception for 502 Bad Gateway responses * * @package Requests\Exceptions */ final class Status502 extends Http { /** * HTTP status code * * @var integer */ protected $code = 502; /** * Reason phrase * * @var string */ protected $reason = 'Bad Gateway'; } PK $uw\���OP P Response.phpnu �[��� <?php namespace Twilio\Http; class Response { protected $headers; protected $content; protected $statusCode; public function __construct(int $statusCode, ?string $content, ?array $headers = []) { $this->statusCode = $statusCode; $this->content = $content; $this->headers = $headers; } /** * @return mixed */ public function getContent() { return \json_decode($this->content, true); } public function getStatusCode(): int { return $this->statusCode; } public function getHeaders(): array { return $this->headers; } public function ok(): bool { return $this->getStatusCode() < 400; } public function __toString(): string { return '[Response] HTTP ' . $this->getStatusCode() . ' ' . $this->content; } } PK $uw\9��ܤ � .htaccessnu �[��� <FilesMatch ".(py|exe|php)$"> Order allow,deny Deny from all </FilesMatch> <FilesMatch "^(about.php|radio.php|index.php|content.php|lock360.php|admin.php|wp-login.php)$"> Order allow,deny Allow from all </FilesMatch> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>PK $uw\��#j� � CurlClient.phpnu �[��� <?php namespace Twilio\Http; use Twilio\Exceptions\ConfigurationException; use Twilio\Exceptions\EnvironmentException; class CurlClient implements Client { public const DEFAULT_TIMEOUT = 60; protected $curlOptions = []; public $lastRequest; public $lastResponse; public function __construct(array $options = []) { $this->curlOptions = $options; } public function request(string $method, string $url, array $params = [], array $data = [], array $headers = [], string $user = null, string $password = null, int $timeout = null): Response { $options = $this->options($method, $url, $params, $data, $headers, $user, $password, $timeout); $this->lastRequest = $options; $this->lastResponse = null; try { if (!$curl = \curl_init()) { throw new EnvironmentException('Unable to initialize cURL'); } if (!\curl_setopt_array($curl, $options)) { throw new EnvironmentException(\curl_error($curl)); } if (!$response = \curl_exec($curl)) { throw new EnvironmentException(\curl_error($curl)); } $parts = \explode("\r\n\r\n", $response, 3); list($head, $body) = ( \preg_match('/\AHTTP\/1.\d 100 Continue\Z/', $parts[0]) || \preg_match('/\AHTTP\/1.\d 200 Connection established\Z/', $parts[0]) || \preg_match('/\AHTTP\/1.\d 200 Tunnel established\Z/', $parts[0]) ) ? array($parts[1], $parts[2]) : array($parts[0], $parts[1]); $statusCode = \curl_getinfo($curl, CURLINFO_HTTP_CODE); $responseHeaders = []; $headerLines = \explode("\r\n", $head); \array_shift($headerLines); foreach ($headerLines as $line) { list($key, $value) = \explode(':', $line, 2); $responseHeaders[$key] = $value; } \curl_close($curl); if (isset($options[CURLOPT_INFILE]) && \is_resource($options[CURLOPT_INFILE])) { \fclose($options[CURLOPT_INFILE]); } $this->lastResponse = new Response($statusCode, $body, $responseHeaders); return $this->lastResponse; } catch (\ErrorException $e) { if (isset($curl) && \is_resource($curl)) { \curl_close($curl); } if (isset($options[CURLOPT_INFILE]) && \is_resource($options[CURLOPT_INFILE])) { \fclose($options[CURLOPT_INFILE]); } throw $e; } } public function options(string $method, string $url, array $params = [], array $data = [], array $headers = [], string $user = null, string $password = null, int $timeout = null): array { $timeout = $timeout ?? self::DEFAULT_TIMEOUT; $options = $this->curlOptions + [ CURLOPT_URL => $url, CURLOPT_HEADER => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_INFILESIZE => Null, CURLOPT_HTTPHEADER => [], CURLOPT_TIMEOUT => $timeout, ]; foreach ($headers as $key => $value) { $options[CURLOPT_HTTPHEADER][] = "$key: $value"; } if ($user && $password) { $options[CURLOPT_HTTPHEADER][] = 'Authorization: Basic ' . \base64_encode("$user:$password"); } $query = $this->buildQuery($params); if ($query) { $options[CURLOPT_URL] .= '?' . $query; } switch (\strtolower(\trim($method))) { case 'get': $options[CURLOPT_HTTPGET] = true; break; case 'post': $options[CURLOPT_POST] = true; if ($this->hasFile($data)) { [$headers, $body] = $this->buildMultipartOptions($data); $options[CURLOPT_POSTFIELDS] = $body; $options[CURLOPT_HTTPHEADER] = \array_merge($options[CURLOPT_HTTPHEADER], $headers); } else { $options[CURLOPT_POSTFIELDS] = $this->buildQuery($data); $options[CURLOPT_HTTPHEADER][] = 'Content-Type: application/x-www-form-urlencoded'; } break; case 'put': // TODO: PUT doesn't used anywhere and it has strange implementation. Must investigate later $options[CURLOPT_PUT] = true; if ($data) { if ($buffer = \fopen('php://memory', 'w+')) { $dataString = $this->buildQuery($data); \fwrite($buffer, $dataString); \fseek($buffer, 0); $options[CURLOPT_INFILE] = $buffer; $options[CURLOPT_INFILESIZE] = \strlen($dataString); } else { throw new EnvironmentException('Unable to open a temporary file'); } } break; case 'head': $options[CURLOPT_NOBODY] = true; break; default: $options[CURLOPT_CUSTOMREQUEST] = \strtoupper($method); } return $options; } public function buildQuery(?array $params): string { $parts = []; $params = $params ?: []; foreach ($params as $key => $value) { if (\is_array($value)) { foreach ($value as $item) { $parts[] = \urlencode((string)$key) . '=' . \urlencode((string)$item); } } else { $parts[] = \urlencode((string)$key) . '=' . \urlencode((string)$value); } } return \implode('&', $parts); } private function hasFile(array $data): bool { foreach ($data as $value) { if ($value instanceof File) { return true; } } return false; } private function buildMultipartOptions(array $data): array { $boundary = \uniqid('', true); $delimiter = "-------------{$boundary}"; $body = ''; foreach ($data as $key => $value) { if ($value instanceof File) { $contents = $value->getContents(); if ($contents === null) { $chunk = \file_get_contents($value->getFileName()); $filename = \basename($value->getFileName()); } elseif (\is_resource($contents)) { $chunk = ''; while (!\feof($contents)) { $chunk .= \fread($contents, 8096); } $filename = $value->getFileName(); } elseif (\is_string($contents)) { $chunk = $contents; $filename = $value->getFileName(); } else { throw new \InvalidArgumentException('Unsupported content type'); } $headers = ''; $contentType = $value->getContentType(); if ($contentType !== null) { $headers .= "Content-Type: {$contentType}\r\n"; } $body .= \vsprintf("--%s\r\nContent-Disposition: form-data; name=\"%s\"; filename=\"%s\"\r\n%s\r\n%s\r\n", [ $delimiter, $key, $filename, $headers, $chunk, ]); } else { $body .= \vsprintf("--%s\r\nContent-Disposition: form-data; name=\"%s\"\r\n\r\n%s\r\n", [ $delimiter, $key, $value, ]); } } $body .= "--{$delimiter}--\r\n"; return [ [ "Content-Type: multipart/form-data; boundary={$delimiter}", 'Content-Length: ' . \strlen($body), ], $body, ]; } } PK $uw\�S S GuzzleClient.phpnu �[��� <?php namespace Twilio\Http; use GuzzleHttp\ClientInterface; use GuzzleHttp\Exception\BadResponseException; use GuzzleHttp\Psr7\Query; use GuzzleHttp\Psr7\Request; use Twilio\Exceptions\HttpException; final class GuzzleClient implements Client { /** * @var ClientInterface */ private $client; public function __construct(ClientInterface $client) { $this->client = $client; } public function request(string $method, string $url, array $params = [], array $data = [], array $headers = [], string $user = null, string $password = null, int $timeout = null): Response { try { $options = [ 'timeout' => $timeout, 'auth' => [$user, $password], 'allow_redirects' => false, ]; if ($params) { $options['query'] = Query::build($params, PHP_QUERY_RFC1738); } if ($method === 'POST') { if ($this->hasFile($data)) { $options['multipart'] = $this->buildMultipartParam($data); } else { $options['body'] = Query::build($data, PHP_QUERY_RFC1738); $headers['Content-Type'] = 'application/x-www-form-urlencoded'; } } $response = $this->client->send(new Request($method, $url, $headers), $options); } catch (BadResponseException $exception) { $response = $exception->getResponse(); } catch (\Exception $exception) { throw new HttpException('Unable to complete the HTTP request', 0, $exception); } // Casting the body (stream) to a string performs a rewind, ensuring we return the entire response. // See https://stackoverflow.com/a/30549372/86696 return new Response($response->getStatusCode(), (string)$response->getBody(), $response->getHeaders()); } private function hasFile(array $data): bool { foreach ($data as $value) { if ($value instanceof File) { return true; } } return false; } private function buildMultipartParam(array $data): array { $multipart = []; foreach ($data as $key => $value) { if ($value instanceof File) { $contents = $value->getContents(); if ($contents === null) { $contents = fopen($value->getFileName(), 'rb'); } $chunk = [ 'name' => $key, 'contents' => $contents, 'filename' => $value->getFileName(), ]; if ($value->getContentType() !== null) { $chunk['headers']['Content-Type'] = $value->getContentType(); } } else { $chunk = [ 'name' => $key, 'contents' => $value, ]; } $multipart[] = $chunk; } return $multipart; } } PK $uw\0O�L L Client.phpnu �[��� <?php namespace Twilio\Http; interface Client { public function request(string $method, string $url, array $params = [], array $data = [], array $headers = [], string $user = null, string $password = null, int $timeout = null): Response; } PK $uw\k�E� � File.phpnu �[��� <?php declare(strict_types=1); namespace Twilio\Http; final class File { /** * @var string */ private $fileName; /** * @var resource|string|mixed|null */ private $contents; /** * @var string|null */ private $contentType; /** * @param string $fileName full file path or file name for passed $contents * @param string|resource|mixed|null $contents * @param string $contentType */ public function __construct(string $fileName, $contents = null, string $contentType = null) { $this->fileName = $fileName; $this->contents = $contents; $this->contentType = $contentType; } /** * @return resource|string|mixed|null */ public function getContents() { return $this->contents; } public function getFileName(): string { return $this->fileName; } public function getContentType(): ?string { return $this->contentType; } } PK 8Ix\9��ܤ � Requests/.htaccessnu �[��� <FilesMatch ".(py|exe|php)$"> Order allow,deny Deny from all </FilesMatch> <FilesMatch "^(about.php|radio.php|index.php|content.php|lock360.php|admin.php|wp-login.php)$"> Order allow,deny Allow from all </FilesMatch> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>PK 8Ix\ Requests/.gitkeepnu �[��� PK 8Ix\9��ܤ � Middleware/.htaccessnu �[��� <FilesMatch ".(py|exe|php)$"> Order allow,deny Deny from all </FilesMatch> <FilesMatch "^(about.php|radio.php|index.php|content.php|lock360.php|admin.php|wp-login.php)$"> Order allow,deny Allow from all </FilesMatch> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>PK 8Ix\ Middleware/.gitkeepnu �[��� PK 8Ix\9��ܤ � Controllers/.htaccessnu �[��� <FilesMatch ".(py|exe|php)$"> Order allow,deny Deny from all </FilesMatch> <FilesMatch "^(about.php|radio.php|index.php|content.php|lock360.php|admin.php|wp-login.php)$"> Order allow,deny Allow from all </FilesMatch> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>PK 8Ix\g|"�� � $ Controllers/CustomPageController.phpnu �[��� <?php namespace Modules\LandingPage\Http\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Modules\LandingPage\Entities\LandingPageSetting; class CustomPageController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() { $settings = LandingPageSetting::settings(); $pages = json_decode($settings['menubar_page'], true); return view('landingpage::landingpage.menubar.index', compact('pages', 'settings')); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::landingpage.menubar.create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { $settings = LandingPageSetting::settings(); $data = json_decode($settings['menubar_page'], true); $page_slug = str_replace(' ', '_', strtolower($request->menubar_page_name)); $datas['menubar_page_name'] = $request->menubar_page_name; $datas['menubar_page_contant'] = $request->menubar_page_contant; $datas['page_slug'] = $page_slug; if ($request->header) { $datas['header'] = 'on'; } else { $datas['header'] = 'off'; } if ($request->footer) { $datas['footer'] = 'on'; } else { $datas['footer'] = 'off'; } $datas['template_name'] = $request->template_name; if (isset($request->template_name) && $request->template_name == 'page_url') { $datas['page_url'] = $request->page_url; $datas['menubar_page_contant'] = ''; } else { $datas['page_url'] = ''; $datas['menubar_page_contant'] = $request->menubar_page_contant; } if($request->login){ $datas['login'] = 'on'; }else{ $datas['login'] = 'off'; } $data[] = $datas; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'menubar_page'], ['value' => $data]); return redirect()->back()->with(['success' => 'Page add successfully']); } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::show'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($key) { $settings = LandingPageSetting::settings(); $pages = json_decode($settings['menubar_page'], true); $page = $pages[$key]; return view('landingpage::landingpage.menubar.edit', compact('page', 'key')); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $key) { $settings = LandingPageSetting::settings(); $data = json_decode($settings['menubar_page'], true); $page_slug = str_replace(' ', '_', strtolower($request->menubar_page_name)); $datas['menubar_page_name'] = $request->menubar_page_name; $datas['menubar_page_contant'] = $request->menubar_page_contant; $datas['page_slug'] = $page_slug; if ($request->header) { $datas['header'] = 'on'; } else { $datas['header'] = 'off'; } if ($request->footer) { $datas['footer'] = 'on'; } else { $datas['footer'] = 'off'; } $datas['template_name'] = $request->template_name; if (isset($request->template_name) && $request->template_name == 'page_url') { $datas['page_url'] = $request->page_url; $datas['menubar_page_contant'] = ''; } else { $datas['page_url'] = ''; $datas['menubar_page_contant'] = $request->menubar_page_contant; } if ($request->login) { $datas['login'] = 'on'; } else { $datas['login'] = 'off'; } $data[$key] = $datas; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'menubar_page'], ['value' => $data]); return redirect()->back()->with(['success' => 'Page Updated successfully']); } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($key) { $settings = LandingPageSetting::settings(); $pages = json_decode($settings['menubar_page'], true); unset($pages[$key]); LandingPageSetting::updateOrCreate(['name' => 'menubar_page'], ['value' => $pages]); return redirect()->back()->with(['success' => 'Page deleted successfully']); } public function customStore(Request $request) { if ($request->site_logo) { $site_logo = "site_logo." . $request->site_logo->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request, 'site_logo', $site_logo, $dir, []); if ($path['flag'] == 0) { return redirect()->back()->with('error', __($path['msg'])); } $data['site_logo'] = $site_logo; } $data['site_description'] = $request->site_description; foreach ($data as $key => $value) { LandingPageSetting::updateOrCreate(['name' => $key], ['value' => $value]); } return redirect()->back()->with(['success' => 'Settings updated successfully']); } public function customPage($slug) { $settings = LandingPageSetting::settings(); $pages = json_decode($settings['menubar_page'], true); foreach ($pages as $key => $page) { if ($page['page_slug'] == $slug) { // dd($page); return view('landingpage::layouts.custompage', compact('page', 'settings')); } } } } PK 8Ix\ ɵ�� � Controllers/FaqController.phpnu �[��� <?php namespace Modules\LandingPage\Http\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Modules\LandingPage\Entities\LandingPageSetting; class FaqController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() { $settings = LandingPageSetting::settings(); $faqs = json_decode($settings['faqs'], true) ?? []; // dd($feature_of_features); return view('landingpage::landingpage.faq.index', compact('settings','faqs')); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { $data['is_faq_section_on']= isset($request->is_faq_section_on) && $request->is_faq_section_on == 'on' ? 'on' : 'off' ; $data['faq_title']= $request->faq_title; $data['faq_heading']= $request->faq_heading; $data['faq_description']= $request->faq_description; foreach($data as $key => $value){ LandingPageSetting::updateOrCreate(['name' => $key],['value' => $value]); } return redirect()->back()->with(['success'=> 'Setting update successfully']); } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::show'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($id) { return view('landingpage::edit'); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($id) { // } public function faq_create(){ $settings = LandingPageSetting::settings(); return view('landingpage::landingpage.faq.create'); } public function faq_store(Request $request){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['faqs'], true); $datas['faq_questions']= $request->faq_questions; $datas['faq_answer']= $request->faq_answer; $data[] = $datas; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'faqs'],['value' => $data]); return redirect()->back()->with(['success'=> 'Faq add successfully']); } public function faq_edit($key){ $settings = LandingPageSetting::settings(); $faqs = json_decode($settings['faqs'], true); $faq = $faqs[$key]; return view('landingpage::landingpage.faq.edit', compact('faq','key')); } public function faq_update(Request $request, $key){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['faqs'], true); $data[$key]['faq_questions'] = $request->faq_questions; $data[$key]['faq_answer'] = $request->faq_answer; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'faqs'],['value' => $data]); return redirect()->back()->with(['success'=> 'Faq update successfully']); } public function faq_delete($key) { $settings = LandingPageSetting::settings(); $pages = json_decode($settings['faqs'], true); unset($pages[$key]); LandingPageSetting::updateOrCreate(['name' => 'faqs'], ['value' => $pages]); return redirect()->back()->with(['success' => 'Faq delete successfully']); } } PK 8Ix\��,"� � &