template_home - UltraTrains

#ucTemplate("snip_document-top")
<div class="container">
  <div class="shell">
    <div class="header">
      #ucTemplate("snip_header")
    </div>
    <!--/header-->

    <div class="content">
      <div class="right">
        #ucTemplate("snip_crumb")

        #ucTemplate("snip_admin-panel")

        <div class="home_slider_row">
          <div class="slider">
            #set($slida = $group.getGroup("/home-multimedia/"))
            #if ($slida.getMultimediaByCode("Image1"))
              <img src="$slida.getMultimediaByCode(" Image1").getViewUrl()" alt="Image1" />
            #end
          </div>
          <!--/.slider-->
        </div>
        <!--/.home_slider_row-->

        <table height="25" width="580">
          <tr>
            <td>
            </td>
          </tr>
        </table>

        <div class="page">
          $group.getAttributeValueEditable("main_content")
        </div>

        <div class="title_pagination">
          <h2>
            <strong>Featured Products</strong>
          </h2>

          #set($groupItems = $group.getItems())
          $formatHelper.sortByAttribute($groupItems, "sort_order", false)
          $formatHelper.removeItemsWithoutCost($groupItems)
          $formatHelper.removeOutOfStockItems($groupItems)
          #set($groupItems = $formatHelper.getItemsForPage($groupItems, $page, 12))

          #ucTemplate("snip_pagination")
        </div>
        <!--/title_pagination-->

        #set($groupItemsTable = $formatHelper.getTable($groupItems, 4))
        #if($groupItems && $groupItems.size() > 0)
          #foreach($row in $groupItemsTable.getRows())
            <div class="group_row">
              #foreach($column in $row.getColumns())
                #if($column)
                  #set($columnUrl = "$baseUrl$group.path${column.getMerchantItemID()}.html")
                  #ucTemplate("snip_group-column")
                #end
              #end
            </div>
            <!--/group_row-->
          #end
        #end

      </div>
      <!--/right-->

      <div class="left">
        #ucTemplate("snip_left")
      </div>
      <!--/left-->
    </div>
    <!--/content-->


    <div class="footer">
      #ucTemplate("snip_footer")
    </div>
    <!--/footer-->
  </div>
  <!--/shell-->
</div><!--/container-->
#ucTemplate("snip_document-bottom")