Example #1
0
// Copyright: net4visions.com
// License: LGPL - see license.txt
// (c)2005 All rights reserved.
// ================================================
// Revision: 1.0                   Date: 06/04/2005
// ================================================
//-------------------------------------------------------------------------
// include configuration settings
include '../../config/config.inc.php';
include '../../langs/lang.class.php';
//-------------------------------------------------------------------------
// language settings
if (isset($_REQUEST['lang'])) {
    $l = new PLUG_Lang(@$_REQUEST['lang']);
} else {
    $l = new PLUG_Lang($cfg['lang']);
    // default language (en)
}
$l->setBlock('examples');
?>
<!-- do not delete this line - it's need for proper working of the resizeDialogToContent() function -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php 
echo $l->m('ex_001');
?>
</title>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo $l->getCharset();
Example #2
0
// License: LGPL - see license.txt
// (c)2005 All rights reserved.
// ================================================
// Revision: 1.0                   Date: 06/04/2005
// ================================================

	//-------------------------------------------------------------------------
	// include configuration settings
	include '../../config/config.inc.php';
	include '../../langs/lang.class.php';	
	//-------------------------------------------------------------------------
	// language settings	
	if (isset($_REQUEST['lang'])) { 
		$l = new PLUG_Lang(@$_REQUEST['lang']);
	} else {
		$l = new PLUG_Lang($cfg['lang']); // default language (en)
	}
	$l->setBlock('examples');	
?>
<!-- do not delete this line - it's need for proper working of the resizeDialogToContent() function -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $l->m('ex_001'); ?></title>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $l->getCharset(); ?>">
<style type="text/css">
<!--
@import url("../../css/style.css");
-->
</style>