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.216.152
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/wp-content/plugins/order-tracking/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/monpetu/www/ipprint/wp-content/plugins/order-tracking/views/View.Admin.class.php
<?php

/**
 * Base class for admin views, enqueues admin files, has functions for displaying editable custom fields.
 *
 * @since 3.0.0
 */
class ewdotpViewAdmin extends ewdotpView {

	// Locations that should be searched for templates
	public $template_dirs;

	// Pointer
	public $custom_field;

	/**
	 * Prints custom fields area
	 *
	 * @since 3.0.0
	 */
	public function print_admin_custom_field( $custom_field ) {
		global $ewd_otp_controller;

		$custom_field->field_value = $this->set_custom_field_value( $custom_field );

		$this->custom_field = $custom_field;

		if ( $custom_field->type == 'text' ) { $template = $this->find_template( 'admin-custom-field-text' ); }
		elseif ( $custom_field->type == 'textarea' ) { $template = $this->find_template( 'admin-custom-field-textarea' ); }
		elseif ( $custom_field->type == 'number' ) { $template = $this->find_template( 'admin-custom-field-number' ); }
		elseif ( $custom_field->type == 'select' ) { $template = $this->find_template( 'admin-custom-field-select' ); }
		elseif ( $custom_field->type == 'radio' ) { $template = $this->find_template( 'admin-custom-field-radio' ); }
		elseif ( $custom_field->type == 'checkbox' ) { $template = $this->find_template( 'admin-custom-field-checkbox' ); }
		elseif ( $custom_field->type == 'link' ) { $template = $this->find_template( 'admin-custom-field-link' ); }
		elseif ( $custom_field->type == 'file' ) { $template = $this->find_template( 'admin-custom-field-file' ); }
		elseif ( $custom_field->type == 'image' ) { $template = $this->find_template( 'admin-custom-field-image' ); }
		elseif ( $custom_field->type == 'date' ) { $template = $this->find_template( 'admin-custom-field-date' ); }
		elseif ( $custom_field->type == 'datetime' ) { $template = $this->find_template( 'admin-custom-field-datetime' ); }
		
		if ( $template ) {
			include( $template );
		}
	}

	/**
	 * Returns the value for a specified custom field. Should be overwritten by child class.
	 *
	 * @since 3.0.0
	 */
	public function set_custom_field_value( $custom_field ) {
		
		return null;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit