| Server IP : 198.71.59.75 / Your IP : 216.73.216.240 Web Server : nginx/1.30.2 System : Linux elegant-dhawan.198-71-59-75.plesk.page 5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64 User : realtyna_guys ( 10000) PHP Version : 8.2.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/vhosts/agenttango.com/httpdocs/wp-content/plugins/becustom/templates/ |
Upload File : |
<?php
if( ! defined( 'ABSPATH' ) ){
exit; // Exit if accessed directly
}
?>
<div id="mfn-custom" class="wrap about-wrap">
<?php include_once( plugin_dir_path( __DIR__ ) . '/templates/parts/header.php' ); ?>
<div class="dashboard-tab register">
<div class="col mfn-ui">
<form method="post" class="mfn-form">
<?php
$this->form_handler(); //to enable form handler
$meta = false;
?>
<h3 class="primary"><?php __('Be dashboard', 'becustom'); ?></h3>
<?php
Mfn_Builder_Admin::field( array(
'id' => 'disable_survey',
'type' => 'switch',
'title' => $this->get_attributes['disable_survey']['title'],
'options' => array(
0 => 'Visible',
1 => 'Hidden',
),
'std' => 0,
), $this->options['disable_survey']['value'] ? 1 : 0, $meta)
?>
<div class="becustom-dashboard-heading">
<h3 class="primary"> <?php echo $this->get_attributes['subheader']['title']; ?> </h3>
<div class="becustom-dashboard-tooltip">
<?php
echo $this->popup('subheader');
?>
</div>
<?php
$editor_content = stripslashes_deep($this->options['subheader']['value']);
$settings = array(
'wpautop' => false,
);
wp_editor( $editor_content, 'becustom_tinymce_subheader', $settings );
?>
</div>
<div class="becustom-dashboard-content">
<h3 class="primary"> <?php echo $this->get_attributes['content']['title']; ?> </h3>
<div class="becustom-dashboard-tooltip">
<?php
echo $this->popup('content');
?>
</div>
<?php
$editor_content = stripslashes_deep($this->options['content']['value']);
$settings = array(
'wpautop' => false,
);
wp_editor( $editor_content, 'becustom_tinymce_content', $settings );
?>
</div>
<div class="becustom-dashboard-footer">
<h3 class="primary"> <?php echo $this->get_attributes['footer']['title']; ?> </h3>
<div class="becustom-dashboard-tooltip">
<?php
echo $this->popup('footer');
?>
</div>
<?php
$editor_content = stripslashes_deep($this->options['footer']['value']);
$settings = array(
'wpautop' => false,
);
wp_editor( $editor_content, 'becustom_tinymce_footer', $settings );
?>
</div>
<?php wp_nonce_field('becustom_nonce') ?>
<?php submit_button( __('Save changes', 'becustom') ); ?>
</form>
</div>
</div>
</div>