Current File : /home/inlingua/www/decay_sym/root/var/softaculous/apps/nginx/themes/enduser/nginx_proxy_theme.php
<?php

//////////////////////////////////////////////////////////////
//===========================================================
// WEBUZO CONTROL PANEL
// Inspired by the DESIRE to be the BEST OF ALL
// ----------------------------------------------------------
// Started by: Pulkit
// Date:       10th Jan 2009
// Time:       21:00 hrs
// Site:       https://webuzo.com/ (WEBUZO)
// ----------------------------------------------------------
// Please Read the Terms of Use at https://webuzo.com/terms
// ----------------------------------------------------------
//===========================================================
// (c) Softaculous Ltd.
//===========================================================
//////////////////////////////////////////////////////////////

if(!defined('SOFTACULOUS')){
	die('Hacking Attempt');
}

function nginx_proxy_theme(){

global $globals, $l, $error, $U;

	echo '
<div class="card soft-card p-4">
	<div class="sai_main_head text-center">
		<i class="fas fa-th-list me-2"></i>'.__('Nginx Reverse Proxy').'
	</div><hr>
	<div class="row p-4">
		<div class="col-sm-5">
			<label class="sai_head">'.
				__('Enable/Disable Reverse Proxy Cache').'
			</label></br>
			<span class="sai_exp2">'.
				__('You can Enable/Disable Nginx cache for your all sites.').'
			</span>
		</div>
		<div class="col-sm-5">
			<label class="switch" style="margin-left:20px;">
				<input type="checkbox" class="checkbox" data-donereload="1" data-action="'.(empty($U['disable_nginx_cache']) ? 'disable' : 'enable').'" '.(empty($U['disable_nginx_cache']) ? 'checked' : '').' onclick="return enable_disable_cache(this)">
				<span class="slider" '.(empty($U['disable_nginx_cache']) ? 'title="'.__('Cache Enabled').'"' : 'title="'.__('Cache Disabled').'"').'></span>
			</label>
		</div>
		<div class="col-sm-2">
			<input type="button" class="btn btn-primary btn-sm" data-donereload="1" value="'.__('Clear Cache').'" name="clear_cache" id="clear_cache" onclick="clear_cache(this)">
		</div>
	</div><br />
	
	
</div>';

error_handle($error, "100%");

softfooter();	
}