ComponentName = "klub_lajstrom_repules_spo";
$this->Visible = True;
$this->Parent = & $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Grid klub_lajstrom_repules_spo";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$this->DataSource = new clsklub_lajstrom_repules_spoDataSource($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("klub_lajstrom_repules_spoOrder", "");
$this->SorterDirection = CCGetParam("klub_lajstrom_repules_spoDir", "");
$this->NEV = new clsControl(ccsLink, "NEV", "NEV", ccsText, "", CCGetRequestParam("NEV", ccsGet, NULL), $this);
$this->NEV->Page = "repules_maint.php";
$this->MRSZ_SZAM = new clsControl(ccsLink, "MRSZ_SZAM", "MRSZ_SZAM", ccsInteger, "", CCGetRequestParam("MRSZ_SZAM", ccsGet, NULL), $this);
$this->MRSZ_SZAM->Page = "repules_maint2.php";
$this->KLUB_ROV = new clsControl(ccsLabel, "KLUB_ROV", "KLUB_ROV", ccsText, "", CCGetRequestParam("KLUB_ROV", ccsGet, NULL), $this);
$this->Sorszam = new clsControl(ccsLabel, "Sorszam", "Sorszam", ccsInteger, "", CCGetRequestParam("Sorszam", ccsGet, NULL), $this);
$this->LJ_SZAM = new clsControl(ccsLabel, "LJ_SZAM", "LJ_SZAM", ccsText, "", CCGetRequestParam("LJ_SZAM", ccsGet, NULL), $this);
$this->GEPTIPUS = new clsControl(ccsLabel, "GEPTIPUS", "GEPTIPUS", ccsText, "", CCGetRequestParam("GEPTIPUS", ccsGet, NULL), $this);
$this->TipusIndex = new clsControl(ccsLabel, "TipusIndex", "TipusIndex", ccsSingle, array(False, 2, Null, "", False, "", "", 1, True, ""), CCGetRequestParam("TipusIndex", ccsGet, NULL), $this);
$this->CELSZAB = new clsControl(ccsLabel, "CELSZAB", "CELSZAB", ccsText, "", CCGetRequestParam("CELSZAB", ccsGet, NULL), $this);
$this->DATUM = new clsControl(ccsLabel, "DATUM", "DATUM", ccsText, "", CCGetRequestParam("DATUM", ccsGet, NULL), $this);
$this->TAVHOSSZ = new clsControl(ccsLabel, "TAVHOSSZ", "TAVHOSSZ", ccsFloat, array(False, 1, Null, "", False, "", "", 1, True, ""), CCGetRequestParam("TAVHOSSZ", ccsGet, NULL), $this);
$this->SEBESSEG = new clsControl(ccsLabel, "SEBESSEG", "SEBESSEG", ccsFloat, array(False, 2, Null, "", False, "", "", 1, True, ""), CCGetRequestParam("SEBESSEG", ccsGet, NULL), $this);
$this->repules_OSSZPONT = new clsControl(ccsLabel, "repules_OSSZPONT", "repules_OSSZPONT", ccsFloat, array(False, 0, Null, "", False, "", "", 1, True, ""), CCGetRequestParam("repules_OSSZPONT", ccsGet, NULL), $this);
$this->LoggerFileNeve = new clsControl(ccsLabel, "LoggerFileNeve", "LoggerFileNeve", ccsText, "", CCGetRequestParam("LoggerFileNeve", ccsGet, NULL), $this);
$this->TaskoltFileNeve = new clsControl(ccsLabel, "TaskoltFileNeve", "TaskoltFileNeve", ccsText, "", CCGetRequestParam("TaskoltFileNeve", ccsGet, NULL), $this);
$this->Status = new clsControl(ccsLabel, "Status", "Status", ccsText, "", CCGetRequestParam("Status", ccsGet, NULL), $this);
$this->InsertDate = new clsControl(ccsLabel, "InsertDate", "InsertDate", ccsText, "", CCGetRequestParam("InsertDate", ccsGet, NULL), $this);
$this->IandO = new clsControl(ccsLabel, "IandO", "IandO", ccsText, "", CCGetRequestParam("IandO", ccsGet, NULL), $this);
$this->Label1 = new clsControl(ccsLabel, "Label1", "Label1", ccsText, "", CCGetRequestParam("Label1", ccsGet, NULL), $this);
$this->Sorter_NEV = new clsSorter($this->ComponentName, "Sorter_NEV", $FileName, $this);
$this->Sorter_MRSZ_SZAM = new clsSorter($this->ComponentName, "Sorter_MRSZ_SZAM", $FileName, $this);
$this->Sorter_KLUB_ROV = new clsSorter($this->ComponentName, "Sorter_KLUB_ROV", $FileName, $this);
$this->Sorter_Sorszam = new clsSorter($this->ComponentName, "Sorter_Sorszam", $FileName, $this);
$this->Sorter_LJ_SZAM = new clsSorter($this->ComponentName, "Sorter_LJ_SZAM", $FileName, $this);
$this->Sorter_GEPTIPUS = new clsSorter($this->ComponentName, "Sorter_GEPTIPUS", $FileName, $this);
$this->Sorter_DATUM = new clsSorter($this->ComponentName, "Sorter_DATUM", $FileName, $this);
$this->Sorter_TAVHOSSZ = new clsSorter($this->ComponentName, "Sorter_TAVHOSSZ", $FileName, $this);
$this->Sorter_SEBESSEG = new clsSorter($this->ComponentName, "Sorter_SEBESSEG", $FileName, $this);
$this->Sorter_repules_OSSZPONT = new clsSorter($this->ComponentName, "Sorter_repules_OSSZPONT", $FileName, $this);
$this->Sorter_Status = new clsSorter($this->ComponentName, "Sorter_Status", $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 = "repules_maint.php";
$this->Navigator = new clsNavigator($this->ComponentName, "Navigator", $FileName, 10, tpSimple, $this);
$this->Navigator->PageSizes = array("1", "5", "10", "25", "50");
$this->Sorter1 = new clsSorter($this->ComponentName, "Sorter1", $FileName, $this);
}
//End Class_Initialize Event
//Initialize Method @97-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 @97-6B482E06
function Show()
{
global $Tpl;
global $CCSLocales;
if(!$this->Visible) return;
$this->RowNumber = 0;
$this->DataSource->Parameters["urls_ID"] = CCGetFromGet("s_ID", NULL);
$this->DataSource->Parameters["urls_Sorszam"] = CCGetFromGet("s_Sorszam", NULL);
$this->DataSource->Parameters["urls_SportoloID"] = CCGetFromGet("s_SportoloID", NULL);
$this->DataSource->Parameters["urls_SportoloKlub_azon"] = CCGetFromGet("s_SportoloKlub_azon", NULL);
$this->DataSource->Parameters["urls_LajstromID"] = CCGetFromGet("s_LajstromID", NULL);
$this->DataSource->Parameters["urls_TipusIndex"] = CCGetFromGet("s_TipusIndex", NULL);
$this->DataSource->Parameters["urls_CELSZAB"] = CCGetFromGet("s_CELSZAB", NULL);
$this->DataSource->Parameters["urls_DATUM"] = CCGetFromGet("s_DATUM", NULL);
$this->DataSource->Parameters["urls_TAVHOSSZ"] = CCGetFromGet("s_TAVHOSSZ", NULL);
$this->DataSource->Parameters["urls_INDULAS"] = CCGetFromGet("s_INDULAS", NULL);
$this->DataSource->Parameters["urls_ERKEZES"] = CCGetFromGet("s_ERKEZES", NULL);
$this->DataSource->Parameters["urls_SEBESSEG"] = CCGetFromGet("s_SEBESSEG", NULL);
$this->DataSource->Parameters["urls_PONT"] = CCGetFromGet("s_PONT", NULL);
$this->DataSource->Parameters["urls_BuntetesID"] = CCGetFromGet("s_BuntetesID", NULL);
$this->DataSource->Parameters["urls_OSSZPONT"] = CCGetFromGet("s_OSSZPONT", NULL);
$this->DataSource->Parameters["urls_LoggerFileNeve"] = CCGetFromGet("s_LoggerFileNeve", NULL);
$this->DataSource->Parameters["urls_TaskoltFileNeve"] = CCGetFromGet("s_TaskoltFileNeve", NULL);
$this->DataSource->Parameters["urls_Megjegyzes"] = CCGetFromGet("s_Megjegyzes", NULL);
$this->DataSource->Parameters["urls_TimeStampInsert"] = CCGetFromGet("s_TimeStampInsert", NULL);
$this->DataSource->Parameters["urls_Insert_User_ID"] = CCGetFromGet("s_Insert_User_ID", NULL);
$this->DataSource->Parameters["urls_TimeStampUpdate"] = CCGetFromGet("s_TimeStampUpdate", NULL);
$this->DataSource->Parameters["urls_Update_User_ID"] = CCGetFromGet("s_Update_User_ID", NULL);
$this->DataSource->Parameters["urls_Status"] = CCGetFromGet("s_Status", NULL);
$this->DataSource->Parameters["urls_IandO"] = CCGetFromGet("s_IandO", NULL);
$this->DataSource->Parameters["urlMRSZ_SZAM"] = CCGetFromGet("MRSZ_SZAM", 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["NEV"] = $this->NEV->Visible;
$this->ControlsVisible["MRSZ_SZAM"] = $this->MRSZ_SZAM->Visible;
$this->ControlsVisible["KLUB_ROV"] = $this->KLUB_ROV->Visible;
$this->ControlsVisible["Sorszam"] = $this->Sorszam->Visible;
$this->ControlsVisible["LJ_SZAM"] = $this->LJ_SZAM->Visible;
$this->ControlsVisible["GEPTIPUS"] = $this->GEPTIPUS->Visible;
$this->ControlsVisible["TipusIndex"] = $this->TipusIndex->Visible;
$this->ControlsVisible["CELSZAB"] = $this->CELSZAB->Visible;
$this->ControlsVisible["DATUM"] = $this->DATUM->Visible;
$this->ControlsVisible["TAVHOSSZ"] = $this->TAVHOSSZ->Visible;
$this->ControlsVisible["SEBESSEG"] = $this->SEBESSEG->Visible;
$this->ControlsVisible["repules_OSSZPONT"] = $this->repules_OSSZPONT->Visible;
$this->ControlsVisible["LoggerFileNeve"] = $this->LoggerFileNeve->Visible;
$this->ControlsVisible["TaskoltFileNeve"] = $this->TaskoltFileNeve->Visible;
$this->ControlsVisible["Status"] = $this->Status->Visible;
$this->ControlsVisible["InsertDate"] = $this->InsertDate->Visible;
$this->ControlsVisible["IandO"] = $this->IandO->Visible;
while ($this->ForceIteration || (($this->RowNumber < $this->PageSize) && ($this->HasRecord = $this->DataSource->has_next_record()))) {
// Parse Separator
if($this->RowNumber) {
$this->Attributes->Show();
$Tpl->parseto("Separator", true, "Row");
}
$this->RowNumber++;
if ($this->HasRecord) {
$this->DataSource->next_record();
$this->DataSource->SetValues();
}
$Tpl->block_path = $ParentPath . "/" . $GridBlock . "/Row";
$this->NEV->SetValue($this->DataSource->NEV->GetValue());
$this->NEV->Parameters = CCGetQueryString("QueryString", array("ccsForm"));
$this->NEV->Parameters = CCAddParam($this->NEV->Parameters, "ID", $this->DataSource->f("repules_ID"));
$this->MRSZ_SZAM->SetValue($this->DataSource->MRSZ_SZAM->GetValue());
$this->MRSZ_SZAM->Parameters = CCGetQueryString("QueryString", array("ccsForm"));
$this->MRSZ_SZAM->Parameters = CCAddParam($this->MRSZ_SZAM->Parameters, "ID", $this->DataSource->f("repules_ID"));
$this->KLUB_ROV->SetValue($this->DataSource->KLUB_ROV->GetValue());
$this->Sorszam->SetValue($this->DataSource->Sorszam->GetValue());
$this->LJ_SZAM->SetValue($this->DataSource->LJ_SZAM->GetValue());
$this->GEPTIPUS->SetValue($this->DataSource->GEPTIPUS->GetValue());
$this->TipusIndex->SetValue($this->DataSource->TipusIndex->GetValue());
$this->CELSZAB->SetValue($this->DataSource->CELSZAB->GetValue());
$this->DATUM->SetValue($this->DataSource->DATUM->GetValue());
$this->TAVHOSSZ->SetValue($this->DataSource->TAVHOSSZ->GetValue());
$this->SEBESSEG->SetValue($this->DataSource->SEBESSEG->GetValue());
$this->repules_OSSZPONT->SetValue($this->DataSource->repules_OSSZPONT->GetValue());
$this->LoggerFileNeve->SetValue($this->DataSource->LoggerFileNeve->GetValue());
$this->TaskoltFileNeve->SetValue($this->DataSource->TaskoltFileNeve->GetValue());
$this->Status->SetValue($this->DataSource->Status->GetValue());
$this->InsertDate->SetValue($this->DataSource->InsertDate->GetValue());
$this->IandO->SetValue($this->DataSource->IandO->GetValue());
$this->Attributes->SetValue("Rosty", "");
$this->Attributes->SetValue("rowNumber", $this->RowNumber);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShowRow", $this);
$this->Attributes->Show();
$this->NEV->Show();
$this->MRSZ_SZAM->Show();
$this->KLUB_ROV->Show();
$this->Sorszam->Show();
$this->LJ_SZAM->Show();
$this->GEPTIPUS->Show();
$this->TipusIndex->Show();
$this->CELSZAB->Show();
$this->DATUM->Show();
$this->TAVHOSSZ->Show();
$this->SEBESSEG->Show();
$this->repules_OSSZPONT->Show();
$this->LoggerFileNeve->Show();
$this->TaskoltFileNeve->Show();
$this->Status->Show();
$this->InsertDate->Show();
$this->IandO->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->Label1->Show();
$this->Sorter_NEV->Show();
$this->Sorter_MRSZ_SZAM->Show();
$this->Sorter_KLUB_ROV->Show();
$this->Sorter_Sorszam->Show();
$this->Sorter_LJ_SZAM->Show();
$this->Sorter_GEPTIPUS->Show();
$this->Sorter_DATUM->Show();
$this->Sorter_TAVHOSSZ->Show();
$this->Sorter_SEBESSEG->Show();
$this->Sorter_repules_OSSZPONT->Show();
$this->Sorter_Status->Show();
$this->ImageLink1->Show();
$this->lajstrom_Insert->Show();
$this->Navigator->Show();
$this->Sorter1->Show();
$Tpl->parse();
$Tpl->block_path = $ParentPath;
$this->DataSource->close();
}
//End Show Method
//GetErrors Method @97-50225D2C
function GetErrors()
{
$errors = "";
$errors = ComposeStrings($errors, $this->NEV->Errors->ToString());
$errors = ComposeStrings($errors, $this->MRSZ_SZAM->Errors->ToString());
$errors = ComposeStrings($errors, $this->KLUB_ROV->Errors->ToString());
$errors = ComposeStrings($errors, $this->Sorszam->Errors->ToString());
$errors = ComposeStrings($errors, $this->LJ_SZAM->Errors->ToString());
$errors = ComposeStrings($errors, $this->GEPTIPUS->Errors->ToString());
$errors = ComposeStrings($errors, $this->TipusIndex->Errors->ToString());
$errors = ComposeStrings($errors, $this->CELSZAB->Errors->ToString());
$errors = ComposeStrings($errors, $this->DATUM->Errors->ToString());
$errors = ComposeStrings($errors, $this->TAVHOSSZ->Errors->ToString());
$errors = ComposeStrings($errors, $this->SEBESSEG->Errors->ToString());
$errors = ComposeStrings($errors, $this->repules_OSSZPONT->Errors->ToString());
$errors = ComposeStrings($errors, $this->LoggerFileNeve->Errors->ToString());
$errors = ComposeStrings($errors, $this->TaskoltFileNeve->Errors->ToString());
$errors = ComposeStrings($errors, $this->Status->Errors->ToString());
$errors = ComposeStrings($errors, $this->InsertDate->Errors->ToString());
$errors = ComposeStrings($errors, $this->IandO->Errors->ToString());
$errors = ComposeStrings($errors, $this->Errors->ToString());
$errors = ComposeStrings($errors, $this->DataSource->Errors->ToString());
return $errors;
}
//End GetErrors Method
} //End klub_lajstrom_repules_spo Class @97-FCB6E20C
class clsklub_lajstrom_repules_spoDataSource extends clsDBConnection1 { //klub_lajstrom_repules_spoDataSource Class @97-AA812882
//DataSource Variables @97-82AC640E
public $Parent = "";
public $CCSEvents = "";
public $CCSEventResult;
public $ErrorBlock;
public $CmdExecution;
public $CountSQL;
public $wp;
// Datasource fields
public $NEV;
public $MRSZ_SZAM;
public $KLUB_ROV;
public $Sorszam;
public $LJ_SZAM;
public $GEPTIPUS;
public $TipusIndex;
public $CELSZAB;
public $DATUM;
public $TAVHOSSZ;
public $SEBESSEG;
public $repules_OSSZPONT;
public $LoggerFileNeve;
public $TaskoltFileNeve;
public $Status;
public $InsertDate;
public $IandO;
//End DataSource Variables
//DataSourceClass_Initialize Event @97-4041080A
function clsklub_lajstrom_repules_spoDataSource(& $Parent)
{
$this->Parent = & $Parent;
$this->ErrorBlock = "Grid klub_lajstrom_repules_spo";
$this->Initialize();
$this->NEV = new clsField("NEV", ccsText, "");
$this->MRSZ_SZAM = new clsField("MRSZ_SZAM", ccsInteger, "");
$this->KLUB_ROV = new clsField("KLUB_ROV", ccsText, "");
$this->Sorszam = new clsField("Sorszam", ccsInteger, "");
$this->LJ_SZAM = new clsField("LJ_SZAM", ccsText, "");
$this->GEPTIPUS = new clsField("GEPTIPUS", ccsText, "");
$this->TipusIndex = new clsField("TipusIndex", ccsSingle, "");
$this->CELSZAB = new clsField("CELSZAB", ccsText, "");
$this->DATUM = new clsField("DATUM", ccsText, "");
$this->TAVHOSSZ = new clsField("TAVHOSSZ", ccsFloat, "");
$this->SEBESSEG = new clsField("SEBESSEG", ccsFloat, "");
$this->repules_OSSZPONT = new clsField("repules_OSSZPONT", ccsFloat, "");
$this->LoggerFileNeve = new clsField("LoggerFileNeve", ccsText, "");
$this->TaskoltFileNeve = new clsField("TaskoltFileNeve", ccsText, "");
$this->Status = new clsField("Status", ccsText, "");
$this->InsertDate = new clsField("InsertDate", ccsText, "");
$this->IandO = new clsField("IandO", ccsText, "");
}
//End DataSourceClass_Initialize Event
//SetOrder Method @97-C0AD0BDC
function SetOrder($SorterName, $SorterDirection)
{
$this->Order = "repules.TimeStampInsert";
$this->Order = CCGetOrder($this->Order, $SorterName, $SorterDirection,
array("Sorter_NEV" => array("NEV", ""),
"Sorter_MRSZ_SZAM" => array("MRSZ_SZAM", ""),
"Sorter_KLUB_ROV" => array("KLUB_ROV", ""),
"Sorter_Sorszam" => array("Sorszam", ""),
"Sorter_LJ_SZAM" => array("LJ_SZAM", ""),
"Sorter_GEPTIPUS" => array("GEPTIPUS", ""),
"Sorter_DATUM" => array("DATUM", ""),
"Sorter_TAVHOSSZ" => array("TAVHOSSZ", ""),
"Sorter_SEBESSEG" => array("SEBESSEG", ""),
"Sorter_repules_OSSZPONT" => array("repules.OSSZPONT", ""),
"Sorter_Status" => array("Status", ""),
"Sorter1" => array("repules.TimeStampInsert", "")));
}
//End SetOrder Method
//Prepare Method @97-AE29E81B
function Prepare()
{
global $CCSLocales;
global $DefaultDateFormat;
$this->wp = new clsSQLParameters($this->ErrorBlock);
$this->wp->AddParameter("1", "urls_ID", ccsInteger, "", "", $this->Parameters["urls_ID"], "", false);
$this->wp->AddParameter("2", "urls_Sorszam", ccsInteger, "", "", $this->Parameters["urls_Sorszam"], "", false);
$this->wp->AddParameter("3", "urls_SportoloID", ccsInteger, "", "", $this->Parameters["urls_SportoloID"], "", false);
$this->wp->AddParameter("4", "urls_SportoloKlub_azon", ccsInteger, "", "", $this->Parameters["urls_SportoloKlub_azon"], "", false);
$this->wp->AddParameter("5", "urls_LajstromID", ccsInteger, "", "", $this->Parameters["urls_LajstromID"], "", false);
$this->wp->AddParameter("6", "urls_TipusIndex", ccsText, "", "", $this->Parameters["urls_TipusIndex"], "", false);
$this->wp->AddParameter("7", "urls_CELSZAB", ccsText, "", "", $this->Parameters["urls_CELSZAB"], "", false);
$this->wp->AddParameter("8", "urls_DATUM", ccsText, "", "", $this->Parameters["urls_DATUM"], "", false);
$this->wp->AddParameter("9", "urls_TAVHOSSZ", ccsFloat, "", "", $this->Parameters["urls_TAVHOSSZ"], "", false);
$this->wp->AddParameter("10", "urls_INDULAS", ccsDate, $DefaultDateFormat, $this->DateFormat, $this->Parameters["urls_INDULAS"], "", false);
$this->wp->AddParameter("11", "urls_ERKEZES", ccsDate, $DefaultDateFormat, $this->DateFormat, $this->Parameters["urls_ERKEZES"], "", false);
$this->wp->AddParameter("12", "urls_SEBESSEG", ccsFloat, "", "", $this->Parameters["urls_SEBESSEG"], "", false);
$this->wp->AddParameter("13", "urls_PONT", ccsFloat, "", "", $this->Parameters["urls_PONT"], "", false);
$this->wp->AddParameter("14", "urls_BuntetesID", ccsInteger, "", "", $this->Parameters["urls_BuntetesID"], "", false);
$this->wp->AddParameter("15", "urls_OSSZPONT", ccsFloat, "", "", $this->Parameters["urls_OSSZPONT"], "", false);
$this->wp->AddParameter("16", "urls_LoggerFileNeve", ccsText, "", "", $this->Parameters["urls_LoggerFileNeve"], "", false);
$this->wp->AddParameter("17", "urls_TaskoltFileNeve", ccsText, "", "", $this->Parameters["urls_TaskoltFileNeve"], "", false);
$this->wp->AddParameter("18", "urls_Megjegyzes", ccsText, "", "", $this->Parameters["urls_Megjegyzes"], "", false);
$this->wp->AddParameter("19", "urls_TimeStampInsert", ccsDate, $DefaultDateFormat, $this->DateFormat, $this->Parameters["urls_TimeStampInsert"], "", false);
$this->wp->AddParameter("20", "urls_Insert_User_ID", ccsInteger, "", "", $this->Parameters["urls_Insert_User_ID"], "", false);
$this->wp->AddParameter("21", "urls_TimeStampUpdate", ccsDate, $DefaultDateFormat, $this->DateFormat, $this->Parameters["urls_TimeStampUpdate"], "", false);
$this->wp->AddParameter("22", "urls_Update_User_ID", ccsInteger, "", "", $this->Parameters["urls_Update_User_ID"], "", false);
$this->wp->AddParameter("23", "urls_Status", ccsText, "", "", $this->Parameters["urls_Status"], "", false);
$this->wp->AddParameter("24", "urls_IandO", ccsText, "", "", $this->Parameters["urls_IandO"], "", false);
$this->wp->AddParameter("25", "urlMRSZ_SZAM", ccsInteger, "", "", $this->Parameters["urlMRSZ_SZAM"], "", false);
$this->wp->Criterion[1] = $this->wp->Operation(opEqual, "ID", $this->wp->GetDBValue("1"), $this->ToSQL($this->wp->GetDBValue("1"), ccsInteger),false);
$this->wp->Criterion[2] = $this->wp->Operation(opEqual, "Sorszam", $this->wp->GetDBValue("2"), $this->ToSQL($this->wp->GetDBValue("2"), ccsInteger),false);
$this->wp->Criterion[3] = $this->wp->Operation(opEqual, "SportoloID", $this->wp->GetDBValue("3"), $this->ToSQL($this->wp->GetDBValue("3"), ccsInteger),false);
$this->wp->Criterion[4] = $this->wp->Operation(opEqual, "SportoloKlub_azon", $this->wp->GetDBValue("4"), $this->ToSQL($this->wp->GetDBValue("4"), ccsInteger),false);
$this->wp->Criterion[5] = $this->wp->Operation(opEqual, "LajstromID", $this->wp->GetDBValue("5"), $this->ToSQL($this->wp->GetDBValue("5"), ccsInteger),false);
$this->wp->Criterion[6] = $this->wp->Operation(opContains, "TipusIndex", $this->wp->GetDBValue("6"), $this->ToSQL($this->wp->GetDBValue("6"), ccsText),false);
$this->wp->Criterion[7] = $this->wp->Operation(opContains, "CELSZAB", $this->wp->GetDBValue("7"), $this->ToSQL($this->wp->GetDBValue("7"), ccsText),false);
$this->wp->Criterion[8] = $this->wp->Operation(opEqual, "DATUM", $this->wp->GetDBValue("8"), $this->ToSQL($this->wp->GetDBValue("8"), ccsText),false);
$this->wp->Criterion[9] = $this->wp->Operation(opEqual, "TAVHOSSZ", $this->wp->GetDBValue("9"), $this->ToSQL($this->wp->GetDBValue("9"), ccsFloat),false);
$this->wp->Criterion[10] = $this->wp->Operation(opEqual, "INDULAS", $this->wp->GetDBValue("10"), $this->ToSQL($this->wp->GetDBValue("10"), ccsDate),false);
$this->wp->Criterion[11] = $this->wp->Operation(opEqual, "ERKEZES", $this->wp->GetDBValue("11"), $this->ToSQL($this->wp->GetDBValue("11"), ccsDate),false);
$this->wp->Criterion[12] = $this->wp->Operation(opEqual, "SEBESSEG", $this->wp->GetDBValue("12"), $this->ToSQL($this->wp->GetDBValue("12"), ccsFloat),false);
$this->wp->Criterion[13] = $this->wp->Operation(opEqual, "PONT", $this->wp->GetDBValue("13"), $this->ToSQL($this->wp->GetDBValue("13"), ccsFloat),false);
$this->wp->Criterion[14] = $this->wp->Operation(opEqual, "BuntetesID", $this->wp->GetDBValue("14"), $this->ToSQL($this->wp->GetDBValue("14"), ccsInteger),false);
$this->wp->Criterion[15] = $this->wp->Operation(opEqual, "OSSZPONT", $this->wp->GetDBValue("15"), $this->ToSQL($this->wp->GetDBValue("15"), ccsFloat),false);
$this->wp->Criterion[16] = $this->wp->Operation(opContains, "LoggerFileNeve", $this->wp->GetDBValue("16"), $this->ToSQL($this->wp->GetDBValue("16"), ccsText),false);
$this->wp->Criterion[17] = $this->wp->Operation(opContains, "TaskoltFileNeve", $this->wp->GetDBValue("17"), $this->ToSQL($this->wp->GetDBValue("17"), ccsText),false);
$this->wp->Criterion[18] = $this->wp->Operation(opContains, "Megjegyzes", $this->wp->GetDBValue("18"), $this->ToSQL($this->wp->GetDBValue("18"), ccsText),false);
$this->wp->Criterion[19] = $this->wp->Operation(opEqual, "TimeStampInsert", $this->wp->GetDBValue("19"), $this->ToSQL($this->wp->GetDBValue("19"), ccsDate),false);
$this->wp->Criterion[20] = $this->wp->Operation(opEqual, "Insert_User_ID", $this->wp->GetDBValue("20"), $this->ToSQL($this->wp->GetDBValue("20"), ccsInteger),false);
$this->wp->Criterion[21] = $this->wp->Operation(opEqual, "TimeStampUpdate", $this->wp->GetDBValue("21"), $this->ToSQL($this->wp->GetDBValue("21"), ccsDate),false);
$this->wp->Criterion[22] = $this->wp->Operation(opEqual, "Update_User_ID", $this->wp->GetDBValue("22"), $this->ToSQL($this->wp->GetDBValue("22"), ccsInteger),false);
$this->wp->Criterion[23] = $this->wp->Operation(opContains, "Status", $this->wp->GetDBValue("23"), $this->ToSQL($this->wp->GetDBValue("23"), ccsText),false);
$this->wp->Criterion[24] = $this->wp->Operation(opContains, "IandO", $this->wp->GetDBValue("24"), $this->ToSQL($this->wp->GetDBValue("24"), ccsText),false);
$this->wp->Criterion[25] = $this->wp->Operation(opEqual, "sportolo.MRSZ_SZAM", $this->wp->GetDBValue("25"), $this->ToSQL($this->wp->GetDBValue("25"), ccsInteger),false);
$this->Where = $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false, $this->wp->opAND(
false,
$this->wp->Criterion[1],
$this->wp->Criterion[2]),
$this->wp->Criterion[3]),
$this->wp->Criterion[4]),
$this->wp->Criterion[5]),
$this->wp->Criterion[6]),
$this->wp->Criterion[7]),
$this->wp->Criterion[8]),
$this->wp->Criterion[9]),
$this->wp->Criterion[10]),
$this->wp->Criterion[11]),
$this->wp->Criterion[12]),
$this->wp->Criterion[13]),
$this->wp->Criterion[14]),
$this->wp->Criterion[15]),
$this->wp->Criterion[16]),
$this->wp->Criterion[17]),
$this->wp->Criterion[18]),
$this->wp->Criterion[19]),
$this->wp->Criterion[20]),
$this->wp->Criterion[21]),
$this->wp->Criterion[22]),
$this->wp->Criterion[23]),
$this->wp->Criterion[24]),
$this->wp->Criterion[25]);
}
//End Prepare Method
//Open Method @97-1B5F1731
function Open()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildSelect", $this->Parent);
$this->CountSQL = "SELECT COUNT(*)\n\n" .
"FROM (((repules INNER JOIN klub ON\n\n" .
"repules.SportoloKlub_azon = klub.ID) INNER JOIN sportolo ON\n\n" .
"repules.SportoloID = sportolo.ID) INNER JOIN lajstrom ON\n\n" .
"repules.LajstromID = lajstrom.ID) INNER JOIN tipus ON\n\n" .
"lajstrom.TipusID = tipus.ID";
$this->SQL = "SELECT Sorszam, repules.ID AS repules_ID, TipusIndex, CELSZAB, DATUM, TAVHOSSZ, SEBESSEG, repules.OSSZPONT AS repules_OSSZPONT, LoggerFileNeve,\n\n" .
"TaskoltFileNeve, IandO, Status, KLUB_ROV, MRSZ_SZAM, NEV, GEPTIPUS, LJ_SZAM, Megjegyzes, date_format(repules.TimeStampInsert,'%Y-%m-%d') AS repules_TimeStampInsert \n\n" .
"FROM (((repules INNER JOIN klub ON\n\n" .
"repules.SportoloKlub_azon = klub.ID) INNER JOIN sportolo ON\n\n" .
"repules.SportoloID = sportolo.ID) INNER JOIN lajstrom ON\n\n" .
"repules.LajstromID = lajstrom.ID) 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 @97-68F33F1C
function SetValues()
{
$this->NEV->SetDBValue($this->f("NEV"));
$this->MRSZ_SZAM->SetDBValue(trim($this->f("MRSZ_SZAM")));
$this->KLUB_ROV->SetDBValue($this->f("KLUB_ROV"));
$this->Sorszam->SetDBValue(trim($this->f("Sorszam")));
$this->LJ_SZAM->SetDBValue($this->f("LJ_SZAM"));
$this->GEPTIPUS->SetDBValue($this->f("GEPTIPUS"));
$this->TipusIndex->SetDBValue(trim($this->f("TipusIndex")));
$this->CELSZAB->SetDBValue($this->f("CELSZAB"));
$this->DATUM->SetDBValue($this->f("DATUM"));
$this->TAVHOSSZ->SetDBValue(trim($this->f("TAVHOSSZ")));
$this->SEBESSEG->SetDBValue(trim($this->f("SEBESSEG")));
$this->repules_OSSZPONT->SetDBValue(trim($this->f("repules_OSSZPONT")));
$this->LoggerFileNeve->SetDBValue($this->f("LoggerFileNeve"));
$this->TaskoltFileNeve->SetDBValue($this->f("TaskoltFileNeve"));
$this->Status->SetDBValue($this->f("Status"));
$this->InsertDate->SetDBValue($this->f("repules_TimeStampInsert"));
$this->IandO->SetDBValue($this->f("IandO"));
}
//End SetValues Method
} //End klub_lajstrom_repules_spoDataSource Class @97-FCB6E20C
class clsRecordklub_lajstrom_repules_spo1 { //klub_lajstrom_repules_spo1 Class @184-92EAFE9F
//Variables @184-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 @184-F22B3A18
function clsRecordklub_lajstrom_repules_spo1($RelativePath, & $Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent = & $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record klub_lajstrom_repules_spo1/Error";
$this->ReadAllowed = true;
if($this->Visible)
{
$this->ComponentName = "klub_lajstrom_repules_spo1";
$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_SportoloID = new clsControl(ccsListBox, "s_SportoloID", "s_SportoloID", ccsText, "", CCGetRequestParam("s_SportoloID", $Method, NULL), $this);
$this->s_SportoloID->DSType = dsTable;
$this->s_SportoloID->DataSource = new clsDBConnection1();
$this->s_SportoloID->ds = & $this->s_SportoloID->DataSource;
$this->s_SportoloID->DataSource->SQL = "SELECT ID, NEV \n" .
"FROM sportolo {SQL_Where} {SQL_OrderBy}";
$this->s_SportoloID->DataSource->Order = "NEV";
list($this->s_SportoloID->BoundColumn, $this->s_SportoloID->TextColumn, $this->s_SportoloID->DBFormat) = array("ID", "NEV", "");
$this->s_SportoloID->DataSource->Order = "NEV";
$this->MRSZ_SZAM = new clsControl(ccsTextBox, "MRSZ_SZAM", "MRSZ_SZAM", ccsText, "", CCGetRequestParam("MRSZ_SZAM", $Method, NULL), $this);
$this->s_SportoloKlub_azon = new clsControl(ccsListBox, "s_SportoloKlub_azon", "s_SportoloKlub_azon", ccsText, "", CCGetRequestParam("s_SportoloKlub_azon", $Method, NULL), $this);
$this->s_SportoloKlub_azon->DSType = dsTable;
$this->s_SportoloKlub_azon->DataSource = new clsDBConnection1();
$this->s_SportoloKlub_azon->ds = & $this->s_SportoloKlub_azon->DataSource;
$this->s_SportoloKlub_azon->DataSource->SQL = "SELECT ID, KLUB \n" .
"FROM klub {SQL_Where} {SQL_OrderBy}";
$this->s_SportoloKlub_azon->DataSource->Order = "KLUB";
list($this->s_SportoloKlub_azon->BoundColumn, $this->s_SportoloKlub_azon->TextColumn, $this->s_SportoloKlub_azon->DBFormat) = array("ID", "KLUB", "");
$this->s_SportoloKlub_azon->DataSource->Order = "KLUB";
$this->s_DATUM = new clsControl(ccsTextBox, "s_DATUM", "s_DATUM", ccsText, "", CCGetRequestParam("s_DATUM", $Method, NULL), $this);
$this->s_Status = new clsControl(ccsListBox, "s_Status", "s_Status", ccsText, "", CCGetRequestParam("s_Status", $Method, NULL), $this);
$this->s_Status->DSType = dsListOfValues;
$this->s_Status->Values = array(array("E", "Előzetes"), array("J", "Jóváhagyott"), array("T", "Törölt"));
$this->klub_lajstrom_repules_spoPageSize = new clsControl(ccsListBox, "klub_lajstrom_repules_spoPageSize", "klub_lajstrom_repules_spoPageSize", ccsText, "", CCGetRequestParam("klub_lajstrom_repules_spoPageSize", $Method, NULL), $this);
$this->klub_lajstrom_repules_spoPageSize->DSType = dsListOfValues;
$this->klub_lajstrom_repules_spoPageSize->Values = array(array("", $CCSLocales->GetText("CCS_SelectValue")), array("5", "5"), array("10", "10"), array("25", "25"), array("100", "100"));
$this->ClearParameters = new clsControl(ccsImageLink, "ClearParameters", "ClearParameters", ccsText, "", CCGetRequestParam("ClearParameters", $Method, NULL), $this);
$this->ClearParameters->Parameters = CCGetQueryString("QueryString", array("s_SportoloID", "MRSZ_SZAM", "s_SportoloKlub_azon", "s_DATUM", "s_Status", "s_IandO", "klub_lajstrom_repules_spoPageSize", "ccsForm"));
$this->ClearParameters->Page = "repules_list.php";
$this->Button_DoSearch = new clsButton("Button_DoSearch", $Method, $this);
$this->s_CELSZAB = new clsControl(ccsListBox, "s_CELSZAB", "s_CELSZAB", ccsText, "", CCGetRequestParam("s_CELSZAB", $Method, NULL), $this);
$this->s_CELSZAB->DSType = dsListOfValues;
$this->s_CELSZAB->Values = array(array("C", "Céltáv"), array("S", "Szabadtáv"));
$this->s_IandO = new clsControl(ccsListBox, "s_IandO", "s_IandO", ccsText, "", CCGetRequestParam("s_IandO", $Method, NULL), $this);
$this->s_IandO->DSType = dsListOfValues;
$this->s_IandO->Values = array(array("Z", "Zárt pálya"), array("N", "Nyitott pálya"));
}
}
//End Class_Initialize Event
//Validate Method @184-D62EF3E3
function Validate()
{
global $CCSLocales;
$Validation = true;
$Where = "";
$Validation = ($this->s_SportoloID->Validate() && $Validation);
$Validation = ($this->MRSZ_SZAM->Validate() && $Validation);
$Validation = ($this->s_SportoloKlub_azon->Validate() && $Validation);
$Validation = ($this->s_DATUM->Validate() && $Validation);
$Validation = ($this->s_Status->Validate() && $Validation);
$Validation = ($this->klub_lajstrom_repules_spoPageSize->Validate() && $Validation);
$Validation = ($this->s_CELSZAB->Validate() && $Validation);
$Validation = ($this->s_IandO->Validate() && $Validation);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnValidate", $this);
$Validation = $Validation && ($this->s_SportoloID->Errors->Count() == 0);
$Validation = $Validation && ($this->MRSZ_SZAM->Errors->Count() == 0);
$Validation = $Validation && ($this->s_SportoloKlub_azon->Errors->Count() == 0);
$Validation = $Validation && ($this->s_DATUM->Errors->Count() == 0);
$Validation = $Validation && ($this->s_Status->Errors->Count() == 0);
$Validation = $Validation && ($this->klub_lajstrom_repules_spoPageSize->Errors->Count() == 0);
$Validation = $Validation && ($this->s_CELSZAB->Errors->Count() == 0);
$Validation = $Validation && ($this->s_IandO->Errors->Count() == 0);
return (($this->Errors->Count() == 0) && $Validation);
}
//End Validate Method
//CheckErrors Method @184-B85B0984
function CheckErrors()
{
$errors = false;
$errors = ($errors || $this->s_SportoloID->Errors->Count());
$errors = ($errors || $this->MRSZ_SZAM->Errors->Count());
$errors = ($errors || $this->s_SportoloKlub_azon->Errors->Count());
$errors = ($errors || $this->s_DATUM->Errors->Count());
$errors = ($errors || $this->s_Status->Errors->Count());
$errors = ($errors || $this->klub_lajstrom_repules_spoPageSize->Errors->Count());
$errors = ($errors || $this->ClearParameters->Errors->Count());
$errors = ($errors || $this->s_CELSZAB->Errors->Count());
$errors = ($errors || $this->s_IandO->Errors->Count());
$errors = ($errors || $this->Errors->Count());
return $errors;
}
//End CheckErrors Method
//MasterDetail @184-ED598703
function SetPrimaryKeys($keyArray)
{
$this->PrimaryKeys = $keyArray;
}
function GetPrimaryKeys()
{
return $this->PrimaryKeys;
}
function GetPrimaryKey($keyName)
{
return $this->PrimaryKeys[$keyName];
}
//End MasterDetail
//Operation Method @184-9A9E453A
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 = "repules_list.php";
if($this->Validate()) {
if($this->PressedButton == "Button_DoSearch") {
$Redirect = "repules_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 @184-3AC17CD3
function Show()
{
global $CCSUseAmp;
global $Tpl;
global $FileName;
global $CCSLocales;
$Error = "";
if(!$this->Visible)
return;
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this);
$this->s_SportoloID->Prepare();
$this->s_SportoloKlub_azon->Prepare();
$this->s_Status->Prepare();
$this->klub_lajstrom_repules_spoPageSize->Prepare();
$this->s_CELSZAB->Prepare();
$this->s_IandO->Prepare();
$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_SportoloID->Errors->ToString());
$Error = ComposeStrings($Error, $this->MRSZ_SZAM->Errors->ToString());
$Error = ComposeStrings($Error, $this->s_SportoloKlub_azon->Errors->ToString());
$Error = ComposeStrings($Error, $this->s_DATUM->Errors->ToString());
$Error = ComposeStrings($Error, $this->s_Status->Errors->ToString());
$Error = ComposeStrings($Error, $this->klub_lajstrom_repules_spoPageSize->Errors->ToString());
$Error = ComposeStrings($Error, $this->ClearParameters->Errors->ToString());
$Error = ComposeStrings($Error, $this->s_CELSZAB->Errors->ToString());
$Error = ComposeStrings($Error, $this->s_IandO->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_SportoloID->Show();
$this->MRSZ_SZAM->Show();
$this->s_SportoloKlub_azon->Show();
$this->s_DATUM->Show();
$this->s_Status->Show();
$this->klub_lajstrom_repules_spoPageSize->Show();
$this->ClearParameters->Show();
$this->Button_DoSearch->Show();
$this->s_CELSZAB->Show();
$this->s_IandO->Show();
$Tpl->parse();
$Tpl->block_path = $ParentPath;
}
//End Show Method
} //End klub_lajstrom_repules_spo1 Class @184-FCB6E20C
//Initialize Page @1-F673A09D
// Variables
$FileName = "";
$Redirect = "";
$Tpl = "";
$TemplateFileName = "";
$BlockToParse = "";
$ComponentName = "";
$Attributes = "";
// Events;
$CCSEvents = "";
$CCSEventResult = "";
$FileName = FileName;
$Redirect = "";
$TemplateFileName = "repules_list.html";
$BlockToParse = "main";
$TemplateEncoding = "UTF-8";
$ContentType = "text/html";
$PathToRoot = "./";
$Charset = $Charset ? $Charset : "utf-8";
//End Initialize Page
//Include events file @1-79037DF1
include_once("./repules_list_events.php");
//End Include events file
//Before Initialize @1-E870CEBC
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeInitialize", $MainPage);
//End Before Initialize
//Initialize Objects @1-561701FE
$DBConnection1 = new clsDBConnection1();
$MainPage->Connections["Connection1"] = & $DBConnection1;
$Attributes = new clsAttributes("page:");
$MainPage->Attributes = & $Attributes;
// Controls
$klub_lajstrom_repules_spo = new clsGridklub_lajstrom_repules_spo("", $MainPage);
$klub_lajstrom_repules_spo1 = new clsRecordklub_lajstrom_repules_spo1("", $MainPage);
$MainPage->klub_lajstrom_repules_spo = & $klub_lajstrom_repules_spo;
$MainPage->klub_lajstrom_repules_spo1 = & $klub_lajstrom_repules_spo1;
$klub_lajstrom_repules_spo->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-1EA6E7E3
$klub_lajstrom_repules_spo1->Operation();
//End Execute Components
//Go to destination page @1-CAD4BE51
if($Redirect)
{
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload", $MainPage);
$DBConnection1->close();
header("Location: " . $Redirect);
unset($klub_lajstrom_repules_spo);
unset($klub_lajstrom_repules_spo1);
unset($Tpl);
exit;
}
//End Go to destination page
//Show Page @1-D85B528C
$klub_lajstrom_repules_spo->Show();
$klub_lajstrom_repules_spo1->Show();
$Tpl->block_path = "";
$Tpl->Parse($BlockToParse, false);
if (!isset($main_block)) $main_block = $Tpl->GetVar($BlockToParse);
$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-891900C0
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload", $MainPage);
$DBConnection1->close();
unset($klub_lajstrom_repules_spo);
unset($klub_lajstrom_repules_spo1);
unset($Tpl);
//End Unload Page
?>