<%@LANGUAGE="VBSCRIPT"%> <% Dim service__MMColParam service__MMColParam = "AP228" if (Request.QueryString("id") <> "") then service__MMColParam = Request.QueryString("id") %> <% set service = Server.CreateObject("ADODB.Recordset") service.ActiveConnection = MM_ncge_STRING service.Source = "SELECT Ref, CompanyName, support, Title, Firstname, Surname, JobTitle, Address1, Address2, Address3, Address4, Address5, County, Telephone, Fax, Email, DURL, BriefDesc, FAEUL, FAEUYP, FAEUIP, FAEUNP, FAEUHP, FAEULDP, FAUCI, FAPPR, FADES, FADHC, FADJELR, FADSCFA, FADETE, FAIF, FAF, FAV, FAOth, FAOthsp, ProjectStartDate, ProjectEndDate, LengthinExistance, TargetAge, Noofpart, Percentofpart, SoleyESL, MaxNumber, LengthStayMax, LengthStayAv, MonOpen, MonClose, TueOpen, TueClose, WedOpen, WedClose, ThurOpen, ThurClose, FriOpen, FriClose, SatOpen, SatClose, SunOpen, SunClose, CentreHolidays, AvHours, AttVol, StaffFT, SpecifyFT, StaffPTR, SpecifyPTR, StaffPTI, SpecifyPTI, StaffCEW, SpecifyCEW, StaffCEV, SpecifyCEV, DescMainProg, DescOthAct, DescOthSupServ, AimsObjectives, Desmain, DesYR, DesNYR, DesEmp, DesOth, DesOthSp, DesLeft, DesUnk, OthOutcome, QualNCVA, QualJC, QualLC, QualLCA, QualOth, QualOthSp, GuidServCI, GuidServPT1, GuidServPT2, GuidServSPS, GuidServJSS, GuidServWEP, GuidServPSD, GuidServCC, GuidServPC, GuidServFC, GuidServOth, GuidAccQC, GuidAccA, GuidAccM, GuidAccQGC, GuidAccOth FROM details WHERE Ref = '" + Replace(service__MMColParam, "'", "''") + "'" service.CursorType = 0 service.CursorLocation = 2 service.LockType = 3 service.Open() service_numRows = 0 %> <% ' *** Recordset Stats, Move To Record, and Go To Record: declare stats variables ' set the record count service_total = service.RecordCount ' set the number of rows displayed on this page If (service_numRows < 0) Then service_numRows = service_total Elseif (service_numRows = 0) Then service_numRows = 1 End If ' set the first and last displayed record service_first = 1 service_last = service_first + service_numRows - 1 ' if we have the correct record count, check the other stats If (service_total <> -1) Then If (service_first > service_total) Then service_first = service_total If (service_last > service_total) Then service_last = service_total If (service_numRows > service_total) Then service_numRows = service_total End If %> <% ' *** Move To Record and Go To Record: declare variables Set MM_rs = service MM_rsCount = service_total MM_size = service_numRows MM_uniqueCol = "Ref" MM_paramName = "id" MM_offset = 0 MM_atTotal = false MM_paramIsDefined = false If (MM_paramName <> "") Then MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "") End If %> <% ' *** Move To Specific Record: handle detail parameter If (MM_paramIsDefined And MM_rsCount <> 0) Then ' get the value of the parameter param = Request.QueryString(MM_paramName) ' find the record with the unique column value equal to the parameter value MM_offset = 0 Do While (Not MM_rs.EOF) If (Cstr(MM_rs.Fields.Item(MM_uniqueCol).Value) = param) Then Exit Do End If MM_offset = MM_offset + 1 MM_rs.MoveNext Loop ' if not found, set the number of records and reset the cursor If (MM_rs.EOF) Then If (MM_rsCount < 0) Then MM_rsCount = MM_offset If (MM_size < 0 Or MM_size > MM_offset) Then MM_size = MM_offset MM_offset = 0 ' reset the cursor to the beginning If (MM_rs.CursorType > 0) Then MM_rs.MoveFirst Else MM_rs.Close MM_rs.Open End If End If End If %> <% ' *** Move To Record: if we dont know the record count, check the display range If (MM_rsCount = -1) Then ' walk to the end of the display range for this page i = MM_offset While (Not MM_rs.EOF And (MM_size < 0 Or i < MM_offset + MM_size)) MM_rs.MoveNext i = i + 1 Wend ' if we walked off the end of the recordset, set MM_rsCount and MM_size If (MM_rs.EOF) Then MM_rsCount = i If (MM_size < 0 Or MM_size > MM_rsCount) Then MM_size = MM_rsCount End If ' if we walked off the end, set the offset based on page size If (MM_rs.EOF And Not MM_paramIsDefined) Then If (MM_offset > MM_rsCount - MM_size Or MM_offset = -1) Then If ((MM_rsCount Mod MM_size) > 0) Then MM_offset = MM_rsCount - (MM_rsCount Mod MM_size) Else MM_offset = MM_rsCount - MM_size End If End If End If ' reset the cursor to the beginning If (MM_rs.CursorType > 0) Then MM_rs.MoveFirst Else MM_rs.Requery End If ' move the cursor to the selected record i = 0 While (Not MM_rs.EOF And i < MM_offset) MM_rs.MoveNext i = i + 1 Wend End If %> <% ' *** Move To Record: update recordset stats ' set the first and last displayed record service_first = MM_offset + 1 service_last = MM_offset + MM_size If (MM_rsCount <> -1) Then If (service_first > MM_rsCount) Then service_first = MM_rsCount If (service_last > MM_rsCount) Then service_last = MM_rsCount End If ' set the boolean used by hide region to check if we are on the last record MM_atTotal = (MM_rsCount <> -1 And MM_offset + MM_size >= MM_rsCount) %> <% ' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters ' create the list of parameters which should not be maintained MM_removeList = "&index=" If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "=" MM_keepURL="":MM_keepForm="":MM_keepBoth="":MM_keepNone="" ' add the URL parameters to the MM_keepURL string For Each Item In Request.QueryString NextItem = "&" & Item & "=" If (InStr(1,MM_removeList,NextItem,1) = 0) Then MM_keepURL = MM_keepURL & NextItem & Server.URLencode(Request.QueryString(Item)) End If Next ' add the Form variables to the MM_keepForm string For Each Item In Request.Form NextItem = "&" & Item & "=" If (InStr(1,MM_removeList,NextItem,1) = 0) Then MM_keepForm = MM_keepForm & NextItem & Server.URLencode(Request.Form(Item)) End If Next ' create the Form + URL string and remove the intial '&' from each of the strings MM_keepBoth = MM_keepURL & MM_keepForm if (MM_keepBoth <> "") Then MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1) if (MM_keepURL <> "") Then MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1) if (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1) ' a utility function used for adding additional parameters to these strings Function MM_joinChar(firstItem) If (firstItem <> "") Then MM_joinChar = "&" Else MM_joinChar = "" End If End Function %> <% Dim Repeat2__numRows Repeat2__numRows = -1 Dim Repeat2__index Repeat2__index = 0 service_numRows = service_numRows + Repeat2__numRows %> <% Dim Repeat1__numRows Repeat1__numRows = -1 Dim Repeat1__index Repeat1__index = 0 servlist_numRows = servlist_numRows + Repeat1__numRows %> Guidance and Support Services for Young People - <%=(service.Fields.Item("CompanyName").Value)%>
<%=(service.Fields.Item("CompanyName").Value)%>
Contact: <%=(service.Fields.Item("Title").Value)%> <%=(service.Fields.Item("Firstname").Value)%> <%=(service.Fields.Item("Surname").Value)%> Title: <%=(service.Fields.Item("JobTitle").Value)%>
Address: <%=(service.Fields.Item("Address1").Value)%> Tel: <%=(service.Fields.Item("Telephone").Value)%>
<%=(service.Fields.Item("Address2").Value)%> fax: <%=(service.Fields.Item("Fax").Value)%>
<%=(service.Fields.Item("Address3").Value)%> email: "><%=(service.Fields.Item("Email").Value)%>
<%=(service.Fields.Item("Address4").Value)%> url: "><%=(service.Fields.Item("DURL").Value)%>
  <%=(service.Fields.Item("Address5").Value)%>    

