| Server IP : 65.109.86.83 / Your IP : 216.73.217.84 Web Server : nginx/1.14.1 System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.31 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/thrive-leads/editor-layouts/ |
Upload File : |
<?php global $variation; if (empty( $is_ajax_render )) : /** if AJAX-rendering the contents, we need to only output the html part, and do not include any of the custom css / fonts etc needed - used in the state manager */
?><!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<?php
include plugin_dir_path( __FILE__ ) . 'head.php';
$state_manager_collapsed = ! empty( $_COOKIE['tve_leads_state_collapse'] );
?>
<body <?php body_class( $state_manager_collapsed ? 'tl-state-collapse' : '' ) ?>>
<div class="cnt bSe">
<article>
<?php endif ?>
<?php
$key = '';
$hide_form = tve_leads_check_variation_visibility( $variation );
if ( ! empty( $variation[ TVE_LEADS_FIELD_TEMPLATE ] ) ) {
list( $type, $key ) = explode( '|', $variation[ TVE_LEADS_FIELD_TEMPLATE ] );
$key = preg_replace( '#_v(.+)$#', '', $key );
}
$is_gutenberg_preview = isset( $_GET['tve_block_preview'] );
?>
<?php if ( $is_gutenberg_preview ) { ?>
<style type="text/css">#wpadminbar, .tve-leads-template-description {
display: none !important;
}
.tve-leads-in-content {
padding-top: 0;
}
html {
margin: 0 !important;
}</style>
<script>
document.addEventListener( "DOMContentLoaded", () => {
if ( window.TVE_Dash ) {
TVE_Dash.forceImageLoad( document );
}
} );
</script>
<?php } ?>
<div class="tve-leads-conversion-object">
<div id="tve-leads-editor-replace">
<?php include dirname( __FILE__ ) . '/_no_form.php'; ?>
<div class="tve-leads-in-content tve-leads-shortcode" <?php if ( $hide_form ): ?>style="display: none;"<?php endif; ?>>
<div class="tl-style" id="tve_<?php echo $key ?>" data-state="<?php echo $variation['key'] ?>">
<?php echo apply_filters( 'tve_editor_custom_content', '' ) ?>
</div>
<?php echo apply_filters( 'tve_leads_variation_append_states', '', $variation ); ?>
</div>
<div class="tve-leads-template-description" style="opacity: .6; margin-top: 240px;text-align: center; <?php if ( $hide_form ): ?>display: none;<?php endif; ?>">
<h4><?php echo __( 'This is a Form Design type called "In content".', 'thrive-leads' ) ?></h4>
<h4><?php echo __( 'It is an Opt-In form that appears in the content of a post.', 'thrive-leads' ) ?></h4>
<h4><?php echo __( "Note that this form doesn't have any width settings. It will expand to the full width of the content area of your theme", 'thrive-leads' ) ?></h4>
</div>
</div>
</div>
<?php if ( empty( $is_ajax_render ) ) : ?>
</article>
</div>
<div id="tve_page_loader" class="tve_page_loader">
<div class="tve_loader_inner"><img src="<?php echo tve_editor_css() ?>/images/loader.gif" alt=""/></div>
</div>
<?php do_action( 'get_footer' ) ?>
<?php wp_footer() ?>
</body>
</html>
<?php endif ?>