Linux mail.vriendennsm.nl 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64
Apache/2.4.68 (Debian)
Server IP : 217.154.75.17 & Your IP : 216.73.216.195
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
vnsm /
libraries /
fof /
form /
field /
Delete
Unzip
Name
Size
Permission
Date
Action
accesslevel.php
3.88
KB
-rwxr-xr-x
2023-07-08 16:23
actions.php
5.67
KB
-rwxr-xr-x
2023-07-08 16:23
button.php
3.12
KB
-rwxr-xr-x
2023-07-08 16:23
cachehandler.php
2.43
KB
-rwxr-xr-x
2023-07-08 16:23
calendar.php
5.23
KB
-rwxr-xr-x
2023-07-08 16:23
captcha.php
1.96
KB
-rwxr-xr-x
2023-07-08 16:23
checkbox.php
3.65
KB
-rwxr-xr-x
2023-07-08 16:23
checkboxes.php
2.73
KB
-rwxr-xr-x
2023-07-08 16:23
components.php
5.93
KB
-rwxr-xr-x
2023-07-08 16:23
editor.php
2.27
KB
-rwxr-xr-x
2023-07-08 16:23
email.php
3.6
KB
-rwxr-xr-x
2023-07-08 16:23
groupedbutton.php
2.97
KB
-rwxr-xr-x
2023-07-08 16:23
groupedlist.php
4.29
KB
-rwxr-xr-x
2023-07-08 16:23
hidden.php
1.95
KB
-rwxr-xr-x
2023-07-08 16:23
image.php
546
B
-rwxr-xr-x
2023-07-08 16:23
imagelist.php
3.23
KB
-rwxr-xr-x
2023-07-08 16:23
integer.php
2.39
KB
-rwxr-xr-x
2023-07-08 16:23
language.php
2.81
KB
-rwxr-xr-x
2023-07-08 16:23
list.php
9.82
KB
-rwxr-xr-x
2023-07-08 16:23
media.php
3.09
KB
-rwxr-xr-x
2023-07-08 16:23
model.php
6.52
KB
-rwxr-xr-x
2023-07-08 16:23
ordering.php
5.71
KB
-rwxr-xr-x
2023-07-08 16:23
password.php
2.39
KB
-rwxr-xr-x
2023-07-08 16:23
plugins.php
2.42
KB
-rwxr-xr-x
2023-07-08 16:23
published.php
4.74
KB
-rwxr-xr-x
2023-07-08 16:23
radio.php
2.41
KB
-rwxr-xr-x
2023-07-08 16:23
relation.php
4.86
KB
-rwxr-xr-x
2023-07-08 16:23
rules.php
25.2
KB
-rwxr-xr-x
2023-07-08 16:23
selectrow.php
2.87
KB
-rwxr-xr-x
2023-07-08 16:23
sessionhandler.php
2.44
KB
-rwxr-xr-x
2023-07-08 16:23
spacer.php
1.96
KB
-rwxr-xr-x
2023-07-08 16:23
sql.php
2.44
KB
-rwxr-xr-x
2023-07-08 16:23
tag.php
4.9
KB
-rwxr-xr-x
2023-07-08 16:23
tel.php
3.49
KB
-rwxr-xr-x
2023-07-08 16:23
text.php
5.19
KB
-rwxr-xr-x
2023-07-08 16:23
textarea.php
2.16
KB
-rwxr-xr-x
2023-07-08 16:23
timezone.php
2.52
KB
-rwxr-xr-x
2023-07-08 16:23
title.php
1.53
KB
-rwxr-xr-x
2023-07-08 16:23
url.php
3.48
KB
-rwxr-xr-x
2023-07-08 16:23
user.php
6.86
KB
-rwxr-xr-x
2023-07-08 16:23
usergroup.php
3.48
KB
-rwxr-xr-x
2023-07-08 16:23
Save
Rename
<?php /** * @package FrameworkOnFramework * @subpackage form * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // Protect from unauthorized access defined('FOF_INCLUDED') or die; JFormHelper::loadFieldClass('list'); /** * Form Field class for FOF * Generic list from a model's results * * @package FrameworkOnFramework * @since 2.0 */ class FOFFormFieldModel extends FOFFormFieldList implements FOFFormField { protected $static; protected $repeatable; /** * Method to get certain otherwise inaccessible properties from the form field object. * * @param string $name The property name for which to the the value. * * @return mixed The property value or null. * * @since 2.0 */ public function __get($name) { switch ($name) { case 'static': if (empty($this->static)) { $this->static = $this->getStatic(); } return $this->static; break; case 'repeatable': if (empty($this->repeatable)) { $this->repeatable = $this->getRepeatable(); } return $this->repeatable; break; default: return parent::__get($name); } } /** * Get the rendering of this field type for static display, e.g. in a single * item view (typically a "read" task). * * @since 2.0 * * @return string The field HTML */ public function getStatic() { $class = $this->element['class'] ? ' class="' . (string) $this->element['class'] . '"' : ''; return '<span id="' . $this->id . '" ' . $class . '>' . htmlspecialchars(FOFFormFieldList::getOptionName($this->getOptions(), $this->value), ENT_COMPAT, 'UTF-8') . '</span>'; } /** * Get the rendering of this field type for a repeatable (grid) display, * e.g. in a view listing many item (typically a "browse" task) * * @since 2.0 * * @return string The field HTML */ public function getRepeatable() { $class = $this->id; $format_string = ''; $show_link = false; $link_url = ''; $empty_replacement = ''; // Get field parameters if ($this->element['class']) { $class = (string) $this->element['class']; } if ($this->element['format']) { $format_string = (string) $this->element['format']; } if ($this->element['show_link'] == 'true') { $show_link = true; } if ($this->element['url']) { $link_url = $this->element['url']; } else { $show_link = false; } if ($show_link && ($this->item instanceof FOFTable)) { $link_url = $this->parseFieldTags($link_url); } else { $show_link = false; } if ($this->element['empty_replacement']) { $empty_replacement = (string) $this->element['empty_replacement']; } $value = FOFFormFieldList::getOptionName($this->getOptions(), $this->value); // Get the (optionally formatted) value if (!empty($empty_replacement) && empty($value)) { $value = JText::_($empty_replacement); } if (empty($format_string)) { $value = htmlspecialchars($value, ENT_COMPAT, 'UTF-8'); } else { $value = sprintf($format_string, $value); } // Create the HTML $html = '<span class="' . $class . '">'; if ($show_link) { $html .= '<a href="' . $link_url . '">'; } $html .= $value; if ($show_link) { $html .= '</a>'; } $html .= '</span>'; return $html; } /** * Method to get the field options. * * @return array The field option objects. */ protected function getOptions() { $options = array(); // Initialize some field attributes. $key = $this->element['key_field'] ? (string) $this->element['key_field'] : 'value'; $value = $this->element['value_field'] ? (string) $this->element['value_field'] : (string) $this->element['name']; $translate = $this->element['translate'] ? (string) $this->element['translate'] : false; $applyAccess = $this->element['apply_access'] ? (string) $this->element['apply_access'] : 'false'; $modelName = (string) $this->element['model']; $nonePlaceholder = (string) $this->element['none']; if (!empty($nonePlaceholder)) { $options[] = JHtml::_('select.option', null, JText::_($nonePlaceholder)); } // Process field atrtibutes $applyAccess = strtolower($applyAccess); $applyAccess = in_array($applyAccess, array('yes', 'on', 'true', '1')); // Explode model name into model name and prefix $parts = FOFInflector::explode($modelName); $mName = ucfirst(array_pop($parts)); $mPrefix = FOFInflector::implode($parts); // Get the model object $config = array('savestate' => 0); $model = FOFModel::getTmpInstance($mName, $mPrefix, $config); if ($applyAccess) { $model->applyAccessFiltering(); } // Process state variables foreach ($this->element->children() as $stateoption) { // Only add <option /> elements. if ($stateoption->getName() != 'state') { continue; } $stateKey = (string) $stateoption['key']; $stateValue = (string) $stateoption; $model->setState($stateKey, $stateValue); } // Set the query and get the result list. $items = $model->getItemList(true); // Build the field options. if (!empty($items)) { foreach ($items as $item) { if ($translate == true) { $options[] = JHtml::_('select.option', $item->$key, JText::_($item->$value)); } else { $options[] = JHtml::_('select.option', $item->$key, $item->$value); } } } // Merge any additional options in the XML definition. $options = array_merge(parent::getOptions(), $options); return $options; } /** * Replace string with tags that reference fields * * @param string $text Text to process * * @return string Text with tags replace */ protected function parseFieldTags($text) { $ret = $text; // Replace [ITEM:ID] in the URL with the item's key value (usually: // the auto-incrementing numeric ID) $keyfield = $this->item->getKeyName(); $replace = $this->item->$keyfield; $ret = str_replace('[ITEM:ID]', $replace, $ret); // Replace the [ITEMID] in the URL with the current Itemid parameter $ret = str_replace('[ITEMID]', JFactory::getApplication()->input->getInt('Itemid', 0), $ret); // Replace other field variables in the URL $fields = $this->item->getTableFields(); foreach ($fields as $fielddata) { $fieldname = $fielddata->Field; if (empty($fieldname)) { $fieldname = $fielddata->column_name; } $search = '[ITEM:' . strtoupper($fieldname) . ']'; $replace = $this->item->$fieldname; $ret = str_replace($search, $replace, $ret); } return $ret; } }