{/* 首页view */} {extend name="base" /} {block name="main"}
{volist name="headlines" id="row" offset="0" length='1'} node, $row->category); if($row->category->ca_slug == 'photo') { $url = url('photo', ['id' => $row->id]); } ?>
{$row->node->ar_image_title} {$row->node->ar_image_title}

{$row->node->ar_title}

{$row->node->ar_summary|stripslashes|htmlentities}
{/volist}
    {volist name="headlines" id="row" offset="1" length='3'}
  • {$row->node->ar_title}

    {$row->node->ar_summary|stripslashes|htmlentities}
  • {/volist}
{volist name="headlines" id="row" offset="4" length='1'} node, $row->category); if($row->category->ca_slug == 'photo') { $url = url('photo', ['id' => $row->id]); } ?>
{$row->node->ar_image_title} {$row->node->ar_image_title}

{$row->node->ar_title}

{$row->node->ar_summary|stripslashes|htmlentities}
{/volist} {volist name="headlines" id="row" offset="5" length='1'} node, $row->category); if($row->category->ca_slug == 'photo') { $url = url('photo', ['id' => $row->id]); } ?>

{$row->node->ar_title}

{$row->node->ar_summary|stripslashes|htmlentities}
{/volist}
{volist name="headlines" id="row" offset="6" length='1'} node, $row->category); if($row->category->ca_slug == 'photo') { $url = url('photo', ['id' => $row->id]); } ?>
{$row->node->ar_image_title} {$row->node->ar_image_title}

{$row->node->ar_title}

{$row->node->ar_summary|stripslashes|htmlentities}
{/volist} {volist name="headlines" id="row" offset="7" length='1'} node, $row->category); if($row->category->ca_slug == 'photo') { $url = url('photo', ['id' => $row->id]); } ?>

{$row->node->ar_title}

{$row->node->ar_summary|stripslashes|htmlentities}
{/volist}
contribute
EDITOR'S PICK
    {volist name="editors" id="row" offset="0" length="2"} node, $row->category); if($row->category->ca_slug == 'photo') { $url = url('photo', ['id' => $row->id]); } ?>
  • {$row->node->ar_title}

    {$row->node->ar_summary|stripslashes|htmlentities}
  • {/volist}
    {volist name="editors" id="row" offset="2" length="2"} node, $row->category); if($row->category->ca_slug == 'photo') { $url = url('photo', ['id' => $row->id]); } ?>
  • {$row->node->ar_image_title} {$row->node->ar_image_title}

    {$row->node->ar_title}

    {$row->node->ar_summary|stripslashes|htmlentities}
  • {/volist}
    {volist name="editors" id="row" offset="4" length="2"} node, $row->category); if($row->category->ca_slug == 'photo') { $url = url('photo', ['id' => $row->id]); } ?>
  • {$row->node->ar_image_title} {$row->node->ar_image_title}

    {$row->node->ar_title}

    {$row->node->ar_summary|stripslashes|htmlentities}
  • {/volist}
Photography
{volist name="photos" id="row" offset="0" length="1"}
    {volist name="$row->node->ar_image_list" id="row2" offset="0" length="2"}
  • {$row2.img_title}
  • {/volist}
{$row->node->ar_title}
{/volist}
{volist name="photos" id="row" offset="1" length="1"}
    {volist name="$row->node->ar_image_list" id="row2" offset="0" length="1"}
  • {$row2.img_title}
  • {/volist}
  • {volist name="$row->node->ar_image_list" id="row2" offset="1" length="2"} {$row2.img_title} {/volist}
{$row->node->ar_title}
{/volist}
{volist name="photos" id="row" offset="2" length="1"}
  • {volist name="$row->node->ar_image_list" id="row2" offset="0" length="2"} {$row2.img_title} {/volist}
  • {volist name="$row->node->ar_image_list" id="row2" offset="2" length="2"} {$row2.img_title} {/volist}
{$row->node->ar_title}
{/volist}
video
{volist name="indexCategoryData" id="categoryData" key="key"}
{$key}
    {volist name="categoryData" id="row" offset="0" length='1'}
  • {$row.title}
  • {/volist} {volist name="categoryData" id="row" offset="1" length='4'}
  • {$row.title}
  • {/volist}
{/volist}
Most read
    {volist name="mostRead" id="row" key="key" }
  • {$key+1}
    {$row.title}
  • {/volist}
Most Shared
    {volist name="mostShared" id="row" key="key" }
  • {$key+1}
    {$row.title}
  • {/volist}
{/block}