<?php 
if ($this->_tpl_vars['footer_prev_page']) {
    ?>
        <a class="prev-page" href="<?php 
    echo $this->_tpl_vars['footer_prev_page'];
    ?>
">&laquo; <?php 
    echo @PREVIOUS_PAGE;
    ?>
</a>
    <?php 
}
?>
    <?php 
if ($this->_tpl_vars['footer_next_page']) {
    ?>
        <a class="next-page" href="<?php 
    echo $this->_tpl_vars['footer_next_page'];
    ?>
"><?php 
    echo @NEXT_PAGE;
    ?>
 &raquo;</a>
    <?php 
}
?>
    <?php 
echo serendipity_smarty_hookPlugin(array('hook' => 'entries_footer'), $this);
?>

    </div>
    </div><!-- /#page -->
</div><!-- /.bgimage -->

<div id="footer">
    <div class="footerwrap">
        <div class="copyright"><?php 
    echo $this->_tpl_vars['blogTitle'];
    ?>
 is designed by <a href="http://www.productivedreams.com/">productivedreams</a> for <a href="http://www.smashingmagazine.com">Smashing Magazine</a></div>
        <div class="copyright">Imprezz theme ported to <a href="http://www.s9y.org">Serendipity</a> by <a href="http://yellowled.de">YellowLed</a></div>
    </div><!-- /.footerwrap -->
</div><!-- /#footer -->
<?php 
}
?>

<?php 
echo $this->_tpl_vars['raw_data'];
?>

<?php 
echo serendipity_smarty_hookPlugin(array('hook' => 'frontend_footer'), $this);
?>

<?php 
if ($this->_tpl_vars['is_embedded'] != true) {
    ?>
</body>
</html>
<?php 
}
            ?>
                        <?php 
            if ((is_array($_tmp = 'siteConfiguration') ? $this->_run_mod_handler('checkPermission', true, $_tmp) : serendipity_checkPermission($_tmp)) || (is_array($_tmp = 'blogConfiguration') ? $this->_run_mod_handler('checkPermission', true, $_tmp) : serendipity_checkPermission($_tmp))) {
                ?>
                        <li class="serendipitySideBarMenuLink serendipitySideBarMenuUserManagementLinks"><a href="serendipity_admin.php?serendipity[adminModule]=integrity"><?php 
                echo @INTEGRITY;
                ?>
</a></li>
                        <?php 
            }
            ?>
                        <?php 
            if ($this->_tpl_vars['admin_vars']['no_create'] !== true) {
                ?>
 <?php 
                echo serendipity_smarty_hookPlugin(array('hook' => 'backend_sidebar_admin', 'hookAll' => 'true'), $this);
            }
            ?>
                        <li class="serendipitySideBarMenuFoot serendipitySideBarMenuUserManagement" style="display:none"></li>
                    </ul>
        <?php 
        }
        ?>
    
                        <br class="serendipitySideBarMenuSpacer" />                                                                                             
                    <ul class="serendipitySideBarMenu serendipitySideBarMenuLogout">
                        <li class="serendipitySideBarMenuHead serendipitySideBarMenuLogoutLinks" style="display:none"></li>
                        <li class="serendipitySideBarMenuLink serendipitySideBarMenuLogoutLinks serendipitySideBarMenuLogoutWeblog"><a href="<?php 
        echo $this->_tpl_vars['serendipityBaseURL'];
        ?>
"><?php 
        ?>
" onclick="window.open('serendipity_admin_image_selector.php?serendipity[textarea]=extended', 'ImageSel', 'width=800,height=600,toolbar=no');">
                <input type="button" class="serendipityPrettyButton input_button" value="Link" onclick="serendipity_insLink(document.forms['serendipityEntry']['serendipity[extended]'])">
                <?php 
    }
    ?>
                <?php 
    echo serendipity_smarty_hookPlugin(array('hook' => 'backend_entry_toolbar_extended', 'data' => $this->_tpl_vars['entry_data']['entry'], 'hookAll' => 'true'), $this);
    ?>

            </div>
            <?php 
} else {
    ?>
                <?php 
    echo serendipity_smarty_hookPlugin(array('hook' => 'backend_entry_toolbar_extended', 'data' => $this->_tpl_vars['entry_data']['entry'], 'hookAll' => 'true'), $this);
    ?>

            <?php 
}
?>
       </td>
    </tr>
    
        <tr>
        <td colspan="3">
            <textarea style="width: 100%;" name="serendipity[extended]" id="serendipity[extended]" cols="80" rows="20"><?php 
echo smarty_modifier_escape($this->_tpl_vars['entry_vars']['entry']['extended']);
?>
</textarea>
            <?php 
            <p><label for="url"><small><?php 
echo @HOMEPAGE;
?>
</small></label><input type="text" id="url" name="serendipity[url]" value="<?php 
echo $this->_tpl_vars['commentform_url'];
?>
" size="22" tabindex="3" /></p>
        </div>

        <p class="text_area"><textarea rows="10" cols="100%" tabindex="4" id="comment" name="serendipity[comment]"><?php 
echo $this->_tpl_vars['commentform_data'];
?>
</textarea></p>

        <?php 
echo serendipity_smarty_hookPlugin(array('hook' => 'frontend_comment', 'data' => $this->_tpl_vars['commentform_entry']), $this);
?>

    <?php 
if ($this->_tpl_vars['is_commentform_showToolbar']) {
    ?>
        <p class="check_fields"><input id="checkbox_remember" type="checkbox" name="serendipity[remember]" <?php 
    echo $this->_tpl_vars['commentform_remember'];
    ?>
 /><label for="checkbox_remember"><?php 
    echo @REMEMBER_INFO;
    ?>
</label></p>
      <?php 
    if ($this->_tpl_vars['is_allowSubscriptions']) {
        ?>