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

// [intro menu 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


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


if ($warp_module_var_check_auth != 'x99warpv12.cms') {
	$y_hlocalmodz_xdate = date("Y-m-d");
	$y_hlocalmodz_xtime = date("H:i:s");
	$wpmod_xdyech =	"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n".
			"<!--:: xantis.warp.cms :: Xantis Warp - Content Management Server - v.1.2 :: $y_hlocalmodz_xdate :: $y_hlocalmodz_xtime :: -->\n".
			"<html>\n".
			"<head>\n".
			"<title>! ! !</title>\n".
			"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\n".
			"</head>\n".
			"<body bgcolor=\"#FFFFFF\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n".
			"<br>\n".
			"<div align=\"center\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://active.macromedia.com/flash6/cabs/swflash.cab#version=6,0,0,0\" width=\"30\" height=\"30\">\n".
			"<param name=\"movie\" value=\"flagger.swf\">\n".
			"<param name=\"flashvars\" value=\"&xaction=err&\">\n".
			"<param name=\"quality\" value=\"high\">\n".
			"<param name=\"bgcolor\" value=\"#FFFFFF\">\n".
			"<param name=\"menu\" value=\"false\">\n".
			"<embed src=\"flagger.swf\" flashvars=\"&xaction=err&\" quality=\"high\" bgcolor=\"#FFFFFF\" width=\"30\" height=\"30\" menu=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>\n".
			"</object>\n".
			"</div>\n".
			"</body>\n".
			"</html>\n" ;
	die("$wpmod_xdyech");
} //end if


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


function imenu_module () {

global 	$yimenu_title, $ybar_menu_color, $ymain_color, $warp_intro_component_bg,
	$ywebsite_addr, $wpsid ;

global	$ydisplay_width_corrected;

global	$yimenu_supermov, $yimenu_supertime ;


$yimenu_supermov = trim($yimenu_supermov);
if (empty($yimenu_supermov)) {
	$yimenu_supermov = 'x';
} //end if

xshow_display_std_start ("$yimenu_title", "$ydisplay_width_corrected") ;
	xcenter_start ();

		xwriteflash_bg_var ("$ywebsite_addr"."xi_menu.swf",
		"&flash_form_backcolor=".rawurlencode("$warp_intro_component_bg").
		"&xsupermov=".rawurlencode("$yimenu_supermov").
		"&xsupertime=".rawurlencode("$yimenu_supertime").
		"&xurl=".rawurlencode("$ywebsite_addr"."qview.php").
		"&wsessid=".rawurlencode("$wpsid").
		"&"
		, '550', '200', "$ymain_color"); 


	xcenter_end ();
xshow_display_std_end ();

} //END FUNCTION


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

//imenu_module ();

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

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