<%@ Language=VBScript %> <%Option Explicit%> <% Response.Buffer = true %> BuildersPlanet.com Work Force Hot Post <% 'put this on pages that require log in vLogin_id = ForceLogin( Request.Cookies("BPLN")("Scrbl") ) %> <% ' set field vars dim vHotLbr_id, vCompName, vAvailLoc, vWrkType, vSpclty, vStatus, vContact dim vPost2wk, vPost4wk, vRemovePost, vRemovePostW, vRPostBox dim vPostTm, vToWeb, vToList,vToPriv, vName, vCreate, qRecId, vOrigin dim vSuccess, vOk_todistr, vNoFeat, vSpmChck vHotLbr_id = "" vCompName = "" vAvailLoc = "" vWrkType = "" vSpclty = "" vStatus = "" vName = "" vContact = "" vPostTm = "" vPost2wk = "checked" vPost4wk ="" vToWeb = "checked" vToList = "" vToPriv = "" vSpmChck ="0" vCreate = "" vOrigin = "" vRemovePost = "" vRemovePostW = "" vRPostBox = " " vNoFeat = "" vLoginName ="" %> <% if(not isempty (Request.QueryString("qRecId")))then vHotLbr_id = Request.QueryString("qRecId") ' visit to page - get info from db ' connect to the database dim conn ' hold the connect to the database dim vSQL ' holds the sql statement to execute dim vRec ' holds the record from query. set conn = server.CreateObject("adodb.connection") conn.Open Application("DBName"),Application("DBUser"),Application("DBPswd") vSQL = "GetHotLbrInfo '" & vLogin_id & "', '" & vHotLbr_id & "'" set vRec = conn.Execute ( vSQL ) if( not vRec.EOF ) then vHotLbr_id = vRec("hotlbr_id") vStatus= vRec("status") vWrkType = vRec("wrk_type") vSpclty = vRec("spclty") vAvailLoc = vRec("location") vCompName = vRec("comp_name") vName = vRec("ad_name") vContact = vRec("contact_inf") vPostTm = vRec("post_time") if( vPostTm = "4")then vPost4wk = "checked" vPost2wk = "" else vPost4wk = "" vPost2wk = "checked" end if vToWeb = vRec("to_web") vToList = vRec("to_list") vToPriv = vRec("to_priv") vCreate = vRec("created") vRPostBox = " Remove this posting (Delete) " end if end if if (Session("feature_set")< 2)then vNoFeat = ", certain requested information on your 'About Me' page of your 'Desktop' is incomplete. This may cause a delay in posting the following information. To assure a speedy post, please provide the requested information on the About Me page of your Desktop then return to this page. Or continue and be aware of possible delays in your post." vLoginName = Session("login_name") end if %> <% if(isempty (Request.QueryString("qRecId")))then set conn = server.CreateObject("adodb.connection") conn.Open Application("DBName"),Application("DBUser"),Application("DBPswd") vSQL = "GetuAdminProf '" & vLogin_id & "'" set vRec = conn.Execute ( vSQL ) 'set form information vName = vRec("first_name") & " " & vRec("last_name" ) vContact = "Phone: " & vRec("phone1") & vbCRLF & "Fax: " & vRec("fax1") & vbCRLF & "Email: " & vRec("comp_email") vCompName = vRec("company_name") end if %> <% if not isempty( Request.Form("submit") ) then ' the user hit the submit button ' update or create the info vLogin_id = Session("login_id") vHotLbr_id = Request.Form("hotlbrprjid") 'updating a record if value 'new record if empty vStatus = Request.Form("availdates") vWrkType = Request.Form("worktype") vWrkType = replace(vWrkType,"'","''") vSpclty = Request.Form("specialty") vSpclty = replace(vSpclty,"'","''") vAvailLoc= Request.Form("location") vAvailLoc = replace(vAvailLoc,"'","''") vCompName = Request.Form("compname") vCompName = replace(vCompName,"'","''") vName = Request.Form("name") vName = replace(vName,"'","''") vContact = Request.Form("contact") vContact = replace(vContact,"'","''") vPostTm = Request.Form("posttime") vToWeb = Request.Form("toweb") if (Request.Form("remove") = "checked") then vToWeb = "" end if vToList = Request.Form("tolist") vToPriv = Request.Form("topriv") vSpmChck = tt(vCompName&vAvailLoc&vWrkType&vSpclty&vStatus&vContact&vName) vOrigin = "web" vRemovePost = Request.Form("remove") if (vRemovePost = "checked") then vRemovePostW = Session("login_id") end if vOk_todistr = "yes" if (Session("feature_set")< 2)then vOk_todistr = "verify" end if set conn = server.CreateObject("adodb.connection") conn.Open Application("DBName"),Application("DBUser"),Application("DBPswd") vSQL = "SetHotLbr '" & vLogin_id & "', '" & vHotLbr_id & "', '" & vStatus & "', '" & vWrkType & "', '" & vSpclty & "', '" & vAvailLoc & "', '" & vCompName & "', '" & vName & "', '" & vContact & "', '" & vPostTm & "', '" & vToWeb & "', '" & vToList & "', '" & vToPriv & "', '" & vSpmChck & "', '" & vOrigin & "', '" & vRemovePost & "', '" & vRemovePostW & "', '" & vOk_todistr & "'" conn.Execute ( vSQL ) ' no results 'vSuccess = "Your Information Was updated Successfully
" Response.Redirect ("/Common/formsuccess.asp?originalPage="&Request.ServerVariables("SCRIPT_NAME"))'go here after submittal end if %> ">
BuildersPlanet.comBuildersPlanet Home Page
Marketplace Job Bank Buy/Sell Community News Services
 HOME  >  Job Bank >  Work Force HotList  >  Work Force HotList ','instantmessage','width=375,height=400')>Instant Feedback
