ComponentName = "lajstrom1";
$this->Visible = True;
$this->Parent = & $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Grid lajstrom1";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$this->DataSource = new clslajstrom1DataSource($this);
$this->ds = & $this->DataSource;
$this->PageSize = CCGetParam($this->ComponentName . "PageSize", "");
if(!is_numeric($this->PageSize) || !strlen($this->PageSize))
$this->PageSize = 20;
else
$this->PageSize = intval($this->PageSize);
if ($this->PageSize > 100)
$this->PageSize = 100;
if($this->PageSize == 0)
$this->Errors->addError("
Form: Grid " . $this->ComponentName . "
Error: (CCS06) Invalid page size.
");
$this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1));
if ($this->PageNumber <= 0) $this->PageNumber = 1;
$this->SorterName = CCGetParam("lajstrom1Order", "");
$this->SorterDirection = CCGetParam("lajstrom1Dir", "");
$this->LJ_BETU = new clsControl(ccsLabel, "LJ_BETU", "LJ_BETU", ccsText, "", CCGetRequestParam("LJ_BETU", ccsGet, NULL), $this);
$this->LJ_SZAM1 = new clsControl(ccsLink, "LJ_SZAM1", "LJ_SZAM1", ccsText, "", CCGetRequestParam("LJ_SZAM1", ccsGet, NULL), $this);
$this->LJ_SZAM1->Page = "lajstrom_maint.php";
$this->Geptipus = new clsControl(ccsLabel, "Geptipus", "Geptipus", ccsText, "", CCGetRequestParam("Geptipus", ccsGet, NULL), $this);
$this->Index1 = new clsControl(ccsLabel, "Index1", "Index1", ccsSingle, array(False, 2, Null, "", False, "", "", 1, True, ""), CCGetRequestParam("Index1", ccsGet, NULL), $this);
$this->Index2 = new clsControl(ccsLabel, "Index2", "Index2", ccsSingle, array(False, 2, Null, "", False, "", "", 1, True, ""), CCGetRequestParam("Index2", ccsGet, NULL), $this);
$this->Farokjel = new clsControl(ccsLabel, "Farokjel", "Farokjel", ccsText, "", CCGetRequestParam("Farokjel", ccsGet, NULL), $this);
$this->Darab = new clsControl(ccsLabel, "Darab", "Darab", ccsText, "", CCGetRequestParam("Darab", ccsGet, NULL), $this);
$this->Sorter_LJ_BETU = new clsSorter($this->ComponentName, "Sorter_LJ_BETU", $FileName, $this);
$this->Sorter_LJ_SZAM1 = new clsSorter($this->ComponentName, "Sorter_LJ_SZAM1", $FileName, $this);
$this->Sorter1 = new clsSorter($this->ComponentName, "Sorter1", $FileName, $this);
$this->ImageLink1 = new clsControl(ccsImageLink, "ImageLink1", "ImageLink1", ccsText, "", CCGetRequestParam("ImageLink1", ccsGet, NULL), $this);
$this->ImageLink1->Parameters = CCGetQueryString("QueryString", array("ccsForm"));
$this->ImageLink1->Page = "Menu.php";
$this->lajstrom_Insert = new clsControl(ccsLink, "lajstrom_Insert", "lajstrom_Insert", ccsText, "", CCGetRequestParam("lajstrom_Insert", ccsGet, NULL), $this);
$this->lajstrom_Insert->Parameters = CCGetQueryString("QueryString", array("ID", "ccsForm"));
$this->lajstrom_Insert->Page = "lajstrom_maint.php";
$this->Navigator = new clsNavigator($this->ComponentName, "Navigator", $FileName, 10, tpSimple, $this);
$this->Navigator->PageSizes = array("1", "5", "10", "25", "50");
$this->Sorter_Farokjel = new clsSorter($this->ComponentName, "Sorter_Farokjel", $FileName, $this);
}
//End Class_Initialize Event
//Initialize Method @63-90E704C5
function Initialize()
{
if(!$this->Visible) return;
$this->DataSource->PageSize = & $this->PageSize;
$this->DataSource->AbsolutePage = & $this->PageNumber;
$this->DataSource->SetOrder($this->SorterName, $this->SorterDirection);
}
//End Initialize Method
//Show Method @63-B872B101
function Show()
{
global $Tpl;
global $CCSLocales;
if(!$this->Visible) return;
$this->RowNumber = 0;
$this->DataSource->Parameters["urls_LJ_BETU"] = CCGetFromGet("s_LJ_BETU", NULL);
$this->DataSource->Parameters["urls_LJ_SZAM"] = CCGetFromGet("s_LJ_SZAM", NULL);
$this->DataSource->Parameters["urls_Farokjel"] = CCGetFromGet("s_Farokjel", NULL);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this);
$this->DataSource->Prepare();
$this->DataSource->Open();
$this->HasRecord = $this->DataSource->has_next_record();
$this->IsEmpty = ! $this->HasRecord;
$this->Attributes->Show();
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this);
if(!$this->Visible) return;
$GridBlock = "Grid " . $this->ComponentName;
$ParentPath = $Tpl->block_path;
$Tpl->block_path = $ParentPath . "/" . $GridBlock;
if (!$this->IsEmpty) {
$this->ControlsVisible["LJ_BETU"] = $this->LJ_BETU->Visible;
$this->ControlsVisible["LJ_SZAM1"] = $this->LJ_SZAM1->Visible;
$this->ControlsVisible["Geptipus"] = $this->Geptipus->Visible;
$this->ControlsVisible["Index1"] = $this->Index1->Visible;
$this->ControlsVisible["Index2"] = $this->Index2->Visible;
$this->ControlsVisible["Farokjel"] = $this->Farokjel->Visible;
while ($this->ForceIteration || (($this->RowNumber < $this->PageSize) && ($this->HasRecord = $this->DataSource->has_next_record()))) {
$this->RowNumber++;
if ($this->HasRecord) {
$this->DataSource->next_record();
$this->DataSource->SetValues();
}
$Tpl->block_path = $ParentPath . "/" . $GridBlock . "/Row";
$this->LJ_BETU->SetValue($this->DataSource->LJ_BETU->GetValue());
$this->LJ_SZAM1->SetValue($this->DataSource->LJ_SZAM1->GetValue());
$this->LJ_SZAM1->Parameters = CCGetQueryString("QueryString", array("ccsForm"));
$this->LJ_SZAM1->Parameters = CCAddParam($this->LJ_SZAM1->Parameters, "ID", $this->DataSource->f("ID"));
$this->Geptipus->SetValue($this->DataSource->Geptipus->GetValue());
$this->Index1->SetValue($this->DataSource->Index1->GetValue());
$this->Index2->SetValue($this->DataSource->Index2->GetValue());
$this->Farokjel->SetValue($this->DataSource->Farokjel->GetValue());
$this->Attributes->SetValue("rowNumber", $this->RowNumber);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShowRow", $this);
$this->Attributes->Show();
$this->LJ_BETU->Show();
$this->LJ_SZAM1->Show();
$this->Geptipus->Show();
$this->Index1->Show();
$this->Index2->Show();
$this->Farokjel->Show();
$Tpl->block_path = $ParentPath . "/" . $GridBlock;
$Tpl->parse("Row", true);
}
}
else { // Show NoRecords block if no records are found
$this->Attributes->Show();
$Tpl->parse("NoRecords", false);
}
$errors = $this->GetErrors();
if(strlen($errors))
{
$Tpl->replaceblock("", $errors);
$Tpl->block_path = $ParentPath;
return;
}
$this->Navigator->PageNumber = $this->DataSource->AbsolutePage;
$this->Navigator->PageSize = $this->PageSize;
if ($this->DataSource->RecordsCount == "CCS not counted")
$this->Navigator->TotalPages = $this->DataSource->AbsolutePage + ($this->DataSource->next_record() ? 1 : 0);
else
$this->Navigator->TotalPages = $this->DataSource->PageCount();
if ($this->Navigator->TotalPages <= 1) {
$this->Navigator->Visible = false;
}
$this->Darab->Show();
$this->Sorter_LJ_BETU->Show();
$this->Sorter_LJ_SZAM1->Show();
$this->Sorter1->Show();
$this->ImageLink1->Show();
$this->lajstrom_Insert->Show();
$this->Navigator->Show();
$this->Sorter_Farokjel->Show();
$Tpl->parse();
$Tpl->block_path = $ParentPath;
$this->DataSource->close();
}
//End Show Method
//GetErrors Method @63-6F862C20
function GetErrors()
{
$errors = "";
$errors = ComposeStrings($errors, $this->LJ_BETU->Errors->ToString());
$errors = ComposeStrings($errors, $this->LJ_SZAM1->Errors->ToString());
$errors = ComposeStrings($errors, $this->Geptipus->Errors->ToString());
$errors = ComposeStrings($errors, $this->Index1->Errors->ToString());
$errors = ComposeStrings($errors, $this->Index2->Errors->ToString());
$errors = ComposeStrings($errors, $this->Farokjel->Errors->ToString());
$errors = ComposeStrings($errors, $this->Errors->ToString());
$errors = ComposeStrings($errors, $this->DataSource->Errors->ToString());
return $errors;
}
//End GetErrors Method
} //End lajstrom1 Class @63-FCB6E20C
class clslajstrom1DataSource extends clsDBConnection1 { //lajstrom1DataSource Class @63-32C0DB00
//DataSource Variables @63-AD00A091
public $Parent = "";
public $CCSEvents = "";
public $CCSEventResult;
public $ErrorBlock;
public $CmdExecution;
public $CountSQL;
public $wp;
// Datasource fields
public $LJ_BETU;
public $LJ_SZAM1;
public $Geptipus;
public $Index1;
public $Index2;
public $Farokjel;
//End DataSource Variables
//DataSourceClass_Initialize Event @63-9129EB6E
function clslajstrom1DataSource(& $Parent)
{
$this->Parent = & $Parent;
$this->ErrorBlock = "Grid lajstrom1";
$this->Initialize();
$this->LJ_BETU = new clsField("LJ_BETU", ccsText, "");
$this->LJ_SZAM1 = new clsField("LJ_SZAM1", ccsText, "");
$this->Geptipus = new clsField("Geptipus", ccsText, "");
$this->Index1 = new clsField("Index1", ccsSingle, "");
$this->Index2 = new clsField("Index2", ccsSingle, "");
$this->Farokjel = new clsField("Farokjel", ccsText, "");
}
//End DataSourceClass_Initialize Event
//SetOrder Method @63-762FF123
function SetOrder($SorterName, $SorterDirection)
{
$this->Order = "";
$this->Order = CCGetOrder($this->Order, $SorterName, $SorterDirection,
array("Sorter_LJ_BETU" => array("LJ_BETU", ""),
"Sorter_LJ_SZAM1" => array("LJ_SZAM", ""),
"Sorter1" => array("GEPTIPUS", ""),
"Sorter_Farokjel" => array("Farokjel", "")));
}
//End SetOrder Method
//Prepare Method @63-D2BE6868
function Prepare()
{
global $CCSLocales;
global $DefaultDateFormat;
$this->wp = new clsSQLParameters($this->ErrorBlock);
$this->wp->AddParameter("1", "urls_LJ_BETU", ccsText, "", "", $this->Parameters["urls_LJ_BETU"], "", false);
$this->wp->AddParameter("2", "urls_LJ_SZAM", ccsText, "", "", $this->Parameters["urls_LJ_SZAM"], "", false);
$this->wp->AddParameter("3", "urls_Farokjel", ccsText, "", "", $this->Parameters["urls_Farokjel"], "", false);
$this->wp->Criterion[1] = $this->wp->Operation(opContains, "lajstrom.LJ_BETU", $this->wp->GetDBValue("1"), $this->ToSQL($this->wp->GetDBValue("1"), ccsText),false);
$this->wp->Criterion[2] = $this->wp->Operation(opContains, "lajstrom.LJ_SZAM", $this->wp->GetDBValue("2"), $this->ToSQL($this->wp->GetDBValue("2"), ccsText),false);
$this->wp->Criterion[3] = $this->wp->Operation(opContains, "lajstrom.Farokjel", $this->wp->GetDBValue("3"), $this->ToSQL($this->wp->GetDBValue("3"), ccsText),false);
$this->Where = $this->wp->opAND(
false, $this->wp->opAND(
false,
$this->wp->Criterion[1],
$this->wp->Criterion[2]),
$this->wp->Criterion[3]);
}
//End Prepare Method
//Open Method @63-69A9912A
function Open()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildSelect", $this->Parent);
$this->CountSQL = "SELECT COUNT(*)\n\n" .
"FROM lajstrom INNER JOIN tipus ON\n\n" .
"lajstrom.TipusID = tipus.ID";
$this->SQL = "SELECT lajstrom.ID, LJ_BETU, LJ_SZAM, GEPTIPUS, INDEX1, INDEX2, Farokjel \n\n" .
"FROM lajstrom INNER JOIN tipus ON\n\n" .
"lajstrom.TipusID = tipus.ID {SQL_Where} {SQL_OrderBy}";
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteSelect", $this->Parent);
if ($this->CountSQL)
$this->RecordsCount = CCGetDBValue(CCBuildSQL($this->CountSQL, $this->Where, ""), $this);
else
$this->RecordsCount = "CCS not counted";
$this->query($this->OptimizeSQL(CCBuildSQL($this->SQL, $this->Where, $this->Order)));
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteSelect", $this->Parent);
}
//End Open Method
//SetValues Method @63-0B2E9F77
function SetValues()
{
$this->LJ_BETU->SetDBValue($this->f("LJ_BETU"));
$this->LJ_SZAM1->SetDBValue($this->f("LJ_SZAM"));
$this->Geptipus->SetDBValue($this->f("GEPTIPUS"));
$this->Index1->SetDBValue(trim($this->f("INDEX1")));
$this->Index2->SetDBValue(trim($this->f("INDEX2")));
$this->Farokjel->SetDBValue($this->f("Farokjel"));
}
//End SetValues Method
} //End lajstrom1DataSource Class @63-FCB6E20C
class clsRecordlajstromSearch1 { //lajstromSearch1 Class @59-A8217522
//Variables @59-9E315808
// Public variables
public $ComponentType = "Record";
public $ComponentName;
public $Parent;
public $HTMLFormAction;
public $PressedButton;
public $Errors;
public $ErrorBlock;
public $FormSubmitted;
public $FormEnctype;
public $Visible;
public $IsEmpty;
public $CCSEvents = "";
public $CCSEventResult;
public $RelativePath = "";
public $InsertAllowed = false;
public $UpdateAllowed = false;
public $DeleteAllowed = false;
public $ReadAllowed = false;
public $EditMode = false;
public $ds;
public $DataSource;
public $ValidatingControls;
public $Controls;
public $Attributes;
// Class variables
//End Variables
//Class_Initialize Event @59-CD9F48E1
function clsRecordlajstromSearch1($RelativePath, & $Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent = & $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record lajstromSearch1/Error";
$this->ReadAllowed = true;
if($this->Visible)
{
$this->ComponentName = "lajstromSearch1";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if(sizeof($CCSForm) == 1)
$CCSForm[1] = "";
list($FormName, $FormMethod) = $CCSForm;
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = ($FormName == $this->ComponentName);
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->s_LJ_BETU = new clsControl(ccsTextBox, "s_LJ_BETU", "s_LJ_BETU", ccsText, "", CCGetRequestParam("s_LJ_BETU", $Method, NULL), $this);
$this->s_LJ_SZAM = new clsControl(ccsTextBox, "s_LJ_SZAM", "s_LJ_SZAM", ccsText, "", CCGetRequestParam("s_LJ_SZAM", $Method, NULL), $this);
$this->Button_DoSearch = new clsButton("Button_DoSearch", $Method, $this);
$this->s_Farokjel = new clsControl(ccsTextBox, "s_Farokjel", "s_Farokjel", ccsText, "", CCGetRequestParam("s_Farokjel", $Method, NULL), $this);
}
}
//End Class_Initialize Event
//Validate Method @59-8B65C9D7
function Validate()
{
global $CCSLocales;
$Validation = true;
$Where = "";
$Validation = ($this->s_LJ_BETU->Validate() && $Validation);
$Validation = ($this->s_LJ_SZAM->Validate() && $Validation);
$Validation = ($this->s_Farokjel->Validate() && $Validation);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnValidate", $this);
$Validation = $Validation && ($this->s_LJ_BETU->Errors->Count() == 0);
$Validation = $Validation && ($this->s_LJ_SZAM->Errors->Count() == 0);
$Validation = $Validation && ($this->s_Farokjel->Errors->Count() == 0);
return (($this->Errors->Count() == 0) && $Validation);
}
//End Validate Method
//CheckErrors Method @59-78DDA027
function CheckErrors()
{
$errors = false;
$errors = ($errors || $this->s_LJ_BETU->Errors->Count());
$errors = ($errors || $this->s_LJ_SZAM->Errors->Count());
$errors = ($errors || $this->s_Farokjel->Errors->Count());
$errors = ($errors || $this->Errors->Count());
return $errors;
}
//End CheckErrors Method
//MasterDetail @59-ED598703
function SetPrimaryKeys($keyArray)
{
$this->PrimaryKeys = $keyArray;
}
function GetPrimaryKeys()
{
return $this->PrimaryKeys;
}
function GetPrimaryKey($keyName)
{
return $this->PrimaryKeys[$keyName];
}
//End MasterDetail
//Operation Method @59-BBC2F39A
function Operation()
{
if(!$this->Visible)
return;
global $Redirect;
global $FileName;
if(!$this->FormSubmitted) {
return;
}
if($this->FormSubmitted) {
$this->PressedButton = "Button_DoSearch";
if($this->Button_DoSearch->Pressed) {
$this->PressedButton = "Button_DoSearch";
}
}
$Redirect = "lajstrom_list.php";
if($this->Validate()) {
if($this->PressedButton == "Button_DoSearch") {
$Redirect = "lajstrom_list.php" . "?" . CCMergeQueryStrings(CCGetQueryString("Form", array("Button_DoSearch", "Button_DoSearch_x", "Button_DoSearch_y")));
if(!CCGetEvent($this->Button_DoSearch->CCSEvents, "OnClick", $this->Button_DoSearch)) {
$Redirect = "";
}
}
} else {
$Redirect = "";
}
}
//End Operation Method
//Show Method @59-CA5BBB3C
function Show()
{
global $CCSUseAmp;
global $Tpl;
global $FileName;
global $CCSLocales;
$Error = "";
if(!$this->Visible)
return;
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this);
$RecordBlock = "Record " . $this->ComponentName;
$ParentPath = $Tpl->block_path;
$Tpl->block_path = $ParentPath . "/" . $RecordBlock;
$this->EditMode = $this->EditMode && $this->ReadAllowed;
if (!$this->FormSubmitted) {
}
if($this->FormSubmitted || $this->CheckErrors()) {
$Error = "";
$Error = ComposeStrings($Error, $this->s_LJ_BETU->Errors->ToString());
$Error = ComposeStrings($Error, $this->s_LJ_SZAM->Errors->ToString());
$Error = ComposeStrings($Error, $this->s_Farokjel->Errors->ToString());
$Error = ComposeStrings($Error, $this->Errors->ToString());
$Tpl->SetVar("Error", $Error);
$Tpl->Parse("Error", false);
}
$CCSForm = $this->EditMode ? $this->ComponentName . ":" . "Edit" : $this->ComponentName;
$this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $CCSForm);
$Tpl->SetVar("Action", !$CCSUseAmp ? $this->HTMLFormAction : str_replace("&", "&", $this->HTMLFormAction));
$Tpl->SetVar("HTMLFormName", $this->ComponentName);
$Tpl->SetVar("HTMLFormEnctype", $this->FormEnctype);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this);
$this->Attributes->Show();
if(!$this->Visible) {
$Tpl->block_path = $ParentPath;
return;
}
$this->s_LJ_BETU->Show();
$this->s_LJ_SZAM->Show();
$this->Button_DoSearch->Show();
$this->s_Farokjel->Show();
$Tpl->parse();
$Tpl->block_path = $ParentPath;
}
//End Show Method
} //End lajstromSearch1 Class @59-FCB6E20C
//Initialize Page @1-7FD67986
// Variables
$FileName = "";
$Redirect = "";
$Tpl = "";
$TemplateFileName = "";
$BlockToParse = "";
$ComponentName = "";
$Attributes = "";
// Events;
$CCSEvents = "";
$CCSEventResult = "";
$FileName = FileName;
$Redirect = "";
$TemplateFileName = "lajstrom_list.html";
$BlockToParse = "main";
$TemplateEncoding = "UTF-8";
$ContentType = "text/html";
$PathToRoot = "./";
$Charset = $Charset ? $Charset : "utf-8";
//End Initialize Page
//Include events file @1-E188FE0D
include_once("./lajstrom_list_events.php");
//End Include events file
//Before Initialize @1-E870CEBC
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeInitialize", $MainPage);
//End Before Initialize
//Initialize Objects @1-D9F5D4BA
$DBConnection1 = new clsDBConnection1();
$MainPage->Connections["Connection1"] = & $DBConnection1;
$Attributes = new clsAttributes("page:");
$MainPage->Attributes = & $Attributes;
// Controls
$lajstrom1 = new clsGridlajstrom1("", $MainPage);
$lajstromSearch1 = new clsRecordlajstromSearch1("", $MainPage);
$MainPage->lajstrom1 = & $lajstrom1;
$MainPage->lajstromSearch1 = & $lajstromSearch1;
$lajstrom1->Initialize();
BindEvents();
$CCSEventResult = CCGetEvent($CCSEvents, "AfterInitialize", $MainPage);
if ($Charset) {
header("Content-Type: " . $ContentType . "; charset=" . $Charset);
} else {
header("Content-Type: " . $ContentType);
}
//End Initialize Objects
//Initialize HTML Template @1-A06E9207
$CCSEventResult = CCGetEvent($CCSEvents, "OnInitializeView", $MainPage);
$Tpl = new clsTemplate($FileEncoding, $TemplateEncoding);
$Tpl->LoadTemplate(PathToCurrentPage . $TemplateFileName, $BlockToParse, "UTF-8", "replace");
$Tpl->block_path = "/$BlockToParse";
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeShow", $MainPage);
$Attributes->SetValue("pathToRoot", "");
$Attributes->Show();
//End Initialize HTML Template
//Execute Components @1-43B84B1A
$lajstromSearch1->Operation();
//End Execute Components
//Go to destination page @1-021EA2DF
if($Redirect)
{
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload", $MainPage);
$DBConnection1->close();
header("Location: " . $Redirect);
unset($lajstrom1);
unset($lajstromSearch1);
unset($Tpl);
exit;
}
//End Go to destination page
//Show Page @1-2D74E4A9
$lajstrom1->Show();
$lajstromSearch1->Show();
$Tpl->block_path = "";
$Tpl->Parse($BlockToParse, false);
if (!isset($main_block)) $main_block = $Tpl->GetVar($BlockToParse);
$LNPGTOH9A9L2L9T = "Generated with CodeCharge Studio.";
$main_block = CCConvertEncoding($main_block, $FileEncoding, $CCSLocales->GetFormatInfo("Encoding"));
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeOutput", $MainPage);
if ($CCSEventResult) echo $main_block;
//End Show Page
//Unload Page @1-0FD9B79A
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload", $MainPage);
$DBConnection1->close();
unset($lajstrom1);
unset($lajstromSearch1);
unset($Tpl);
//End Unload Page
?>