My site Primecontrollers.com was blocked. But only on this page.
hxxp://w ww.PrimeControllers.com/GoodStore1/confirm.php
I have included the code that is apearently causing the problem. Any help would be amazing.
Thanks, TJ
Prime Controllers
<?php include "ppcfg.php" ?> <?php include "ppfn.php" ?> <?php session_start(); // Initialize session data ob_start(); // Turn on output buffering// Output HTTP header
ewpp_Header();// Include ADODB
include_once ‘adodb5/adodb.inc.php’;
?>
<?php $EWPP_PAGE_ID = “confirm”; // Page ID ?>
<?php// Open connection to the database
$conn = ewpp_Connect();
?>
<?php// Check application status
if (!ewpp_ApplicationEnabled()) {
echo $PPLanguage->Phrase(“ApplicationStopped”);
exit();
}
?>
<?php include “ppheader.php” ?>
<script type=“text/javascript”>
P.pageID[“confirm”] = true;
</script>
<!-- Note: DO NOT CHANGE THE ID AND DO NOT REMOVE THE COMMENTS! –>
<div id=“ewConfirm” class=“ewClientTemplate”>
<div class=“paypalshopmaker ewTitle”><p><b>{{html P.Phrase(“ConfirmOrder”)}}</b></p></div>
<br>
<!–Shopping Cart Checkout Begin–>
<form action=“${ P.PAYPAL_URL}” method=“post” id=“ewConfirmForm” name=“ewConfirmForm” class=“ewForm”>
<p><b>{{html P.Phrase(“OrderDetails”)}}</b></p>
<!-- shopping cart –>
{{if items.length}}
<table class=“ewTable1”>
<thead>
<tr>
<td class=“ewTable1Header”>{{html P.Phrase(“DescItemNumber”)}}</td>
<td class=“ewTable1Header”>{{html P.Phrase(“DescItemName”)}}</td>
<td class=“ewTable1Header”>{{html P.Phrase(“DescOption”)}}</td>
<td class=“ewTable1Header”>{{html P.Phrase(“DescPrice”)}}</td>
<td class=“ewTable1Header”>{{html P.Phrase(“DescQuantity”)}}</td>
<td class=“ewTable1Header”>{{html P.Phrase(“DescDiscount”)}}</td>
<td class=“ewTable1Header”>{{html P.Phrase(“DescAmount”)}}</td>
</tr>
</thead>
<tbody>
<!-- {{each items}} –>
<tr>
<td>${$value.itemnumber}</td>
<td>${$value.itemname}</td>
<td>${$value.option}</td>
<td style=“white-space: nowrap”>${$value.price}</td>
<td>${$value.quantity}</td>
<td>-${$value.discount}</td>
<td style=“white-space: nowrap”>${$value.subtotal}{{html $value.hidden}}</td>
</tr>
<!-- {{/each}} –>
</tbody>
<tfoot>
<tr class=“ewTable1Summary”>
<td colspan=“6”>{{html P.Phrase(“DescSubtotal”)}}</td>
<td style=“white-space: nowrap”>${total}</td>
</tr>
<!-- {{if nDiscount}} –>
<tr>
<td colspan=“6”>{{html P.Phrase(“Discount”)}} ({{html P.Phrase(“DiscountCode”)}})</td>
<td style=“white-space: nowrap”>-${discount}</td>
</tr>
<!-- {{/if}} –>
<!-- {{if nShipping}} –>
<tr>
<td colspan=“6”>{{html P.Phrase(“DescShipping”)}}</td>
<td style=“white-space: nowrap”>${shipping}</td>
</tr>
<!-- {{/if}} –>
<!-- {{if nHandling}} –>
<tr>
<td colspan=“6”>{{html P.Phrase(“DescHandling”)}}</td>
<td style=“white-space: nowrap”>${handling}</td>
</tr>
<!-- {{/if}} –>
<!-- {{if nTax}} –>
<tr>
<td colspan=“6”>{{html P.Phrase(“DescTax”)}}</td>
<td style=“white-space: nowrap”>${tax}</td>
</tr>
<!-- {{/if}} –>
<tr class=“ewTable1Summary”>
<td colspan=“6”><b>{{html P.Phrase(“DescTotal”)}}</b></td>
<td style=“white-space: nowrap”><b>${net}</b></td>
</tr>
</tfoot>
</table>
{{html hidden}}
<br>
{{each shipview}}
<!-- shipping details –>
<p><b>{{html P.Phrase(“ShippingDetails”)}}</b></p>
{{if P.USE_PAYPAL}}{{html $value.usePayPalStoredShippingAddress}}{{/if}}
<table class=“ewTable2”>
<tbody>
<!-- {{if $value.firstname}} –>
<tr class=“ewShipAddress”>
<td class=“ewTable2Header”>{{html P.Phrase(“FirstName”)}}</td>
<td>${$value.firstname}</td>
</tr>
<!-- {{/if}} –>
<!-- {{if $value.lastname}} –>
<tr class=“ewShipAddress”>
<td class=“ewTable2Header”>{{html P.Phrase(“LastName”)}}</td>
<td>${$value.lastname}</td>
</tr>
<!-- {{/if}} –>
<!-- {{if $value.address1}} –>
<tr class=“ewShipAddress”>
<td class=“ewTable2Header”>{{html P.Phrase(“Address1”)}}</td>
<td>${$value.address1}</td>
</tr>
<!-- {{/if}} –>
<!-- {{if $value.address2}} –>
<tr class=“ewShipAddress”>
<td class=“ewTable2Header”>{{html P.Phrase(“Address2”)}}</td>
<td>${$value.address2}</td>
</tr>
<!-- {{/if}} –>
<!-- {{if $value.phone}} –>
<tr class=“ewShipAddress”>
<td class=“ewTable2Header”>{{html P.Phrase(“Phone”)}}</td>
<td>${$value.phone}</td>
</tr>
<!-- {{/if}} –>
<!-- {{if $value.city}} –>
<tr class=“ewShipAddress”>
<td class=“ewTable2Header”>{{html P.Phrase(“City”)}}</td>
<td>${$value.city}</td>
</tr>
<!-- {{/if}} –>
<!-- {{if $value.zip}} –>
<tr class=“ewShipAddress”>
<td class=“ewTable2Header”>{{html P.Phrase(“Zip”)}}</td>
<td>${$value.zip}</td>
</tr>
<!-- {{/if}} –>
<!-- {{if $value.email}} –>
<tr>
<td class=“ewTable2Header”>{{html P.Phrase(“Email”)}}</td>
<td>${$value.email}</td>
</tr>
<!-- {{/if}} –>
<!–
Note: Country and state are required by PayPal. If you remove the country (or state) row, make sure you add a hidden element named “country” (or “state”) as default values. See Appendix C in PayPal’s Website PaymentsStandard Integration Guide for allowable country codes. State (for U.S. only) must be two-character official U.S. abbreviation. e.g.
<input type=“hidden” name=“country” value=“GB”>
<input type=“hidden” name=“state” value=“”>
–>
<!-- {{if $value.country}} –>
<tr>
<td class=“ewTable2Header”>{{html P.Phrase(“Country”)}}</td>
<td>${$value.country}</td>
</tr>
<!-- {{/if}} –>
<!-- {{if $value.state}} –>
<tr>
<td class=“ewTable2Header”>{{html P.Phrase(“State”)}}</td>
<td>${$value.state}</td>
</tr>
<!-- {{/if}} –>
<!-- {{if $value.shipmethod}} –>
<tr>
<td class=“ewTable2Header”>{{html P.Phrase(“ShippingMethod”)}}</td>
<td>${$value.shipmethod}</td>
</tr>
<!-- {{/if}} –>
<!-- {{if $value.custom}} –>
<tr>
<td class=“ewTable2Header”>{{html P.Phrase(“CustomCaption”)}}</td>
<td>{{html $value.custom}}</td>
</tr>
<!-- {{/if}} –>
</tbody>
</table>
{{html $value.hidden}}
{{/each}}
{{else}}
<div class=“ewMessage”>{{html P.Phrase(“CartEmptyMessage”)}}</div>
{{/if}}
<br><br><br>
<input type=“hidden” name=“cmd” value=“_cart”>
<input type=“hidden” name=“upload” value=“1”>
<input type=“hidden” name=“business” value=“${ P.BUSINESS}”>
{{if P.PROJECT_CHARSET}}
<input type=“hidden” name=“charset” value=“${ P.PROJECT_CHARSET}”>
{{/if}}
{{if P.CURRENCY_CODE}}
<input type=“hidden” name=“currency_code” value=“${ P.CURRENCY_CODE}”>
{{/if}}
<input type=“hidden” name=“cs” value=“0”>
<input type=“hidden” name=“no_note” value=“0”>
<input type=“hidden” name=“no_shipping” value=“0”>
<input type=“submit” name=“btnClickToBuy” id=“btnClickToBuy” value=“${ P.Phrase(‘ClickToBuy’)}”>
</form>
</div>
<!–Shopping Cart Checkout End –>
<?php// Close connection
$conn->Close();
?>
<?php include “ppfooter.php” ?>
[Edit: Removed the link to the external website to conform with Participation Guidelines and Terms of Service ]