403Webshell
Server IP : 66.29.132.122  /  Your IP : 18.226.82.253
Web Server : LiteSpeed
System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : admazpex ( 531)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/MassEnableDisable.tpl
<input type="hidden" name="act" />

<?php

use \Lsc\Wp\View\Model\MassEnableDisableViewModel as ViewModel;

$icon = $this->viewModel->getTplData(ViewModel::FLD_ICON);
$activeVer = $this->viewModel->getTplData(ViewModel::FLD_ACTIVE_VER);
$state = $this->viewModel->getTplData(ViewModel::FLD_STATE);

$d = array(
    'title' => 'Mass Enable/Disable LiteSpeed Cache',
    'icon' => $icon
);
$this->loadTplBlock('Title.tpl', $d);

if ( $state == ViewModel::ST_INSTALLS_DISCOVERED ):

?>

<p>
  The following operations will affect all WordPress installations not currently
  flagged.
</p>

<p>
  To exclude a WordPress installation from mass operations, flag it in
  <a href="?do=lscwp_manage" title="Go to Manage Cache Installations">
    Manage Cache Installations
  </a>
  .
</p>

<br />

<fieldset class="mass-box">
  <legend><b>Mass Enable</b></legend>

  <?php if ( $activeVer == false ): ?>

  <div>
    [Feature Disabled] No active LSCWP version set! Cannot Mass Enable.

    <br /><br />

  </div>

  <?php else: ?>

  <div>
    LiteSpeed Cache will be enabled for all WordPress installations not
    currently flagged. For WordPress installations that do not already have
    the plugin,
    <b>
      LiteSpeed Cache for WordPress <?php echo htmlspecialchars($activeVer); ?>
      will be installed.
    </b>
    This can be changed anytime in the
    <a href="?do=lscwpVersionManager" title="Go to Version Manager">Version Manager</a>.

    <br /><br />

    <button class="lsws-primary-btn" type="button"
            title="Mass Enable LiteSpeed Cache for all unflagged installations."
            onclick="javascript:actionset('enable');">
      Start
    </button>
  </div>

  <?php endif; ?>

</fieldset>

<br /><br />

<fieldset class="mass-box">
  <legend><b>Mass Disable</b></legend>
  <div>
    LiteSpeed Cache will be disabled for all WordPress installations not
    currently flagged.

    <br /><br />

    <button class="lsws-primary-btn" type="button"
            title="Mass Disable LiteSpeed Cache for all unflagged installations."
            onclick="javascript:actionset('disable');">
      Start
    </button>
  </div>
</fieldset>

<?php elseif ( $state == ViewModel::ST_NO_INSTALLS_DISCOVERED ): ?>

<div>
  <p>
    No WordPress installations discovered in the previous scan. If you have
    any newly installed WordPress installations, please go to
    <a href="?do=lscwp_manage" title="Go to Manage Cache Installations">
      Manage Cache Installations
    </a>
    and Re-scan/Discover New.
  </p>
</div>

<?php else: ?>

<div>
  <p>
    Please go to
    <a href="?do=lscwp_manage" title="Go to Manage Cache Installations">
      Manage Cache Installations
    </a>
    and click Scan to discover all active WordPress installations before
    attempting to Mass Enable/Disable Cache.
  </p>
</div>

<?php

endif;

$d = array(
    'back' => 'Back'
);
$this->loadTplBlock('ButtonPanelBackNext.tpl', $d);

Youez - 2016 - github.com/yon3zu
LinuXploit