Location: PHPKode > projects > Warp.cms - php/mysql content management > warp_121/_index.php
<?php

// [flash detection module v.1.2.1] 
// xantis.warp.cms - version 1.2
// (c) 2002 xantis - all rights reserved
// this code is registered and protected by international copyrights laws


//####### Register Globals !

extract($HTTP_ENV_VARS);
extract($HTTP_GET_VARS);
extract($HTTP_POST_VARS);
extract($HTTP_COOKIE_VARS);
extract($HTTP_SERVER_VARS);

//#########################


$xnt_control_var = 'xnt2002warp.cms';
require("lib_adv.php");


//##################################################


function xflash_detect () {
//---------------------------------

global	$ybar_color, $ymain_color, $ybar_menu_color ;

global	$y_warp_fladet_title, $y_warp_fladet_msg_01, 
	$y_warp_fladet_msg_02, $y_warp_fladet_mfp_url,
	$warp_meta_keywords, $ywebsite_name ;


//---------------------------------


//---------------------------------------------------------page header
xheader ("$ywebsite_name".' - '."$warp_meta_keywords", '');
xcenter_start ();
xnewline ();
//---------------------------------------------------------END page header


xtable_start_sp ('450');
	xtable_row_start ();
		xtable_column_start ('1', '', "$ybar_color");
			xcenter_start ();
				xtext_title ("$y_warp_fladet_title");
			xcenter_end ();
		xtable_column_end ();
	xtable_row_end ();

	xtable_row_start ();
		xtable_column_start ('1', '', "$ymain_color");
			xtext_small ("$y_warp_fladet_msg_01");
		xtable_column_end ();
	xtable_row_end ();

	xtable_row_start ();
		xtable_column_start ('1', '', "$ybar_menu_color");
			xtext_link ("$y_warp_fladet_msg_02", "$y_warp_fladet_mfp_url", '_blank');
		xtable_column_end ();
	xtable_row_end ();

	xtable_row_start ();
		xtable_column_start ('1', '', "$ymain_color");
			xcenter_start ();
				//flash detector
				xwriteflash_nobg ("flash_det.swf", '320', '120');
			xcenter_end ();
		xtable_column_end ();
	xtable_row_end ();

xtable_end ();

xnewline ();


//bring focus
echo ( 
	"<script language=\"JavaScript\">\n".
	"window.focus('');\n".
	"</script>\n"
);


//---------------------------------------------------------page footer
xcenter_end ();
xfooter ();
//---------------------------------------------------------END page footer

} //END FUNCTION


//---------------------------------

xflash_detect ();

//---------------------------------

// end of php code
?>
Return current item: Warp.cms - php/mysql content management