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/patratravelsonline.com/application/forms/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/patratravelsonline.com/application/forms/Contactus.php
<?php

class Application_Form_Contactus extends Zend_Form {

    public function init() {

            $subject = $this->createElement('select', 'subject');
            $subject->removeDecorator('label');
            $subject->removeDecorator('HtmlTag');
            $subject->setRequired(true);
            $subarray = array(" "=>"Select your subject",
                "Website Designing"=>"Website Designing",
                'Mobile Site Designing'=>'Mobile Site Designing',
                'Search Engine Optimization'=>'Search Engine Optimization',
                'Web Application Development'=>'Web Application Development',
                'Internet Marketing'=>'Internet Marketing',
                'Website Maintenance Service'=>'Website Maintenance Service',
                );
            $subject->setMultiOptions($subarray);
            $subject->setAttrib('validate','required:true');
	    $subject->setAttrib('title','Please Enter The subject');
            $subject->class ="contactSel";
            $this->addElement($subject);

            $yname = $this->createElement('text', 'yname');
            $yname->removeDecorator('label');
            $yname->removeDecorator('HtmlTag');
            $yname->setRequired(true);
            $yname->setAttrib('validate','required:true');
	    $yname->setAttrib('title','Please Enter The Name');
            $yname->setAttrib('placeholder','Name');
            $yname->class ="validate contactSmllInput";
            $this->addElement($yname);
            
            
            


            $email = $this->createElement('text', 'email');
            $email->removeDecorator('label');
            $email->removeDecorator('HtmlTag');
            $email->setRequired(true);
            $email->setAttrib('validate','required:true');
	    $email->setAttrib('title','Please Enter The Email');
            $email->setAttrib('placeholder','Email');
            $email->class ="contactSmllInput email";
            $this->addElement($email);

            $phone = $this->createElement('text', 'phone');
            $phone->removeDecorator('label');
            $phone->removeDecorator('HtmlTag');
            $phone->setRequired(true);
            $phone->setAttrib('validate','required:true');
	    $phone->setAttrib('title','Please Enter The Website');
            $phone->setAttrib('placeholder','Website');
            $phone->class ="contactInput";
            $this->addElement($phone);

            $message = $this->createElement('textarea', 'message');
            $message->removeDecorator('label');
            $message->removeDecorator('HtmlTag');
            $message->setAttrib('cols','2');
            $message->setAttrib('validate','required:true');
	    $message->setAttrib('title','Please Enter The Message');
            $message->setAttrib('placeholder','Please Enter The Message');
            $message->setAttrib('rows','7');
            $message->class = "contactInput";
            $message->setRequired(true);
            $this->addElement($message);
           
            
             $submit = new Zend_Form_Element_Image('submit');
        $submit->removeDecorator('label')
                ->removeDecorator('HtmlTag')
                ->setImage('images/submit_btn.gif')
                ->setAttrib('id', 'submitbutton')
                ->setAttrib('type', 'submit');
        $this->addElement($submit);
            
            
   }

}


Youez - 2016 - github.com/yon3zu
LinuXploit