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

// [intro menu - quick view 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);

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

$wsessid = rawurldecode($wsessid);
$ysecure = rawurldecode($ysec);
$ysecure = base64_decode ($ysecure);
if ($ysecure == 'imenu_ok') {
	$xnt_control_var = 'xnt2002warp.cms';
} //end if

if (empty($yfilename)) {
	$yfilename = 'qview.php';
} //end if

require("lib_adv.php");


function ximenu_qview_op () {


global	$yimenu_change_time;
global	$arr_var_result, $warp_title_fonts_start, $warp_fonts_end,
	$warp_normal_fonts_start, $ywebsite_addr, $y_warp_picts_dir ;
global	$wsessid ;


global	$yimenu_change_time;
global	$wsessid, $arr_var_result, $warp_title_fonts_start, $warp_fonts_end,
	$warp_normal_fonts_start, $ywebsite_addr, $y_warp_picts_dir ;



	//----------------------------------------------pause interval
	echo (
		"&xnt_paused=".
		rawurlencode("$yimenu_change_time")
	);
	//----------------------------------------------

	xmysql_read_data ("SELECT content FROM plugs_intro WHERE (active='y') ORDER BY id DESC");
	$arr_qview_res = array();
	$arr_qview_res = $arr_var_result;
	$arr_var_result = array();

	for ($i=0; $i<count($arr_qview_res); $i++) {
		$hlocal_flash_idx = $i ;
		eval (' '."\n".$arr_qview_res[$i]."\n".' ');

		//by file
		//---arr_text_i
		//---arr_link_i
		//---arr_icon_i

	} //end for

	//----------------------------------------------ok status
	echo (
		"&xcheck_load_controlvar=".
		rawurlencode("ok")
	);
	//----------------------------------------------


} //end function


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


if ($ysecure == 'imenu_ok') {
	ximenu_qview_op ();
} //end if


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