Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_osmembership/view/states/html.php
Ðазад
<?php /** * @package Joomla * @subpackage Membership Pro * @author Tuan Pham Ngoc * @copyright Copyright (C) 2012 - 2025 Ossolution Team * @license GNU/GPL, see LICENSE.php */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; class OSMembershipViewStatesHtml extends MPFViewList { protected function prepareView() { parent::prepareView(); $db = $this->model->getDbo(); $db->setQuery( $db->getQuery(true) ->select('id, name') ->from('#__osmembership_countries') ->where('published = 1') ->order('name') ); $options = []; $options[] = HTMLHelper::_( 'select.option', 0, ' - ' . Text::_('OSM_SELECT_COUNTRY') . ' - ', 'id', 'name' ); $options = array_merge($options, $db->loadObjectList()); $this->lists['filter_country_id'] = HTMLHelper::_( 'select.genericlist', $options, 'filter_country_id', ' class="form-select" onchange="submit();" ', 'id', 'name', $this->state->filter_country_id ); $this->lists['filter_country_id'] = OSMembershipHelperHtml::getChoicesJsSelect( $this->lists['filter_country_id'] ); return true; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка