示例#1
0
if ($this->_sidebar == 1) {
    ?>
<div id='wikiSideMenu'>
<?php 
    if ($this->_login) {
        print macro_login($this);
    }
    print '<div class="calendar">';
    if ($options['id'] == 'Anonymous') {
        print macro_calendar($this, "'Blog',blog,noweek,archive,center", 'Blog');
    } else {
        print macro_calendar($this, "'{$options['id']}',blog,noweek,archive,center", $options['id']);
    }
    print '</div>';
    print '<div class="randomQuote">';
    print macro_RandomQuote($this);
    print '</div>';
    print '<div class="randomPage">';
    print macro_RandomPage($this, "4,simple");
    print '</div>';
    if ($DBInfo->use_tagging) {
        print "<div>";
        print macro_Keywords($this, "all,tour,limit=15");
        print "</div>";
    }
    ?>
</div>
<?php 
}
?>
<div id='mycontent'>
示例#2
0
if ($self->_sidebar == 1) {
    ?>
<div id='wikiSideMenu'>
<?php 
    if ($self->_login) {
        print macro_login($self);
    }
    print '<div class="calendar">';
    if ($options['id'] == 'Anonymous') {
        print macro_calendar($self, "'Blog',blog,noweek,archive,center", 'Blog');
    } else {
        print macro_calendar($self, "'{$options['id']}',blog,noweek,archive,center", $options['id']);
    }
    print '</div>';
    print '<div class="randomQuote">';
    print macro_RandomQuote($self);
    print '</div>';
    print '<div class="randomPage">';
    print macro_RandomPage($self, "4,simple");
    print '</div>';
    if ($DBInfo->use_tagging) {
        print "<div>";
        print macro_Keywords($self, "all,tour,limit=15");
        print "</div>";
    }
    ?>
</div>
<?php 
}
?>
<div id='mycontent'>
示例#3
0
    if (!empty($DBInfo->use_scrap)) {
        echo "<div class='scrap'>";
        echo macro_Scrap($this);
        echo "</div>";
    }
    if ($this->_submenu == 1) {
        echo '<div id="subMain">';
        echo $submain;
        echo '</div>';
        echo '<div id="subMenu">';
        echo $submenu;
        echo '</div>';
    }
    if ($this->_randomquote == 1) {
        echo '<div class="randomQuote">';
        echo macro_RandomQuote($this);
        echo '</div>';
    }
    echo '<div class="randomPage">';
    echo macro_RandomPage($this, "4,simple");
    echo '</div>';
    if (!empty($DBInfo->use_tagging)) {
        echo "<div>";
        echo macro_Keywords($this, "all,tour,limit=15");
        echo "</div>";
    }
    ?>
</div>
</div>
<?php 
}