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/modules/subscription/forms/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/application/modules/subscription/forms/Subscription(30-jan-2019).php
<?php
class Subscription_Form_Subscription extends Zend_Form {
    
   
    
    
    public function init() {
          $PlanArr = array(""=>"Select");
            $model = new Subscription_Model_Subscription();
           $getFrequencyPlan = $model->getFrequencyPlan("TB_Master_Subscription_Plan");
            foreach($getFrequencyPlan as $val){
                $PlanArr[$val['SubsPlanSysId']] = $val['Title'];
            }
        $inquiry_name = $this->createElement('select', 'planName');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($PlanArr);
        $this->addElement($inquiry_name);
        
        $subTypearr=array('1'=>'Standard','2'=>'Custom');
        $inquiry_name = $this->createElement('radio', 'subType');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default')
                      ->setAttrib('style', 'margin-right:4px')
                      ->setSeparator('<span style="padding-right:10px"></span>')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($subTypearr);
        $this->addElement($inquiry_name);
        
        $PlanTypeArr = array(""=>"Select");
        $getFrequencyPlanType = $model->getFrequencyPlan("TB_Master_Subscription_Frequency");
            foreach($getFrequencyPlanType as $val){
                $PlanTypeArr[$val['SubsFreqSysId']] = $val['Title'];
            }
        $planType = $this->createElement('select', 'planType');
        $planType->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $planType->addMultiOptions($PlanTypeArr);
        $this->addElement($planType);
        
        $noof_pack = $this->createElement('text', 'noOfPackages');
        $noof_pack->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($noof_pack);
        
        $noof_pack = $this->createElement('text', 'noOfPackagesExtraCost');
        $noof_pack->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($noof_pack);
        
        $inquiry_name = $this->createElement('text', 'fixedMonthlyRental');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'setUpFee');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'freshProposals');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'freshProposalsExtraCost');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'modificaton');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'freeSMS');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'freeSMSExtraCost');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'freeEmail');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
         $inquiry_name = $this->createElement('text', 'freeEmailExtraCost');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
                
        $YesNoArr = array(""=>"Select","1"=>"Yes","0"=>"NO");
        $inquiry_name = $this->createElement('text', 'autoFollowUps');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'autoFollowUpsExtraCost');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');        
        $this->addElement($inquiry_name);
        
         $inquiry_name = $this->createElement('text', 'marketingEmail');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
         $inquiry_name = $this->createElement('text', 'marketingEmailExtraCost');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        
        $inquiry_name = $this->createElement('select', 'hotelInventory');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $YesNoRadionArr=array('1'=>'Yes','0'=>'No');
        $inquiry_name = $this->createElement('radio', 'invoice');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default')
                      ->setAttrib('style', 'margin-right:4px')
                      ->setSeparator('<span style="padding-right:10px"></span>')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoRadionArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('radio', 'marketing');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default')
                      ->setAttrib('style', 'margin-right:4px')
                      ->setSeparator('<span style="padding-right:10px"></span>')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoRadionArr);
        $this->addElement($inquiry_name);
        
//        $inquiry_name = $this->createElement('select', 'invoice');
//        $inquiry_name->removeDecorator('label')
//                      ->setAttrib('class', 'demo-default select-country')
//                      ->removeDecorator('HtmlTag');
//        $inquiry_name->addMultiOptions($YesNoArr);
//        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'fullfillment');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'offer');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'hotelCotracting');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->setAttrib('onchange','checkhotelcontract(this.value)')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);        
        
         $inquiry_name = $this->createElement('text', 'noOfHotels');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'sourcing');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
         $inquiry_name = $this->createElement('select', 'B2B');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
         $inquiry_name = $this->createElement('select', 'B2C');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
          $inquiry_name = $this->createElement('select', 'B2C');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'website');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->setAttrib('onchange','checkwebsite(this.value)')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'webOnlyPackage');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'webWithFixDep');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'webWithActSight');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'webWithPackage');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'webSelfPackage');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->setAttrib('onchange', 'checkselfPackage(this.value)')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'webSelfNoOfPack');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'webflight');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'webhotel');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
                
        $inquiry_name = $this->createElement('text', 'smsaddon');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'emailaddon');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'autoFollowupsemail');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'extraProposal');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'extraResendModification');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'monthlyOption');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'quarterlyOption');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'halfYrOption');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('select', 'anualOption');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'demo-default select-country')
                      ->removeDecorator('HtmlTag');
        $inquiry_name->addMultiOptions($YesNoArr);
        $this->addElement($inquiry_name);
        
         $inquiry_name = $this->createElement('text', 'monthlySetupFee');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'monthlyPerMonthFee');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
         $inquiry_name = $this->createElement('text', 'quarterlySetupFee');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'quarterlyPerMonthFee');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
         $inquiry_name = $this->createElement('text', 'halfYrSetupFee');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'halfYrPerMonthFee');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'anualSetupFee');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
        $inquiry_name = $this->createElement('text', 'anualPerMonthFee');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);
        
         $inquiry_name = $this->createElement('text', 'monthlyInvoice');
        $inquiry_name->removeDecorator('label')
                      ->setAttrib('class', 'form-control whbg')
                      ->removeDecorator('HtmlTag');
        $this->addElement($inquiry_name);

        
    }

}

Youez - 2016 - github.com/yon3zu
LinuXploit