[REL] 2checkout INS - Auto VIP Payments [Uber/zCMS]

Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Account Upgraded | Title Enabled! BoomHotel is offline
    MemberRank
    Oct 2008 Join Date
    In a box.Location
    372Posts

    Re: [REL] 2checkout INS - Auto VIP Payments [Uber/zCMS]

    Make for REV

  2. #17
    Member XenoGFX is offline
    MemberRank
    May 2010 Join Date
    97Posts

    Re: [REL] 2checkout INS - Auto VIP Payments [Uber/zCMS]

    looks good die();

  3. #18
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: [REL] 2checkout INS - Auto VIP Payments [Uber/zCMS]

    Quote Originally Posted by XenoGFX View Post
    looks good die();
    everyone die(s) at some point

    And here it is in OOP..

    PHP Code:
    <?php

    class twocheckout
    {        
        public function 
    MessageSet()
        {
            if(isset(
    $_POST['message_type']))
            {
                return 
    true;
            }
            return 
    false;
        }
        
        public function 
    ItemIs($item)
        {
            if(isset(
    $_POST['item_name_1']) && $_POST['item_name_1'] == $item)
            {
                return 
    true;
            }
            return 
    false;
        }

        public function 
    MessageIs($message_type)
        {
            if(isset(
    $_POST["message_type"]) && $_POST["message_type"] == $message_type)
            {
                return 
    true;
            }
            return 
    false;
        }

        public function 
    PassSecurity()
        {
            return 
    true;
        }
        
        public function 
    StatusIs($haystack$needle)
        {
            if(isset(
    $_POST[$haystack]) && $_POST[$haystack] == $needle)
            {
                return 
    true;
            }
            return 
    false;
        }
        
        public function 
    Price()
        {
            return 
    $_POST["invoice_list_amount"];
        }
    }


    ?>
    Or a class for it anyway. Yes it works.



Page 2 of 2 FirstFirst 12

Advertisement