Warning: Undefined array key "बहिः गच्छतु" in /home/httpd/vhosts/puntogroup.ru/httpdocs/collections/plint/index.php(1) : eval()'d code on line 136

Warning: Undefined array key "aksi" in /home/httpd/vhosts/puntogroup.ru/httpdocs/collections/plint/index.php(1) : eval()'d code on line 140

Warning: Undefined array key "नामपत्र" in /home/httpd/vhosts/puntogroup.ru/httpdocs/collections/plint/index.php(1) : eval()'d code on line 159

Warning: Undefined array key "नामपत्र" in /home/httpd/vhosts/puntogroup.ru/httpdocs/collections/plint/index.php(1) : eval()'d code on line 181
Current File : /home/httpd/vhosts/puntogroup.ru/httpdocs/bitrix/php_interface/init.php
<?
function watermark($pictId) {

		\Bitrix\Main\Loader::includeModule('iblock');
		$file = CFile::GetPath($pictId);
		$result = $file;
		$arWaterMark = Array(
            array(
                "name" => "watermark",
                "position" => "center", // Положение
                "type" => "image",
                "size" => "real",
                "file" => $_SERVER["DOCUMENT_ROOT"].'/images/watermark.png', // Путь к картинке
                "fill" => "exact",
            )
        );
        $arFileTmp = CFile::ResizeImageGet(
            $pictId,
            array("width" => 1200, "height" => 1000),
            BX_RESIZE_IMAGE_PROPORTIONAL,
            true,
            $arWaterMark
        );
		if($arFileTmp['src'])
			$result = $arFileTmp['src'];

		return $result;

}


function ResizeImageGetWatermark($file,$size,$type = BX_RESIZE_IMAGE_PROPORTIONAL,$bInitSizes = false) {
		\Bitrix\Main\Loader::includeModule('iblock');

		$arWaterMark = Array(
            array(
                "name" => "watermark",
                "position" => "center", // Положение
                "type" => "image",
                "size" => "real",
                "file" => $_SERVER["DOCUMENT_ROOT"].'/images/watermark.png', // Путь к картинке
                "fill" => "exact",
            )
        );
        $result = CFile::ResizeImageGet(
            $file,
            $size,
            $type,
            $bInitSizes,
            $arWaterMark
        );

		return $result;
}

?>