Project End Date (if applicable): <%=(service.Fields.Item("ProjectEndDate").Value)%>


Support Type:
<%=(service.Fields.Item("support").Value)%>

Brief Description:
<%=(service.Fields.Item("BriefDesc").Value)%>

Aims & Objectives:
<%=(service.Fields.Item("AimsObjectives").Value)%>

Main Programme:
<%=(service.Fields.Item("DescMainProg").Value)%>

Other Activities:
<%=(service.Fields.Item("DescOthAct").Value)%>

Other Support Services:
<%=(service.Fields.Item("DescOthSupServ").Value)%>

Guidance Supports :

Guidance Services Provided to Early School Leavers:

0 then Response.Write "CHECKED"%> type="checkbox" name="CI" value="<%=(service.Fields.Item("GuidServCI").Value)%>"> Careers Information 0 then Response.Write "CHECKED"%> type="checkbox" name="JSS" value="<%=(service.Fields.Item("GuidServJSS").Value)%>"> Job Search Skills 0 then Response.Write "CHECKED"%> type="checkbox" name="PC" value="<%=(service.Fields.Item("GuidServPC").Value)%>"> Personal Counselling
0 then Response.Write "CHECKED"%> type="checkbox" name="PT1" value="<%=(service.Fields.Item("GuidServPT1").Value)%>"> Psychometric Testing (I) 0 then Response.Write "CHECKED"%> type="checkbox" name="WEP" value="<%=(service.Fields.Item("GuidServWEP").Value)%>"> Work Experience Programme 0 then Response.Write "CHECKED"%> type="checkbox" name="FC" value="<%=(service.Fields.Item("GuidServFC").Value)%>"> Family Counselling
0 then Response.Write "CHECKED"%> type="checkbox" name="PT2" value="<%=(service.Fields.Item("GuidServPT2").Value)%>"> Psychometric Testing (II) 0 then Response.Write "CHECKED"%> type="checkbox" name="PSD" value="<%=(service.Fields.Item("GuidServPSD").Value)%>"> Personal and Social Development 0 then Response.Write "CHECKED"%> type="checkbox" name="OGCS" value="<%=(service.Fields.Item("GuidServOth").Value)%>"> Other Guidance and Counselling Service
0 then Response.Write "CHECKED"%> type="checkbox" name="SPS" value="<%=(service.Fields.Item("GuidServSPS").Value)%>"> Self Presentation Skills 0 then Response.Write "CHECKED"%> type="checkbox" name="CC" value="<%=(service.Fields.Item("GuidServCC").Value)%>"> Career Counselling
Access to a Qualified Counsellor: 0 then Response.Write "CHECKED"%> type="checkbox" name="QC" value="checkbox">

