示例#1
0
文件: _hooaeg.php 项目: vcgato29/poff
<div class="wp_season"><?php 
echo __('Hooaeg');
?>
:
	<?php 
foreach ($hooajad as $index => $hooaeg) {
    ?>
		<?php 
    if (isset($hooaeg['node']) && $hooaeg['node'] instanceof Structure) {
        ?>
			<a <?php 
        if ($node['id'] == $hooaeg['id']) {
            ?>
class="active" style="color:<?php 
            echo CustomizationHelper::getInstance()->dark($section);
            ?>
;"<?php 
        }
        ?>
  href="<?php 
        include_component('linker', 'articleLinkBuilder', array('node' => $hooaeg['node']));
        ?>
">
			<?php 
        echo $hooaeg['title'];
        ?>
</a> <?php 
        if ($index + 1 != count($hooajad)) {
            ?>
|<?php 
示例#2
0
</a>
				<?php 
        }
        ?>

				<?php 
        if (isset($siblings[$index + 1])) {
            ?>
					<a style="background: url(<?php 
            echo CustomizationHelper::getInstance()->next($section);
            ?>
) no-repeat scroll right top <?php 
            echo CustomizationHelper::getInstance()->dark($section);
            ?>
; color: <?php 
            echo CustomizationHelper::getInstance()->font($section);
            ?>
;" class="bt_next" href="<?php 
            echo $siblings[$index + 1]['link'];
            ?>
"><?php 
            echo $siblings[$index + 1]['title'];
            ?>
</a>
				<?php 
        }
        ?>

				<?php 
        break;
        ?>