X7ROOT File Manager
Current Path:
/home/okeydcqc/okeyanueyiagu.com/wp-content/plugins/robo-gallery/app
home
/
okeydcqc
/
okeyanueyiagu.com
/
wp-content
/
plugins
/
robo-gallery
/
app
/
ðŸ“
..
📄
app.php
(1.3 KB)
📄
class.brand.php
(333 B)
📄
class.listing.php
(3.96 KB)
📄
class.php
(549 B)
📄
class.utils.php
(5.7 KB)
📄
class.view.php
(1.05 KB)
ðŸ“
extensions
📄
index.html
(0 B)
ðŸ“
views
Editing: class.view.php
<?php /* * Robo Gallery * Version: 5.0.5 - 31754 * By Robosoft * * Contact: https://robogallery.co/ * Created: 2025 * Licensed under the GPLv3 license - http://www.gnu.org/licenses/gpl-3.0.html */ class rbsGalleryClassView{ private $templatePath = ''; public function __construct( $templatePath ){ if (!file_exists($templatePath)) { throw new Exception( "Could not find template path. Template: {$templatePath}"); } else { $this->templatePath =$templatePath; } } public function render($template, array $vars = array()) { $templatePath = $this->templatePath . $template . '.tpl.php'; if (!file_exists($templatePath)) { throw new Exception( "Could not find template. Template: {$template}"); } extract($vars); require $templatePath; } /** * @param string $template * @param array $vars * @return string */ public function content($template, array $vars = array()) { ob_start(); $this->render($template, $vars); $content = ob_get_clean(); //ob_clean(); return $content; } }
Upload File
Create Folder