if( !$_GET["stran"] ) $_GET["stran"] = "prva"; require_once "db_class.php"; require_once "inc/functions.php"; mysql_connect("localhost", "centerjap_jap", ";KkgMk!=t0,%"); mysql_select_db("centerjap_japcopy"); $dnevi = array("Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota"); header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past?>
$str = new db_class("nf96_clanki", "id"); $str->getOne("uniqid = '".$_GET["stran"]."'"); if( $str->title ) { $tit = $str->title; }else{ if( $_GET["stran"] == "zaloga" ) { $tit = "Zaloga vozil"; }elseif( $_GET["stran"] == "podrobnosti" ) { $avto = new db_class("avtomobili", "aid"); $avto->getOne($_GET["id"]); $tit = "Prodaja vozil :: " . $avto->naslov; } } ?>