Server IP : 192.64.118.117 / Your IP : 3.147.140.23 Web Server : LiteSpeed System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : thecgapy ( 1160) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/thecgapy/www/wp-content/plugins/go_pricing/includes/admin/views/ |
Upload File : |
<?php /** * Editor popup view */ // Prevent direct call if ( !defined( 'WPINC' ) ) die; if ( !class_exists( 'GW_GoPricing' ) ) die; // Get current user ID $user_id = get_current_user_id(); // Get general settings $general_settings = get_option( self::$plugin_prefix . '_table_settings' ); ?> <div class="gwa-popup"data-help="<?php echo esc_attr( isset( $_COOKIE['go_pricing']['settings']['help'][$user_id] ) ? $_COOKIE['go_pricing']['settings']['help'][$user_id] : '' ); ?>" data-apply-close="<?php echo esc_attr( !empty( $general_settings['ep-close-apply'] ) ? 'true' : 'false' ); ?>" data-apply-action="<?php echo esc_attr( !empty( $general_settings['ep-action-apply'] ) ? 'true' : 'false' ); ?>"> <?php printf( '<style>.gwa-section span { border-bottom-color:%s; }</style>', !empty( $_POST['icon_color'] ) ? $_POST['icon_color'] : '#2aa1fa' ); ?> <div class="gwa-popup-inner" data-id="<?php echo esc_attr( isset( $_POST['_action_type'] ) ? sanitize_key( $_POST['_action_type'] ) : '' ); ?>"> <div class="gwa-popup-header"> <div class="gwa-popup-header-icon-code" style="background:<?php echo esc_attr( !empty( $_POST['icon_color'] ) ? $_POST['icon_color'] : '#2aa1fa' ); ?>;"><i class="<?php echo esc_attr ( !empty( $_POST['icon'] ) ? $_POST['icon'] : 'fa fa-cog' ); ?>"></i></div> <div class="gwa-popup-title"><?php echo !empty( $_POST['title'] ) ? $_POST['title'] : ''; ?><small><?php echo !empty( $_POST['subtitle'] ) ? $_POST['subtitle'] : __( 'Content & Style Settings', 'go_pricing_textdomain' ); ?></small></div> <a href="#" title="Close" class="gwa-popup-close"></a> </div> <div class="gwa-popup-content-wrap"> <?php do_action( 'go_pricing_editor_popup_content_before_html', isset( $_POST ) ? $_POST : '' ); ?> <div class="gwa-popup-content"> <div class="gwa-abox"> <div class="gwa-abox-content-wrap"> <div class="gwa-abox-content"> <?php echo $content; ?> </div> </div> </div> </div> <?php do_action( 'go_pricing_editor_popup_content_after_html', isset( $_POST ) ? $_POST : '' ); ?> </div> <div class="gwa-popup-footer"> <div class="gwa-popup-assets gwa-fl"> <a href="#" data-action="insert-data" title="<?php esc_attr_e( 'Apply', 'go_pricing_textdomain'); ?>" class="gwa-btn-style1"><?php _e( 'Apply', 'go_pricing_textdomain'); ?></a> </div> <div class="gwa-popup-assets-center"> <a href="#" data-action="delete-data" title="<?php esc_attr_e( 'Delete', 'go_pricing_textdomain'); ?>" class="gwa-btn-style3"><span class="gwa-icon-del gwa-mr0"></span></i></a><a href="#" data-action="clone-data" title="<?php esc_attr_e( 'Clone', 'go_pricing_textdomain'); ?>" class="gwa-btn-style2 gwa-ml10"><span class="gwa-icon-clone gwa-mr0"></span></a><a href="#" data-action="add-new-row" title="<?php esc_attr_e( 'Add Row', 'go_pricing_textdomain' ); ?>" class="gwa-btn-style1 gwa-ml10"><span class="gwa-icon-add"></span><?php _e( 'Add Row', 'go_pricing_textdomain' ); ?></a> </div> <div class="gwa-popup-nav gwa-fr"><span class="gwa-btn-style4" title="<?php esc_attr_e( 'Previous', 'go_pricing_textdomain'); ?>"><span class="gwa-icon-left gwa-mr0"></span><a href="#" data-action="prev"></a></span><span class="gwa-btn-style4 gwa-ml10" title="<?php esc_attr_e( 'Next', 'go_pricing_textdomain'); ?>"><span class="gwa-icon-right gwa-mr0"></span><a href="#" data-action="next"></a></span></div> </div> </div> </div>