Previous | Next | Main Index: Frames | No Frames |
Document: Frames | No Frames |
$default_setup_file = 'outlet.setup';If you change the filename of outlet.setup, change the value of $default_setup_file located in the DEFINE VARIABLES section at the top of ws400CS.cgi to reflect the file's new name.
$data_file = 'outlet.data';
$global_page_title = 'RDC Software';
@company = ( 'RDC Software', 'Route 3, Box 29B', 'Grapeland, Texas 75844', 'Phone: 936.687.2400', 'Fax: 936.687.9057' ); # DO NOT REMOVE - terminates @company
$currency = '$';
$currency = '£'; # Sterling Pounds $currency = 'Lit.'; # Italian Lira $currency = '$'; # US Dollars
$frontpage_file = 'outlet_frontpage.html';
$frameset_file = 'Frameset.html';
Frameset.html Frameset_banner.html
$duplicate_buttons = '1';
$button_1_txt = 'View Cart'; # Go to View/Modify table $button_2_txt = 'Front Page'; # Go to Store's Front Page $button_3_txt = 'Previous Page'; # Go to Previous Category or HTML Page $button_4_txt = 'Order Form'; # Go to Order Form $button_5_txt = 'Add to Cart'; # Add item to shopping cart
$add_cart_button = 'ac.Add_to_Cart.gif:BORDER="0" WIDTH="63" HEIGHT="15"';
$add_cart_button = 'Filename:Attributes'; $add_cart_button = 'IMAGE.gif'; No Image Attributes $add_cart_button = 'IMAGE.gif:'; No Image Attributes $add_cart_button = 'IMAGE.gif:BORDER="0" WIDTH="64" HEIGHT="15"';
$return_link_url = 'http://www.YourDomain.xxx';$return_link_url is an absolute URL link printed at the bottom of all pages in WebStore whose format is:
http://www.YourDomain.xxx/AnyDirectories/Filename.html
$return_link_url = 'http://'.$ENV{'HTTP_HOST'};
$return_link_title = 'Home Page';
$email_link_url = "WebStore\@YourDomain.xxx";
$email_link_title = 'Mail to: '.$email_link_url;
@field_names = ( # Field Name Dbase Field 'Color', # 0 'Size', # 1 'Shipping', # 2 'Item', # 3 'Category', # 4 'Price', # 5 'Name', # 6 'Description', # 7 'Image', # 8 'Id', # 9 ); # DO NOT REMOVE - terminates @field_names
$category_fld_num = '4';
$item_fld_num = '3';
Name Anchor: <A NAME="Item_Number"></A>
Item field value: Item Number Image filenames: Item_Number.gif Item_Number.jpg <IMG SRC="$graphics_url/Item_Number.gif" ALT="" BORDER=0> <IMG SRC="$graphics_url/Item_Number.jpg" ALT="" BORDER=0>
$price_fld_num = '5';
$image_fld_num = '8';
NOTE: First element of an array is 0 (zero). | ||||||||||||||||||
Database Fields in outlet.data | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | | | 1 | | | 2 | | | 3 | | | 4 | | | 5 | | | 6 | | | 7 | | | 8 | | | 9 |
Color | | | Size | | | Shipping | | | Item | | | Category | | | Price | | | Name | | | Description | | | Image | | | Id |
0|0|Item|Category|Price|Name|Description|Image|Id First Color list in %DD1_FIELDS - First Size list in %DD2_FIELDS 6|3|Item|Category|Price|Name|Description|Image|Id Last Color list in %DD1_FIELDS - Last Size list in %DD2_FIELDS |3|Item|Category|Price|Name|Description|Image|Id No Color list - Last Size list in %DD2_FIELDS 6||Item|Category|Price|Name|Description|Image|Id Last Color list in %DD1_FIELDS - No Size list ||Item|Category|Price|Name|Description|Image|Id No Color list - No Size list
%DD1_FIELDS = ( '0' => [ 'Blue', 'Black', 'Navy', 'Red' ], '1' => [ 'Light Blue', 'Light Brown', 'Red', 'White' ], '2' => [ 'Blue/Black', 'Green/Black', 'Pink/Black', 'Red/Black' ], '3' => [ 'Cadetblue', 'Coral', 'Cornsilk', 'Crimson' ], '4' => [ 'Dark Blue', 'Dark Cyan', 'Dark Gray', 'Dark Green' ], '5' => [ 'Brown', 'Gray', 'Green', 'White' ], '6' => [ 'Gold', 'Goldenrod', 'Gray', 'Green' ], ); # DO NOT REMOVE - terminates %DD1_FIELDS.
%DD2_FIELDS = ( '0' => [ '15 x 32', '15 x 34', '15 x 36', '15 x 38', '15 1/2 x 32', '15 1/2 x 34', '15 1/2 x 36', '15 1/2 x 38', '16 x 32', '16 x 34', '16 x 36', '16 x 38', '16 1/2 x 32', '16 1/2 x 34', '16 1/2 x 36', '16 1/2 x 38', '17 x 32', '17 x 34', '17 x 36', '17 x 38', '17 1/2 x 32', '17 1/2 x 34', '17 1/2 x 36', '17 1/2 x 38', '18 x 32', '18 x 34', '18 x 36', '18 x 38', '18 1/2 x 32', '18 1/2 x 34', '18 1/2 x 36', '18 1/2 x 38', '19 x 32', '19 x 34', '19 x 36', '19 x 38' ], '1 =>' [ 'Small', 'Medium', 'Large', 'X-Large', 'XX-Large' ], '2 =>' [ 'Small', 'Medium', 'Large', 'X-Large', 'XX-Large', 'XXX-Large' ], '3 =>' [ 'Regular', 'Tall', 'Extra-Tall', 'Big Regular', 'Big Tall' ], ); # DO NOT REMOVE - terminates %DD2_FIELDS.
$password_file = 'Access.Restrict.Phone.setup';
Setup Filename Type of Access Fields Access.Restrict.Password.setup E-mail Address and Password Access.Restrict.Phone.setup E-mail Address and Phone Number
$def_username = "demo\@YourDomain.xxx"; $def_password = 'demo1234';
$deny_access_url = 'http://www.YourDomain.xxx/Web_store/Html/denied.html';
$client_file = 'Access.Client.Phone.setup';
Setup Filename Type of Access Fields Access.Client.Password.setup E-mail Address and Password Access.Client.Phone.setup E-mail Address and Phone Number
$retrieve_file = 'Client.Retrieve.Phone.setup';
Setup Filename Type of Access Fields Client.Retrieve.Password.setup E-mail Address and Password Client.Retrieve.Phone.setup E-mail Address and Phone Number
$client_delete_age = '24';
$client_delete_age = '6' 6 months $client_delete_age = '12' 12 months $client_delete_age = '18' 18 months $client_delete_age = '24' 24 months
@client_fields = ( # Form Name Field Label 'nameFirst', # First Name 'nameLast', # Last Name 'name', # Name 'company', # Company 'addr1', # Address 1 'addr2', # Address 2 'addr3', # Address 3 'city', # City 'province', # Province 'state', # State 'country', # Country 'zip', # Zip/Postal Code 'phone', # Phone 'fax', # Fax 'email', # E-mail Address 'shpNameFirst', # Ship First Name 'shpNameLast', # Ship Last Name 'shpName', # Ship Name 'shpAddr1', # Ship Address 1 'shpAddr2', # Ship Address 2 'shpAddr3', # Ship Address 3 'shpCity', # Ship City 'shpProvince', # Ship Province 'shpState', # Ship State 'shpCountry', # Ship Country 'shpZip', # Ship Zip/Postal Code 'shpPhone', # Ship Phone 'shpIns', # Shipping Instructions 'password1', # Password 'ship', # Shipping Method 'tax', # Sales Tax ); # DO NOT REMOVE - terminates @client_fields
Order Reference 1010815114601967 Date 2001 08 15
$usr_fld_name = 'email';
$pwd_fld_name = 'phone';
Filename defined in Variable Settings $client_file or $password_file Access.Restrict.Phone.setup $pwd_fld_name = 'phone'; Access.Client.Phone.setup Access.Restrict.Password.setup $pwd_fld_name = 'password1'; Access.Client.Password.setup
susan@cgicentral.net~4096872400.client
$access_attempts = '3';
$admin_file_email = '';
$reseller_data_file = 'Resellers.data';
$read_file = $reseller_data_file.'.readonly';
Reseller code example: 31953-990806010728290 319 = United States 53 = Texas 990806010728290 = Cart reference number
http://www.YourDomain.xxx/Web_store/ws400CS.cgi?rsc=31953-990806010728290
$reseller_file = 'Form.Reseller.setup';
$reseller_spreadsheet = 'Resellers.data.txt';
%RESELLER_FIELDS = ( # KEY Field Name E-mail Label Dbase Field '00' => ['rsc', 'Reseller Code'], # 0 '01' => ['name', 'Name'], # 1 '02' => ['company', 'Company'], # 2 '03' => ['addr1', 'Address 1'], # 3 '04' => ['addr2', 'Address 2'], # 4 '05' => ['city', 'City'], # 5 '06' => ['state', 'State'], # 6 '07' => ['country', 'Country'], # 7 '08' => ['zip', 'Zip/Postal Code'], # 8 '09' => ['phone', 'Phone Number'], # 9 '10' => ['fax', 'Fax Number'], # 10 '11' => ['email', 'E-mail Address'], # 11 '12' => ['urlpage', 'Web Page URL'], # 12 ); # DO NOT REMOVE - terminates %RESELLER_FIELDS
@reseller_include_files = ( # 'include.reseller.txt', # 'include.reseller.category_page.txt', # 'include.reseller.item_page.txt', ); # DO NOT REMOVE - terminates @reseller_include_files
<!--include=include.reseller.txt-->
<!--include=subdir/include.reseller.txt-->
<!-- FILE NOT FOUND: include.reseller.txt -->
<!--name=rsc--> Reseller Code <!--name=name--> Name <!--name=company--> Company <!--name=addr1--> Address 1 <!--name=addr2--> Address 2 <!--name=city--> City <!--name=state--> State <!--name=country--> Country <!--name=zip--> Zip/Postal Code <!--name=phone--> Phone Number <!--name=fax--> Fax Number <!--name=email--> E-mail Address <!--name=urlpage--> Web Page URL
# Dbase Field Field Label $rsc_name_fld_num = '2'; # 2 Company $rsc_mail_fld_num = '11'; # 11 E-mail Address $rsc_urlpage_fld_num = '12'; # 12 Web Page URL
$merchant_file = '';
Processor Name Merchant Configuration Filename -------------- ------------------------------- Authorize.Net merchant.authorizenet.cfg Surepay merchant.surepay.cfg
$country_file = 'outlet.state_country.setup';
$pre_form_file = 'Pre.OrderForm.setup';
%form_files = ( # Not using real-time processing: # # KEYS zero - Filename one - Label '10' => ['OrderForm.CreditCard.setup', 'Credit Card'], '11' => ['OrderForm.Check.setup', 'Personal Check - US citizens'], '12' => ['OrderForm.FaxMail.setup', 'Fax or Mail your order'], # '13' => ['OrderForm.CreditFaxMail.setup', 'Credit Card, Fax, or Mail'], # '14' => ['Demo.OrderForm.CreditFaxMail.setup', 'Demo: Credit Card, Fax, or Mail'], # Authorize.Net real-time processing: # # '20' => ['OrderForm.AuthorizeNet.CreditCard.setup', 'Credit Card'], # '21' => ['OrderForm.AuthorizeNet.Check.setup', 'Personal Check - US citizens'], # '22' => ['Demo.OrderForm.AuthorizeNet.CreditCard.setup', 'Demo Authorize.Net: Credit Card'], # Surepay real-time processing: # # '30' => ['OrderForm.Surepay.CreditCard.setup', 'Credit Card'], # '31' => ['OrderForm.Surepay.Check.setup', 'Personal Check - US citizens'], # '32' => ['Demo.OrderForm.Surepay.CreditCard.setup', 'Demo Surepay: Credit Card'], # '33' => ['Demo.OrderForm.Surepay.Check.setup', 'Demo Surepay: Personal Check'], ); # DO NOT REMOVE - terminates %form_files
$demo_form_file = 'Demo.OrderForm.CreditFaxMail.setup';
$minimum_order = '25.00';
%DISCOUNT = ( # Subtotal Discount Discount Subtotal Value '1' => ['Subtotal Discount', ' 75.00:0', # 0% $75.00 or less '100.00:.10', # 10% $75.01 - $100.00 '125.00:.125', # 12.5% $100.01 - $125.00 '150.00:.15', # 15% $125.01 - $150.00 '175.00:.175', # 17.5% $150.01 - $175.00 '175.01:.20', # 20% $175.01 or more ], # Quantity Discount Discount Items Purchased # '2' => ['Quantity Discount', # ' 2:0', # 0% 1 - 2 # ' 6:.10', # 10% 3 - 6 # '12:.125', # 12.5% 7 - 12 # '24:.15', # 15% 13 - 24 # '36:.175', # 17.5% 25 - 36 # '37:.20', # 20% 37 or more # ], ); # DO NOT REMOVE - terminates %DISCOUNT
%SHIPPING = ( # Determines type of shipping # Database Field, Handling, Free Shipping '1' => ['', '', ''], # Domestic Shipping '2' => ['319', '10','11','12','13'], # Universal Subtotal Ranges '3' => [ # Order Subtotal Shipping Charged '100.00:6.95', # $0.01 to $100.00 $6.95 '150.00:9.95', # $100.01 to $150.00 $9.95 '200.00:12.95', # $150.01 to $200.00 $12.95 '300.00:15.95', # $200.01 to $300.00 $15.95 '300.01:18.95', # $300.01 & up $18.95 ], # Shipping Methods # 10 UPS Ground or Priority Mail: $3.95 plus 3% of order's subtotal # 11 2nd Day Air: $12.00 plus 4% of order's subtotal # 12 Standard Next Day Air: $18.00 plus 5% of order's subtotal # 13 Alaska & Hawaii: $12.00 plus 4% of order's subtotal # 14 Canadian Orders: $10.00 plus 17% of order's subtotal # 15 International Orders: $20.00 plus 8% of order's subtotal '10' => ['UPS Ground or Priority Mail', '3.95', '.03'], '11' => ['2nd Day Air', '12.00', '.04'], '12' => ['Standard Next Day Air', '18.00', '.05'], # State Specific Shipping Method '13' => ['Alaska & Hawaii', '12.00', '.04', '11:21'], # Country Specific Shipping Method '14' => ['Canadian Orders', '10.00', '.17', '132'], '15' => ['International Orders', '20.00', '.08'], ); # DO NOT REMOVE - terminates %SHIPPING
Example: $SHIPPING{1}[2] {1} An array's KEY value. KEY values will be referenced by their numeric value in the explanations below (0, 1, 2, etc.). [2] An array's element reference. Element numeric values will be spelled in the explanations below (zero, one, two, etc.) Specific arrays will be referenced as $SHIPPING{1}. A specific element within a specific array will be referenced as $SHIPPING{1}[2].Arrays 1, 2, and 10 must exist in %SHIPPING. If any of these arrays are not present in %SHIPPING or the value of their KEY (1, 2, 10) is altered, shipping is disabled in WebStore.
Array 1 - $SHIPPING{1}
KEY zero one two '1' => ['', '3.50', '150.00'],
zero | Database Shipping Field | |
Element zero is not used for Subtotal Range Shipping and must be set to ''. | ||
one | Handling Charge | |
Element one is the labor charge for packaging an order for shipment. | ||
Setting element one = '' disables the addition of a handling charge. | ||
Do not include a dollar sign or commas in element one. Element one is a fixed decimal number. | ||
two | Free Shipping | |
When the value of an order's subtotal is greater than the value listed in element two, no shipping or handling is charged for the order. The shipping drop down select element is not printed to the client's web browser. | ||
Setting element two = '' disables free shipping checks, all orders pay shipping. | ||
Do not include a dollar sign or commas in element two. Element two is a fixed decimal number. |
Array 2 - $SHIPPING{2} - Domestic Shipping
KEY zero one two three four '2' => ['319', '10', '11', '12', '13'],
zero | Country Code | |
Your 3 digit country code from %countries in outlet.state_country.setup. | ||
one, two, three, etc. Domestic Shipping Method KEYS | ||
Elements one, two, three, etc. is a listing off all domestic (your country's) shipping method KEYS in %SHIPPING. | ||
List as many domestic shipping methods as you require. |
Your 3 digit country code in element zero and the domestic shipping methods listed in elements one, two, three, etc. are used to determine if the client has chosen a shipping method which applies to their country of residence. |
Array 3 - $SHIPPING{3} - Universal Subtotal Ranges
'3' => [ # Order Subtotal Shipping Charged '100.00:6.95', # $0.01 to $100.00 $6.95 '150.00:9.95', # $100.01 to $150.00 $9.95 '200.00:12.95', # $150.01 to $200.00 $12.95 '300.00:15.95', # $200.01 to $300.00 $15.95 '500.00:20.00', # $300.01 to $500.00 $20.00 '750.00:30.00', # $500.01 to $750.00 $30.00 '750.01:45.00', # $750.01 & up $45.00 ],
Arrays 10 - XX $SHIPPING{10} - Shipping Methods
KEY zero one two three '10' => ['UPS Ground or Priority Mail', '', '', ''],
zero | Shipping Label | |
The shipping label used in the shipping drop down select element on the order form HTML page, confirmation of order HTML page, and e-mail messages. | ||
one | Add Value | |
When element one equals a dollar value, that value is added to the base shipping costs obtained using the universal subtotal range array, $SHIPPING{3}. When $SHIPPING{3} is not defined, element one's value becomes the total shipping cost for the shipping method. | ||
Element one may contain a set of tilde
delimited subtotal ranges:'15' => ['International Orders', '100.00:26.95~ 150.00:29.95~ 200.00:32.95~ 500.00:40.00~ 750.00:50.00~ 800.00:65.00', '', ''],Subtotal ranges present in a shipping method array take precedence over subtotal ranges in the universal subtotal range array, $SHIPPING{3}. | ||
Do not include dollar signs or commas in element one. Element one is a fixed decimal number. | ||
two | Multiply Value | |
The Multiply Value takes precedence over the universal subtotal range array, $SHIPPING{3}, and any value present in element one of the shipping method. | ||
The order's subtotal is multiplied by the decimal value present in element two to obtain the order's shipping cost. If a dollar value is present in element one, element one's value is added to the shipping cost product, producing the order's shipping subtotal. If ranges are present in element one, they are not used. | ||
Do not include a dollar sign or commas in element two. Element two is a fixed decimal number. | ||
three | Country or State(s) Specific Shipping Method | |
'14' => ['Canadian Orders', '10.00', '.17', '132'],For country-specific shipping methods, list the country's 3 digit code from %countries in outlet.state_country.setup in element three. Only one country code may be listed in element three for a country-specific shipping method. | ||
'13' => ['Alaska & Hawaii', '12.00', '.04', '11:21'],For state-specific shipping methods, list state 2 digit codes from %states in outlet.state_country.setup in element three. More than one state code may be listed in element three for a state-specific shipping method. Colon delimit multiple state codes. |
$tax = '1';
KEY zero one two three '53' => ['TX', 'Texas', '.0675'], '53' => ['TX', 'Texas', '.0675', '~~RATE~~ ~~STATE~~ Sales Tax'],
$tax_label = '~~RATE~~ ~~STATE~~ Sales Tax';
~~RATE~~ Tax rate in percentage format: 6.75% ~~STATE~~ US state from %states in $country_file ~~PROVINCE~~ Canadian province from %provinces in $country_file ~~COUNTRY~~ Country from %countries in $country_file
$tax_label = '~~RATE~~ ~~STATE~~ Sales Tax'; 6.75% Texas Sales Tax
$mail_file = 'WebStore.list';
Example record: susan@cgicentral.net|Susan Smith
$join_list = '';
$background = ''; No background $bgcolor = '#FFFFFF'; White $text_color = '#000000'; Black $link_color = '#0000FF'; Blue $vlink_color = '#0000A0'; Dark Blue $alink_color = '#FF0000'; RedSend Order to My Web Browser for Printing may be disabled by removing it's form submit button from %OrderForm in the order form setup file you are using.
$fax_signature = '2';
$delete_cart = '';
@email_numbers = ('4', '5', '0', '1');
NOTE: First element of an array is 0 (zero). | ||||||||||||||||||
Database Fields in outlet.data | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | | | 1 | | | 2 | | | 3 | | | 4 | | | 5 | | | 6 | | | 7 | | | 8 | | | 9 |
Color | | | Size | | | Shipping | | | Item | | | Category | | | Price | | | Name | | | Description | | | Image | | | Id |
%email_fields_array = ( '4' => 'right', '5' => 'left', '0' => 'left', '1' => 'left', ); # DO NOT REMOVE - terminates %modify_fields_array
$label_align = 'left';
LABELS ALIGNED 'left': Type of Card: Visa Name on Card: Susan Smith Card Number: 4111 1111 1111 1111 Expiration Month: January - 01 Expiration Year: 2003 LABELS ALIGNED 'right': Type of Card: Visa Name on Card: Susan Smith Card Number: 4111 1111 1111 1111 Expiration Month: January - 01 Expiration Year: 2003
$item_subtotal = '1';
$email_subject = $global_page_title.' Order';
RDC Software Order: [980712040921989]
$message_columns = '55';
$message_divider = '-';
$message_divider = '<>'; <><><><><><><><><><><><><><><><><><><><><><><><><><><><> $message_divider = '<> '; <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> $message_divider = '<><><><> '.$global_page_title.' <><><><>'; <><><><> RDC Software <><><><><><><><> RDC Software <><><><> $message_divider = '/\\'; /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ $message_divider = '-'; -------------------------------------------------------
if ($email_link_url) { $E_mail = "\n".'E-mail: mailto:'.$email_link_url } else { $E_mail = '' } $pre_client_msg = join("\n",@company)."\n". qq! ~~FULL~~: Thank you for your order ~~FIRST~~. We appreciate your business and look forward to serving you in the future. Please retain this e-mail for your records.\n$E_mail Store: ~~STORE~~ !; # DO NOT REMOVE - terminates $pre_client_msg.
~~FIRST~~ Client's first name ~~FULL~~ Client's full name ~~EMAIL~~ Client's e-mail address ~~STORE~~ WebStore URL
http://www.YourDomain.xxx/Web_store/ws400CS.cgi?uid=USERID&pwd=PASSWORD
join("\n",@company)."\n".
if ($email_link_url) { $E_mail = "\n".'E-mail: mailto:'.$email_link_url } else { $E_mail = '' }
$app_client_msg = qq!$E_mail Store: ~~STORE~~ !; # DO NOT REMOVE - terminates $app_client_msg.
~~FIRST~~ Client's first name ~~FULL~~ Client's full name ~~EMAIL~~ Client's e-mail address ~~STORE~~ WebStore URL
http://www.YourDomain.xxx/Web_store/ws400CS.cgi?uid=USERID&pwd=PASSWORD
$pre_admin_msg = '1';
$fax_email = '1';
0 | Order e-mail to administrator is disabled for fax orders. | |
---|---|---|
1 | Send order e-mail to the store administrator when a client prints an order to their web browser for faxing. | |
2 | Send order e-mail to the store administrator and reseller when a client prints an order to their web browser for faxing. |
%mail_order = ( # KEY Switches E-mail address '1' => [ 'af', $admin_email ], '2' => [ 'rsf', "Full Name <username\@Domain.xxx>"], ): # DO NOT REMOVE - terminates %mail_order
a | Administrative e-mail,
PGP encrypted or non-encrypted Complete order e-mail including credit card fields. If 'a' is not included in at least one e-mail address array, a complete administrative order message is delivered to $admin_email, defined in ws_global.setup. | |
---|---|---|
n | Administrative e-mail,
non-encrypted - no client form fields Abbreviated message containing items ordered by the client. | |
s | Administrative e-mail,
non-encrypted - no credit card fields Message construct shared by all administrative message types. | |
r | Reseller e-mail,
non-encrypted - no credit card fields Message sent to reseller when reseller functions are enabled. | |
c | Client e-mail Order receipt sent to the client submitting an order. | |
d | Send e-mail messages when operating in demonstration mode 'd' has no effect when WebStore's demonstration mode is disabled. Refer to $demo in ws_global.setup for demonstration mode details. | |
f | Send e-mail messages for fax order submissions Messages are delivered when a client prints an order to their web browser for faxing when $fax_email equals '1' or '2'. |
$log_file = 'WebStore_Access.stats';
Access Date and Time 21/Dec/1998 12:54:03 PM $ENV{'HTTP_USER_AGENT'} Type of Browser $ENV{'HTTP_REFERER'} Referring web page $ENV{'REMOTE_ADDR'} Remote address $ENV{'REMOTE_HOST'} Remote host
$log_file_size = '25000'; (log file size = 25K)
$log_delimiter = '';
$stat_file = 'WebStore_Query.stats';
Access Date and Time 21/Dec/1996 12:54:03 PM Setup File Store setup filename (file extension truncated) Request Primary Request (query name=value pair) $ENV{'REMOTE_ADDR'} Remote address Process ID Script process ID Query String name=value pairs present in form POST submissions or WebStore HREF anchor query strings. Values for login, password, username, and any field beginning with cc or chk are replaced with * (asterisks). Field names are case insensitive.
$stat_file_size = '50000'; (stat file size = 50K)
$stat_delimiter = '';
$count_file = 'WebStore_Access.counter';
$start_count = '0';
$counter_label = 'Visitor Count:';
$meta_tags = qq! <META NAME="description" content="$global_page_title - Online Shopping"> <META NAME="keywords" content="comma,delimited,list,of,keywords"> !: # DO NOT REMOVE - terminates $meta_tags
# $background = ''; # $bgcolor = '#FFFFFF'; # White # $text_color = '#000000'; # Black # $link_color = '#0000FF'; # Blue # $vlink_color = '#0000A0'; # Dark Blue # $alink_color = '#FF0000'; # Red
$graphics_url/$background OR $ssl_graphics_url/$backgroundSetting any of these variables = ''; disables printing their respective attribute within the opening <BODY> tag of WebStore generated HTML pages.
$SPC = ' ';
$CELLPADDING = '2';
$border = '0';
@vertical_numbers = ('7');
N Do not print the field's label. B, I, and U are ignored B Wrap <B> tags around field label I Wrap <I> tags around field label U Wrap <U> tags around field label
b Wrap <B> tags around field contents i Wrap <I> tags around field contents u Wrap <U> tags around field contents
VALUE: @vertical_numbers = ('','','0:B','','','7:N','',''); REDUCED TO: @vertical_numbers = ('0:B','','7:N');
VALUE: @vertical_numbers = ('0:B','','0:Nb','','7:N'); REDUCED TO: @vertical_numbers = ('0:B','','7:N');
Price Quantity text input Color SELECT element - field 0 Size SELECT element - field 1
VALUE: @vertical_numbers = ('0:B','','1:Nb','','7:N'); REDUCED TO: @vertical_numbers = ('0:B','','7:N'); VALUE: @vertical_numbers = ('1:B','','0:Nb','','7:N'); REDUCED TO: @vertical_numbers = ('0:B','','7:N');
@vertical_numbers = ('0'); Price, Quantity, Color, and Size with field labels. @vertical_numbers = ('0:B'); Price, Quantity, Color, and Size with <B> tags around field labels. @vertical_numbers = ('0:B', '', '7:N'); Price, Quantity, Color, and Size with <B> tags around field labels, followed by spacing row with HEIGHT=10, followed by Description field with no field label.
NOTE: First element of an array is 0 (zero). | ||||||||||||||||||
Database Fields in outlet.data | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | | | 1 | | | 2 | | | 3 | | | 4 | | | 5 | | | 6 | | | 7 | | | 8 | | | 9 |
Color | | | Size | | | Shipping | | | Item | | | Category | | | Price | | | Name | | | Description | | | Image | | | Id |
@display_numbers = ('7');
VALUE: @display_numbers = ('7','','7'); REDUCED TO: @display_numbers = ('7');
NOTE: First element of an array is 0 (zero). | ||||||||||||||||||
Database Fields in outlet.data | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | | | 1 | | | 2 | | | 3 | | | 4 | | | 5 | | | 6 | | | 7 | | | 8 | | | 9 |
Color | | | Size | | | Shipping | | | Item | | | Category | | | Price | | | Name | | | Description | | | Image | | | Id |
%fields_array = ( '0' => 'left', '3' => 'left', '4' => 'left', '5' => 'left', '6' => 'left', '7' => 'left', ); # DO NOT REMOVE - terminates %fields_array
$table_border = '1';
$spc_width = '7';
$spc_height = '1';
$table_title = $global_page_title;
$table_width = '';
$table_width = '85%'; # Percentage $table_width = '575'; # Pixel count
$item_separator = '';
$item_separator = $SPC; $item_separator = qq!<HR WIDTH="550" NOSHADE>!; $item_separator = qq!<IMG SRC="$graphics_url/divider.gif" BORDER=0>!;
$max_items = '10';
$display_category = '0';
$img_spacing = '10';
$img_border = '3';
$img_padding = '0';
$outer_clr_width = '3'; $outer_img_clr = '#FF0000'; Red
$inner_clr_width = '3'; $inner_img_clr = '#000000'; Black
@modify_display_numbers = ('5', '0', '1', '4');
NOTE: First element of an array is 0 (zero). | ||||||||||||||||||
Database Fields in outlet.data | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | | | 1 | | | 2 | | | 3 | | | 4 | | | 5 | | | 6 | | | 7 | | | 8 | | | 9 |
Color | | | Size | | | Shipping | | | Item | | | Category | | | Price | | | Name | | | Description | | | Image | | | Id |
%modify_fields_array = ( '5' => 'left', '0' => 'left', '1' => 'left', '4' => 'right', ); # DO NOT REMOVE - terminates %modify_fields_array
$modify_table_border = '1';
$modify_spc_width = '7';
$modify_spc_height = '1';
$header_bkg_clr = '#000000'; Black $header_fnt_clr = '#FFFFFE'; White
$dsc_hr_bkg_clr = '#DCDCDC'; Gainsboro $dsc_hr_fnt_clr = '#000000'; Black
$data_bkg_clr = '#B0C4DE'; Lightsteelblue $data_fnt_clr = '#000000'; Black
$modify_bkg_clr = '#B0C4DE'; Lightsteelblue $modify_fnt_clr = '#000000'; Black
$border_bkg_clr = '#B0C4DE'; Lightsteelblue
$count_bkg_clr = '#000000'; Black $count_fnt_clr = '#00FF00'; Green