<?php
#######################################
## Mod By KoT (borispol) [76-75-072] ##
#######################################
$Contents = ob_get_contents();
$gzib_file = strlen($Contents);
if ($support_deflate) {
$gzib_file_out = strlen(gzdeflate($Contents,9));
} else {
if ($support_gzip) {
$gzib_file_out = strlen(gzencode($Contents,9));
} else {
if ($support_x_gzip) {
$gzib_file_out = strlen(gzcompress($Contents,9));
} else {
$gzib_file_out = strlen($Contents);
}
}
}
$gzib_pro = round(100 - (100/($gzib_file/$gzib_file_out)), 1);
#########################
if ($gzib_pro > 0 and $gzib_pro < 100) {
echo '<br/><small>Cжатие: ' . $gzib_pro . '% </small><br/>';
}
echo '<div class = "d1"><small>© ' . $url . '</small></div>';
if ($ver == "xhtml") {
echo '<div class = "d2"><a href="mailadmin.php?'.$ses.'&ref='.$ref.'"><small>Сообщить об ошибке</small></a><br/>[WML|xHTML]</div>';
}
#########################
if ($ver == "wml") echo "</p></card></wml>";
else echo "</div></body></html>";
?>