HEX
Server: Apache
System: Linux p3plzcpnl507892.prod.phx3.secureserver.net 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64
User: franzo (839540)
PHP: 7.0.33
Disabled: NONE
Upload Files
File: /home/franzo/public_html/3dsigns.newwindowmarketing.co.uk/header.php
<html>
<head>
<link rel="stylesheet" href="css/uptown.css">
<style>
<?php echo $customCSS; ?>
</style>

<?php
$myPage = $_SERVER['PHP_SELF'];
if($myPage == 'settings.php'){
	$pageTitle = 'All Values';
}elseif($myPage == '/addOption.php'){
	$pageTitle = 'Add Product Delivery Options';
}elseif($myPage == '/dietitian/createDiscount.php'){
	$pageTitle = 'Create Discount';
}elseif($myPage == '/dietitian/createBulkDiscount.php'){
	$pageTitle = 'Create Bulk Discounts';
}elseif($myPage == '/dietitian/viewDiscounts.php'){
	$pageTitle = 'View Discounts';
}elseif($myPage == '/dietitian/assignDiscount.php'){
	$pageTitle = 'Assign Discount to Dietitian';
}elseif($myPage == '/dietitian/resetCodeCounter.php'){
	$pageTitle = 'Reset Code Counter / Bulk Delete';
}elseif($myPage == '/dietitian/exportCodes.php'){
	$pageTitle = 'Export Codes';
}else{
	$pageTitle = 'Product Delivery Options';
}
?>
<script src="https://cdn.shopify.com/s/assets/external/app.js"></script>
<script type="text/javascript">

ShopifyApp.init({
apiKey: '<?php echo $apiKey; ?>',
shopOrigin: 'https://<?php echo $siteURL; ?>'
});


ShopifyApp.ready(function(){
	
	
	ShopifyApp.Bar.initialize({
		
	  buttons: {
		primary: {
		  label: "Sync Products",
		  href: "productsDBsync.php",
		  target: "app"
		},
		secondary: [
		  { label: "View Delivery Options", href: "settings.php", target: "app" },  
		  { label: "Add Delivery Option", href: "addOption.php", target: "app" }/*,  
		  { label: "Discount Codes",
			type: "dropdown",
			links: [
					 { label: "Create Dicount Code", href: "createDiscount.php", target: "app" },
					 { label: "Create Bulk Dicount", href: "createBulkDiscount.php", target: "app" },
					 { label: "View Discount Codes", href: "viewDiscounts.php", target: "app" },
					 { label: "Reset Code Counter / Bulk Delete", href: "resetCodeCounter.php", target: "app" },
					 { label: "Export Codes", href: "exportCodes.php", target: "app" }
				   ]
		  }*/
		],
	},
	 
	  icon: "<?php echo $appURL; ?>discount.png",
	  title: '<?php echo $pageTitle; ?>'
	  
	});
	

});
  
</script>
</head>