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/Emailstatement.php
<?php

class Application_Form_Emailstatement extends Zend_Form
{
	public function __construct($params = null)
	{               
            $this->setMethod("POST");
            $this->setAction("lms/email-statement");
            $this->setName("add_email_statement");
            
                        
            /************ Customer ID *****************/
            $customer_id = $this->createElement('text','customer_id',
                                array(
                                     'value' => trim($params['customer_id']),
                                     'class' => 'txtfield',
                                        'id' => 'customer_id',
                                    'placeholder' => 'Customer ID *',
                                    'maxlength' => '9',
                                    'tabindex' => '1',
                                    'required'=>true,
                                    'filters' => array('StringTrim'),
                                    'validators' => array('Digits'),
                             ))	
                            ->setAttrib('onkeypress', 'return isNumber(event);')
                            ->setErrorMessages(array('Enter Customer ID'))
                            ->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' => '2',
                                    'required'=>true,
                                    'filters' => array('StringTrim'),
                                    'validators' => array('EmailAddress',)
                             ))	 
                            ->setErrorMessages(array('Enter valid email id'))
                            ->removeDecorator('label')
                            ->removeDecorator('HtmlTag')
                            ->removeDecorator('DtDdWrapper');
            
            /************ Plan Type *****************/
            $plantype = array();
            //$usertype[""]="--Title--";
            $plantype_arr = array(    'Monthly'=>'Monthly',
                                      'Weekly'=>'Weekly',
                                      'Daily'=>'Daily'
                                );
            $plan_type = $this->createElement('select', 'plan_type');
                        foreach ($plantype_arr as $key=>$val) {
                            $plantype[$key] = $val;
                        }
            $plan_type->setRequired(true);
            $plan_type->setMultiOptions($plantype);
            $plan_type->setErrorMessages(array('Select type'));
            $plan_type->removeDecorator('label');
            $plan_type->removeDecorator('HtmlTag');
            $plan_type->class = "styled";
            $plan_type->style = "width:198px; border:none;";
            $plan_type->tabindex = "3";           
            
            /************ 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' => '4',
                                    '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' => '5',
                                    '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' => '6',
                                    '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',
                                    'tabindex' => '7',
                                 'placeholder' => 'Mobile no. *',   
                                    '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 *',
                                    'tabindex' => '8',
                                    'autocomplete' => 'off',
                                    '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' => '9',
                                    //'validators' => array(array('StringLength', false, array(3, 100))),
                             ))	 
                            ->setErrorMessages(array('Check authorize'))
                            ->removeDecorator('label')
                            ->removeDecorator('HtmlTag')
                            ->removeDecorator('DtDdWrapper');
                                       
            $this->addElements(array(  
            $customer_id,  
            $email,
            $plan_type,
            $country_code,    
            $area_code,
            $landline_no,
            $mobile_no,
            $captcha,    
            $terms_condition
            )); 
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit