|
<%if Field1Title <> "" then%>
<%=Field1Title%>
<%=replace(Field1Body,chr(10)," ")%>
<%end if%>
<%if Field2Title <> "" then%>
<%=Field2Title%>
<%=replace(Field2Body,chr(10)," ")%>
<%end if%>
<%if Field3Title <> "" then%>
<%=Field3Title%>
<%=replace(Field3Body,chr(10)," ")%>
<%end if%>
<%strSQL = "SELECT * FROM tblCompanyJobs where Active ='Y' and Approved ='Y' and CompanyID ='" & CID & "' order by JobTitle"
rs.open strSQL, conn
if not rs.bof then%>
Positions Available
<%rs.movefirst
do while not rs.eof
JobTitle = rs("JobTitle")
ContactName = rs("ContactName")
ContactPhone = rs("ContactPhone")
if isnull(ContactPhone) then
ContactPhone = ""
end if
ContactEmail = rs("ContactEmail")
if isnull(ContactEmail) then
ContactEmail = ""
end if
JobDesc = rs("JobDesc")
if isnull(JobDesc) then
JobDesc = ""
end if
JobDesc = replace(JobDesc,chr(10)," ")
if ContactPhone <> "" and ContactEmail <> "" then
ContactString = "For more information, please contact " & ContactName & " at " & ContactPhone & " or "&ContactEmail&""
elseif ContactPhone <> "" then
ContactString = "For more information, please contact " & ContactName & " at " & ContactPhone
else
ContactString = "For more information, please contact " & ContactName & " at "&ContactEmail&""
end if%>
Title: <%=JobTitle%>
Description: <%=JobDesc%>
<%=ContactString%>
<%rs.movenext
loop
end if
rs.close%> |
Click photos to enlarge
<%
y = 0
for x = 0 to ubound(ImgArray)
if ImgArray(x) <> "" then
if y mod 2 = 0 then
response.write(" ")
y = 0
end if
y = y + 1
Jpeg.Open server.MapPath("/images/businesspictures/"&ImgArray(x))
Width = jpeg.Width + 37
Height = jpeg.Height + 45
JPeg.close
%>
%>&width=150&t=2) |
<%end if
next%>
|