<?php

/*
|--------------------------------------------------------------------------
| home
|--------------------------------------------------------------------------
 */
$view

//->jq('.fixed-left')->attr('d', '公告') 后续支持

->fetch('.fixed-left@test', '公告')

->fetch('body@class', 'theme-<{Dever::load("manage/auth.config#template")}>')
->fetch('#wrapper@class', 'manage/database.cookie#wrapper')
#->fetch('#panel-notice .panel-heading', '公告')

->loop
(
    '#panel-notice li',
    'manage/auth.notice',
    array
    (
        'a' => array
        (
            'href' => '<{Dever::url("notice?where_id=".$v.id."&where_config=".$v.config)}>',
            'title' => '<{$v.name}>',
            'html' => '<{$v.name}>',
        ),
    )
)

->loop
(
    '#panel-project a',
    'manage/menu.fast',
    array
    (
        'self' => array
        (
            'href' => '<{$v.link}>',
            'title' => '<{$v.name}>',
            'html' => '<{$v.name}>',
            'style' => 'margin-left:10px;',
        ),
    )
)

//->fetch('#panel-info .panel-heading', '重要信息')

->fetch('#panel-contact h3', 'manage/auth.config#info')

->fetch('#panel-contact address', 'manage/auth.config#content')

# display
->display();
