CurrentRecord; if (! isset($this->Records[$num]) /*|| ! is_array($this->Records[$num])*/) return PalmDB::GetRecord($num); $RecordString = ''; include(sprintf("./include/ostnagl-%s",$GLOBALS["WEBSYNC_OUTPUT_MODULE"])); return $RecordString; } } class presellOstatnie extends PalmDB { // Constructor -- initialize the default values function presellOstatnie () { PalmDB::PalmDB('DATA', 'zaba', 'ostatnie'); } // Overrides the GetRecord method. We store data in associative arrays. // Just convert the data into the proper format and then return the // generated string. function GetRecord($num = false) { if ($num === false) $num = $this->CurrentRecord; if (! isset($this->Records[$num]) /*|| ! is_array($this->Records[$num])*/) return PalmDB::GetRecord($num); $RecordString = ''; include(sprintf("./include/ostatnie-%s",$GLOBALS["WEBSYNC_OUTPUT_MODULE"])); return $RecordString; } } ?>