.
PREMIUM FEATURES
Bookmark player Roster player Stats Card Export Player

Barrett Hall

  • Position
    C
  • Height
    6'0" / 184 cm
  • Weight
    170 lbs / 77 kg
  • Shoots
    L
  • Contract
    -

Puck skills define Hall’s game. He’s a dexterous handler, moving his top hand across his body while he handles, reaching out to bait the poke check, then quickly retracting the puck to evade. Tricky passes are no issue for him, as he kicks pucks skate-to-stick and deflects them through his legs without entering a glide. He masks his release with subtle angle changes, in-stride wristers, and quick stickhandles pre-shot. Backhand, slip, hook, and in-motion passes fill his arsenal, and when given a bit of space, he shows deception and even a delay game to find the trailer. -EliteProspects 2022 NHL Draft Guide

IFRAME (simple)

Example use
- Blogs
- Articles
- Team websites

Implementation
Insert the code at the location where you wish the player statistics to show.

Regular season + playoffs
Preview

HTML Code

<iframe src="https://www.eliteprospects.com/iframe_player_stats.php?player=623814" width="100%" height="280" scrolling="no" frameborder="0"></iframe>
Only Regular season

If Regular season + playoffs is too wide.

Preview

HTML Code

<iframe src="https://www.eliteprospects.com/iframe_player_stats_small.php?player=623814" width="100%" height="280" scrolling="no" frameborder="0"></iframe>
RSS (advanced)

Example use
- Team websites

Implementation
Depending on the technical environment on your server, your programming language etc, you can read/include the statistics in many different ways. Below is an example on how you can include the statistics using PHP.

Note that the first box holds the code for an RSS feed with EP layout, while the second box is unformatted and possible to style after your own preferences using CSS.

EP layout
RSS-feed
https://www.eliteprospects.com/rss_player_stats.php?player=623814
<?php
$rss = new SimpleXMLElement('https://www.eliteprospects.com/rss_player_stats.php?player=623814', null, true);
foreach($rss->xpath('channel/item') as $item) {
    echo utf8_decode($item->description);
}
?>
No layout
RSS-feed
https://www.eliteprospects.com/rss_player_stats2.php?player=623814
<?php
$rss = new SimpleXMLElement('https://www.eliteprospects.com/rss_player_stats2.php?player=623814', null, true);
foreach($rss->xpath('channel/item') as $item) {
    echo utf8_decode($item->description);
}
?>

To customize the layout of "no layout" option, specify the following following CSS classes on your site:

CSS class to create      HTML tag affected
p_stats <p>
a_stats <a href>
table_stats <table>
tdh_stats <th> (heading)
tr_stats_odd <tr> (odd row)
tr_stats_even <tr> (even row)
td_stats_odd <td> (odd row)
td_stats_even <td> (even row)