예제 #1
0
<?php

/*


#########################################
www.free-templates.lt - get Your Free template for Your site!
#########################################
Free Joomla, Drupal, Wordpress, Blogger themes and templates!
Free Joomla, Drupal, Wordpress, Blogger themes and templates!
#########################################
www.free-templates.lt - get Your Free template for Your site!
#########################################
*/
echo art_menu_worker($content, true, 'free-templates-lt-hmenu');
예제 #2
0
function art_vmenu_output($subject, $content)
{
    if (empty($content)) {
        return;
    }
    $output = art_menu_worker($content, true, 'free-templates-lt-vmenu');
    $bvm = "<div class=\"free-templates-lt-box free-templates-lt-block\">\r\n    <div class=\"free-templates-lt-box-body free-templates-lt-block-body\">\r\n";
    $bvmt = "";
    $evmt = "";
    $bvmc = "<div class=\"free-templates-lt-box free-templates-lt-blockcontent\">\r\n    <div class=\"free-templates-lt-box-body free-templates-lt-blockcontent-body\">\r\n<div class=\"content\">\r\n";
    $evmc = "\r\n</div>\r\n\t\t<div class=\"cleared\"></div>\r\n    </div>\r\n</div>\r\n";
    $evm = "\r\n\t\t<div class=\"cleared\"></div>\r\n    </div>\r\n</div>\r\n";
    echo $bvm;
    if ('' != $bvmt && '' != $evmt && !empty($subject)) {
        echo $bvmt;
        echo $subject;
        echo $evmt;
    }
    echo $bvmc;
    echo $output;
    echo $evmc;
    echo $evm;
}
예제 #3
0
function art_vmenu_output($subject, $content)
{
    if (empty($content)) {
        return;
    }
    $output = art_menu_worker($content, true, 'art-vmenu');
    $bvm = "<div class=\"art-box art-vmenublock\">\r\n    <div class=\"art-box-body art-vmenublock-body\">\r\n";
    $bvmt = "<div class=\"art-bar art-vmenublockheader\">\r\n    <h3 class=\"t subject\">";
    $evmt = "</h3>\r\n</div>\r\n";
    $bvmc = "<div class=\"art-box art-vmenublockcontent\">\r\n    <div class=\"art-box-body art-vmenublockcontent-body\">\r\n<div class=\"content\">\r\n";
    $evmc = "\r\n</div>\r\n\t\t<div class=\"cleared\"></div>\r\n    </div>\r\n</div>\r\n";
    $evm = "\r\n\t\t<div class=\"cleared\"></div>\r\n    </div>\r\n</div>\r\n";
    echo $bvm;
    if ('' != $bvmt && '' != $evmt && !empty($subject)) {
        echo $bvmt;
        echo $subject;
        echo $evmt;
    }
    echo $bvmc;
    echo $output;
    echo $evmc;
    echo $evm;
}
function art_vmenu_output($subject, $content)
{
    if (empty($content)) {
        return;
    }
    $result = '';
    $vmenu = art_menu_worker($content, true, 'Cancilleria_vmenu');
    $result .= <<<EOT
<div class="Cancilleria_vmenublock clearfix">
        <div class="Cancilleria_vmenublockcontent">{$vmenu}
</div>
</div>
EOT;
    return $result;
}
예제 #5
0
<?php

if ($content) {
    ?>
  <div class="<?php 
    print $classes;
    ?>
">
    <?php 
    switch ($region) {
        case "navigation":
            print art_menu_worker($content, true, 'art-hmenu');
            break;
        case "vnavigation_left":
        case "vnavigation_right":
            foreach (array_keys($variables['elements']) as $name) {
                $element =& $variables['elements'][$name];
                if (is_array($element) && isset($element['#block']) && isset($element['#block']->subject) && isset($element['#children']) && is_string($element['#children']) && !empty($element['#children'])) {
                    $block_subject = $element['#block']->subject;
                    $block_content = $element['#children'];
                    art_vmenu_output($block_subject, $block_content);
                }
            }
            break;
        default:
            print $content;
            break;
    }
    ?>
  </div>
<?php 
<?php

echo art_menu_worker($block->content, true, 'art-hmenu');