Viewing file: kontakti_maint.php (24.5 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
//Include Common Files @1-5471E0F2
define("RelativePath", ".");
include(RelativePath . "/Common.php");
include(RelativePath . "/Template.php");
include(RelativePath . "/Sorter.php");
include(RelativePath . "/Navigator.php");
//End Include Common Files
//Include Page implementation @20-39DC296A
include_once("./Header.php");
//End Include Page implementation
Class clsRecordkontakti { //kontakti Class @2-B1DC0A0F
//Variables @2-D65AB00C
// Public variables
var $ComponentName;
var $HTMLFormAction;
var $PressedButton;
var $Errors;
var $FormSubmitted;
var $Visible;
var $Recordset;
var $CCSEvents = "";
var $CCSEventResult;
var $InsertAllowed;
var $UpdateAllowed;
var $DeleteAllowed;
var $ds;
var $EditMode;
var $ValidatingControls;
var $Controls;
// Class variables
//End Variables
//Class_Initialize Event @2-EDB1EC7B
function clsRecordkontakti()
{
global $FileName;
$this->Visible = true;
$this->Errors = new clsErrors();
$this->ds = new clskontaktiDataSource();
$this->InsertAllowed = true;
$this->UpdateAllowed = true;
$this->DeleteAllowed = true;
if($this->Visible)
{
$this->ComponentName = "kontakti";
$CCSForm = split(":", CCGetFromGet("ccsForm", ""), 2);
if(sizeof($CCSForm) == 1)
$CCSForm[1] = "";
list($FormName, $FormMethod) = $CCSForm;
$this->EditMode = ($FormMethod == "Edit");
$this->FormSubmitted = ($FormName == $this->ComponentName);
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->Ime = new clsControl(ccsTextBox, "Ime", "Ime", ccsText, "", CCGetRequestParam("Ime", $Method));
$this->Ime->Required = true;
$this->Prezime = new clsControl(ccsTextBox, "Prezime", "Prezime", ccsText, "", CCGetRequestParam("Prezime", $Method));
$this->Prezime->Required = true;
$this->Funkcija = new clsControl(ccsTextBox, "Funkcija", "Funkcija", ccsText, "", CCGetRequestParam("Funkcija", $Method));
$this->Kompanija = new clsControl(ccsTextBox, "Kompanija", "Kompanija", ccsText, "", CCGetRequestParam("Kompanija", $Method));
$this->Adresa = new clsControl(ccsTextArea, "Adresa", "Adresa", ccsMemo, "", CCGetRequestParam("Adresa", $Method));
$this->Telefon = new clsControl(ccsTextBox, "Telefon", "Telefon", ccsText, "", CCGetRequestParam("Telefon", $Method));
$this->Telefon->Required = true;
$this->Fax = new clsControl(ccsTextBox, "Fax", "Fax", ccsText, "", CCGetRequestParam("Fax", $Method));
$this->Mobilni = new clsControl(ccsTextBox, "Mobilni", "Mobilni", ccsText, "", CCGetRequestParam("Mobilni", $Method));
$this->Email = new clsControl(ccsTextArea, "Email", "Email", ccsMemo, "", CCGetRequestParam("Email", $Method));
$this->Web = new clsControl(ccsTextArea, "Web", "Web", ccsMemo, "", CCGetRequestParam("Web", $Method));
$this->Napomena = new clsControl(ccsTextArea, "Napomena", "Napomena", ccsMemo, "", CCGetRequestParam("Napomena", $Method));
$this->Unio = new clsControl(ccsTextArea, "Unio", "Unio", ccsMemo, "", CCGetRequestParam("Unio", $Method));
$this->Insert = new clsButton("Insert");
$this->Update = new clsButton("Update");
$this->Delete = new clsButton("Delete");
}
}
//End Class_Initialize Event
//Initialize Method @2-085B63B1
function Initialize()
{
if(!$this->Visible)
return;
$this->ds->Parameters["urlID"] = CCGetFromGet("ID", "");
}
//End Initialize Method
//Validate Method @2-C3C70EBE
function Validate()
{
$Validation = true;
$Where = "";
$Validation = ($this->Ime->Validate() && $Validation);
$Validation = ($this->Prezime->Validate() && $Validation);
$Validation = ($this->Funkcija->Validate() && $Validation);
$Validation = ($this->Kompanija->Validate() && $Validation);
$Validation = ($this->Adresa->Validate() && $Validation);
$Validation = ($this->Telefon->Validate() && $Validation);
$Validation = ($this->Fax->Validate() && $Validation);
$Validation = ($this->Mobilni->Validate() && $Validation);
$Validation = ($this->Email->Validate() && $Validation);
$Validation = ($this->Web->Validate() && $Validation);
$Validation = ($this->Napomena->Validate() && $Validation);
$Validation = ($this->Unio->Validate() && $Validation);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnValidate");
return (($this->Errors->Count() == 0) && $Validation);
}
//End Validate Method
//CheckErrors Method @2-3FF868BA
function CheckErrors()
{
$errors = false;
$errors = ($errors || $this->Ime->Errors->Count());
$errors = ($errors || $this->Prezime->Errors->Count());
$errors = ($errors || $this->Funkcija->Errors->Count());
$errors = ($errors || $this->Kompanija->Errors->Count());
$errors = ($errors || $this->Adresa->Errors->Count());
$errors = ($errors || $this->Telefon->Errors->Count());
$errors = ($errors || $this->Fax->Errors->Count());
$errors = ($errors || $this->Mobilni->Errors->Count());
$errors = ($errors || $this->Email->Errors->Count());
$errors = ($errors || $this->Web->Errors->Count());
$errors = ($errors || $this->Napomena->Errors->Count());
$errors = ($errors || $this->Unio->Errors->Count());
$errors = ($errors || $this->Errors->Count());
$errors = ($errors || $this->ds->Errors->Count());
return $errors;
}
//End CheckErrors Method
//Operation Method @2-D1689FBE
function Operation()
{
if(!$this->Visible)
return;
global $Redirect;
global $FileName;
$this->ds->Prepare();
$this->EditMode = $this->ds->AllParametersSet;
if(!$this->FormSubmitted)
return;
if($this->FormSubmitted) {
$this->PressedButton = $this->EditMode ? "Update" : "Insert";
if(strlen(CCGetParam("Insert", ""))) {
$this->PressedButton = "Insert";
} else if(strlen(CCGetParam("Update", ""))) {
$this->PressedButton = "Update";
} else if(strlen(CCGetParam("Delete", ""))) {
$this->PressedButton = "Delete";
}
}
$Redirect = "kontakti_list.php?" . CCGetQueryString("QueryString", Array("ccsForm", "Insert", "Update", "Delete"));
if($this->PressedButton == "Delete") {
if(!CCGetEvent($this->Delete->CCSEvents, "OnClick") || !$this->DeleteRow()) {
$Redirect = "";
}
} else if($this->Validate()) {
if($this->PressedButton == "Insert") {
if(!CCGetEvent($this->Insert->CCSEvents, "OnClick") || !$this->InsertRow()) {
$Redirect = "";
}
} else if($this->PressedButton == "Update") {
if(!CCGetEvent($this->Update->CCSEvents, "OnClick") || !$this->UpdateRow()) {
$Redirect = "";
}
}
} else {
$Redirect = "";
}
}
//End Operation Method
//InsertRow Method @2-7F1CD1E8
function InsertRow()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeInsert");
if(!$this->InsertAllowed) return false;
$this->ds->Ime->SetValue($this->Ime->GetValue());
$this->ds->Prezime->SetValue($this->Prezime->GetValue());
$this->ds->Funkcija->SetValue($this->Funkcija->GetValue());
$this->ds->Kompanija->SetValue($this->Kompanija->GetValue());
$this->ds->Adresa->SetValue($this->Adresa->GetValue());
$this->ds->Telefon->SetValue($this->Telefon->GetValue());
$this->ds->Fax->SetValue($this->Fax->GetValue());
$this->ds->Mobilni->SetValue($this->Mobilni->GetValue());
$this->ds->Email->SetValue($this->Email->GetValue());
$this->ds->Web->SetValue($this->Web->GetValue());
$this->ds->Napomena->SetValue($this->Napomena->GetValue());
$this->ds->Unio->SetValue($this->Unio->GetValue());
$this->ds->Insert();
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterInsert");
if($this->ds->Errors->Count() > 0)
{
echo "Error in Record " . $this->ComponentName . " / Insert Operation";
$this->ds->Errors->Clear();
$this->Errors->AddError("Database command error.");
}
return ($this->Errors->Count() == 0);
}
//End InsertRow Method
//UpdateRow Method @2-82960521
function UpdateRow()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeUpdate");
if(!$this->UpdateAllowed) return false;
$this->ds->Ime->SetValue($this->Ime->GetValue());
$this->ds->Prezime->SetValue($this->Prezime->GetValue());
$this->ds->Funkcija->SetValue($this->Funkcija->GetValue());
$this->ds->Kompanija->SetValue($this->Kompanija->GetValue());
$this->ds->Adresa->SetValue($this->Adresa->GetValue());
$this->ds->Telefon->SetValue($this->Telefon->GetValue());
$this->ds->Fax->SetValue($this->Fax->GetValue());
$this->ds->Mobilni->SetValue($this->Mobilni->GetValue());
$this->ds->Email->SetValue($this->Email->GetValue());
$this->ds->Web->SetValue($this->Web->GetValue());
$this->ds->Napomena->SetValue($this->Napomena->GetValue());
$this->ds->Unio->SetValue($this->Unio->GetValue());
$this->ds->Update();
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterUpdate");
if($this->ds->Errors->Count() > 0)
{
echo "Error in Record " . $this->ComponentName . " / Update Operation";
$this->ds->Errors->Clear();
$this->Errors->AddError("Database command error.");
}
return ($this->Errors->Count() == 0);
}
//End UpdateRow Method
//DeleteRow Method @2-6A43D177
function DeleteRow()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeDelete");
if(!$this->DeleteAllowed) return false;
$this->ds->Delete();
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterDelete");
if($this->ds->Errors->Count())
{
echo "Error in Record " . ComponentName . " / Delete Operation";
$this->ds->Errors->Clear();
$this->Errors->AddError("Database command error.");
}
return ($this->Errors->Count() == 0);
}
//End DeleteRow Method
//Show Method @2-1DE8B50B
function Show()
{
global $Tpl;
global $FileName;
$Error = "";
if(!$this->Visible)
return;
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect");
$this->ds->open();
$RecordBlock = "Record " . $this->ComponentName;
$ParentPath = $Tpl->block_path;
$Tpl->block_path = $ParentPath . "/" . $RecordBlock;
if($this->EditMode)
{
if($this->Errors->Count() == 0)
{
if($this->ds->Errors->Count() > 0)
{
echo "Error in Record kontakti";
}
else if($this->ds->next_record())
{
$this->ds->SetValues();
if(!$this->FormSubmitted)
{
$this->Ime->SetValue($this->ds->Ime->GetValue());
$this->Prezime->SetValue($this->ds->Prezime->GetValue());
$this->Funkcija->SetValue($this->ds->Funkcija->GetValue());
$this->Kompanija->SetValue($this->ds->Kompanija->GetValue());
$this->Adresa->SetValue($this->ds->Adresa->GetValue());
$this->Telefon->SetValue($this->ds->Telefon->GetValue());
$this->Fax->SetValue($this->ds->Fax->GetValue());
$this->Mobilni->SetValue($this->ds->Mobilni->GetValue());
$this->Email->SetValue($this->ds->Email->GetValue());
$this->Web->SetValue($this->ds->Web->GetValue());
$this->Napomena->SetValue($this->ds->Napomena->GetValue());
$this->Unio->SetValue($this->ds->Unio->GetValue());
}
}
else
{
$this->EditMode = false;
}
}
}
if(!$this->FormSubmitted)
{
}
if($this->FormSubmitted || $this->CheckErrors()) {
$Error .= $this->Ime->Errors->ToString();
$Error .= $this->Prezime->Errors->ToString();
$Error .= $this->Funkcija->Errors->ToString();
$Error .= $this->Kompanija->Errors->ToString();
$Error .= $this->Adresa->Errors->ToString();
$Error .= $this->Telefon->Errors->ToString();
$Error .= $this->Fax->Errors->ToString();
$Error .= $this->Mobilni->Errors->ToString();
$Error .= $this->Email->Errors->ToString();
$Error .= $this->Web->Errors->ToString();
$Error .= $this->Napomena->Errors->ToString();
$Error .= $this->Unio->Errors->ToString();
$Error .= $this->Errors->ToString();
$Error .= $this->ds->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", $this->HTMLFormAction);
$Tpl->SetVar("HTMLFormName", $this->ComponentName);
$this->Insert->Visible = !$this->EditMode;
$this->Update->Visible = $this->EditMode;
$this->Delete->Visible = $this->EditMode;
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow");
if(!$this->Visible) {
$Tpl->block_path = $ParentPath;
return;
}
$this->Ime->Show();
$this->Prezime->Show();
$this->Funkcija->Show();
$this->Kompanija->Show();
$this->Adresa->Show();
$this->Telefon->Show();
$this->Fax->Show();
$this->Mobilni->Show();
$this->Email->Show();
$this->Web->Show();
$this->Napomena->Show();
$this->Unio->Show();
$this->Insert->Show();
$this->Update->Show();
$this->Delete->Show();
$Tpl->parse();
$Tpl->block_path = $ParentPath;
$this->ds->close();
}
//End Show Method
} //End kontakti Class @2-FCB6E20C
class clskontaktiDataSource extends clsDBConnection1 { //kontaktiDataSource Class @2-1BD7B0C0
//DataSource Variables @2-DCDDFCF7
var $CCSEvents = "";
var $CCSEventResult;
var $ErrorBlock;
var $InsertParameters;
var $UpdateParameters;
var $DeleteParameters;
var $wp;
var $AllParametersSet;
// Datasource fields
var $Ime;
var $Prezime;
var $Funkcija;
var $Kompanija;
var $Adresa;
var $Telefon;
var $Fax;
var $Mobilni;
var $Email;
var $Web;
var $Napomena;
var $Unio;
//End DataSource Variables
//Class_Initialize Event @2-0EA22632
function clskontaktiDataSource()
{
$this->ErrorBlock = "Record kontakti/Error";
$this->Initialize();
$this->Ime = new clsField("Ime", ccsText, "");
$this->Prezime = new clsField("Prezime", ccsText, "");
$this->Funkcija = new clsField("Funkcija", ccsText, "");
$this->Kompanija = new clsField("Kompanija", ccsText, "");
$this->Adresa = new clsField("Adresa", ccsMemo, "");
$this->Telefon = new clsField("Telefon", ccsText, "");
$this->Fax = new clsField("Fax", ccsText, "");
$this->Mobilni = new clsField("Mobilni", ccsText, "");
$this->Email = new clsField("Email", ccsMemo, "");
$this->Web = new clsField("Web", ccsMemo, "");
$this->Napomena = new clsField("Napomena", ccsMemo, "");
$this->Unio = new clsField("Unio", ccsMemo, "");
}
//End Class_Initialize Event
//Prepare Method @2-66AAC018
function Prepare()
{
$this->wp = new clsSQLParameters($this->ErrorBlock);
$this->wp->AddParameter("1", "urlID", ccsInteger, "", "", $this->Parameters["urlID"], "");
$this->AllParametersSet = $this->wp->AllParamsSet();
$this->wp->Criterion[1] = $this->wp->Operation(opEqual, "ID", $this->wp->GetDBValue("1"), $this->ToSQL($this->wp->GetDBValue("1"), ccsInteger));
$this->Where = $this->wp->Criterion[1];
}
//End Prepare Method
//Open Method @2-FD90E80C
function Open()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildSelect");
$this->SQL = "SELECT * " .
"FROM kontakti";
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteSelect");
$this->query(CCBuildSQL($this->SQL, $this->Where, $this->Order));
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteSelect");
$this->MoveToPage($this->AbsolutePage);
}
//End Open Method
//SetValues Method @2-3A3D6352
function SetValues()
{
$this->Ime->SetDBValue($this->f("Ime"));
$this->Prezime->SetDBValue($this->f("Prezime"));
$this->Funkcija->SetDBValue($this->f("Funkcija"));
$this->Kompanija->SetDBValue($this->f("Kompanija"));
$this->Adresa->SetDBValue($this->f("Adresa"));
$this->Telefon->SetDBValue($this->f("Telefon"));
$this->Fax->SetDBValue($this->f("Fax"));
$this->Mobilni->SetDBValue($this->f("Mobilni"));
$this->Email->SetDBValue($this->f("Email"));
$this->Web->SetDBValue($this->f("Web"));
$this->Napomena->SetDBValue($this->f("Napomena"));
$this->Unio->SetDBValue($this->f("Unio"));
}
//End SetValues Method
//Insert Method @2-C225DEE3
function Insert()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildInsert");
$this->SQL = "INSERT INTO kontakti ("
. "Ime, "
. "Prezime, "
. "Funkcija, "
. "Kompanija, "
. "Adresa, "
. "Telefon, "
. "Fax, "
. "Mobilni, "
. "Email, "
. "Web, "
. "Napomena, "
. "Unio"
. ") VALUES ("
. $this->ToSQL($this->Ime->GetDBValue(), $this->Ime->DataType) . ", "
. $this->ToSQL($this->Prezime->GetDBValue(), $this->Prezime->DataType) . ", "
. $this->ToSQL($this->Funkcija->GetDBValue(), $this->Funkcija->DataType) . ", "
. $this->ToSQL($this->Kompanija->GetDBValue(), $this->Kompanija->DataType) . ", "
. $this->ToSQL($this->Adresa->GetDBValue(), $this->Adresa->DataType) . ", "
. $this->ToSQL($this->Telefon->GetDBValue(), $this->Telefon->DataType) . ", "
. $this->ToSQL($this->Fax->GetDBValue(), $this->Fax->DataType) . ", "
. $this->ToSQL($this->Mobilni->GetDBValue(), $this->Mobilni->DataType) . ", "
. $this->ToSQL($this->Email->GetDBValue(), $this->Email->DataType) . ", "
. $this->ToSQL($this->Web->GetDBValue(), $this->Web->DataType) . ", "
. $this->ToSQL($this->Napomena->GetDBValue(), $this->Napomena->DataType) . ", "
. $this->ToSQL($this->Unio->GetDBValue(), $this->Unio->DataType)
. ")";
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteInsert");
$this->query($this->SQL);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteInsert");
if($this->Errors->Count() > 0)
$this->Errors->AddError($this->Errors->ToString());
$this->close();
}
//End Insert Method
//Update Method @2-355C6645
function Update()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildUpdate");
$this->SQL = "UPDATE kontakti SET "
. "Ime=" . $this->ToSQL($this->Ime->GetDBValue(), $this->Ime->DataType) . ", "
. "Prezime=" . $this->ToSQL($this->Prezime->GetDBValue(), $this->Prezime->DataType) . ", "
. "Funkcija=" . $this->ToSQL($this->Funkcija->GetDBValue(), $this->Funkcija->DataType) . ", "
. "Kompanija=" . $this->ToSQL($this->Kompanija->GetDBValue(), $this->Kompanija->DataType) . ", "
. "Adresa=" . $this->ToSQL($this->Adresa->GetDBValue(), $this->Adresa->DataType) . ", "
. "Telefon=" . $this->ToSQL($this->Telefon->GetDBValue(), $this->Telefon->DataType) . ", "
. "Fax=" . $this->ToSQL($this->Fax->GetDBValue(), $this->Fax->DataType) . ", "
. "Mobilni=" . $this->ToSQL($this->Mobilni->GetDBValue(), $this->Mobilni->DataType) . ", "
. "Email=" . $this->ToSQL($this->Email->GetDBValue(), $this->Email->DataType) . ", "
. "Web=" . $this->ToSQL($this->Web->GetDBValue(), $this->Web->DataType) . ", "
. "Napomena=" . $this->ToSQL($this->Napomena->GetDBValue(), $this->Napomena->DataType) . ", "
. "Unio=" . $this->ToSQL($this->Unio->GetDBValue(), $this->Unio->DataType);
$this->SQL = CCBuildSQL($this->SQL, $this->Where, "");
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteUpdate");
$this->query($this->SQL);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteUpdate");
if($this->Errors->Count() > 0)
$this->Errors->AddError($this->Errors->ToString());
$this->close();
}
//End Update Method
//Delete Method @2-5A4FF1CB
function Delete()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildDelete");
$this->SQL = "DELETE FROM kontakti WHERE " . $this->Where;
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteDelete");
$this->query($this->SQL);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteDelete");
if($this->Errors->Count() > 0)
$this->Errors->AddError($this->Errors->ToString());
$this->close();
}
//End Delete Method
} //End kontaktiDataSource Class @2-FCB6E20C
//Include Page implementation @21-5CD56755
include_once("./Footer.php");
//End Include Page implementation
//Initialize Page @1-E69782AC
// Variables
$FileName = "";
$Redirect = "";
$Tpl = "";
$TemplateFileName = "";
$BlockToParse = "";
$ComponentName = "";
// Events;
$CCSEvents = "";
$CCSEventResult = "";
$FileName = "kontakti_maint.php";
$Redirect = "";
$TemplateFileName = "kontakti_maint.html";
$BlockToParse = "main";
$PathToRoot = "./";
//End Initialize Page
//Initialize Objects @1-3106EBF9
$DBConnection1 = new clsDBConnection1();
// Controls
$Header = new clsHeader();
$Header->BindEvents();
$Header->TemplatePath = "./";
$Header->Initialize();
$kontakti = new clsRecordkontakti();
$Footer = new clsFooter();
$Footer->BindEvents();
$Footer->TemplatePath = "./";
$Footer->Initialize();
$kontakti->Initialize();
$CCSEventResult = CCGetEvent($CCSEvents, "AfterInitialize");
//End Initialize Objects
//Initialize HTML Template @1-A0111C9D
$CCSEventResult = CCGetEvent($CCSEvents, "OnInitializeView");
$Tpl = new clsTemplate();
$Tpl->LoadTemplate(TemplatePath . $TemplateFileName, "main");
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeShow");
//End Initialize HTML Template
//Execute Components @1-789A00FA
$Header->Operations();
$kontakti->Operation();
$Footer->Operations();
//End Execute Components
//Go to destination page @1-BEB91355
if($Redirect)
{
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload");
header("Location: " . $Redirect);
exit;
}
//End Go to destination page
//Show Page @1-6152BB62
$Footer->Show("Footer");
$kontakti->Show();
$Header->Show("Header");
$Tpl->PParse("main", false);
//End Show Page
//Unload Page @1-AB7622EF
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload");
unset($Tpl);
//End Unload Page
?>
|