<?php $a = $_SERVER['HTTP_REFERER']; // English // Industrial Doors if ((strpos($a, '/en-')) && strpos($a, 'industrial-doors')) { echo 'Industrial Doors';} // Dock Levellers if ((strpos($a, '/en-')) && strpos($a, 'dock-levellers')) { echo 'Dock Levellers';} // Powerlocks & Wheel chocks if ((strpos($a, '/en-')) && strpos($a, 'protection-systems')) { echo 'Powerlocks';} // Scissor lifts if ((strpos($a, '/en-')) && strpos($a, 'lifting-platform' || 'sciccor-lift')) { echo 'Sciccor Lifts';} // Dock Shelters if ((strpos($a, '/en-')) && strpos($a, 'dock-shelters')) { echo 'Dock Shelters';} // Accessories if ((strpos($a, '/en-')) && strpos($a, 'accessories')) { echo 'Accessories';} // Service if ((strpos($a, '/en-')) && strpos($a, 'systems-services')) { echo 'Service';} ?>