if (!IsSet($co)) $co = $_REQUEST["co"]; if (!IsSet($co)) $co = "uvod"; if (!file_exists("./$co.php")) $co = "uvod"; require_once("lib.php"); echo "\n"; ?> /* $zaciatok_prace = mktime(0,0,0,4,1,2005); $odovzdanie_prace = mktime(8,0,0,5,15,2006); $terajsi_cas = time(); $jeden_den = gmmktime(0,0,0,1,2,1970); $xx = (int)(90*($terajsi_cas - $zaciatok_prace)/($odovzdanie_prace - $zaciatok_prace)); $xxlabel = (int)(($odovzdanie_prace - $terajsi_cas)/$jeden_den); $stran_min = 55; $stran_max = 80; $strden_min = (int)(100 * $stran_min / $xxlabel)/100.0; $strden_max = (int)(100 * $stran_max / $xxlabel)/100.0; */ ?>