HEX
Server: Apache
System: Linux srv13.cpanelhost.cl 3.10.0-962.3.2.lve1.5.38.el7.x86_64 #1 SMP Thu Jun 18 05:28:41 EDT 2020 x86_64
User: cca63905 (4205)
PHP: 7.3.20
Disabled: NONE
Upload Files
File: //home5/cca63905/.trash/wp-content/themes/enfold/framework/php/avia_shortcodes/tinymce/dialog.php
<?php 

$full_path = __FILE__;
$path = explode( 'wp-content', $full_path );
require_once( $path[0] . '/wp-load.php' );

$shortcode_css = AVIA_BASE_URL.'css/shortcodes.css';
 
                                
if(!current_user_can('edit_posts')) { die(""); }
do_action('avia_shortcode_dialog');

?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

</head>
<body>

<div id="scn-dialog">

<div id="scn-options">

    <h3>Customize the Shortcode</h3>
    
	<table id="scn-options-table">
	</table>

	<div style="float: left">
	
	    <input type="button" id="scn-btn-cancel" class="button" name="cancel" value="Cancel" accesskey="C" />
	    
	</div>
	<div style="float: right">
	
	    <input type="button" id="scn-btn-preview" class="button" name="preview" value="Preview" accesskey="P" />
	    <input type="button" id="scn-btn-insert" class="button-primary" name="insert" value="Insert" accesskey="I" />
	    
	</div>

</div>

<div id="scn-preview" style="float:left;">

    <h3>Preview</h3>

    <iframe id="scn-preview-iframe" frameborder="0" style="width:100%;height:250px" ></iframe>   
    
</div>

<script type="text/javascript" src="<?php echo AVIA_PHP_URL."avia_shortcodes/tinymce/js/column-control.js";?>"></script>
<script type="text/javascript" src="<?php echo AVIA_PHP_URL."avia_shortcodes/tinymce/js/tab-control.js";?>"></script>
<script type="text/javascript" src="<?php echo AVIA_PHP_URL."avia_shortcodes/tinymce/js/table-control.js";?>"></script>
<script type="text/javascript" src="<?php echo AVIA_PHP_URL."avia_shortcodes/tinymce/js/sidebar-tab-control.js";?>"></script>

<!--
<div style="float: right"><input type="button" id="scn-btn-cancel"
	class="button" name="cancel" value="Cancel" accesskey="C" /></div>
</div>
-->


<script type="text/javascript" src="<?php echo AVIA_PHP_URL."avia_shortcodes/tinymce/js/dialog.js";?>"></script>

</div>

</body>
</html>