% ref=Request.ServerVariables ("HTTP_REFERER")
provstr="
Provider=SQLNCLI11;
SERVER=192.168.2.75;
DATABASE=rocketquotes;
UID=rocketsuper;
PWD=thi242*Qt;
Network=dbmssocn
"
%>
<% Function zcon(id) thisval=id If thisval<>"" Then
thisval = CDbl(thisval)
End If
If Not IsNumeric(thisval) Then
thisval = "0"
End If
If thisval = "" Then
thisval = "0"
End If
zcon = thisval
End Function
Function sqlpr(id)
If Not IsNumeric(id) Then
response.Write id
response.Write "URL TAMPER DETECTED!"
response.End
Else
sqlpr = id
End If
End Function
Function timezoner(thedate)
'convert date to UTC format
UDate = (DateDiff("s", "01/01/1970 00:00:00", thedate))
'compensate for EST
UDate = UDate+18000
'change back to VB format
unUDate = DateAdd("s", UDate, "01/01/1970 00:00:00")
'apply timezone
timezoner = formatdatetime(DateAdd("h", zoneoffset, unudate), 2)
End Function
%>
Example 1
CATEGRORY |
SKU |
ITEM |
Project |
QTY |
COST |
--- |
Brochures |
SKU123 |
8.5x11 Brucures |
Scott Project |
100 |
26.00 |
2,600 |
Special Instructions |
PO# |
*Special Instructions |
RP394287239 |
SHIPPING |
BILLING |
Company
{Last, First}
Address 1
{Address 1}
{City, State, Zip}
Method
usaship
cship
|
Company
{Last, First}
Address 1
{Address 1}
{City, State, Zip}
Method
usaship
cship
|
Print Files: |
1. Front.pdf |
SHIPPING |
SALES TAX |
SUB-TOTAL |
CREDITS |
TOTAL |
0.00 |
0.00 |
$2,600 |
0.00 |
$2,600 |