| Server IP : 46.105.57.169 / Your IP : 216.73.217.35 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/123click/assets/ |
Upload File : |
controllers/index.html 0000604 00000000037 15075226700 0011107 0 ustar 00 <!DOCTYPE html><title></title>
controllers/page.php 0000604 00000006773 15075226700 0010554 0 ustar 00 <?php
/**
* @package Joomla.Administrator
* @subpackage com_book
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
jimport('joomla.application.component.controlleradmin');
/**
* Component Controller
*
* @package Joomla.Administrator
* @subpackage com_book
*/
class Blue_pagebuilderControllerPage extends JControllerAdmin
{
public function __construct($config = array())
{
parent::__construct($config);
}
public function getModel($name = 'Client', $prefix = 'Blue_pagebuilderModel', $config = array('ignore_request' => true))
{
$model = parent::getModel($name, $prefix, $config);
return $model;
}
public function contact(){
$app = JFactory::getApplication();
$params_site = $app->getTemplate(true)->params;
if($params_site->get('stateggcaptcha') == '1' && $params_site->get('captchasecret') && $params_site->get('captchasitekey')){
$captcha = true;
}
else
$captcha = false;
$mailfrom = $app->getCfg('mailfrom');
$fromname = $app->getCfg('fromname');
$emailauthor = JRequest::getVar("emailauthor");
// Get Input
$name = JRequest::getVar("name");
$email = JRequest::getVar("email");
$phone = JRequest::getVar("phone");
$message = JRequest::getVar("message");
$subject = JRequest::getVar("subject");
$thankyou = JRequest::getVar("thanks");
$website = JRequest::getVar("website");
$celular = JRequest::getVar("celular");
$re_verify = JRequest::getVar("verify");
if(trim($emailauthor)){
$mailfrom = $emailauthor;
}
$prefix = JText::sprintf('This is an enquiry email via %s from:', JUri::base());
$body = "{$prefix} \n\n";
$body.="{$name} <{$email}> \n";
if($name != ''){
$body .= '<p>Name: ' .$name .'</p>';
}
if($email != ''){
$body .= '<p>Email: ' .$email .'</p>';
}
if($phone != ''){
$body .= '<p>Phone: ' .$phone .'</p>';
}
if($subject != ''){
$body .= '<p>Subject: ' .$subject .'</p>';
}
if($celular!=""){
$body .= '<p>Celular: ' .$celular .'</p>';
}
$body.="\r\n\r\n\r\n".stripslashes($message);
if ($captcha) {
$params = array();
$params['secret'] = $params_site->get('captchasecret'); // Secret key
if (!empty($_POST) && isset($_POST['g-recaptcha-response'])) {
$params['response'] = urlencode($_POST['g-recaptcha-response']);
}
$params['remoteip'] = $_SERVER['REMOTE_ADDR'];
$response = file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=".$params['secret']."&response=".$params['response']."&remoteip=".$_SERVER['REMOTE_ADDR']);
$response = @json_decode($response, true);
if ($response["success"] == false) {
$mes = 'Captcha Error';
echo json_encode(array("check"=>0,"message"=>$mes));
die();
}
}
$mail = JFactory::getMailer();
$mail->addRecipient($mailfrom);
$mail->setSender(array($mailfrom, $fromname));
$mail->setSubject($subject);
$mail->setBody($body);
if(is_array($_FILES)) {
$mail->AddAttachment($_FILES['uploaded_file']['tmp_name'],$_FILES['uploaded_file']['name']);
}
$mail->isHTML(true);
$sent = $mail->Send();
$mes = (string)$sent;
if (!($sent instanceof Exception)){
echo json_encode(array("check"=>1,"message"=>$thankyou));
}else{
echo json_encode(array("check"=>0,"message"=>$mes));
}
die();
}
} models/index.html 0000604 00000000037 15075226700 0010024 0 ustar 00 <!DOCTYPE html><title></title>
models/forms/index.html 0000604 00000000037 15075226700 0011152 0 ustar 00 <!DOCTYPE html><title></title>
models/forms/addfile.xml 0000604 00000001442 15075226700 0011270 0 ustar 00 <?xml version="1.0" encoding="utf-8"?>
<form>
<fieldset addfieldpath="/administrator/components/com_blue_pagebuilder/models/fields">
<field name="name"
type="text"
label="COM_FILESHARING_FILENAME"
description=""
class="inputbox"
required="true"
size="10"
/>
<field name="catid"
type="categories"
label="COM_FILESHARING_CATEGORY_NAME"
description=""
required="true"
/>
<field name="type"
type="filetypelist"
label="COM_FILESHARING_TYPE_NAME"
required="true"
description=""
default="1"
/>
<field name="file"
type="file"
label="COM_FILESHARING_FILE_UPLOAD"
required="true"
description=""
/>
<field name="type"
type="filetypelist"
label="COM_FILESHARING_TYPE_NAME"
description=""
default="1"
/>
</fieldset>
</form>
models/forms/client.xml 0000604 00000002046 15075226700 0011157 0 ustar 00 <?xml version="1.0" encoding="utf-8"?>
<form>
<fieldset addfieldpath="/administrator/components/com_categories/models/fields">
<field name="name" type="text"
class="inputbox"
description=""
label="COM_USERS_USER_FIELD_NAME_LABEL"
required="true"
size="30"
/>
<field name="username" type="text"
class="inputbox"
description=""
label="COM_USERS_USER_FIELD_USERNAME_LABEL"
required="true"
size="30"
/>
<field name="password" type="password"
autocomplete="off"
class="inputbox validate-password"
description=""
filter="raw"
label="JGLOBAL_PASSWORD"
size="30"
required="true"
/>
<field name="password2" type="password"
autocomplete="off"
class="inputbox validate-password"
description=""
filter="raw"
label="COM_USERS_USER_FIELD_PASSWORD2_LABEL"
size="30"
validate="equals"
field="password2"
/>
<field name="email" type="email"
class="inputbox"
description=""
label="JGLOBAL_EMAIL"
required="true"
size="30"
validate="email"
/>
</fieldset>
</form>
models/page.php 0000604 00000004730 15075226700 0007460 0 ustar 00 <?php
/**
* @author cmsbluetheme - www.cmsbluetheme.com
* @date: Aug 2013.
* @copyright Copyright (C) 2013 cmsbluetheme.com . All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('_JEXEC') or die;
jimport('joomla.application.component.modellist');
jimport('joomla.application.component.modelitem');
/**
* Component Controller
*
* @package Joomla.Administrator
* @subpackage com_book
*/
class Blue_pagebuilderModelPage extends JModelItem
{
/**
* Model context string.
*
* @var string
*/
protected $_context = 'com_blue_pagebuilder.page';
/**
* Method to auto-populate the model state.
*
* Note. Calling getState in this method will result in recursion.
*
* @since 1.6
*
* @return void
*/
protected function populateState()
{
$app = JFactory::getApplication('site');
$designid = null;
if($app->input->getInt('id')){
$designid = $app->input->getInt('id');
}else{
$menus = $app->getMenu();
$active = $menus->getActive();
$designid = (int) $active->params->get('designid');
}
$this->setState('page.id', $designid);
// Load the parameters.
$params = $app->getParams();
$this->setState('params', $params);
}
/**
* Method to get an object.
*
* @param integer The id of the object to get.
*
* @return mixed Object on success, false on failure.
*/
public function getItem($id = null)
{
if ($this->_item === null)
{
$this->_item = false;
if (empty($id))
{
$id = $this->getState('page.id');
}
// Get a level row instance.
$table = JTable::getInstance('Page', 'Blue_pagebuilderTable');
// Attempt to load the row.
if ($table->load($id))
{
// Convert the JTable to a clean JObject.
$properties = $table->getProperties(1);
$this->_item = JArrayHelper::toObject($properties, 'JObject');
}
elseif ($error = $table->getError())
{
$this->setError($error);
}
}
return $this->_item;
}
/**
* Returns a reference to the a Table object, always creating it.
*
* @param type The table type to instantiate
* @param string A prefix for the table class name. Optional.
* @param array Configuration array for model. Optional.
* @return JTable A database object
* @since 1.6
*/
public function getTable($type = 'Page', $prefix = 'Blue_pagebuilderTable', $config = array())
{
return JTable::getInstance($type, $prefix, $config);
}
}
controller.php 0000604 00000001202 15075226700 0007433 0 ustar 00 <?php
defined('_JEXEC') or die;
/**
* Base controller class for Sanadownload.
*
* @package Joomla.Site
* @subpackage com_sanadownload
* @since 2.5
*/
class Blue_pagebuilderController extends JControllerLegacy
{
public function display($cachable = false, $urlparams = false)
{
if(STVersion==3){
$view = $this->input->get('view', 'page');
$layout = $this->input->get('layout', 'default');
$id = $this->input->getInt('id');
}else{
$view = JRequest::getCmd('view', 'page');
$layout = JRequest::getCmd('layout', 'default');
$id = JRequest::getCmd('id');
}
parent::display();
return $this;
}
}
router.php 0000604 00000002641 15075226700 0006600 0 ustar 00 <?php
/**
* @version 1.0.0
* @package com_vehicle_spare
* @copyright Copyright (C) 2013. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author vanlam <vanlam89tb.ictu@gmail.com> - http://searchhere.com
*/
// No direct access
defined('_JEXEC') or die;
/**
* @param array A named array
* @return array
*/
function Blue_pagebuilderBuildRoute(&$query)
{
$segments = array();
if (isset($query['view'])) {
$segments[] = $query['view'];
unset($query['view']);
}
if (isset($query['task'])) {
$segments[] = implode('/',explode('.',$query['task']));
unset($query['task']);
}
if (isset($query['id'])) {
$segments[] = $query['id'];
unset($query['id']);
}
return $segments;
}
/**
* @param array A named array
* @param array
*
* Formats:
*
* index.php?/vehicle_spare/task/id/Itemid
*
* index.php?/vehicle_spare/id/Itemid
*/
function Blue_pagebuilderParseRoute($segments)
{
$vars = array();
// view is always the first element of the array
$count = count($segments);
$vars['view'] = $segments[0];
if ($count)
{
$count--;
$segment = array_pop($segments) ;
if (is_numeric($segment)) {
$vars['id'] = $segment;
}
else{
$count--;
$vars['task'] = array_pop($segments) . '.' . $segment;
}
}
if ($count)
{
$vars['task'] = implode('.',$segments);
}
return $vars;
}
access.xml 0000604 00000002556 15075226700 0006537 0 ustar 00 <?xml version="1.0" encoding="utf-8"?>
<access component="com_blue_pagebuilder">
<section name="component">
<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN_COMPONENT_DESC" />
<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE_COMPONENT_DESC" />
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC" />
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE_COMPONENT_DESC" />
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_COMPONENT_DESC" />
<action name="core.edit.state" title="JACTION_EDITSTATE" description="JACTION_EDITSTATE_COMPONENT_DESC" />
<action name="core.edit.own" title="JACTION_EDITOWN" description="JACTION_EDITOWN_COMPONENT_DESC" />
</section>
<section name="category">
<action name="core.create" title="JACTION_CREATE" description="COM_CATEGORIES_ACCESS_CREATE_DESC" />
<action name="core.delete" title="JACTION_DELETE" description="COM_CATEGORIES_ACCESS_DELETE_DESC" />
<action name="core.edit" title="JACTION_EDIT" description="COM_CATEGORIES_ACCESS_EDIT_DESC" />
<action name="core.edit.state" title="JACTION_EDITSTATE" description="COM_CATEGORIES_ACCESS_EDITSTATE_DESC" />
<action name="core.edit.own" title="JACTION_EDITOWN" description="COM_CATEGORIES_ACCESS_EDITOWN_DESC" />
</section>
</access>