If nothing else can anyone help me with the code:
Code:
[FONT=Courier New]------------------------
[/FONT][FONT=Courier New]// bof JROX integration
if (isset($zv_orders_id) && (int)$zv_orders_id > 0 && isset($order_summary) && is_array($order_summary[/FONT][FONT=Courier New])) {
if (!isset($_SESSION['affiliate_order_id']) || $_SESSION['affiliate_order_id'] != $zv_orders_id [/FONT][FONT=Courier New]) {
$_SESSION['affiliate_order_id'] = $zv_orders_id[/FONT][FONT=Courier New];
$commissionable_order_formatted = number_format($order_summary['commissionable_order'], 2, '.', ''[/FONT][FONT=Courier New]);
echo '<script language="javascript" type="text/javascript" src="http://www.yourdomain.com/affiliates/sale.php?amount=' . $commissionable_order_formatted . '&trans_id=' . $order_summary['order_number'] . '"></script>'[/FONT][FONT=Courier New];
}
}
[/FONT][FONT=Courier New]// eof JROX integration
------------------------- [/FONT]
I don't know much about writing code and everytime I insert it into the header.php file it screws up my text sizing on the rest of the page.