Access to Other Guidance Supports:

0 then Response.Write "CHECKED"%> type="checkbox" name="A" value="<%=(service.Fields.Item("GuidServCI").Value)%>"> An Advocate
0 then Response.Write "CHECKED"%> type="checkbox" name="M" value="checkbox"> A Mentor
0 then Response.Write "CHECKED"%> type="checkbox" name="QGC" value="<%=(service.Fields.Item("GuidAccM").Value)%>"> A Qualified Guidance Counsellor
0 then Response.Write "CHECKED"%> type="checkbox" name="OGC" value="<%=(service.Fields.Item("GuidAccQGC").Value)%>"> Other Career Guidance Counselling

 

Target Group:

Guidance Services Provided to Early School Leavers:

Target Age Group: <%=(service.Fields.Item("TargetAge").Value)%>
Aimed Soley at Early School Leavers 0 then Response.Write "CHECKED"%> type="checkbox" name="SESL" value="checkbox">
Attendance is Voluntary 0 then Response.Write "CHECKED"%> type="checkbox" name="ATTVol" value="checkbox">
Maximum Number that can be accommodated: <%=(service.Fields.Item("MaxNumber").Value)%>
Maximum Length of Stay (if applicable): <%=(service.Fields.Item("LengthStayMax").Value)%> months

Qualifications Achievable (if applicable)

0 then Response.Write "CHECKED"%> type="checkbox" name="ncva" value="checkbox"> NCVA
0 then Response.Write "CHECKED"%> type="checkbox" name="jc" value="checkbox"> Junior Certificate
0 then Response.Write "CHECKED"%> type="checkbox" name="lc" value="checkbox"> Leaving Certificate
0 then Response.Write "CHECKED"%> type="checkbox" name="lca" value="checkbox"> Leaving Certificate Applied
0 then Response.Write "CHECKED"%> type="checkbox" name="oth4" value="checkbox"> Other: <%=(service.Fields.Item("QualOthSp").Value)%>

Qualifications Achievable (if applicable)

