コード例 #1
0
ファイル: page.tpl.php プロジェクト: ryonn/hodderslandscaping
if (!empty($left)) {
    $l = $left;
} else {
    if (!empty($sidebar_left)) {
        $l = $sidebar_left;
    }
}
$r = null;
if (!empty($right)) {
    $r = $right;
} else {
    if (!empty($sidebar_right)) {
        $r = $sidebar_right;
    }
}
echo art_get_content_cell_style($l, $r, $content);
?>
">
<?php 
if (!empty($banner2)) {
    echo '<div id="banner-2">' . $banner2 . '</div>';
}
if (!empty($user1) && !empty($user2)) {
    ?>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr valign="top"><td width="50%"><?php 
    echo $user1;
    ?>
</td>
<td><?php 
    echo $user2;
コード例 #2
0
<?php 
}
if (!empty($banner1)) {
    echo '<div id="banner1">' . render($banner1) . '</div>';
}
echo art_placeholders_output(render($top1), render($top2), render($top3));
?>
<div class="art-content-layout">
    <div class="art-content-layout-row">
<?php 
if (!empty($art_sidebar_left) || !empty($vnavigation_left)) {
    echo art_get_sidebar($art_sidebar_left, $vnavigation_left, 'art-sidebar1');
}
?>
<div class="<?php 
echo art_get_content_cell_style($art_sidebar_left, $vnavigation_left, $art_sidebar_right, $vnavigation_right, $content);
?>
">
<?php 
if (!empty($banner2)) {
    echo '<div id="banner2">' . render($banner2) . '</div>';
}
if (!empty($user1) && !empty($user2)) {
    ?>
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top"><td class="half-width"><?php 
    echo render($user1);
    ?>
</td>
<td><?php 
    echo render($user2);