31 lines
1.1 KiB
PHP
31 lines
1.1 KiB
PHP
|
<?php
|
|||
|
@session_start();
|
|||
|
@error_reporting(7);
|
|||
|
@ini_set('display_errors', true);
|
|||
|
@ini_set('html_errors', false);
|
|||
|
|
|||
|
define('DATALIFEENGINE', true);
|
|||
|
define( 'ROOT_DIR', substr( dirname( __FILE__ ), 0, -12 ) );
|
|||
|
define( 'SYSTEM_DIR', ROOT_DIR . '/system' );
|
|||
|
|
|||
|
include SYSTEM_DIR . '/data/config.php';
|
|||
|
|
|||
|
require_once SYSTEM_DIR.'/classes/mysql.php';
|
|||
|
require_once SYSTEM_DIR.'/data/dbconfig.php';
|
|||
|
require_once SYSTEM_DIR . '/modules/functions.php';
|
|||
|
|
|||
|
|
|||
|
$content = <<<HTML
|
|||
|
<iframe id="_AddUpload" src="{$open_url}" frameborder="0" width="100%" height="220px"></iframe>
|
|||
|
<div class="highslide-footer"><div><span class="highslide-resize"><span></span></span></div></div>
|
|||
|
HTML;
|
|||
|
|
|||
|
@header( "Content-type: text/html; charset=" . $config['charset'] );
|
|||
|
@header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" );
|
|||
|
@header( "Last-Modified: " . gmdate( "D, d M Y H:i:s" ) . " GMT" );
|
|||
|
@header( "Cache-Control: no-store, no-cache, must-revalidate" );
|
|||
|
@header( "Cache-Control: post-check=0, pre-check=0", false );
|
|||
|
@header( "Pragma: no-cache" );
|
|||
|
|
|||
|
echo "<div id='upload_form' title='<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' style='display:none'>$content</div>";
|
|||
|
?>
|