GRAYBYTE WORDPRESS FILE MANAGER1683

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/backwpup/components/alerts/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/backwpup/components/alerts//info.php
<?php
use BackWPup\Utils\BackWPupHelpers;

/**
 * @var string  $type           The type of alert. Values: "pro", "alert", "danger", "default". Default: "default".
 * @var string  $content        The content. Default: "".
 * @var string  $content2       Optional. A second line of content. Default: "".
 * @var string  $font           Optional. The font size. Values: "xs", "small", "medium". Default: null.
 * @var string  $children       Optional. Children component to display. Must fit a /part/ template. Default: null.
 */

# Type
$types = ["pro", "alert", "danger", "default","success"];
$type = isset($type) && in_array($type, $types) ? $type : "default";
switch ($type) {
  case "pro":
    $block_style = "bg-secondary-lighter text-primary-darker";
    $icon = "pro";
    break;
  case "alert":
    $block_style = "bg-alert-light text-alert";
    $icon = "alert";
    break;
  case "danger":
    $block_style = "bg-danger-light text-danger";
    $icon = "alert";
    break;
  case "success":
    $block_style = "bg-secondary-lighter text-primary-darker";
    $icon = "circle-check";
    break;

  default:
    $block_style = "bg-white text-primary-darker";
    $icon = "info";
    break;
}

# Font
$font = $font ?? "medium";
$font_sizes = [
  "xs" => "text-xs",
  "small" => "text-sm",
  "medium" => "text-base",
];
$font_size = array_key_exists($font, $font_sizes) ? $font_sizes[$font] : $font_sizes['medium'];

$dismiss_icon = $dismiss_icon ?? false;
?>
<div class="flex items-center gap-2 p-4 rounded <?php echo $block_style; ?>">
  <div class="shrink-0">
    <?php BackWPupHelpers::component("icon", ["name" => $icon, "size" => "large"]); ?>
  </div>
  <div class="flex flex-col gap-1 flex-1">
    <p class="<?php echo $font_size; ?> font-medium">
      <?php echo $content ?? ''; ?>
    </p>
    <?php if (isset($content2)) : ?>
      <p class="<?php echo BackWPupHelpers::clsx("mt-2", $font_size); ?> font-medium">
        <?php echo $content2; ?>
      </p>
    <?php endif; ?>
    <?php isset($children) && BackWPupHelpers::children($children); ?>
  </div>
	<?php if ($dismiss_icon) : ?>
    <div id="dismiss-icon" class="shrink-0 cursor-pointer ml-auto">
		<?php BackWPupHelpers::component("icon", ["name" => "close", "size" => "small"]); ?>
    </div>
    <?php endif; ?>
</div>

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:37
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:37
giriqfky / giriqfky
0644
error.php
0.754 KB
February 04 2025 14:50:44
giriqfky / giriqfky
0644
info.php
2.241 KB
April 07 2025 18:31:08
giriqfky / giriqfky
0644
notification.php
0.522 KB
February 04 2025 14:50:44
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF