<?php
/**
 * Shop-Reviews
 *
 * @released under the GNU General Public License
 * inspired and in parts based on
 * Copyright (c) 2003 osCommerce
 * @author H-P Sausen
 * @copyright (c) since 2010 web4design.de
 * @contact webmaster@web4design.de
 * @version 3.0
 */

include(MH_DIR_CONFIG . 'config_shopvoting/admin/common.php');
include(MH_DIR_CONFIG . 'config_shopvoting/admin/common_header.php');
?>

<div id="borderbox">
<!--    <form action="--><?php //echo shopvoting_admin_page_link(Shopvoting::FILENAME_SHOPREVIEW_MANAGE_NEWS); ?><!--" method="post">-->

        <?php echo mh_draw_form('shopvoting', shopvoting_admin_page_link(Shopvoting::FILENAME_SHOPREVIEW_MANAGE_NEWS, '', true), '', 'post'); ?>

<div class="leftupdatebox">
<?php echo WEB4DESIGN_DE_SR_SAVE_INFO; ?>&nbsp;&nbsp;&nbsp; <input type="submit" name="" value="<?php echo WEB4DESIGN_DE_SR_SAVE_SETTINGS; ?>"/>
</div>   
    
        <table class="maintab">
            <tr>
                <td colspan="3">
                    <?php
                    if ($_POST) {
                        $voting->setTemplateBox($_POST['template_box_character'],$_POST['template_box_show_text'],$_POST['template_box_show_total']);
                        $voting->__construct();

                        ?>
                        <div class="speichern"><?php echo WEB4DESIGN_DE_SR_UPDATED; ?></div>
                    <?php } ?>
                </td>
            </tr>
            <tr>
                <td width="49%" style="vertical-align: top;">
                    <p class="adminConfigHeader"><strong><?php echo WEB4DESIGN_DE_SR_NEWS_GERMAN; ?></strong></p>

                    <div class="newsbox">
                        <?php include(MH_DIR_CONFIG . 'config_shopvoting/news/news_german.html'); ?>
                    </div>

                </td>
                <td width="2%">&nbsp;</td>
                <td width="49%" style="vertical-align: top;">
                    <p class="adminConfigHeader"><strong><?php echo WEB4DESIGN_DE_SR_NEWS_ENGLISH; ?></strong></p>

                    <div class="newsbox">
                        <?php include(MH_DIR_CONFIG . 'config_shopvoting/news/news_english.html'); ?>
                    </div>





                </td>
            </tr>
        </table>

    </form>
    <p class="clr">&nbsp;</p>
</div>
