{extends file='index.smarty'} {block name='content'}
{if $article->icon}
{$article->name}
{/if}

{if isset($client->enable_favorites) && $client->enable_favorites === 'true'} {/if} {$article->name}


{if $article->identification && $article->display_identification} Identification: {$article->identification}
{/if} {foreach $article->options as $option} {if $option->key == 'issue' || $option->key == 'volume'} {$option->key|ucwords}: {$option->value}
{/if} {/foreach} {if $article->date ne '0000-00-00' && $article->display_publication_date && $article->display_publication_date == 1} Publication Date: {date("F j, Y",strtotime($article->date))}
{/if} {if $article->expiration_date ne '0000-00-00' && $article->display_expiration_date && $article->display_expiration_date == 1} Expiration Date: {date("F j, Y",strtotime($article->expiration_date))}
{/if} {if !isset($client->hide_credits) || ($client->hide_credits != 'true')} {if $article->test} Credits {if Model_User::test_completed($article->test->test_id)} {elseif $article->test->getExpiration() != '0000-00-00 00:00:00'} (Post Test and/or Evaluation Required)
Available until {$article->test->getExpiration()|date_format:'%m/%d/%Y'} {/if}
    {foreach $article->test->getCredits() as $credit}
  • {$credit->credit_amount} - {$credit->display_name}
  • {foreachelse}
  • Credits: None available.
  • {/foreach}
{/if} {/if}
{if $user && Model_UserOwn::check_ownership($user->id, $article->product_id) && count($article->product->files)}

Files

{foreach $article->product->files as $file} {if $file->type != 'mp4' && $file->active == 1} {if $file->type === 'mp3' && !empty($client->hide_mp3_button) && $client->hide_mp3_button === 'true'}{continue}{/if} {if $file->button_label}{$file->button_label}{else}Resource{/if}
{/if} {/foreach} {/if}
{if !$user || !Model_UserOwn::check_ownership($user->id, $article->product_id)}
{include file="blocks/product-price.smarty"} {call display_price_block product=$article->product prices=$article->product->prices}
{elseif $user && Model_UserOwn::check_ownership($user->id, $article->product_id) && count($article->ces)} {if !isset($client->hide_credits) || ($client->hide_credits != 'true')} {foreach $article->ces as $ce} {if $user && $ce->active && !Model_UserOwn::check_ownership($user->id, $ce->product_id)}
{include file="blocks/product-price.smarty"} {call display_price_block product=$ce->product prices=$ce->product->prices label=$ce->cart_button_label} {if $user && $user->ce_credits > '0.00'} {/if}
{/if} {/foreach} {/if} {/if}

{if $article->description|purify}

Description

{$article->description|purify}

{/if} {if count($article->product->product_speakers)} {foreach $article->product->product_speakers as $ps} {if ($ps@first)} {if (($ps.speaker_distinction == NULL) || ($ps.speaker_distinction.id == 0) || ($ps.speaker_distinction.name == ''))}

Author(s)

{assign var='distinction' value=''} {else}

{$ps.speaker_distinction.name}(s)

{assign var='distinction' value=$ps.speaker_distinction.name} {/if}
    {/if} {if (!$ps@first)} {if (($ps.speaker_distinction == NULL) || ($ps.speaker_distinction.id == 0)) && ($distinction != '')}

Author(s):

{assign var='distinction' value=''}
    {/if} {if (($ps.speaker_distinction != NULL) && ($ps.speaker_distinction.id != 0)) && ($ps.speaker_distinction.name != $distinction)}

{$ps.speaker_distinction.name}(s)

{assign var='distinction' value=$ps.speaker_distinction.name} {/if} {if count($article->product->disclosures)}

Disclosures

    {foreach $article->product->disclosures as $disclosure} {if !empty($disclosure->disclosure|purify|strip_tags|trim)}
  • {$disclosure->disclosure|purify|strip_tags|trim}
  • {/if} {/foreach}
{/if} {if count($article->product->tags)}

Tags

{foreach $article->product->tags as $tag} {$tag->label} {/foreach}
{/if}
{if $article->references} {/if}
{if !empty($article->data) && $user && Model_UserOwn::check_ownership($user->id, $article->product_id)}
{if $article->navigation}

Quick Navigation

    {foreach $quick_navigation as $nav}
  • {$nav.name}
  • {/foreach}

{/if}
{$article->data|purify}
{/if} {if $article->display_credits && (!isset($client->hide_credits) || ($client->hide_credits != 'true'))}
{if !count($article->ces)}

Credits

{if $article->test && $article->test->test && ($article->test->test->expiration_date == '0000-00-00 00:00:00' || $article->test->test->expiration_date|strtotime > $smarty.now)}
    {foreach $article->test->getCredits() as $credit}
  • {$credit->credit_amount} - {$credit->display_name}
  • {foreachelse}
  • Credits: None available.
  • {/foreach}
{if $user && Model_UserOwn::check_ownership($user->id, $article->product_id)} {if Model_User::test_completed($article->test->test_id)} {if Model_User::hasCertificate($article->test->test_id)} {else} Completed On: {Model_User::getTestAnswers($article->test->test_id)->completed_on} {/if} {$displayAnswers = true} {foreach $article->test->options as $option} {if $option->key == 'hide_review_my_answers' && $option->value == 'true'} {$displayAnswers = false} {break} {/if} {/foreach} {if $displayAnswers}
Review Answers {/if} {else} {/if} {/if} {else} Credits: None available. {/if}
{else}

Credits Available


{foreach $article->ces as $ce} {if $ce->active && $ce->test && $ce->test->test && $ce->test->test->expiration_date|strtotime > $smarty.now}
{$ce->name}
{elseif $ce->test && $ce->test->test && $ce->test->test->expiration_date|strtotime < $smarty.now} Expired On: {$ce->test->test->expiration_date|date_format} {/if} {foreachelse} Credits: None available. {/foreach}
{/if}
{/if} {if !(isset($client->hide_comments) && ($client->hide_comments === 'true'))}
{if $user && Model_UserOwn::check_ownership($user->id, $article->product_id)}

Please provide your feedback or comments for this article.


{else}

You must be logged in and own this product in order to post comments.

{/if}
{foreach $article->product->comments as $comment}
{if $user && ($comment->user_id == $user->id || $is_admin)} {/if}

{if isset($comment->user) && isset($comment->user->metadata)} {$comment->user->metadata->first_name|escape:'html'} {$comment->user->metadata->last_name|escape:'html'} {else}Anonymous{/if}
{date("n/j/y g:i a",strtotime($comment->created_at))}

{$comment->comment}

{/foreach}
{/if}
{if $article->product->hasTest()} {include file='modals/evaluation.smarty'} {/if}
{/block}