403Webshell
Server IP : 172.67.147.195  /  Your IP : 216.73.216.142
Web Server : Apache/2
System : Linux hosting8537.lvs 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : mienphi ( 1014)
PHP Version : 8.2.14
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mienphi/public_html/wp-content/themes/eduma_OLD/inc/widgets/timetable/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mienphi/public_html/wp-content/themes/eduma_OLD/inc/widgets/timetable/config.php
<?php
/**
 * Thim_Builder Timetable config class
 *
 * @version     1.0.0
 * @author      ThimPress
 * @package     Thim_Builder/Classes
 * @category    Classes
 * @author      Thimpress, tuanta
 */

/**
 * Prevent loading this file directly
 */
defined( 'ABSPATH' ) || exit;

if ( ! class_exists( 'Thim_Builder_Config_Timetable' ) ) {
	/**
	 * Class Thim_Builder_Config_Timetable
	 */
	class Thim_Builder_Config_Timetable extends Thim_Builder_Abstract_Config {

		/**
		 * Thim_Builder_Config_Timetable constructor.
		 */
		public function __construct() {
			// info
			self::$base = 'timetable';
			self::$name = esc_html__( 'Thim: Timetable', 'eduma' );
			self::$desc = esc_html__( 'Display Timetable.', 'eduma' );
			self::$icon = 'thim-widget-icon thim-widget-icon-timetable';
			parent::__construct();
		}

		/**
		 * @return array
		 */
		public function get_options() {

			// options
			return array(
				array(
					'type'        => 'textfield',
					'admin_label' => true,
					'heading'     => esc_html__( 'Title', 'eduma' ),
					'param_name'  => 'title',
					'value'       => '',
				),

				array(
					'type'        => 'param_group',
					'admin_label' => true,
					'heading'     => esc_html__( 'Timetable Items', 'eduma' ),
					'param_name'  => 'panel',
					'params'      => array(
						array(
							'type'       => 'textfield',
							'value'      => '',
							'heading'    => esc_html__( 'Course Title', 'eduma' ),
							'std'        => esc_html__( 'Course Title', 'eduma' ),
							'param_name' => 'panel_title',
						),
						array(
							'type'       => 'textfield',
							'value'      => '',
							'heading'    => esc_html__( 'Time Activity', 'eduma' ),
							'std'        => esc_html__( '8:00 AM - 10:00 AM', 'eduma' ),
							'param_name' => 'panel_time',
						),

						array(
							'type'       => 'textfield',
							'value'      => '',
							'heading'    => esc_html__( 'Teacher Name', 'eduma' ),
							'std'        => esc_html__( 'Mr John Doe', 'eduma' ),
							'param_name' => 'panel_teacher',
						),

						array(
							'type'       => 'textfield',
							'value'      => '',
							'heading'    => esc_html__( 'Location', 'eduma' ),
							'std'        => esc_html__( 'Playground', 'eduma' ),
							'param_name' => 'panel_location',
						),

						array(
							'type'        => 'colorpicker',
							'admin_label' => true,
							'heading'     => esc_html__( 'Background Color', 'eduma' ),
							'param_name'  => 'panel_background',
						),

						array(
							'type'        => 'colorpicker',
							'admin_label' => true,
							'heading'     => esc_html__( 'Background Hover Color', 'eduma' ),
							'param_name'  => 'panel_background_hover',
						),

						array(
							'type'        => 'dropdown',
							'admin_label' => true,
							'heading'     => esc_html__( 'Color Style', 'eduma' ),
							'param_name'  => 'panel_color_style',
							'value'       => array(
								esc_html__( 'Select', 'eduma' ) => '',
								esc_html__( 'Light', 'eduma' )  => 'light',
								esc_html__( 'Dark', 'eduma' )   => 'dark',
								esc_html__( 'Gray', 'eduma' )   => 'gray',
							),
							'description' => esc_html__( "Select Color Style.", 'eduma' ),
						),

					)
				),
			);
		}

		public function get_template_name() {
			return 'base';
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit