Location: PHPKode > projects > PHP_CON - PHP Design Framework > PHP_CON_OS/exchange/exchangepost_success.php
<?PHP
	$rootpath=$_SERVER['DOCUMENT_ROOT'] . "/";
	include_once($rootpath . "common.php");


	$ttem->set_filenames(array("header"=>$rootpath."html_template/header.html"));
	$ttem->set_filenames(array("body"=>$rootpath."html_template/message.html"));
	if (NSession::check_login()==true)
	{
		$ttem->set_filenames(array("pageleft"=>$rootpath."html_template/left_logined.html"));
	}
	else
	{
		$ttem->set_filenames(array("pageleft"=>$rootpath."html_template/left_login.html"));
	}
	$ttem->set_filenames(array("footer"=>$rootpath."html_template/footer.html"));

	$ttem->assign_var("APP_ROOT", $webappcfg['APPPATH']);

	assignlang($ttem);

	if (isset($response))
	{
		if ($response['result'] == xml_true)
		{
			$ttem->assign_var("MESSAGE", $rb['SUCC_EXCHANGEPOST']);
		}
	}
	$ttem->assign_var("VAR_BACKPATH", "/PHP_CON/maincontroller.php?action=exchange_list");

	$ttem->assign_var_from_handle("PAGE_LEFT_MENU", "pageleft");

	$ttem->pparse("header");
	$ttem->pparse("body");
	$ttem->pparse("footer");
?>
Return current item: PHP_CON - PHP Design Framework