File: D:/web/castironradiatorcentre/2024-07-12/new/inc-template-footer.asp
<%
' (SS,30/5/24) inc-template-footer.asp
' Separated from inc-template-main.asp
' (SS,12/7/24) added Sitemap to Sub ShowMainFooterColumn2
' (SS,14/5/24) Bootstrap 5, replaced style="background-color: #EFEFEF" with class bg-secondary
' bg-dark-subtle bg-gradient
Sub ShowMainFooter
' (SS,13/6/24) added basket
If Not IsPageNameOrCmd("account,checkout,btucalculator,radiatorbuilder,basket") Then
ShowMainRecentlyViewed
End If
ShowMainFooterUSPBar
' ShowMainTrustpilotWidget ""
' <div class="container-fluid bg-secondary text-white">
%>
<div class="container-fluid text-white" style="background-color:#5e5e5e">
<div class="container mt-0 pt-4">
<div class="row">
<%
' ShowMainFooterColumn1
ShowMainFooterColumn2
ShowMainFooterColumn3
ShowMainFooterColumn4
ShowMainFooterCompanyInfoJSON
%>
</div><!--/row-->
</div><!--/container-->
</div> <!--/ class="container-fluid" -->
<%' ShowMainTrustpilotWidget "" %>
<div class="container-fluid">
<div class="container my-3">
<div class="row">
<%
ShowMainFooterLogos
%>
</div><!--/row-->
</div><!--/container-->
</div> <!--/ class="container-fluid" -->
<%
End Sub
' (SS,30/5/24) moved recently viewed code into this new sub, if condition that decides when to show is now in ShowMainFooter
' removed include "inc-template-recently-viewed.asp" now included in inc-main.asp, replaced with ShowRecentlyViewed
Sub ShowMainRecentlyViewed
%>
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div id="recently-viewed">
<%ShowRecentlyViewed%>
</div>
</div>
</div>
</div>
<%
End Sub
Sub ShowMainFooterUSPBar
' (SS,10/5/24) added to footer of every page, ShowUSPBar is in inc-template-home.asp
ShowUSPBar
End Sub
Sub ShowMainFooterColumn1
%>
<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12 col">
<div class="mb-3">
<img class="img-responsive rounded bg-white p-1" src="images/logo.png" width="180" alt="Cast Iron Radiator Centre">
</div>
<div class="my-3">
<img class="rounded" src="/images/CE-EN-442-logo.png" alt="CE & BS EN 442 certified" width="150">
</div>
<div class="mb-3">
<img class="rounded" src="images/epdq-logo-new-v2.png" alt="ePDQ" width="150">
</div>
<div class="mb-3">
<img class="rounded bg-white p-2" src="images/paypal-logo.png" alt="PayPal" width="150">
</div>
<div class="mb-2">
<a href="https://www.facebook.com/castironradcen" class="pe-1" target="_top">
<i class="fa-brands fa-facebook fa-2x text-white"></i>
</a>
<a href="https://www.instagram.com/castironradiatorcentre" class="pe-1"target="_top">
<i class="fa-brands fa-instagram fa-2x text-white"></i>
</a>
<a href="https://www.pinterest.com/castironradcen/" class="pe-1" target="_top">
<i class="fa-brands fa-pinterest fa-2x text-white"></i>
</a>
<!--
<a href="https://twitter.com/castironradcen" class="pe-1" target="_top">
<i class="fa-brands fa-twitter fa-2x text-white"></i>
</a>
<a href="https://goo.gl/maps/mYjXs9eYHE85HHN19" class="pe-1" target="_top">
<i class="fa-brands fa-google fa-2x text-white"></i>
</a>
-->
</div>
</div>
<%
End Sub
' (SS,12/7/24) added Sitemap back in
Sub ShowMainFooterColumn2
%>
<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 mb-3">
<h5 class="mb-2">Products</h5>
<ul class="nav flex-column lh-base">
<li class="nav-item"><a href="products.asp?cat=Cast+Iron+Radiators" class="text-white">Cast Iron Radiators</a></li>
<li class="nav-item"><a href="products.asp?cat=Valves" class="text-white">Valves</a></li>
<li class="nav-item"><a href="products.asp?cat=Accessories+%26+Spares" class="text-white">Accessories & Spares</a></li>
<li class="nav-item"><a href="products.asp?cat=Clearance" class="text-white">Clearance</a></li>
</ul>
<h5 class="mt-4 mb-2"><a href="products.asp?page=about" class="text-white">About Us</a></h5>
<ul class="nav flex-column lh-base">
<li class="nav-item"><a href="products.asp?page=blog" class="text-white">Blog</a></li>
<li class="nav-item"><a href="products.asp?page=customerphotos" rel="nofollow" class="text-white">Customer Photos</a></li>
<li class="nav-item"><a href="products.asp?page=customerinfo" class="text-white">Customer Info</a></li>
<li class="nav-item"><a href="products.asp?page=deliveryinfo" class="text-white">Delivery Info</a></li>
<li class="nav-item"><a href="products.asp?page=privacy" class="text-white">Privacy Policy</a></li>
<li class="nav-item"><a href="javascript:document.getElementById('ba-cc-cban-set').click();" class="text-white">Cookie Settings</a></li>
<li class="nav-item"><a href="products.asp?page=sitemap" class="text-white">Sitemap</a></li>
</ul>
</div>
<%
End Sub
Sub ShowMainFooterColumn3
%>
<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 mb-3">
<h5 class="">Keep in Touch</h5>
<div>
<p>Join our mailing list</p>
<div class="me-2" style="max-width:250px">
<form class="js-cm-form" id="subForm" action="https://www.createsend.com/t/subscribeerror?description=" method="post" data-id="191722FC90141D02184CB1B62AB3DC26ABAB2EED928863F667CF8B1CEB44030652FB2F5F0F9E3E1F68445A4392F0EBD19169D11D0EAF25ED8366B8971EC3813C">
<div class="mb-3">
<label for="fieldName" class="form-label">Name</label>
<input class="form-control" aria-label="Name" id="fieldName" maxlength="200" name="cm-name">
</div>
<div class="mb-4">
<label for="fieldEmail" class="form-label">Email</label>
<input autocomplete="Email" aria-label="Email" class="js-cm-email-input qa-input-email form-control" id="fieldEmail" maxlength="200" name="cm-jhidai-jhidai" required="" type="email">
</div>
<button type="submit" class="btn btn-success">Subscribe</button>
</form>
</div>
</div>
<script type="text/javascript" src="https://js.createsend1.com/javascript/copypastesubscribeformlogic.js"></script>
<%ShowMainTrustpilotWidget "B"%>
</div>
<%
End Sub
Sub ShowMainFooterColumn4
%>
<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
<h5><a href="products.asp?page=contact" class="text-white">Contact Us</a></h5>
<div>
<address>
<%=GetStoreName%><br>(a Division of Mossmead Ltd)<br>
<div>
241 Torrington Avenue<br>
(Corner of Padstow Road)<br>
Coventry, West Midlands<br>
CV4 9AP, UK
</div>
</address>
<address>
<a class="text-white" href="tel:08002948603">0800 294 8603</a><br>
<a class="text-white" href="tel:02476303999">024 7630 3999</a>
</address>
<address>
<small><a class="text-white" href="mailto:<%=GetStoreEmail%>"><%=GetStoreEmail%></a></small>
</address>
<a href="products.asp?page=contact" class="text-white">Contact Form</a>
</div>
<div class="my-4">
<a href="https://www.facebook.com/castironradcen" class="pe-2" target="_top">
<i class="fa-brands fa-facebook fa-2x text-white"></i>
</a>
<a href="https://www.instagram.com/castironradiatorcentre" class="pe-2"target="_top">
<i class="fa-brands fa-instagram fa-2x text-white"></i>
</a>
<a href="https://www.pinterest.com/castironradcen/" class="pe-2" target="_top">
<i class="fa-brands fa-pinterest fa-2x text-white"></i>
</a>
<!--
<a href="https://twitter.com/castironradcen" class="pe-1" target="_top">
<i class="fa-brands fa-twitter fa-2x text-white"></i>
</a>
<a href="https://goo.gl/maps/mYjXs9eYHE85HHN19" class="pe-1" target="_top">
<i class="fa-brands fa-google fa-2x text-white"></i>
</a>
-->
</div>
</div>
<%
End Sub
Sub ShowMainFooterColumn1_old
%>
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-12">
<h4><span class="glyphicon glyphicon-wrench"></span> Service</h4>
<nav>
<ul class="nav nav-pills nav-stacked span2 list-inline">
<li><a href="products.asp?page=account" rel="nofollow">Account</a></li>
<li><a href="products.asp?page=customerinfo">Customer Info</a></li>
<li><a href="products.asp?page=privacy">Privacy Policy</a></li>
<li><a href="javascript:document.getElementById('ba-cc-cban-set').click();">Cookie Settings</a></li>
<li><a href="products.asp?page=sitemap">Sitemap</a></li>
</ul>
</nav>
<div style="margin-left:0px; margin-top:5px; text-align:center">
<img src="/images/CE-EN-442-logo.png" alt="CE & BS EN 442 certified" width="150" height="39">
</div>
</div>
<%
End Sub
Sub ShowMainFooterColumn2_old
%>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
<h4><span class="glyphicon glyphicon-envelope"></span> Keep In Touch</h4>
<div>
<div><p>Sign up to our mailing list for the latest news, offers and Rad inspiration. You can unsubscribe at any time.</p></div>
<form class="js-cm-form" id="subForm" action="https://www.createsend.com/t/subscribeerror?description=" method="post" data-id="191722FC90141D02184CB1B62AB3DC26ABAB2EED928863F667CF8B1CEB44030652FB2F5F0F9E3E1F68445A4392F0EBD19169D11D0EAF25ED8366B8971EC3813C">
<div>
<div class="form-group">
<label>Name </label>
<input aria-label="Name" id="fieldName" maxlength="200" name="cm-name" class="form-control">
</div>
<div class="form-group">
<label>Email </label>
<input autocomplete="Email" aria-label="Email" class="js-cm-email-input qa-input-email form-control" id="fieldEmail" maxlength="200" name="cm-jhidai-jhidai" required="" type="email">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success">Subscribe</button>
</div>
</div>
</form>
</div>
<script type="text/javascript" src="https://js.createsend1.com/javascript/copypastesubscribeformlogic.js"></script>
</div>
<%
End Sub
Sub ShowMainFooterColumn3_old
%>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12 col">
<h4><span class="glyphicon glyphicon-lock"></span> Shop Securely</h4>
<ul class="nav">
<li><img class="itp-footer-img" src="images/epdq-logo.png" alt="ePDQ" width="148" height="151"></li>
<li style="margin-bottom:10px"><img class="itp-footer-img" style="margin-bottom:10px!important" src="images/paypal-logo.png" alt="PayPal" width="150" height="38">
<% ' (SS,3/8/22) PayPal Pay Later
If GetPayPalPayLaterMessagesEnabled Then%>
<div data-pp-message data-pp-style-layout="text" data-pp-style-logo-type="inline" data-pp-style-text-color="black" data-pp-amount="0"></div>
<%End If%>
</li>
<li><img class="itp-footer-img" src="images/bacs-logo.png" alt="BACS" width="79" height="33"></li>
</ul>
</div>
<%
End Sub
Sub ShowMainFooterColumn4_old
%>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 pull-right">
<h4><span class="glyphicon glyphicon-user"></span> <a href="products.asp?page=contact" style="color: black">Contact Us</a></h4>
<div>
<address>
<strong><%=GetStoreName%></strong><br>(a Division of Mossmead Ltd)<br>
<div>
241 Torrington Avenue<br>
(Corner of Padstow Road)<br>
Coventry, West Midlands<br>
CV4 9AP, UK
</div>
</address>
<address>
<span class="glyphicon glyphicon-phone-alt"></span>
<a href="tel:08002948603">0800 294 8603</a> /
<a href="tel:02476303999">024 7630 3999</a>
</address>
<address>
<span class="glyphicon glyphicon-send"></span>
<a href="mailto:<%=GetStoreEmail%>"><%=GetStoreEmail%></a>
</address>
<address>
<span class="glyphicon glyphicon-list-alt"></span>
<a href="products.asp?page=contact">Contact Form</a>
</address>
</div>
<div style="margin-left: 0px; margin-top: 10px; margin-bottom:10px">
<a href="https://www.facebook.com/castironradcen" target="_top" style="text-decoration:none;">
<img src="/images/facebook-logo2.png" alt="facebook" style="border:0;width:32px;height:32px">
</a>
<a href="https://twitter.com/castironradcen" target="_top" style="text-decoration:none;">
<img src="/images/twitter-logo2.png" alt="twitter" style="border:0;margin-left:5px" width="47" height="32">
</a>
<a href="https://www.instagram.com/castironradiatorcentre" target="_top" style="text-decoration:none;">
<img src="/images/instagram-logo.png" alt="instagram" style="border:0;width:32px;height:32px;margin-left:5px" >
</a>
<a href="https://www.pinterest.com/castironradcen/" target="_top" style="text-decoration:none;">
<img src="/images/pinterest-logo.png" alt="facebook" style="border:0;width:32px;height:32px;margin-left:5px">
</a>
<a href="https://goo.gl/maps/mYjXs9eYHE85HHN19" target="_top" style="text-decoration:none;">
<img src="/images/google-my-business-logo.png" alt="Google My Business" style="border:0;margin-left:2px" width="36" height="32">
</a>
</div>
</div>
<%
End Sub
' (SS,4/6/24)
'<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12 col">
Sub ShowMainFooterLogos
%>
<div class="d-flex flex-row align-items-center flex-wrap">
<div class="flex-fill mb-3">
<img class="img-responsive rounded bg-white p-1" src="images/logo.png" width="180" alt="Cast Iron Radiator Centre">
</div>
<div class="flex-fill">
<img class="rounded" src="/images/CE-EN-442-logo.png" alt="CE & BS EN 442 certified" width="150">
</div>
<div class="flex-fill">
<img class="rounded" src="images/epdq-logo-new-v2.png" alt="ePDQ" width="150">
</div>
<div class="flex-fill">
<img class="rounded bg-white p-2" src="images/paypal-logo.png" alt="PayPal" width="150">
</div>
</div>
<%
End Sub
' (SS,12/6/24)
Sub ShowMainTrustpilotWidget(AType)
Dim LTheme, LBackgroundColour, LMarginTop
If AType = "B" Then
LTheme = "dark"
LBackgroundColour = "none"
LMarginTop = " mt-3"
Else
LTheme = "light"
LBackgroundColour = "#bebebe"
LMarginTop = ""
End If
%>
<div class="container-fluid" style="background-color:<%=LBackgroundColour%>">
<div class="row">
<div class="col py-2<%=LMarginTop%>">
<!-- TrustBox widget - Micro Review Count -->
<div class="trustpilot-widget" data-locale="en-GB" data-template-id="5419b6a8b0d04a076446a9ad" data-businessunit-id="5914ce210000ff0005a2499c" data-style-height="24px" data-style-width="100%" data-theme="<%=LTheme%>" data-style-alignment="left">
<a href="https://uk.trustpilot.com/review/www.castironradiatorcentre.co.uk" target="_blank" rel="noopener">Trustpilot</a>
</div>
<!-- End TrustBox widget -->
</div>
</div>
</div>
<%
End Sub
Sub ShowMainFooterCompanyInfoJSON
%>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "LocalBusiness",
"name": "<%=GetStoreName%>",
"url": "<%=GetStoreURL%>",
"sameAs": [
"https://www.facebook.com/castironradcen",
"https://twitter.com/castironradcen",
"https://www.instagram.com/castironradiatorcentre",
"https://www.pinterest.co.uk/castironradcen",
"https://www.yelp.co.uk/biz/cast-iron-radiator-centre-coventry"
],
"image": "<%=GetStoreURL%>/images/logo.png",
"address": {
"@type": "PostalAddress",
"addressLocality": "Coventry",
"addressRegion": "West Midlands",
"postalCode": "CV4 9AP",
"addressCountry": "GB",
"streetAddress": "241 Torrington Avenue, (Corner of Padstow Road)"
},
"description": "Supplier of cast iron radiators and accessories.",
"telephone": "+44 (0) 24 7630 3999",
"openingHours": "Mo,Tu,We,Th,Fr 09:00-16:30",
"paymentAccepted": "Cash, cheque, credit card, PayPal, BACS",
"priceRange": "£30 - £500",
"geo": {
"@type": "GeoCoordinates",
"latitude": "52.398098",
"longitude": "-1.586071"
}<%ShowReviewAggregateRatingStructuredData%>
}
</script>
<%
End Sub
ShowMainFooter
%>