<%@ Language=VBScript %> <%Option Explicit%> <% Response.Buffer = true %> BuildersPlanet.com Auctions Post <% 'put this on pages that require log in vLogin_id = ForceLogin( Request.Cookies("BPLN")("Scrbl") ) %> <% ' set field vars dim vQryRec_id, vSponsor, vHeadline, vDescrip, vValuR, vType, vContact, vDates dim vPost2wk, vPost4wk, vRemovePost, vRemovePostW, vRPostBox dim vPostTm, vToWeb, vToList,vToPriv, vLocat, vName, vCreate, qRecId, vOrigin dim vSuccess, vOk_todistr, vNoFeat, vSpmChck vQryRec_id = "" vSponsor = "" vHeadline = "" vDescrip = "" vValuR = "" vType = "" vDates = "" 'added 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 = "GetAuctionsInfo '" & vLogin_id & "', '" & vQryRec_id & "'" set vRec = conn.Execute ( vSQL ) if( not vRec.EOF ) then vQryRec_id = vRec("auction_id") vSponsor = vRec("sponsor") vHeadline = vRec("headline") vDescrip = vRec("descrip") vValuR = vRec("value_rng") vType = vRec("type") vDates = vRec("dates") 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 %> <% dim vState 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" ) vState =", " & vRec("state1") & ", " if vRec("state1")="Choose a State" then vState = "" end if vContact = "Phone: " & vRec("phone1") & vbCRLF & "Fax: " & vRec("fax1") & vbCRLF & "Email: " & vRec("comp_email") & vbCRLF & vRec("address1") & vbCRLF & vRec("city1") & vState & 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 vSponsor = Request.Form("sponsor") vSponsor = replace(vSponsor,"'","''") vHeadline = Request.Form("headline") vHeadline = replace(vHeadline,"'","''") vDescrip = Request.Form("description") vDescrip = replace(vDescrip,"'","''") vValuR= Request.Form("value_rng") vValuR = replace(vValuR,"'","''") vType = Request.Form("type") vType = replace(vType,"'","''") vDates = Request.Form("dates") vDates = replace(vDates,"'","''") 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( vSponsor&vHeadline&vDescrip&vValuR&vType&vContact&vDates&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 = "SetAuctions'" & vLogin_id & "', '" & vQryRec_id & "', '" & vSponsor & "', '" & vHeadline & "', '" & vDescrip & "', '" & vValuR & "', '" & vType & "', '" & vDates & "', '" & 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
HOME > BuySell > Auctions > Auction Form ','instantmessage','width=375,height=400')>Instant Feedback

Post Auction Ad

Post Auctions of Interest to construction industry proffesionals. If you would like to have a page on a regular basis for direct marketing to the construction industry Click Here to find out more.
Look at current Auction postings

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

*

Headline
Brief Discription of the Auction

*

Sponser or Company
Who is putting on Auction

*

General Auction Description
What kind of items, etc..
up to 250 Characters

 

Value Range
of Items being Auctioned

*

Auction Type
Sealed Bid, etc.

*

Auction Location

*

Auction Date(s)
Date(s) and Time(s)

  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