NASLOVNICAO NAMAUSLUGEKONTAKTION-LINE TESTOVI
   
ON-LINE UČIONICA
POPIS AUTOŠKOLA
SAVJETOVALIŠTE
ZAKONI I PRAVILNICI
AUTI, KREDITI, OSIGURANJA
SPORT - FORMULA 1
MALI OGLASI
HUMOR I ZABAVA
KORISNI LINKOVI
ON-LINE TESTOVI
 

Powered by:

 

 
  <% ' ASP Banner Rotator (BETA) for IIS 4.0+ ' ' Version: v1.0 ' Author : Keith Ollerton (ollertonk@postmaster.co.uk) ' F1-Computer Solutions (c) 2000 ' ' Last Modified: 09/08/2000 ' All rights reserved. ' ----------------------------- ' ' ASP Banner Rotator was tested under IIS 4.0 on a Windows NT 4.0 (SP5) ' ' ' Please send bug reports, comments, etc to ollertonk@postmaster.co.uk ' ' This version of ASP banner Rotator may be used and modified free of charge ' by anyone so long as this copyright notice and the comments above ' remain intact. By using this code you agree to indemnify ' Keith Ollerton from any liability that might arise ' from its use. ' ' Selling the code for this program without prior written consent is ' expressly forbidden. ' ' This is a beta release meant for testing only until this line is removed by the author. ' ' ChangeLog: ' 1.0 - Inital Release ' Set some general variables BackgroundColor = "D6DFE7" ' background color of the page (hex value) sDataSource = "e:\inetpub\wwwroot\autoskola.com.hr\banneri\470x70\banners.mdb" ' Local Path to Database ' Open Database Access Connection Set Con = Server.CreateObject( "ADODB.Connection" ) Con.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & sDataSource mySQL="SELECT * FROM banners" set rs=Server.CreateObject("adodb.recordset") rs.open mySQL, Con, 3 BannersRecordCount=rs.recordcount randomize() dim RandomNumber dim upperbound dim lowerbound upperbound = BannersRecordCount lowerbound = 1 ' Get a random record number between 1 and number of banners available RandomNumber = int ((upperbound - lowerbound + 1) * rnd + lowerbound) set rs=Server.CreateObject("adodb.recordset") ' Open Static RecordSet ' Equivalent values of adOpenKeyset, adLockPessimistic, adCmdTable ' from the adovbs.inc file which I haven't included here rs.open "banners", Con, 1, 2, &H0002 ' Move to the first record ready to cycle through them rs.movefirst ' Cycle through the banners until we've got the n'th one ' We can't do this with a SELECT statement as the record ' with an ID matching the RandomNumber may have been delete. dim intLoop For intLoop = 1 To RandomNumber - 1 rs.movenext next ' response.write "" ' response.write "" ' response.write "" ' response.write "" ' response.write "

" response.write "" response.write "" ' response.write " width='" & rs.fields("BannerWidth") & "' height='" & rs.fields("BannerHeight") & "'>" ' response.write "" ' response.write "" ' Increment the display count for this banner dim current current = rs.Fields("BannerDisplayCount")+ 1 rs.Fields("BannerDisplayCount")= current rs.update ' Check to see if the banner has expired - if it has delete its record if rs.fields("BannerExpiryDate") < date() then ' Delete the record - the 1 is the equivalent value of adAffectCurrent ' from the adovbs.inc file which I haven't included here rs.Delete 1 end if ' Finished with the recordset now - so close it con.close set con=nothing %>

 
ON-LINE UČIONICA
KATEGORIJE VOZILA

Pregled kategorija vozila

  A   motocikli sa ili bez bočne prikolice
  A1   motocikli radnog obujma motora do 125 cm3 i snage motora do 11 kW
  B   motorna vozila osim vozila A1, A, F, G i M kategorije čija najveća dopuštena masa nije veća od 3500 kg i koja nemaju više od 8 sjedala ne računajući sjedalo za vozača ili kombinacija vučnog vozila u B kategoriji i priključnog vozila, uz uvjet da najveća dopuštena masa priključnog vozila nije veća od mase vučnog vozila, a najveća dopuštena masa tih vozila, odnosno skupa vozila nije veća od 3500 kg
  B+E   kombinacija vozila koja se sastoji od vučnog vozila u B kategoriji i prikolice čija se kombinacija ne uklapa u B kategoriju
  C1   motorna vozila do 7.500 kg najveće dopuštene mase
C1+E vučna vozila kategorije C1 i priključna vozila čija najveća dopuštena masa iznosi više od 750 kg, s time da najveća dopuštena masa tako nastale kombinacije vučnog i priključnog vozila ne smije prelaziti 12.000 kg
C motorna vozila čija je najveća dopuštena masa iznad 7.500 kg
  C+E   skupine vozila koje se sastoje od vučnoga motornog vozila C kategorije i priključnog vozila čija najveća dopuštena masa iznosi više od 750 kg
  D   motorna vozila za prijevoz osoba koja osim sjedala za vozača imaju više od osam sjedala
  D+E   vučna motorna vozila D kategorije i priključno vozilo čija najveća dopuštena masa iznosi više od 750 kg
  F   traktori sa ili bez prikolice
  G   radni strojevi
  H   pružna vozila - tramvaji
  M   mopedi i motokultivatori
 
design & hosting by Internet arhiva d.o.o.