?¡ëPNG  IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À? ¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
home/user1137782/www/user1137782.atservers.net/cms/features/bills.php000066600000006704150472606470020654 0ustar00getCell($coord); $val= (string)$t->getValue(); $replaces=array(); foreach ($var as $key=>$value) { $replaces['{'.$key.'}']=$value; } $var=str_replace(array_keys($replaces),$replaces,$val); } $xSheet->setCellValue($coord,$var); } function sheet_insert_rows(&$xSheet,$rows,$row_before=0,$left_offset=0){ $keys = array_keys($rows); //$keys = array_reverse($keys); $xSheet->insertNewRowBefore($row_before,count($rows)); foreach ($keys as $key){ $row =&$rows[$key]; $i=0; $need_merge=false; $col_count = 0; $start_col=0; foreach ($row as $rowkey => $rowval) { $cell_coord=chr(65+$i+$left_offset).$row_before; $i++; if ($rowval == '[empty]') { continue;} if ($rowval == '[merge]') { if ($need_merge) { $col_count++; } else { $need_merge=true; $col_count=1; $start_col=$i-2; } } else { if ($need_merge) { $interval=chr(65+$start_col+$left_offset).$row_before.":".chr(65+$start_col+$col_count+$left_offset).$row_before; $aSheet->mergeCells($interval); $need_merge=false; } } if (is_int($rowkey)) { cell_replace($xSheet,$cell_coord,$rowval,false); } else { cell_replace($xSheet,$cell_coord,array($rowkey => $rowval),false); } } $row_before++; } } function SheetGetRow(&$xSheet,$row=0,$start=0,$to=0){ if (!$xSheet || !$row) return false; if (!$to) { $highestColumn = $xSheet->getHighestColumn(); $to = PHPExcel_Cell::columnIndexFromString($highestColumn)+1; } if ($row) { $line=array(); for ($col = $start; $col < ($to-1); ++ $col){ $cell = $xSheet->getCellByColumnAndRow($col, $row); $val = $cell->getValue(); if(PHPExcel_Shared_Date::isDateTime($cell)) { $val = PHPExcel_Shared_Date::ExcelToPHP($val); } $dataType = PHPExcel_Cell_DataType::dataTypeForValue($val); $line[$col]=$val; //echo iconv('utf-8','windows-1251','' . $val . '
(Тип ' . $dataType . ' '.$col.':'.$row.')'); } return $line; } } function SheetCleanRow(&$xSheet,$row){ if (!$xSheet || !$row) return false; if (!$to) { $highestColumn = $xSheet->getHighestColumn(); $to = PHPExcel_Cell::columnIndexFromString($highestColumn); } for ($i=0; $i < $to; $i++) { $cellcoord = chr(65+$i).$row; $xSheet->setCellValue($cellcoord,''); } } ?>