<html>
<head>
<title>Job Details</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.inf001 {  font-family: verdana; font-size: 8pt; color: #FFFFFF; text-decoration: none}
.inf002 {  font-family: verdana; font-size: 8pt; color: #000000; text-decoration: none}
.inf003 {  font-family: verdana; font-size: 8pt; color: #000000; font-weight:bold; text-decoration: none}
.inf004 {  font-family: verdana; font-size: 8pt; color: #FFFFFF; font-weight:bold; text-decoration: none}
A:hover {  text-decoration:none; color:red}
A	    {  text-decoration:none; color:blue}

-->
</style>
<%
server.ScriptTimeout=2400
set conn= server.CreateObject ("ADODB.connection")
'strsql="provider=microsoft.jet.oledb.4.0; data source=D:\data\db.mdb;"
strsql=("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("\db.mdb"))
conn.Open strsql

set rs=server.CreateObject ("ADODB.recordset")
nid=Request.QueryString("nid")
%>
</head>

	<body bgcolor="#F8F4ED" link="#0034ff" alink="red" vlink="#0034ff" topmargin="0" rightmargin="0" leftmargin="0" bottommargin="0">
<br>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  <td> 
<%
sql="select top 1 * from hotjobs where newsid=" & nid
'Response.Write sql & "<br>"
rs.Open sql,conn,3,3
%>
<br>

                              <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
                                <tr> 
                                  <td> 
                                  <% if not rs.EOF then
										 while not rs.EOF 
										 nid=rs("newsid")
										 code=rs("code")
										 vacant=rs("vacant")
										 companyprof=rs("companyprof")
										 skill=rs("skill")
										 jobsdescription=rs("jobsdescription")
										 qualification=rs("qualification")
										 experience=rs("experience")
										 location=rs("location")
										 contact=rs("contact")
										 ndate=rs("ndate")%>
                                    
            <table width="100%" border="0" cellpadding="7" cellspacing="1" bgcolor="#F8F4ED">
              <tr> 
                <td class="inf003" width=182>Jobe Code</td>
                <td class="inf002" width=5>:</td>
                <td class="inf002" width="740"><%=code%></td>
			  </tr>

              <tr><td height="1" colspan=3 bgcolor="#E0DBD1"></td></tr>
              <tr><td height="1" colspan=3 bgcolor="#FFFFFF"></td></tr>

              <tr> 
                <td class="inf003" width=182>Position Vacant</td>
                <td class="inf002" width=5>:</td>
                <td class="inf002" width="740"><%=vacant%></td>
			  </tr>

              <tr><td height="1" colspan=3 bgcolor="#E0DBD1"></td></tr>
              <tr><td height="1" colspan=3 bgcolor="#FFFFFF"></td></tr>

              <tr> 
                <td class="inf003" width=182>Company Profile</td>
                <td class="inf002" width=5>:</td>
                <td class="inf002" width="740"><%=companyprof%></td>
			  </tr>

              <tr><td height="1" colspan=3 bgcolor="#E0DBD1"></td></tr>
              <tr><td height="1" colspan=3 bgcolor="#FFFFFF"></td></tr>

              <tr> 
                <td class="inf003" width=182>Skills</td>
                <td class="inf002" width=5>:</td>
                <td class="inf002" width="740"><%=skill%></td>
			  </tr>

              <tr><td height="1" colspan=3 bgcolor="#E0DBD1"></td></tr>
              <tr><td height="1" colspan=3 bgcolor="#FFFFFF"></td></tr>

              <tr> 
                <td class="inf003" width=182>Job Descriptions</td>
                <td class="inf002" width=5>:</td>
                <td class="inf002" width="740"><%=jobsdescription%></td>
			  </tr>

              <tr><td height="1" colspan=3 bgcolor="#E0DBD1"></td></tr>
              <tr><td height="1" colspan=3 bgcolor="#FFFFFF"></td></tr>

              <tr> 
                <td class="inf003" width=182>Qualification</td>
                <td class="inf002" width=5>:</td>
                <td class="inf002" width="740"><%=qualification%></td>
			  </tr>

              <tr><td height="1" colspan=3 bgcolor="#E0DBD1"></td></tr>
              <tr><td height="1" colspan=3 bgcolor="#FFFFFF"></td></tr>

              <tr> 
                <td class="inf003" width=182>Experience</td>
                <td class="inf002" width=5>:</td>
                <td class="inf002" width="740"><%=experience%></td>
			  </tr>

              <tr><td height="1" colspan=3 bgcolor="#E0DBD1"></td></tr>
              <tr><td height="1" colspan=3 bgcolor="#FFFFFF"></td></tr>

              <tr> 
                <td class="inf003" width=182>Job Location</td>
                <td class="inf002" width=5>:</td>
                <td class="inf002" width="740"><%=location%></td>
			  </tr>

              <tr><td height="1" colspan=3 bgcolor="#E0DBD1"></td></tr>
              <tr><td height="1" colspan=3 bgcolor="#FFFFFF"></td></tr>
              <tr> 
                <td class="inf003" width=182>Contact Person</td>
                <td class="inf002" width=5>:</td>
                <td class="inf002" width="740"><%=contact%></td>
			  </tr>

              <tr><td height="1" colspan=3 bgcolor="#E0DBD1"></td></tr>
              <tr><td height="1" colspan=3 bgcolor="#FFFFFF"></td></tr>

              <tr> 
                <td class="inf003" width=182>Job Posted on</td>
                <td class="inf002" width=5>:</td>
                <td class="inf002" width="740"><%=ndate%></td>
			  </tr>

              <tr><td height="1" colspan=3 bgcolor="#E0DBD1"></td></tr>
              <tr><td height="1" colspan=3 bgcolor="#FFFFFF"></td></tr>

                                      
                                    </table>
                                      <%
                                      rs.MoveNext 
										wend
                                      end if
                                      rs.Close
                                      %>


                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                        </table>
<br><br>
<div align="center"> 
  <table width="100%" border="0" cellspacing="0" cellpadding="4">
    <tr> 
      <td width="47%" align="right"><a href="mail.asp"><img src="images/layoutimages/apply.jpg" width="93" height="22" border="0"></a></td>
      <td width="14%"><a href="refer.asp"></a> 
        <form name="form1" method="post" action="refer.asp">
<br>
        <input name="button2" type="Submit" class="inf002" value="Email this job to your friend">
		<input name="code" type="hidden" class="inf002" value="<%=code%>">
        <input name="vacant" type="hidden" class="inf002" value="<%=vacant%>">
		<input name="companyprof" type="hidden" class="inf002" value="<%=companyprof%>">
        <input name="skill" type="hidden" class="inf002" value="<%=skill%>">
		<input name="jobsdescription" type="hidden" class="inf002" value="<%=jobsdescription%>">
        <input name="qualification" type="hidden" class="inf002" value="<%=qualification%>">
		<input name="experience" type="hidden" class="inf002" value="<%=experience%>">
        <input name="location" type="hidden" class="inf002" value="<%=location%>">
		<input name="contact" type="hidden" class="inf002" value="<%=contact%>">
        <input name="datebox" type="hidden" class="inf002" value="<%=ndate%>">
        </form>
	  </td>
      <td width="39%"> 
        <input name="button2" type=button class="inf002" onClick="javascript:window.close()" value="Close">
      </td>
    </tr>
  </table>
  
</div>   
    <br>
</body>

