<?php

include "valoda.php";
$sugas = gAtskaite::getSugas();
$braki = gAtskaite::getBraki();
$LVM_braki = gAtskaite::getLVMBraki();
$IT_braki = gAtskaite::getITBrakiBSW();
$VIKA_braki = gAtskaite::getVIKABrakiStora();
$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;