<%@ Language=VBScript %> <%Option Explicit%> <% Response.Buffer = true %> BuildersPlanet.com Lend A Hand Post <% 'put this on pages that require log in vLogin_id = ForceLogin( Request.Cookies("BPLN")("Scrbl") ) %> <% ' set field vars dim vQryRec_id, vGroupT, vGroupN, vProjDesc, vNeeds, vTimeFr, vContact dim vPost2wk, vPost4wk, vRemovePost, vRemovePostW, vRPostBox dim vPostTm, vToWeb, vToList, vToPriv, vLocat, vName, vCreate, qRecId, vOrigin dim vSuccess, vOk_todistr, vNoFeat, vSpmChck vQryRec_id = "" vGroupT = "" vGroupN = "" vProjDesc = "" vNeeds = "" vTimeFr = "" vName = "" vContact = "" vLocat = "" vToWeb = "checked" vToList = "" vToPriv = "" vSpmChck ="0" vCreate = "" vOrigin = "" vRemovePost = "" vRemovePostW = "" vRPostBox = " " vNoFeat = "" vLoginName ="" %> <% if(not isempty (Request.QueryString("qRecId")))then vQryRec_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 = "GetLendHand '" & vLogin_id & "', '" & vQryRec_id & "'" set vRec = conn.Execute ( vSQL ) if( not vRec.EOF ) then vQryRec_id = vRec("lhand_id") vGroupT = vRec("grp_type") vGroupN = vRec("grp_name") vProjDesc = vRec("proj_descr") vNeeds = vRec("needs") vTimeFr = vRec("time_frm") vName = vRec("ad_name") vContact = vRec("contact_inf") vLocat = vRec("location") 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") & vbCRLF & vRec("address1") & vbCRLF & vRec("city1") & "," & vRec("state1") & "," & vRec("zip1") 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") vQryRec_id = Request.Form("queryrec") 'updating a record if value 'new record if empty vGroupT = Request.Form("grp_type") vGroupN = Request.Form("grp_name") vGroupN = replace(vGroupN,"'","''") vProjDesc = Request.Form("description") vProjDesc = replace(vProjDesc,"'","''") vNeeds= Request.Form("needs") vNeeds = replace(vNeeds,"'","''") vTimeFr = Request.Form("time_frm") vTimeFr = replace(vTimeFr,"'","''") vName = Request.Form("name") vName = replace(vName,"'","''") vContact = Request.Form("contact") vContact = replace(vContact,"'","''") vLocat = Request.Form("location") vLocat = replace(vLocat,"'","''") vToWeb = Request.Form("toweb") if (Request.Form("remove") = "checked") then vToWeb = "" end if vToList = Request.Form("tolist") vToPriv = Request.Form("topriv") vSpmChck = tt(vGroupT&vGroupN&vProjDesc&vNeeds&vTimeFr&vContact&vLocat&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 = "SetLendHand'" & vLogin_id & "', '" & vQryRec_id & "', '" & vGroupT & "', '" & vGroupN & "', '" & vProjDesc & "', '" & vNeeds & "', '" & vTimeFr & "', '" & vName & "', '" & vContact & "', '" & vLocat & "', '" & 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

Lend A Hand Post

If you are  a non profit  organization, charity, volunteer group or individuals with  a building needs  we  can help. By  posting your project here you can generate more interests from building professionals   who may have resources available for your particular needs. It's FREE .By posting a home page with background and  project details you can create an on going  awareness within the Construction Industry to promote  your cause. Click here to find out more.

Every month we select a charity group to highlight with a full page presentation.
Look at Current Charity needs

<%=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.

*

Group Name

*

Group Type

 

Project Description
What kind of Project do you need help with.
up to 250 Characters

*

Specific Needs
Do you need wood? Labor? Tools?

 

Time Frame

*

Organization or Project Location

  Contact Name
*

Contact information
Phone, E-mail, Address, etc.

 
> 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