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/dcb/application/forms/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/dcb/application/forms/Nribanking.php
<?php

class Application_Form_Nribanking extends Zend_Form
{
	public function __construct($params = null)
	{         
            $state = new Application_Model_State();
            $allCountry = $state->getAllCounytyList();
            
            $this->setMethod("POST");
            $this->setAction("lms/nri-banking");
            $this->setName("add_nri_banking");
            
            /************ User Type *****************/
            $usertype = array();
            //$usertype[""]="--Title--";
            $usertype_arr = array( 'Mr'=>'Mr.',
                                   'Mrs'=>'Mrs.',
                                   'Ms'=>'Ms.'
                                 );
            $title = $this->createElement('select', 'title');
                        foreach ($usertype_arr as $key=>$val) {
                            $usertype[$key] = $val;
                        }
            $title->setRequired(true);
            $title->setMultiOptions($usertype);
            $title->setErrorMessages(array('Select title'));
            $title->removeDecorator('label');
            $title->removeDecorator('HtmlTag');
            $title->class = "styled";
            $title->style = "width:30px; border:none;";
            $title->tabindex = "1";
            
            /************ First Name *****************/
            $fname = $this->createElement('text','fname',
                                array(
                                     'value' => trim($params['fname']),
                                     'class' => 'txtfield_fname fl',
                                        'id' => 'fname',
                                    'placeholder' => 'First name *',
                                    'tabindex' => '2',
                                    'required'=>true,
                                    'filters' => array('StringTrim'),
                                 'validators' => array(array("Alpha", true, array("allowWhiteSpace" => false))),
                             ))	
                            ->setErrorMessages(array('Enter first name'))
                            ->removeDecorator('label')
                         
                            ->removeDecorator('HtmlTag')
                            ->removeDecorator('DtDdWrapper');
            
            /************ Last Name  *****************/
            $lname = $this->createElement('text','lname',
                                array(
                                     'value' => trim($params['lname']),
                                     'class' => 'txtfield',
                                        'id' => 'lname',
                                    'placeholder' => 'Last name *',
                                    'tabindex' => '3',
                                    'required'=>true,
                                    'filters' => array('StringTrim'),
                                   'validators' => array(array("Alpha", true, array("allowWhiteSpace" => false))),
                             ))	 
                            ->setErrorMessages(array('Enter last name'))
                            ->removeDecorator('label')
                            ->removeDecorator('HtmlTag')
                            ->removeDecorator('DtDdWrapper');
                        
            /************ Email  *****************/
            $email = $this->createElement('text','email',
                                array(
                                     'value' => trim($params['email']),
                                     'class' => 'txtfield',
                                        'id' => 'email',
                                    'placeholder' => 'Email ID *',
                                    'tabindex' => '4',
                                    'required'=>true,
                                    'filters' => array('StringTrim'),
                                    'validators' => array('EmailAddress',)
                             ))	 
                            ->setErrorMessages(array('Enter valid email id'))
                            ->removeDecorator('label')
                            ->removeDecorator('HtmlTag')
                            ->removeDecorator('DtDdWrapper');          
                        
            /************ Country List *****************/
            $dataCountry = array();
	    $dataCountry[""]="--Select Country * --";
            $country = $this->createElement('select', 'country');
                        foreach ($allCountry as $data) {
                            $dataCountry[$data['Name']] = ucwords(strtolower($data['Name']));
                        }
            $country->setRequired(true);
            $country->setMultiOptions($dataCountry);
            $country->setErrorMessages(array('Select country name'));
            $country->removeDecorator('label');
            $country->removeDecorator('HtmlTag');
            $country->class = "styled";
            $country->style = "width:198px; border:none;";
            $country->tabindex = "5";
            
            /************ Country Code  *****************/
            $country_code = $this->createElement('text','country_code',
                                array(
                                     'value' => trim($params['country_code']),
                                     'class' => 'txtfield_sm mrgn_right',
                                        'id' => 'country_code',
                                    'placeholder' => 'Country code',
                                    'maxlength' => '3',
                                    'tabindex' => '6',
                                    'required'=>false,
                                    'filters' => array('StringTrim'),
                                    'validators' => array('Digits'),
                             ))	 
                            ->setAttrib('onkeypress', 'return isNumber(event);')
                            ->setErrorMessages(array('Enter country code'))
                            ->removeDecorator('label')
                            ->removeDecorator('HtmlTag')
                            ->removeDecorator('DtDdWrapper');
            
            /************ Country Code  *****************/
            $area_code = $this->createElement('text','area_code',
                                array(
                                     'value' => trim($params['area_code']),
                                     'class' => 'txtfield_small mrgn_right',
                                        'id' => 'country_code',
                                    'placeholder' => 'Area code',
                                    'maxlength' => '6',
                                    'tabindex' => '7',
                                    'required'=>false,
                                    'filters' => array('StringTrim'),
                                    'validators' => array('Digits'),
                             ))	 
                            ->setAttrib('onkeypress', 'return isNumber(event);')
                            ->setErrorMessages(array('Enter area code'))
                            ->removeDecorator('label')
                            ->removeDecorator('HtmlTag')
                            ->removeDecorator('DtDdWrapper');
            
            /************ Landline Number  *****************/
            $landline_no = $this->createElement('text','landline_no',
                                array(
                                     'value' => trim($params['landline_no']),
                                     'class' => 'txtfield_sm',
                                        'id' => 'landline_no',
                                    'placeholder' => 'Landline no. *',
                                 'maxlength' => '8',
                                   'tabindex' => '8', 
                                    'required'=>false,
                                    'filters' => array('StringTrim'),
                                 'validators' => array('Digits'),
                             ))	 
                            ->setAttrib('onkeypress', 'return isNumber(event);')
                            ->setErrorMessages(array('Enter landline number'))
                            ->removeDecorator('label')
                            ->removeDecorator('HtmlTag')
                            ->removeDecorator('DtDdWrapper');
            
            /************ Mobil Number  *****************/
            $mobile_no = $this->createElement('text','mobile_no',
                                array(
                                     'value' => trim($params['mobile_no']),
                                     'class' => 'txtfield_sm',
                                        'id' => 'mobile_no',
                                 'maxlength' => '10',
                                 'placeholder' => 'Mobile no. *',  
                                  'tabindex' => '9',  
                                    'required'=>false,
                                    'filters' => array('StringTrim'),
                                 'validators' => array('Digits'),
                             ))	
                            ->setAttrib('onkeypress', 'return isNumber(event);')
                            ->setErrorMessages(array('Enter mobile number'))
                            ->removeDecorator('label')
                            ->removeDecorator('HtmlTag')
                            ->removeDecorator('DtDdWrapper');
            
            /************ Captcha Code  *****************/
            $captcha = $this->createElement('text','captcha',
                                array(
                                     'value' => trim($params['captcha']),
                                     'class' => 'txtfield_fname',
                                        'id' => 'captcha',
                                    'placeholder' => 'Captcha code *',
                                    'autocomplete' => 'off',
                                    'tabindex' => '10',
                                    'required'=>true,
                                    'filters' => array('StringTrim'),
                                   'validators' => array(array("Alnum", true, array("allowWhiteSpace" => false))),
                             ))	 
                            ->setErrorMessages(array('Enter captcha'))
                            ->removeDecorator('label')
                            ->removeDecorator('HtmlTag')
                            ->removeDecorator('DtDdWrapper');
            
            /************ Terms and Conditions *****************/
            $terms_condition = $this->createElement('checkbox','terms_condition',
                                array(
                                     'value' => trim($params['terms_condition']),
                                        'id' => 'terms_condition',
                                    'required'=>false,
                                    'filters' => array('StringTrim'),
                                    'tabindex' => '11',
                                    //'validators' => array(array('StringLength', false, array(3, 100))),
                             ))	 
                            ->setErrorMessages(array('Check authorize'))
                            ->removeDecorator('label')
                            ->removeDecorator('HtmlTag')
                            ->removeDecorator('DtDdWrapper');
                                       
            $this->addElements(array(  
            $title,
            $fname,    
            $lname,  
            $email, 
            $country,    
            $country_code,    
            $area_code,
            $landline_no,
            $mobile_no,
            $captcha,    
            $terms_condition
            )); 
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit