<?php include "valoda.php"; $sugas = gAtskaite::getSugas(); $braki = gAtskaite::getBrakiSmiltene(); $LVM_braki = gAtskaite::getLVMBraki(); $IT_braki = gAtskaite::getITBrakiSmiltene(); $VIKA_braki = gAtskaite::getVIKABrakiSmiltene(); $VIKA_LVM_braki = gAtskaite::getVIKALVMBraki(); $LVM_sugas = gAtskaite::getLVMSugas(); class C_REPORT extends C_REPORT_BASE { function C_REPORT(&$My_POST, &$DB, $XML_Variants, $grup) { global $braki; global $VIKA_braki; global $LVM_braki; global $VIKA_LVM_braki; global $sugas; global $lang; global $translate; if ($lang != "RUS") { $lang = "LAT"; } $this->DB = $DB; $this->XML_Variants = $XML_Variants; $this->sugas = $sugas; $this->MyPOST = $My_POST; $this->grup = $grup; if (strrpos($this->MyPOST['pavadzime'], "KRVII") === false) { $this->braki = $VIKA_braki;