<?php

$view

->loop
(
    '#dever_comment li',
    'forum/review.get',
    array
    (
        '.dever_user' => array
        (
            'a' => array
            (
                'href' => '<{Dever::load("forum/review.info#user_link", $v)}>',
                'title' => '<{Dever::load("forum/review.info#user_name", $v)}>',
            ),

            'img' => array
            (
                'src' => '<{Dever::load("forum/review.info#user_avatar", $v)}>',
                'alt' => '<{Dever::load("forum/review.info#user_name", $v)}>',
            ),
            
            'style' => '<{Dever::load("forum/review.info#user_avatar", $v) ? "" : "display:none;"}>'
        ),

        '.dever_content' => array
        (
			'html' => '<{Dever::load("forum/review.info#content", $v)}>',
        ),
        
        '.dever_up' => array
        (
            'href' => 'javascript:;',
            'id' => 'dever_up_<{Dever::load("forum/review.info#id", $v)}>',
            
            'i' => array
            (
				'html' => '<{Dever::load("forum/review.info#num_up", $v)}>',
            )
        ),
        
        '.dever_reply' => array
        (
            'href' => 'javascript:;',
            'id' => 'dever_reply_<{Dever::load("forum/review.info#id", $v)}>',
            'title' => '回复 <{Dever::load("forum/review.info#user_name", $v)}>',
            'dever-send' => '<{Dever::load("forum/review.info#uid", $v)}>',
        ),
        
        '.dever_floor' => array
		(
			'name' => 'dever_reply_<{Dever::load("forum/review.info#floor", $v)}>',
			'href' => '#dever_reply_<{Dever::load("forum/review.info#floor", $v)}>',
			'html' => '#<{Dever::load("forum/review.info#floor", $v)}>',
		),
        
        '.dever_username' => array
		(
			'href' => '<{Dever::load("forum/review.info#user_link", $v)}>',
			'href' => 'javascript:;',
			'title' => '<{Dever::load("forum/review.info#user_name", $v)}>',
			'html' => '<{Dever::load("forum/review.info#user_name", $v)}>',
			//'target' => '_blank',
		),
        
        '.dever_time' => array
        (
			'html' => '<{Dever::load("forum/review.info#time", $v)}>',
			'title' => '<{Dever::load("forum/review.info#cdate", $v)}>',
        ),
    )
)


->fetch('#dever_comment b', '<{Dever::total("current")}>')

->fetch('#dever_page','<{Dever::page("current")}>')

->display();