I have contacted the creators of PayPal Shop Builder and they refuse to help. The code is some form of html. PayPal Shop Builder uses the code along with a few other pages (those pages the code I understand) however the main template file below I do not.
When the program generates the website it makes a menu system that flys out, a shopping cart that lists items in the cart as they are added, and lists a few other things such as a table for the items.
CODE
<!--##SESSION header_top##-->
<html>
<head>
<!--##$COND PROJ/UseDatabase/EQ/True##-->
<title><!--##=PROJ.BodyTitle##--></title>
<!--##$/COND##-->
<!--##$COND PROJ/UseDatabase/EQ/False##-->
<!--##$COND CTRL/CtrlID/NE/view,CTRL/CtrlID/NE/list##-->
<title><!--##=PROJ.BodyTitle##--></title>
<!--##$/COND##-->
<!--##$COND CTRL/CtrlID/EQ/list##-->
<title><!--%=ItemFullCategory--></title>
<!--##$/COND##-->
<!--##$COND CTRL/CtrlID/EQ/view##-->
<title><!--%=ItemName--></title>
<!--##$/COND##-->
<!--##$/COND##-->
<!--##$COND PROJ/Cache/NE/True##-->
<!--##=No_Cache##-->
<!--##$/COND##-->
<script type="text/javascript">
EW_ROOT_PATH = "<!--##=RootPath##-->"; // configure root path
<!--##$COND PROJ/UseDatabase/EQ/False##-->
<!--##$COND CTRL/CtrlID/NE/thank##-->
ew_cartAction = 0; // Load cart
<!--##$/COND##-->
<!--##$COND CTRL/CtrlID/EQ/thank##-->
ew_cartAction = 1; // Clear cart
<!--##$/COND##-->
<!--##$/COND##-->
<!--##$COND CTRL/CtrlID/EQ/aspheader,PROJ/ServerSideScript/EQ/ASP##-->
<% If ew_CartAction = "C" Then %>
ew_cartAction = 1;
<% Else %>
ew_cartAction = 0;
<% End If %>
<!--##$/COND##-->
<!--##$COND CTRL/CtrlID/EQ/phpheader,PROJ/ServerSideScript/EQ/PHP##-->
<?php if ($ew_CartAction == "C") { ?>
ew_cartAction = 1;
<?php } else { ?>
ew_cartAction = 0;
<?php } ?>
<!--##$/COND##-->
<!--##$COND PROJ/UseDatabase/EQ/True,PROJ/ServerSideScript/EQ/ASP##-->
// Region details
// - region id | region name
var ew_regionList = "<%= ew_GetCustomQueries("RegionList") %>";
// Country details
// - region id , country id , country code | country name
var ew_countryList = "<%= ew_GetCustomQueries("CountryList") %>";
// State details
// - country id , state id , state code | state name
var ew_stateList = "<%= ew_GetCustomQueries("StateList") %>";
//
// Discount details
// - discount type, discount quantity, discount rate (in percent)
//
var ew_discountList = "<%= ew_GetCustomQueries("DiscountList") %>";
//
// Shipping cost details
// - if shipping type = 0, use qty range calculation (qty)
// - type, method, region, country, state, qty, basecost, extracost
// - if shipping type = 1, use price range calculation (price)
// - type, method, region, country, state, price, basecost, extracost
// - if shipping type = 2, use weight range calcuation (weight)
// - type, method, region, country, state, weight, basecost, extracost
//
var ew_shipMethodList = "<%= ew_GetCustomQueries("ShipMethodList") %>";
var ew_shipcostList0 = "<%= ew_GetCustomQueries("ShipcostList0") %>";
var ew_shipcostList1 = "<%= ew_GetCustomQueries("ShipcostList1") %>";
var ew_shipcostList2 = "<%= ew_GetCustomQueries("ShipcostList2") %>";
var ew_shipTypeList = "<%= ew_GetCustomQueries("ShipTypeList") %>";
//
// Tax details
// - type, region, country, state, tax rate (in percent)
//
var ew_taxList = "<%= ew_GetCustomQueries("TaxList") %>";
<!--##$/COND##-->
<!--##$COND PROJ/UseDatabase/EQ/True,PROJ/ServerSideScript/EQ/PHP##-->
// Region details
// - region id | region name
var ew_regionList = "<?php echo ew_GetCustomQueries("RegionList") ?>";
// Country details
// - region id , country id , country code | country name
var ew_countryList = "<?php echo ew_GetCustomQueries("CountryList") ?>";
// State details
// - country id , state id , state code | state name
var ew_stateList = "<?php echo ew_GetCustomQueries("StateList") ?>";
//
// Discount details
// - discount type, discount quantity, discount rate (in percent)
//
var ew_discountList = "<?php echo ew_GetCustomQueries("DiscountList") ?>";
//
// Shipping cost details
// - if shipping type = 0, use qty range calculation (qty)
// - type, method, region, country, state, qty, basecost, extracost
// - if shipping type = 1, use price range calculation (price)
// - type, method, region, country, state, price, basecost, extracost
// - if shipping type = 2, use weight range calcuation (weight)
// - type, method, region, country, state, weight, basecost, extracost
//
//var ew_shipCalcType = <!--##=PROJ.ShippingCalcType##-->;
var ew_shipMethodList = "<?php echo ew_GetCustomQueries("ShipMethodList") ?>";
var ew_shipcostList0 = "<?php echo ew_GetCustomQueries("ShipcostList0") ?>";
var ew_shipcostList1 = "<?php echo ew_GetCustomQueries("ShipcostList1") ?>";
var ew_shipcostList2 = "<?php echo ew_GetCustomQueries("ShipcostList2") ?>";
var ew_shipTypeList = "<?php echo ew_GetCustomQueries("ShipTypeList") ?>";
//
// Tax details
// - type, region, country, state, tax rate (in percent)
//
var ew_taxList = "<?php echo ew_GetCustomQueries("TaxList") ?>";
<!--##$/COND##-->
</script>
<script type="text/javascript" src="<!--##=RootPath##-->Spry_1_6_1_022408/includes_minified/SpryData.js"></script>
<script type="text/javascript" src="<!--##=RootPath##--><!--##=fn_ewcartconfig##-->"></script>
<script type="text/javascript" src="<!--##=RootPath##-->ewcart31.js"></script>
<link href="<!--##=RootPath##-->Spry_1_6_1_022408/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- Logo and top banner background color -->
<tr class="ewTopRow">
<td><!--##=SiteHeaderLogo##--></td>
</tr>
</table>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" class="ewMain">
<tr>
<!-- Begin Menu Column -->
<td width="20%" height="100%" valign="top" class="ewLeftColumn">
<!--##/SESSION##-->
<!--##SESSION header_bottom##-->
</td>
<!-- End Menu Column -->
<!-- Begin Content column -->
<td valign="top" class="ewMidColumn">
<!--##/SESSION##-->
<!--##SESSION menu##-->
<script type="text/javascript" src="<!--##=RootPath##-->Spry_1_6_1_022408/includes_minified/SpryMenuBar.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td style="white-space: nowrap"><span class="paypalshopmaker">
<!--##$COND PROJ/UseDatabase/EQ/True,PROJ/ServerSideScript/EQ/ASP##-->
<!-- Begin Main Menu -->
<%
' Generate all menu items
Dim rs_menu, sql_menu, oMenuRoot
Set oMenuRoot = new ew_Menu
oMenuRoot.Id = "RootMenu"
oMenuRoot.IsRoot = True
sql_menu = EW_MENU_SELECT_SQL
If EW_MENU_DEFAULT_ORDERBY <> "" Then
sql_menu = sql_menu & " ORDER BY " & EW_MENU_DEFAULT_ORDERBY
End If
Set rs_menu = Server.CreateObject("ADODB.Recordset")
rs_menu.CursorLocation = EW_CURSORLOCATION
rs_menu.Open sql_menu, Conn, 1, 2
Do While Not rs_menu.EOF
Call ew_LoadMenu(rs_menu)
oMenuRoot.AddMenuItem ew_MenuId, ew_MenuLink, ew_MenuGen, ew_MenuFn, ew_MenuUrl, ew_MenuParentId
rs_menu.MoveNext
Loop
rs_menu.Close
Set rs_menu = Nothing
oMenuRoot.Render
Set oMenuRoot = Nothing
%>
<!-- End Main Menu -->
<!--##$/COND##-->
<!--##$COND PROJ/UseDatabase/EQ/True,PROJ/ServerSideScript/EQ/PHP##-->
<!-- Begin Main Menu -->
<?php
// Generate all menu items
$oMenuRoot = new ew_Menu('RootMenu');
$oMenuRoot->IsRoot = TRUE;
$sql_menu = EW_MENU_SELECT_SQL;
if (EW_MENU_DEFAULT_ORDERBY <> "")
$sql_menu .= " ORDER BY " . EW_MENU_DEFAULT_ORDERBY;
if ($rs_menu = $conn->Execute($sql_menu)) {
while (!$rs_menu->EOF) {
ew_LoadMenu($rs_menu);
$oMenuRoot->AddMenuItem($ew_MenuId, $ew_MenuLink, $ew_MenuGen, $ew_MenuFn, $ew_MenuUrl, $ew_MenuParentId);
$rs_menu->MoveNext();
}
$rs_menu->Close();
}
$oMenuRoot->Render();
?>
<!-- End Main Menu -->
<!--##$/COND##-->
<!--##$COND PROJ/UseDatabase/EQ/False##-->
<!-- Begin Main Menu -->
<!--%=MENUS-->
<!-- End Main Menu -->
<!--##$/COND##-->
<script type="text/javascript">
var oMenuRoot = new Spry.Widget.MenuBar("RootMenu", {imgRight: EW_MENUBAR_RIGHTHOVER_IMAGE}); // Main menu
</script>
</span></td></tr>
</table>
<br />
<!--##$COND #Product/TblCategoryFld/EQ/''##-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td style="white-space: nowrap">
<span class="paypalshopmaker"><a href="<!--##=listfn##-->"><!--##@Products##--></a></span>
</td></tr>
</table>
<!--##$/COND##-->
<!--##$COND #Product/TblCategoryFld/NE/''##-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td style="white-space: nowrap">
<span class="paypalshopmaker"><b><!--##@Browse##--></b></span>
</td></tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td style="white-space: nowrap"><span class="paypalshopmaker">
<!--##$COND PROJ/UseDatabase/EQ/True,PROJ/ServerSideScript/EQ/ASP##-->
<!-- Begin Categories -->
<%
' Generate all category items
Dim rs_cat, sql_cat, oCatRoot
Set oCatRoot = new ew_Menu
oCatRoot.Id = "RootCat"
oCatRoot.IsRoot = True
sql_cat = EW_CATEGORY_SELECT_SQL
If EW_CATEGORY_DEFAULT_ORDERBY <> "" Then
sql_cat = sql_cat & " ORDER BY " & EW_CATEGORY_DEFAULT_ORDERBY
End If
Set rs_cat = Server.CreateObject("ADODB.Recordset")
rs_cat.CursorLocation = EW_CURSORLOCATION
rs_cat.Open sql_cat, Conn, 1, 2
Do While Not rs_cat.EOF
Call ew_LoadCat(rs_cat)
oCatRoot.AddMenuItem ew_CatId, ew_CatName, True, ew_CatFn, "", ew_CatParentId
rs_cat.MoveNext
Loop
rs_cat.Close
Set rs_cat = Nothing
oCatRoot.Render
Set oCatRoot = Nothing
%>
<!-- End Categories -->
<!--##$/COND##-->
<!--##$COND PROJ/UseDatabase/EQ/True,PROJ/ServerSideScript/EQ/PHP##-->
<!-- Begin Categories -->
<?php
// Generate all category items
$oCatRoot = new ew_Menu('RootCat');
$oCatRoot->IsRoot = TRUE;
$sql_cat = EW_CATEGORY_SELECT_SQL;
if (EW_CATEGORY_DEFAULT_ORDERBY <> "") $sql_cat .= " ORDER BY " . EW_CATEGORY_DEFAULT_ORDERBY;
$rs_cat = $conn->Execute($sql_cat);
while (!$rs_cat->EOF) {
ew_LoadCat($rs_cat);
$oCatRoot->AddMenuItem($ew_CatId, $ew_CatName, TRUE, $ew_CatFn, "", $ew_CatParentId);
$rs_cat->MoveNext();
}
$rs_cat->Close();
$oCatRoot->Render();
?>
<!-- End Categories -->
<!--##$/COND##-->
<!--##$COND PROJ/UseDatabase/EQ/False##-->
<script type="text/javascript">
var EW_NO_PRODUCT = "<!--##@\NoProductInCategory##-->";
</script>
<!-- Begin Categories -->
<!--%=CATEGORIES-->
<!-- End Categories -->
<!--##$/COND##-->
<script type="text/javascript">
var oCatRoot = new Spry.Widget.MenuBar("RootCat", {imgRight: EW_MENUBAR_RIGHTHOVER_IMAGE}); // Category menu
</script>
</span></td></tr>
</table>
<!--##/SESSION##-->
<!--##SESSION footer##-->
<p> </p>
</td>
<!-- End Content column -->
<!--##$COND #Product/TblppType/EQ/3##-->
<!-- Begin Cart column -->
<td width="20%" valign="top" class="ewRightColumn">
<p><b><div class="paypalshopmaker"><!--##@ShopCart##--></div></b></p>
<!-- Note: DO NOT CHANGE THE IDs! -->
<div id="ewCartView0" spry:region="dsShopCartItems dsShopCartSummary" class="SpryHiddenRegion">
<div spry:if="{dsShopCartItems::ds_RowCount} > 0">
<form name="simple" action="<!--##=RootPath##--><!--##=fn_checkout##-->">
<table class="ewTable0">
<tbody>
<tr spry:repeat="dsShopCartItems">
<td>{itemname}<br /><span style="white-space: nowrap">{price}</span> <!--##@DescQuantity##--> <!--##$COND PROJ/ppUndefinedQuantity/EQ/True##-->{quantity1}<!--##$/COND##--><!--##$COND PROJ/ppUndefinedQuantity/EQ/False##-->{quantity}<!--##$/COND##--> {remove}
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td style="white-space: nowrap"><b><!--##@DescTotal1##--></b> {dsShopCartSummary::total}</td>
</tr>
</tfoot>
</table>
<input type="image" src="<!--##=RootPath##-->images/ppcheckout.gif" alt="<!--##@\Checkout##-->" border="0">
</form>
</div>
<div class="ewMessage" spry:if="{dsShopCartItems::ds_RowCount} == 0"><!--##@CartEmptyMessage##--></div>
</div>
</td>
<!-- End Cart column -->
<!--##$/COND##-->
</tr>
</table>
<!-- Footor -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="ewFooterRow">
<td> <!-- Note: Only licensed users are allowed to remove or change the following copyright statement. -->
<font class="ewFooterText"><!--##=FooterText##--></font>
<!-- Place other links, for example, disclaimer, here -->
</td>
</tr>
</table>
<script type="text/javascript">
CartView();
</script>
</body>
</html>
<!--##/SESSION##-->