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 : 3.148.105.127
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/give/src/Views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/src/Views/IframeContentView.php
<?php
/**
 * Handle form template view skin.
 *
 * @package Give
 */

namespace Give\Views;

/**
 * Class IframeView
 *
 * @package Give
 * @since 2.7.0
 */
class IframeContentView
{
    /**
     * Document page title.
     *
     * This will be use to setup title tag.
     *
     * @since 2.7.0
     * @var string
     */
    protected $title;

    /**
     * Document page body.
     *
     * This will be use to setup content of body tag.
     *
     * @since 2.7.0
     * @var string
     */
    protected $body;

    /**
     * Body classes.
     *
     * This will be use to setup body tag classes.
     *
     * @since 2.7.0
     * @var array
     */
    protected $bodyClasses = ['give-form-templates'];

    /**
     * Post ID.
     *
     * This will be use as parameter for 'the_title' filter.
     *
     * @since 2.22.1
     * @var int
     */
    protected $postId;

    /**
     * Set document page title.
     *
     * @param string $title
     *
     * @return IframeContentView $this
     */
    public function setTitle($title)
    {
        $this->title = $title;

        return $this;
    }

    /**
     * Set document page body.
     *
     * @param string $body
     *
     * @return IframeContentView $this
     */
    public function setBody($body)
    {
        $this->body = $body;

        return $this;
    }

    /**
     * Set body classes.
     *
     * @param array $classes
     *
     * @return IframeContentView $this
     */
    public function setBodyClasses($classes)
    {
        $this->bodyClasses = array_merge($this->bodyClasses, (array)$classes);

        return $this;
    }

    /**
     * Set post ID.
     *
     * @param $postId
     *
     * @since 2.22.1
     * @return IframeContentView $this
     */
    public function setPostId($postId)
    {
        $this->postId = $postId;

        return $this;
    }

    /**
     * Render view.
     *
     * Note: if you want to overwrite this function then do not forget to add action hook in footer and header.
     * We use these hooks to manipulated donation form related actions.
     *
     * @since 2.7.0
     */
    public function render()
    {
        ob_start();
        ?>
        <!DOCTYPE html>
        <html <?php
        language_attributes(); ?>>
        <head>
            <meta charset="utf-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <title><?php
                echo apply_filters('the_title', $this->title, $this->postId); ?></title>
            <?php
            /**
             * Fire the action hook in header
             */
            do_action('give_embed_head');
            ?>
        </head>
        <body class="<?php
        echo implode(' ', $this->bodyClasses); ?>">
        <?php
        echo $this->body;

        /**
         * Fire the action hook in footer
         */
        do_action('give_embed_footer');
        ?>
        </body>
        </html>
        <?php
        return ob_get_clean();
    }

    /**
     * Render only body html tag children of view.
     *
     * @since 2.7.0
     */
    public function renderBody()
    {
        return $this->body;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit