<?php

// best.php
// adapting body /numbers/<RANGE>/best.php pages

?>
		<div class="main_column">
		<!-- ----------------- -->
		<!-- BEGIN MAIN COLUMN -->
		<!-- ----------------- -->

<script language="javascript" type="text/javascript">
<!--
var info_get_0800   = 'Get an 0800 number';
var info_get_0844   = 'Get an 0844 number';
var info_get_0845   = 'Get an 0845 number';
var info_get_0870   = 'Get an 0870 number';
var info_get_0871   = 'Get an 0871 number';
var info_get_0207   = 'Get an 0207 number';
var info_get_UKGEO  = 'Get a UK Local number: Manchester,<br \/> Liverpool, Bristol, and many more...';
var info_get_07_D   = 'Get an 07 D-rate number';
var info_get_07_K   = 'Get an 07 K-rate number';
var info_get_07_PN2 = 'Get an 07 PN2-rate number';
// -->
</script>

<?php abs_inc_fragment('whyusbest-main1'); ?>

<p id="footer_flow">
<a href="choose.php">Choose a <?=$abs_subject['range'];?> number now</a>
</p>

		<!-- --------------- -->
		<!-- END MAIN COLUMN -->
		<!-- --------------- -->
		</div>

		<div class="sidebar">
		<!-- ------- -->
		<!-- SIDEBAR -->
		<!-- ------- -->

<!-- PAGE FLOW BOX -->
<div id="flowbox">
<a href="<?=$abs_root;?>/numbers/<?=$abs_subject['range'];?>/choose.php" class="flowbox_main_trolley infotext">Choose your {DYN:range} number&nbsp;now<span class="tipcontents">Choose from a list of {DYN:range} numbers</span></a>
	<a href="<?=$abs_root;?>/numbers/<?=$abs_subject['range'];?>/gold.php" class="flowbox_sub_trolley infotext">Choose a gold {DYN:range} number<span class="tipcontents">Choose from a selection of<br />high-value memorable numbers</span></a>
 	<a href="<?=$abs_root;?>/numbers/<?=$abs_subject['range'];?>.php" class="flowbox_sub_forward infotext">{DYN:range} summary?<span class="tipcontents">'All about {DYN:range} numbers</span></a>
	<?php if (isset($dmx_init_response['QntItems']) && $dmx_init_response['QntItems']) : ?><a href="<?=$abs_root;?>/numbers/<?=$abs_subject['range'];?>/checkout.php" class="flowbox_sub_trolley infotext">Checkout<span class="tipcontents">Proceed to checkout</span></a><?php endif; ?>
</div>
<!-- END PAGE FLOW BOX -->

<div class="ie6_7_is_buggy"><!-- Empty Div to get rid of IE6/7 CSS 'quirk' --></div>

<?php
// Put trolley on page if it is not empty
if (isset($dmx_init_response['QntItems']) && $dmx_init_response['QntItems'] || isset($dmx_init_response['QntOSOrders']) && $dmx_init_response['QntOSOrders'])  {
	echo '<!-- fred is a compact trolley, with header, border and options turned off -->';
	$xparams['variant'] = 'compact';
	$xparams['showheader'] = 0;
	$xparams['showborder'] = 0;
	$xparams['showoptions'] = 0;
	$xparams['showicons'] = 0;
	$xparams['showactions'] = 0;
	$xparams['result_login'] = $abs_convpath . '/login.php';
	$xparams['result_trolleyclicked'] = $abs_convpath . '/checkout.php';
	$xparams['result_typinv'] = $abs_root . '/numbers/typical_invoice.php';
	$xparams['result_configure'] = $abs_convpath . '/svc_plan.php';
	$xparams['headerurl'] = 'http://' . $_SERVER['SERVER_NAME'] . $abs_root . '/common/header_export\.php';
	$xparams['div_typinv'] 	= 'typinv_ajax_target'; // ID of DIV to load typical invoice in, if using ajax
	$xparams['hook_typinv'] = 'abs_show_typinv'; // The name of the function to execute before loading the typical invoice
	dmx_render('dmshop.trolley', 'Fredy', $xparams);
	echo '<p><br></p>';
}
?>

<!-- SIDEBAR BOX -->
<?php abs_inc_fragment('whyusbest-side1'); ?>
<!-- END SIDEBAR BOX -->

		<!-- ----------- -->
		<!-- END SIDEBAR -->
		<!-- ----------- -->
		</div>