0 then Response.Write "CHECKED"%> type="checkbox" name="ncva2" value="checkbox"> NCVA
0 then Response.Write "CHECKED"%> type="checkbox" name="jc2" value="checkbox"> Junior Certificate
0 then Response.Write "CHECKED"%> type="checkbox" name="lc2" value="checkbox"> Leaving Certificate
0 then Response.Write "CHECKED"%> type="checkbox" name="lca2" value="checkbox"> Leaving Certificate Applied
0 then Response.Write "CHECKED"%> type="checkbox" name="oth2" value="checkbox"> Other: <%=(service.Fields.Item("QualOthSp").Value)%>

Funding Authority:

0 then Response.Write "CHECKED"%> type="checkbox" name="LDV2" value="checkbox"> EU Leonardo da Vinci Programme 0 then Response.Write "CHECKED"%> type="checkbox" name="DHC2" value="checkbox"> Department of Health and Children
0 then Response.Write "CHECKED"%> type="checkbox" name="YS2" value="checkbox"> EU Youthstart Programme 0 then Response.Write "CHECKED"%> type="checkbox" name="DJEL2" value="checkbox"> Department of Justice, Equality and Law Reform
0 then Response.Write "CHECKED"%> type="checkbox" name="INt2" value="checkbox"> EU Integra Programme 0 then Response.Write "CHECKED"%> type="checkbox" name="DSCF2" value="checkbox"> Department of Social, Community and Family Affairs
0 then Response.Write "CHECKED"%> type="checkbox" name="Now2" value="checkbox"> EU Now Programme 0 then Response.Write "CHECKED"%> type="checkbox" name="DETE2" value="checkbox"> Department of Enterprise, Trade and Employment
0 then Response.Write "CHECKED"%> type="checkbox" name="Hor2" value="checkbox"> EU Horizon Programme 0 then Response.Write "CHECKED"%> type="checkbox" name="IRl2" value="checkbox"> The Ireland Funds
0 then Response.Write "CHECKED"%> type="checkbox" name="LDP2" value="checkbox"> EU Local Development Programme 0 then Response.Write "CHECKED"%> type="checkbox" name="FAS2" value="checkbox"> FAS
0 then Response.Write "CHECKED"%> type="checkbox" name="UCI2" value="checkbox"> Urban Community Initiative 0 then Response.Write "CHECKED"%> type="checkbox" name="VEC2" value="checkbox"> VEC
0 then Response.Write "CHECKED"%> type="checkbox" name="PAR2" value="checkbox"> Programme for Peace and Reconciliation 0 then Response.Write "CHECKED"%> type="checkbox" name="oth3" value="checkbox"> Other: <%=(service.Fields.Item("FAOthsp").Value)%>
0 then Response.Write "CHECKED"%> type="checkbox" name="DES2" value="checkbox"> Department of Education and Science  

Opening Hours:

Monday <%= DoDateTime((service.Fields.Item("MonOpen").Value), 4, 1033) %> <%= DoDateTime((service.Fields.Item("MonClose").Value), 4, 1033) %>
Tuesday <%= DoDateTime((service.Fields.Item("TueOpen").Value), 4, 1033) %> <%= DoDateTime((service.Fields.Item("TueClose").Value), 4, 1033) %>
Wednesday <%= DoDateTime((service.Fields.Item("WedOpen").Value), 4, 1033) %> <%= DoDateTime((service.Fields.Item("WedClose").Value), 4, 1033) %>
Thursday <%= DoDateTime((service.Fields.Item("ThurOpen").Value), 4, 1033) %> <%= DoDateTime((service.Fields.Item("ThurClose").Value), 4, 1033) %>
Friday <%= DoDateTime((service.Fields.Item("FriOpen").Value), 4, 1033) %> <%= DoDateTime((service.Fields.Item("FriClose").Value), 4, 1033) %>
Saturday <%= DoDateTime((service.Fields.Item("SatOpen").Value), 4, 1033) %> <%= DoDateTime((service.Fields.Item("SatClose").Value), 4, 1033) %>
Sunday <%= DoDateTime((service.Fields.Item("SunOpen").Value), 4, 1033) %> <%= DoDateTime((service.Fields.Item("SunClose").Value), 4, 1033) %>

Number of Staff Employed:

Full Time: <%=(service.Fields.Item("StaffFT").Value)%>
Part Time (regular): <%=(service.Fields.Item("StaffPTR").Value)%>
Part Time (irregular): <%=(service.Fields.Item("StaffPTI").Value)%>
Community Employment Workers: <%=(service.Fields.Item("StaffCEW").Value)%>
Community Employment Volunteers: <%=(service.Fields.Item("StaffCEV").Value)%>

">edit this service


<% service.Close() %>