32 |
ProductBookingController::getBookingDomain(()) |
/modules/shopproductbooking/controllers/booking.php |
88 |
31 |
ProductBookingController::getRemoteProductDetails(array(1) [0 => '999978']) |
/modules/shopproductbooking/controllers/booking.php |
44 |
30 |
ProductBookingController::getProductDetails(array(7) [0 => '010345', 1 => '010350', 2 => '010355', 3 => '010360', 4 => '010365', 5 => '010370', 6 => '999978']) |
/modules/shopproductbooking/classes/shopproductbooking_module.php |
58 |
29 |
ShopProductBooking_Module->after_product_fetch(object(Shop_Product)) |
|
|
28 |
call_user_func_array(array(2) [0 => object(ShopProductBooking_Module), 1 => 'after_product_fetch'], array(1) [0 => object(Shop_Product)]) |
/phproad/system/class_functions.php |
18 |
27 |
callFunction(array(2) [0 => object(ShopProductBooking_Module), 1 => 'after_product_fetch'], array(1) [0 => object(Shop_Product)]) |
/phproad/modules/phpr/classes/phpr_events.php |
79 |
26 |
Phpr_Events->fire_event(array(1) [name => 'shop:onAfterProductRecordFetch'], object(Shop_Product)) |
|
|
25 |
call_user_func_array(array(2) [0 => object(Phpr_Events), 1 => 'fire_event'], array(2) [0 => array(1), 1 => object(Shop_Product)]) |
/phproad/system/class_functions.php |
18 |
24 |
callFunction(array(2) [0 => object(Phpr_Events), 1 => 'fire_event'], array(2) [0 => array(1), 1 => object(Shop_Product)]) |
/phproad/modules/phpr/classes/phpr_events.php |
153 |
23 |
Phpr_Events->fireEvent('shop:onAfterProductRecordFetch', object(Shop_Product)) |
|
|
22 |
call_user_func_array(array(2) [0 => object(Phpr_Events), 1 => 'fireEvent'], array(2) [0 => 'shop:onAfterProductRecordFetch', 1 => object(Shop_Product)]) |
/phproad/modules/phpr/classes/phpr_extensible.php |
159 |
21 |
Phpr_Extensible->__call('fireEvent', array(2) [0 => 'shop:onAfterProductRecordFetch', 1 => object(Shop_Product)]) |
/modules/shop/models/shop_product.php |
1861 |
20 |
Backend_Events->fireEvent('shop:onAfterProductRecordFetch', object(Shop_Product)) |
/modules/shop/models/shop_product.php |
1861 |
19 |
Shop_Product->after_fetch(()) |
/phproad/modules/db/classes/db_activerecord.php |
444 |
18 |
Db_ActiveRecord->_find_fill(array(6) [0 => array(138), 1 => array(138), 2 => array(138), 3 => array(138), 4 => array(138), 5 => array(138)], null) |
/phproad/modules/db/classes/db_activerecord.php |
540 |
17 |
Db_ActiveRecord->find_all_internal(null, array(0), null) |
/phproad/modules/db/classes/db_activerecord.php |
559 |
16 |
Db_ActiveRecord->find_all(()) |
/modules/cms/classes/cms_controller.php(383) : eval()'d code |
11 |
15 |
eval(()) |
/modules/cms/classes/cms_controller.php |
383 |
14 |
Cms_Controller->evalWithException('?><!--
<?php
if( isset($paginate) && $paginate ) {
$page_index = isset($page_index) ? $page_index-1 : 0;
$records_per_page = isset($records_per_page) ? $records_per_page : 48;
$pagination = $products->paginate($page_index, $records_per_page);
}
else {
$pagination = null;
}
$products = $products instanceof Db_ActiveRecord ? $products->find_all() : $products;
?>
-->
<?php
$foundit = 0 ;
foreach ($products as $product){
if($product->x_bookpay <= 1 or $product->x_bookpay >= 200){
$foundit = 1 ;
}
}
if(empty($foundit)) return ;
?>
<div class="row" style="margin-bottom: 2em;">
<?php foreach ($products as $product): ?>
<?php if($product->x_bookpay <= 1 or $product->x_bookpay >= 200): ?>
<div class="four columns" style="margin: 1em auto; height: 100%; min-height: 400px;">
<div class="images" style="border: 1px solid #404040; text-align: center; padding: 1em; min-height: 360px;">
<div class="desc">
<h3 style="font-size: 1.5em;">
<a href="<?php echo $product->page_url('/product'); ?>/" data-gtm="HP: <?php echo h($product->name); ?>" style="color: #404040;"><?php echo h($product->name); ?></a>
</h3>
<p class="hide-for-small" style="padding: 0 1em 1em; margin: 0; min-height: 2.2em;"><?= ($product->x_context) ?></p>
</div>
<div>
<span><p>DIY & Trade |
<?php if($product->om('is_on_sale')): ?>
<span style="color: #c8102e">Save
<?php
$sale_price_or_discount = $product->om('x_remote_discount') ?: $product->om('sale_price_or_discount');
if(strpos($sale_price_or_discount, '%')) {
echo round($sale_price_or_discount); echo "%";
}
else {
echo format_currency(ltrim($sale_price_or_discount, '-'));
}
?>
<?php endif; ?></span> | Best Availability
</span>
</div>
<a href="<?php echo $product->page_url('/product'); ?>/" data-gtm="HP: <?php echo h($product->name); ?>" style="padding: 0.5em;">
<?php $images = $product->om('images'); ?>
<?php if($images->count): ?>
<img class="primary" loading="eager" style="display: block; margin-left: auto; margin-right: auto;" src="<?php echo $images[0]->getThumbnailPath(260, 260); ?>" title="<?php echo $product->name; ?>" alt="<?php echo $product->name; ?>" width="100%" height="100%" />
<?php endif; ?>
</a>
<?php
$days1Multiplier = 0.6;
$percentages = $product->om('x_remote_percentages');
if($percentages && !empty($percentages['days_1'])) {
$days1Multiplier = $percentages['days_1']/100;
}
?>
<div class="row desc" style="margin: 1em;">
<div class="six mobile-two columns" style="">
<span class="price">Average UK Price</span><span class="base" style="color: #c8102e; font-size: 1.2em; font-weight: 700; text-decoration: line-through;"> <? if ($product->x_weekly_only != 1): ?> <?php echo format_currency($product->om('x_remote_price')*$days1Multiplier); ?> <? else: ?> <?php echo format_currency($product->om('x_remote_price')); ?> <? endif; ?> </span>
</div>
<div class="six mobile-two columns">
<span class="price">Our Price From</span><span class="price" style="color: #0058aa; font-size: 1.2em; font-weight: 700;"> <? if ($product->x_weekly_only != 1): ?> <?php echo format_currency($product->om('x_remote_sale_price')*$days1Multiplier); ?> <? else: ?> <?php echo format_currency($product->om('x_remote_sale_price')); ?> <? endif; ?> </span>
</div>
</div>
<div class="row">
<!--<div class="three columns hide-for-small" style="padding: 0 0 0 1em;">
<a href="<?php echo $product->page_url('/product'); ?>/" title="More" class="button expand quotebutton" style="border-radius: 1em; border: 1px solid #0058aa; background-color: white; margin-bottom: 0; color: #0058aa !important;">More</a>
</div>-->
<div class="twelve columns">
<a href="<?php echo $product->page_url('/product'); ?>/" data-gtm="HP: <?php echo h($product->name); ?>" title="Details & Booking" class="button expand quotebutton" style="background-color: #00b67A; margin-bottom: 0; border-radius: 0.5em; font-size: 1.1em; "><i class="fas fa-calendar-alt"></i> Details & Booking</a>
</div>
</div>
<div class="row">
<div class="twelve columns" style="text-align: center; padding-top: 1em; color: #808080;">
<p>
<i class="fas fa-truck"></i>
<?php if($product->om('x_allow_delivery') > 0 && $product->om('x_min_delivery_charge') > 0) {
echo " <span style='font-weight: 700;'>Low Cost</span> Delivery";
} elseif ($product->om('x_allow_delivery') > 0 && $product->om('x_min_delivery_charge') < 1) {
echo " <span style='font-weight: 700;'>FREE</span> Delivery";
}
?>
</p>
</div>
</div>
</div></div>
<?php endif; ?>
<?php endforeach; ?>
</div>
', 'CMS partial', 'shop:product_list_diy_trade_21_2_bottom', array(1) [products => object(Shop_Product)]) |
/modules/cms/classes/cms_controller.php |
1020 |
13 |
Cms_Controller->render_partial('shop:product_list_diy_trade_21_2_bottom', array(1) [products => object(Shop_Product)]) |
/modules/cms/classes/cms_controller.php(383) : eval()'d code |
228 |
12 |
eval(()) |
/modules/cms/classes/cms_controller.php |
383 |
11 |
Cms_Controller->evalWithException('?><section class="content">
<?php $this->render_partial('top_offer'); ?>
<?php $this->render_partial('category_banner'); ?>
<div class="row">
<div class="six mobile-four columns">
<h1 style="text-align: center;"><em>Tool Hire Near You!</em></h1>
<p style="font-size: 1.2em;">To find our partner stores within a 30 miles radius of your location, enter your postcode and click ‘Find Local Stores’. Our store locator will give you the postcode of each depot, its distance from you, and info about the services offered. You can order online for a quick and easy tool hire service.</p>
</div>
<div class="six mobile-four columns">
<h2 style="text-align: center;">Local Tool Hire Shop</h2>
<p style="font-size: 1.2em;">With more than 200 suppliers and 1000s of partner stores and branches throughout the UK, National Tool Hire can supply quality equipment for DIY at home, and for work and businesses on-site. Everything you need. Online. On time. That is the National Tool Hire promise.</p>
</div>
<div class="row hide-for-small">
<div class="twelve mobile-four columns hide-for-medium-up" style="margin: 1em 0">
<a href="/free-delivery/"><img src="/themes/nthsv3/resources/images/d_headers/NTH-banners-delivery-thin.jpg" alt="FREE Delivery & Collection" ></a>
</div>
</div>
<div class="row show-for-small">
<div class="twelve mobile-four columns show-for-medium-down" style="margin: 1em 0">
<a href="/free-delivery/"><img src="/themes/nthsv3/resources/images/d_headers/NTH-banner-delivery-small_2.png" alt="FREE Delivery & Collection" ></a>
</div>
</div>
<?php $this->render_partial('closed_bank_holiday'); ?>
<div id="search" class="reveal-modal full" style="max-height: 100%; top: 0 !important; position: absolute;">
<!--<div class="row">
<div class="twelve columns">-->
<?php $this->render_partial('big_search'); ?>
<!--</div>
</div>-->
<a class="close-reveal-modal">×</a>
</div>
<div class="twelve mobile-twelve columns">
<?php $this->render_partial('shop:store_locator'); ?>
</div>
<div class="twelve mobile-twelve columns">
<p>If you wish to use our 'Click & Collect' service, our website checkout will only display partner store addresses where that item is usually held. If you are too far away from your nearest 'Click & Collect' location, we can deliver FREE to most UK mainland postcodes.</p>
<br/><br/>
</div>
<div class="three mobile-two columns" style="min-height: 220px;">
<ul style="maragin-left: 0 !important; list-style-type:none;" class="benefits">
<li style="padding-bottom: 5px;"><i class="far fa-check-square" style="font-size:1.2em; padding-right: 1em;"></i> DIY or Trade</li>
<li style="padding-bottom: 5px;"><i class="far fa-check-square" style="font-size:1.2em; padding-right: 1em;"></i> Best Availability</li>
<li style="padding-bottom: 5px;"><i class="far fa-check-square" style="font-size:1.2em; padding-right: 1em;"></i> Discounted Hire Rates</li>
<li style="padding-bottom: 5px;"><i class="far fa-check-square" style="font-size:1.2em; padding-right: 1em;"></i> Local Tool Hire Shops</li>
<li style="padding-bottom: 5px;"><i class="far fa-check-square" style="font-size:1.2em; padding-right: 1em;"></i> National Coverage</li>
<li style="padding-bottom: 5px;"><i class="far fa-check-square" style="font-size:1.2em; padding-right: 1em;"></i> Friendly UK Call Centre</li>
<li style="padding-bottom: 5px;"><i class="far fa-check-square" style="font-size:1.2em; padding-right: 1em;"></i> Helpful Store Staff</li>
</ul>
<ul style="padding-top: 20px; maragin-left: 0 !important; list-style-type:none;" class="benefits">
<li style="padding-bottom: 5px;"><i class="fas fa-map-marker-alt" style="font-size:1.2em; padding-right:1.2em;"></i> Click & Collect Service</li>
<li style="padding-bottom: 5px;"><i class="fas fa-truck" style="font-size:1.2em; padding-right:1.2em;"></i> FREE Local Delivery</li>
</ul>
</div>
<div class="three mobile-two push-six columns" style="min-height: 220px;">
<table style="border-spacing: 0px; width: 100%;" class="storetimes">
<tbody>
<tr>
<td>Monday:</td>
<td>7:30am - 5:30pm</td>
</tr>
<tr>
<td>Tuesday:</td>
<td>7:30am - 5:30pm</td>
</tr>
<tr>
<td>Wednesday:</td>
<td>7:30am - 5:30pm</td>
</tr>
<tr>
<td>Thursday:</td>
<td>7:30am - 5:30pm</td>
</tr>
<tr>
<td>Friday:</td>
<td>7:30am - 5:30pm</td>
</tr>
<tr>
<td>Saturday:</td>
<td>8am - 12noon*</td>
</tr>
<tr>
<td>Sunday:</td>
<td>Closed</td>
</tr>
</tbody>
</table>
<p>* not applicable to all locations</p>
</div>
<div class="six pull-three columns" style="min-height: 220px; margin-bottom: 20px;">
<img src="/themes/nthsv3/resources/images/store_new.jpg" alt="Tool Hire Near Me" style="width:100%;">
</div>
<br/><br/>
<section class="py4 hide-for-small">
<div class="row" style="max-width:1200px">
<div class="twelve columns">
<h2 class="center caps pb3">Our Trusted Network</h2>
<div class="row">
<!--<div class="two columns">
<img src="/themes/nthsv3/resources/images/essential.png" loading="lazy" alt="Essential Access Platforms" width="160px" height="90px" />
</div>-->
<div class="two columns">
<img src="/themes/nthsv3/resources/images/jms.png" loading="lazy" alt="JMS Powered Access" width="160px" height="90px" />
</div>
<div class="two columns">
<img src="/themes/nthsv3/resources/images/speedy_logo.png" loading="lazy" alt="Speedy Hire" width="160px" height="90px" />
</div>
<div class="two columns">
<img src="/themes/nthsv3/resources/images/alliance_logo.png" loading="lazy" alt="Alliance Tool Hire" width="160px" height="90px" />
</div>
<div class="two columns">
<img src="/themes/nthsv3/resources/images/one_stop_logo.png" loading="lazy" alt="One Stop Hire" width="160px" height="90px" />
</div>
<div class="two columns">
<img src="/themes/nthsv3/resources/images/sunbelt_logo.png" loading="lazy" alt="Sunbelt Rentals" width="160px" height="90px" />
</div>
<!--<div class="two columns">
<img src="/themes/nthsv3/resources/images/edge_logo.png" loading="lazy" alt="Edge Equipment Hire" width="160px" height="90px" />
</div>-->
<div class="two columns">
<img src="/themes/nthsv3/resources/images/thriplow_logo.png" loading="lazy" alt="Thriplow Group" width="160px" height="90px" />
</div>
</div>
</div>
</div>
</section>
<section class="featured" style="margin: 2em 0;">
<?php $this->render_partial('big_search_2'); ?>
</section>
<div class="upper_top_bar hide-for-small" style="background-color: #414141; margin: 2em 0;"></div>
<section class="homepage-tiles">
<?php $this->render_partial('homepage_tiles_21_2_top'); ?>
</section>
<div class="row show-for-small" style="padding-bottom: 2em;">
<div class="twelve columns">
<div class="network-logos-mobile row">
<div class="mobile-two columns">
<img src="/themes/nthsv3/resources/images/gap_logo.png" loading="lazy" alt="GAP Hire" width="160px" height="90px" />
</div>
<div class="mobile-two columns">
<img src="/themes/nthsv3/resources/images/city_hire_logo.png" loading="lazy" alt="City Hire" width="160px" height="90px" />
</div>
<div class="mobile-two columns">
<img src="/themes/nthsv3/resources/images/speedy_logo.png" loading="lazy" alt="Speedy Hire" width="160px" height="90px" />
</div>
<div class="mobile-two columns">
<img src="/themes/nthsv3/resources/images/alliance_logo.png" loading="lazy" alt="Alliance Tool Hire" width="160px" height="90px" />
</div>
<div class="mobile-two columns">
<img src="/themes/nthsv3/resources/images/one_stop_logo.png" loading="lazy" alt="One Stop Hire" width="160px" height="90px" />
</div>
<div class="mobile-two columns">
<img src="/themes/nthsv3/resources/images/sunbelt_logo.png" loading="lazy" alt="Sunbelt Rentals" width="160px" height="90px" />
</div>
</div>
</div>
</div>
<section class="productslatest" style="background-color: #ffffff;">
<div class="row">
<div class="twelve columns">
<?php
$group = Shop_CustomGroup::create()->find_by_code('home_spring');
if($group): ?>
<?php
$this->render_partial('shop:product_list_diy_trade_21_2_top', array(
'products' => $group->list_products()
)); ?>
<?php endif; ?>
<?php $this->render_partial('generator_banner'); ?>
<?php
$group = Shop_CustomGroup::create()->find_by_code('home_spring2');
if($group): ?>
<?php
$this->render_partial('shop:product_list_diy_trade_21_2_top', array(
'products' => $group->list_products()
)); ?>
<?php endif; ?>
</div>
</div>
</section>
<section class="homepage-tiles">
<?php $this->render_partial('homepage_tiles_21_2_bottom'); ?>
</section>
<section class="productslatest" style="background-color: #ffffff;">
<div class="row">
<div class="twelve columns">
<?php $this->render_partial('lighting_tower_banner'); ?>
<?php
$group = Shop_CustomGroup::create()->find_by_code('home_spring_bottom');
if($group): ?>
<?php
$this->render_partial('shop:product_list_diy_trade_21_2_bottom', array(
'products' => $group->list_products()
)); ?>
<?php endif; ?>
</div>
</div>
</section>
<section class="featured" style="margin: 2em 0;">
<?php $this->render_partial('big_search_2'); ?>
</section>
<section class="youtube" style="background-color: #ffffff;">
<div class="row">
<?php $this->render_partial('youtube_1'); ?>
</div>
</section>
<br/>
<h2 style="text-align: center;"><em>National Tool Hire's Network = Your Local Tool Hire Shop!</em></h2>
<div class="twelve mobile-twelve columns">
<p>When you need a local shop for tool and equipment hire, National Tool Hire is your answer in a nutshell! We're the largest rehire network in the UK, working with more than 2,000 partner stores, and the most reputable, reliable national and regional suppliers. Our supply chain depots span right across the country, so we offer an incredible level of area coverage. Wherever you are, we can source the tools and equipment you need at a store near to you. Our mission is to make tool hire transparent, fair, easy, and accessible to absolutely everybody.
</br></br>
We have every tool from every supplier listed online and ready to hire. You can book using our internal calendar. You can also contact one of our LiveChat agents if you need some help or have more questions. If an item you’re looking to hire is unavailable, you can request a quote. We are currently making as much of our catalogue as possible readily available across the country, making the process even easier.
</br></br>
We have already done the hard work for you. We've compared our suppliers' rates to offer you the best possible deal. On top of this, we also offer a Price Match Promise. If you find another national tool hire company offering the same hire terms as us at a lower price, we will match it.
</br></br>
From our central offices in the North West of England, we offer a single point of contact, completing a coherent link between buyer and seller. You will deal with friendly, familiar staff from location to location. So, if you travel for work and hire a concrete breaker in London one week and a cement mixer in Scotland the following week, you can speak to someone you trust.
<br/><br/>
We have a fantastic eCommerce website that offers customers an excellent user experience. We regularly update our site to provide concise information for every tool from every supplier, ensuring they are ready to hire or available for a quote via our in-house, online booking and communications system. Our site is easy to navigate, with an expansive calendar, fast and secure online booking, a range of convenient payment options, and UK phone support.
<br/><br/>
We serve a diverse range of customers with a wide range of items, including access, cleaning, lifting, power tools, plant, seasonal, and niche tools and equipment. Whether you are a trade customer looking for a B2B service or a first time DIYer, we accommodate everyone. We offer the quality equipment you need, when and where it is required.
<br/><br/>
At National Tool Hire, you can book a hire online with ease. Our checkout allows you to arrange everything on our site, and then you can pay by credit, debit card, or via an online payment system. We accept Visa, Mastercard, Google Pay, Apple Pay, and PayPal. If you would rather talk to someone directly, please use our LiveChat service.
<br/><br/>
For most everyday products, there is no deposit. However, we do request a deposit for some larger equipment and plant. The prices you see online are subtotals before VAT, delivery, deposits, and damage waivers are added where applicable. Before you complete the checkout, we will provide you with a cost breakdown and total.
<br/><br/>
If you are hiring as part of a business, you can apply to open a National Tool Hire Shops trade account.
<br/><br/>
To help our customers and make tool hire even easier, we've also worked with PayPal to provide a way to spread the cost with PayPal Pay in 3. You can use Pay in 3 for eligible shopping cart amounts between £30.00 to £2,000.00.</p>
<br/><br/>
</div>
<section class="homepage-tiles">
<div class="row">
<? $post_list = Blog_Post::list_recent_posts(3) ?>
<? foreach ($post_list as $post): ?>
<div class="four mobile-four columns" style="margin: 1em auto;">
<div class="twelve columns" style="border: 1px solid #404040; text-align: center; padding: 0; min-height: 330px;">
<? if(isset($post->featuredimages[0])) : ?>
<a href="<?php echo site_url("/blog/post/$post->url_title/"); ?>"><img src="<?= $post->featuredimages[0]->getThumbnailPath('auto', 370, true) ?>" loading="lazy" width="100%" height="100%" style="overflow: hidden;" alt="<?= $post->featuredimages[0]->title ?>" title="<?= $post->featuredimages[0]->description ?>" /></a>
<? endif; ?>
<h2><a class="blogtitle" style="color: #414141;" href="<?php echo site_url("/blog/post/$post->url_title/"); ?>"><?php echo $post->title; ?></a></h2>
<p style="padding: 0 3em"><a href="<?php echo site_url("/blog/post/$post->url_title/"); ?>" style="color: #414141;"><?php echo $post->description; ?></a></p>
</div>
</div>
<? endforeach ?>
</div>
</section>
<section class="featured" style="margin: 2em 0;">
<?php $this->render_partial('big_search_2'); ?>
</section>
<div class="twelve columns">
<a href="/become-a-supplier/"><img src="/themes/nthsv3/resources/images/d_headers/NTH-banners-supplier.jpg" alt="Become A Supplier"></a>
<br/><br/>
<p>If you’re interested in supplying National Tool Hire and would like more information about how we work, visit our <a href="/become-a-supplier/" style="text-decoration: underline;">Become a Supplier</a> page.</p>
</div>
</section>
<div class="clear"></div>', 'CMS page', 'Store locator page') |
/modules/cms/classes/cms_controller.php |
608 |
10 |
Cms_Controller->eval_page_content(()) |
/modules/cms/classes/cms_controller.php |
198 |
9 |
Cms_Controller->open(object(Cms_Page), array(0)) |
/controllers/application.php |
72 |
8 |
Application->On404(()) |
|
|
7 |
call_user_func_array(array(2) [0 => object(Application), 1 => 'On404'], array(0)) |
/phproad/modules/phpr/classes/phpr_controller.php |
170 |
6 |
Phpr_Controller->executeAction('On404', array(0)) |
/phproad/modules/phpr/classes/phpr_controller.php |
84 |
5 |
Phpr_Controller->_run('On404', array(0)) |
/phproad/modules/phpr/classes/phpr_response.php |
64 |
4 |
Phpr_Response->open404(()) |
/phproad/modules/phpr/classes/phpr_response.php |
37 |
3 |
Phpr_Response->open('/tool-hire-near-me') |
/phproad/system/phproad.php |
31 |
2 |
include('/var/www/vhosts/nationaltoolhireshops.co.uk/httpdocs/phproad/system/phproad.php') |
/boot.php |
114 |
1 |
require_once('/var/www/vhosts/nationaltoolhireshops.co.uk/httpdocs/boot.php') |
/index.php |
23 |