Post Your Availability to the Work Force HOTLIST!

Keep Crews busy when project schedules change unexpectedly.
Post current schedule openings so Developers, Owners and Contractors can contact you if your schedule openings meet their needs. It's FREE.
Post Individual pages to promote your specialty.

Work Force Hotlist
Ready To work Find man power you need
Current Hotlist Projects where your services are needed.

<%=vLoginName%><%=vNoFeat%>
Items with an * are required.
Pressing the return key between text in a multi-line fields will display that text on a new line when users view this item.
We suggest this for lists or addresses. You can change or delete any ' auto filled' information.

  Company Name
* Available Locations
* Work Type
Ex.,Commercial, plumbers, electricians
  Specialties
Describe any specific services, licenses, bonding, crew Size, or any information a prospective customer might be interested in.
*

Current Availability
Status
What are the days or weeks that you are available for.

  Contact Name
* Contact information
Phone, E-mail, Address, etc.
           id="posttime" name="posttime" type="radio" value="2" > 2 weeks             id="posttime" name="posttime" type="radio" value="4"> 4wks(max allowed)
 
> Post to web > Post to List > Post Private
This will post this information to the BuildersPlanet.com website This will send this Information to interested parties on our list This will send this information only to your preferred list of businesses (My Desktop)
  You may change, update or delete information posted to the web site by clicking the update button on the display page.
List and Private options are sent immediately thus can not be updated or changed.
  <%=vRPostBox%>

Legal notice: BuildersPlanet.com reserves the right to not allow any posting for any reason. BuildersPlanet.com is NOT responsible for the content submitted or any errors in any posting. A posting does not constitute an endorsement or assurance of accuracy for any posting by BuildersPlanet.com.You agree to terms above and you agree to indemnify and hold BuildersPlanet.com harmless for any claim or damages arising from the use of this form and/or content of materials submitted to BuildersPlanet.com Website. By using this site you accept our terms and privacy policy. For comments or problems email Webmaster@buildersplanet.com