<!-- Content Wrapper. Contains page content -->
  <div class="xcontent-wrapper">
    <!-- Content Header (Page header) -->

    <!-- Main content -->
    <section class="xcontent">
      <!-- row -->
      <div class="row">
        <div class="col-md-8">
          <!-- The time line -->
          {hook key="dashboard_above_news_tpl"}
          <ul class="timeline">
            {foreach item=_news from=$news}
            <!-- timeline time label -->
            <li class="time-label">
                  <span class="bg-red">
                    {$_news.pubDate|date_format:"%a, %d %B"}
                  </span>
            </li>
            <!-- /.timeline-label -->
            <!-- timeline item -->
            <li>
              <i class="fa fa-envelope bg-blue"></i>

              <div class="timeline-item">
                <span class="time"><i class="fa fa-clock-o"></i> {$_news.pubDate|date_format:"%H:%M"}</span>

                <h3 class="timeline-header">{$_news.title}</h3>

                <div class="timeline-body">
                  {$_news.description}
                </div>
                <div class="timeline-footer">
                  <a class="btn btn-primary btn-xs" href="{$_news.link}?utm_source=dashboard&utm_medium=rss&utm_campaign=blog">Read more</a>
                </div>
              </div>
            </li>
            <!-- END timeline item -->
            {/foreach}
            <li>
              <i class="fa fa-clock-o bg-gray"></i>
            </li>
          </ul>
        </div>
        <!-- /.col -->
        <div class="col-md-4">

{hook key="dashboard_above_plugin_tpl"}

          {if $store_handler->_lic_license_isdemo eq '1'}
          <div class="info-box">
            <span class="info-box-icon info-box-orange"><i class="far fa-clock"></i></span>
            <div class="info-box-content">
              <span class="info-box-text">Test-Version bis: {$store_handler->_lic_trial_end_time}</span>
              <span class="info-box-number"><a href="https://addons.xt-commerce.com/de/Shopsoftware/xt:Commerce-6-Einzelshoplizenz.html" target="_blank">Vollversion kaufen</a></span>
              <span class="info-box-number"><a href="https://xtcommerce.atlassian.net/wiki/spaces/MANUAL/pages/1025540098/xt+Commerce+Test-Version+FAQ" target="_blank">FAQ zur Demo-Version</a></span>
            </div>
          </div>
          {/if}

          <!-- TABLE: LATEST ORDERS -->
          <div class="box box-info">
            <div class="box-header with-border">
              <h3 class="box-title">{$smarty.const.XT_LASTEST_ACTIVITIES}</h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <div class="table-responsive">
                <table class="table no-margin">
                  <thead>
                  <tr>
                    <th>{$smarty.const.XT_TOP_PLUGINS}</th>
                  </tr>
                  </thead>
                  <tbody>
                  {foreach item=_topplugin from=$top_plugins}
                  <tr>
                    <td><a href="{$_topplugin.link}?utm_source=dashboard&utm_medium=rss&utm_campaign=blog" target="_blank">{$_topplugin.title}</a></td>
                  </tr>
                   {/foreach}                 
                  </tbody>
                </table>
              </div>
              
              <div class="table-responsive">
                <table class="table no-margin">
                  <thead>
                  <tr>
                    <th>{$smarty.const.XT_NEW_PLUGINS}</th>
                  </tr>
                  </thead>
                  <tbody>
                  {foreach item=_newplugin from=$new_plugins}
                  <tr>
                    <td><a href="{$_newplugin.link}?utm_source=dashboard&utm_medium=rss&utm_campaign=blog" target="_blank">{$_newplugin.title}</a></td>
                  </tr>
                   {/foreach}                 
                  </tbody>
                </table>
              </div>
              
              <!-- /.table-responsive -->
            </div>
            <!-- /.box-body -->
          </div>
          <!-- /.box -->

        </div>
      </div>
      <!-- /.row -->


    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->