uawdijnntqw1x1x1
IP : 216.73.216.6
Hostname : ps-hcp-gr-004.pouyasazan.org
Kernel : Linux ps-hcp-gr-004.pouyasazan.org 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
Disable Function : exec,system,passthru,shell_exec,proc_open,proc_close,popen,pcntl_exec,dl,show_source
OS : Linux
PATH:
/
home
/
hsabaeej
/
public_html
/
modules
/
mod_zt_visitor_counter
/
elements
/
widthtype.php
/
/
<?php /** * @package ZT Visitor Counter module * @author Hiepvu * @copyright(C) 2013 - ZooTemplate.com * @license PHP files are GNU/GPL **/ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die('Restricted access'); jimport('joomla.html.html'); jimport('joomla.access.access'); jimport('joomla.form.formfield'); class JFormFieldWidthtype extends JFormField { protected $type = 'widthtype'; function getLabel() { return parent::getLabel(); } protected function getInput() { $class = $this->element['class'] ? ' class="' . (string)$this->element['class'] . '"' : ''; $size = $this->element['size'] ? ' size="' . (int)$this->element['size'] . '"' : 1; $default = $this->element['default'] ? $this->element['default'] : ''; $options = array(); $options[] = JHtml::_('select.option', '%', JText::_('%')); $options[] = JHtml::_('select.option', 'px', JText::_('px')); $value1 = ''; $value2 = ''; if (is_array($this->value)) { $value1 = $this->value[0]; $value2 = $this->value[1]; } else { $value1 = $default; $value2 = '%'; } return '<input type="text" name="' . $this->name . '[]" id="' . $this->id . '-input"' . ' value="' . $value1 . '"' . $class . ' style="float:left;"/> ' . JHtml::_('select.genericlist', $options, $this->name . '[]', '' . $size . '', 'value', 'text', $value2, $this->id . '-type'); } }
/home/hsabaeej/public_html/modules/mod_zt_visitor_counter/elements/widthtype.php