[insert_php]
if (getDownloadLink() == “No file”)
{
echo “Sorry, there is no appropriate claim form for “.$_GET[‘product’].”. Please contact us directly for your enquiry.”;
echo “
}
else if (getDownloadLink() == “Tokio Marine Motor Insurance”)
{
echo “Please refer to the friendly motor claim process at Tokio Marine website”;
echo “
“;
echo “
Please feel free to contact us if you need help with your claim.
}
else if (getDownloadLink() == “Tokio Marine Home Insurance”)
{
echo “Please find the links below to download your appropriate claims.”;
echo “
“;
echo “
“;
echo “
“;
echo “
“;
echo “
Please feel free to contact us if you need help with your claim.
}
else
{
echo “Thank you for downloading the claim form for “.$_GET[‘product’].”. Please find the download link for the claim form in PDF format.”;
echo “
“;
echo “
Please download Adobe Reader if you do not have an appropriate software to read the claim form.”;
echo “
Please feel free to contact us if you need help with your claim.
}
echo $_GET[“insurer”];
function getDownloadLink()
{
if (strpos($_GET[“insurer”], “Tokio Marine”) !== false)
{
if ($_GET[“product”] == “Work Injury Compensation”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Work-Injury-Compensation-Work-Injury-Compensation-Accident-Report-Form-6-Nov-2014.pdf”;
else if ($_GET[“product”] == “Public Liability”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Liability-Public-Liability-Claim-Form-6-Nov-2014.pdf”;
else if ($_GET[“product”] == “Foreign Worker Medical”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Group-Hospital-Surgical-Claim-Form-Foreign-Worker-Medical.pdf”;
else if ($_GET[“product”] == “Foreign Worker Bond”)
return “No file”;
else if ($_GET[“product”] == “Fire Insurance (Commercial)”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Business-Package-Fire-Claim-Form-6-Nov-2014.pdf”;
else if ($_GET[“product”] == “Burglary Insurance (Commercial)”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Business-Package-Burglary-Claim-Form-6-Nov-2014.pdf”;
else if ($_GET[“product”] == “Motor Insurance”)
return “Tokio Marine Motor Insurance”;
else if ($_GET[“product”] == “Travel Insurance”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Travel-Sports-TM-Xplora-Travel-Claim-Form-6-Nov-2014.pdf”;
else if ($_GET[“product”] == “Home Insurance”)
return “Tokio Marine Home Insurance”;
else if ($_GET[“product”] == “Personal Accident”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Personal-Accident-Claim-Form-6-Nov-2014.pdf”;
else if ($_GET[“product”] == “Domestic Maid Insurance”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Domestic-Helper-Claim-Form-6-Nov-2014.pdf”;
}
else if (strpos($_GET[“insurer”], “China Taiping”) !== false)
{
if ($_GET[“product”] == “Work Injury Compensation”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Claim-Form-Work-Injury-Compensation.pdf”;
else if ($_GET[“product”] == “Public Liability”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Claim-Form-Others.pdf”;
else if ($_GET[“product”] == “Foreign Worker Medical”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Claim-Form-FWMI.pdf”;
else if ($_GET[“product”] == “Foreign Worker Bond”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Claim-Form-Others.pdf”;
else if ($_GET[“product”] == “Fire Insurance (Commercial)”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Claim-Form-Others.pdf”;
else if ($_GET[“product”] == “Burglary Insurance (Commercial)”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Claim-Form-Others.pdf”;
else if ($_GET[“product”] == “Motor Insurance”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Claim-Form-Motor_WS.pdf”;
else if ($_GET[“product”] == “Travel Insurance”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Claim-Form-Travel-China-Taiping.pdf”;
else if ($_GET[“product”] == “Home Insurance”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Claim-Form-Others.pdf”;
else if ($_GET[“product”] == “Personal Accident”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Claim-Form-Personal-Accident.pdf”;
else if ($_GET[“product”] == “Domestic Maid Insurance”)
return “https://www.credence.agency/wp-content/uploads/2014/12/Claim-Form-Maid-Medical.pdf”;
}
else
return “No file”;
}
[/insert_php]