{if $OWN_LANG_CONF == 1}{config_load file="$language/own_shopreview.conf" section="shopreview"}{else}{config_load file="$language/shopreview.conf" section="shopreview"}{/if}{include file="$HEADER"}
<div class="wrapper">
    <div class="langboxtop langflag">{foreach name=aussen item=lang_data from=$LANGUAGES}<a href="{$lang_data.link}">{$lang_data.imgtag}</a>{/foreach}</div>
    <div class="langboxtop langnames">{foreach name=aussen item=lang_data from=$LANGUAGES}<a href="{$lang_data.link}">{$lang_data.name}</a>{/foreach}</div>
    <div class="backtoshop"><a href="{$HOME}"><img src="{$IMG_PATH_LOGO_URL}" alt="" title="" /> <span>{#shoplink#}</span></a>
        <span class="clrnone"></span>
    </div>
    {if $SHOW_RICH_SNIPPET == 1}
    {include file="$SNIPPET_CODE"}
    {/if}
    <div class="shopreviewboxmainbg">
        <div class="shopreviewbox">
            <div class="shopreviewboxinner">
            <p class="shopreviewboxtitle">{#shopreviews#}</p>
            <div class="starBlock" title="{$SHOPREVIEWS_ALL_AVERAGE} - {$RATING_TEXT}">
                <div class="ratingBlock ratingBlockStars{$ALL_STARS}">&nbsp;</div>
            </div>
            <p class="reviewValue">{$RATING_TEXT}</p>
            <p class="ratingValue">
                {$SHOPREVIEWS_ALL_AVERAGE} / 5.00
            </p>
            <span class="clrnone"></span>
        </div>
    </div>
    <div class="toptext">
        <h1 class="headerTopShow">{#shopreviews#}</h1>
        <p>{#fromcusttocust#}<br />{#shopreviewinfotext#}
        </p>
    </div>
    <div class="shopvotingboxhrhide"></div>
    <div class="main">
        <div class="leftside leftsidehidden">
            {include file="$LEFTSIDEINFO"}
        </div>
        <div class="mainContent">

            <div class="overboxshopbewertung">
                <div class="shopreviewLoginBox">
                    {if $WRITECHECK == 'no'}
                    <h3 class="titlebox">{#login#}</h3>
                    <p>{#register#} <a href="{$LINK_ACCOUNT}"><strong>{#here#}</strong></a> {#loginreg#}</p>
                    <form action="{$FORM_LOGIN_LINK}" method="post">
                        {if $MAIL_ERROR_CLASS}<span class="loginerrorinfobox">{$MAIL_ERROR_TEXT}</span>{/if}
                        {if $PASSWORD_ERROR_CLASS}<span class="loginerrorinfobox">{$PASSWORD_ERROR_TEXT}</span>{/if}
                        <label for="email"><p>{#email#}</p>:
                            <input type="text" name="email_address" value="{$EMAIL_ADDRESS}" id="email"{if $MAIL_ERROR_CLASS} class="binputError"{/if} /></label>
                        <label for="password"><p>{#passwort#}</p>:
                            <input type="password" name="password" value="{$password}" id="password"{if $PASSWORD_ERROR_CLASS} class="binputError"{/if} /></label>
                        <p class="buttonfloatright">
                            <button name="{#button_login#}" value="{#button_login#}" class="abuttondefault votebutton">{#button_login#}</button>
                        </p>
                        <p class="buttonfloatleft">
                            <a href="{$BACK_LINK}" title="{#back#}" class="abuttondefault votebutton">{#back#}</a>
                        </p>
                    </form>
                    {else}
                    <form action="{$FORMSTART}" method="post" name="writeshopreview">
                        <h2>{#shopreview_write#}</h2><p class="oblifields tright">{#required_fields#}</p>
                        <span class="clrnone"></span>
                        {if $ERROR}
                        <div class="voteerrorbox">
                            <ul>
                            {foreach name=aussen item=error from=$ERROR}
                                <li>{$error}</li>
                            {/foreach}
                            </ul>
                        </div>

                        {/if}
                        <div class="shopreviewwritebox">
                            <table class="subvotingtab starshop{if $ERROR_SHOPRATING} borderred{/if}">
                                <tr>
                                    <td class="firsttd">{#shopreview_all#} <span class="oblistar">*</span></td>
                                    <td>{$OPTFIELD_SHOP}</td>
                                </tr>
                            </table>

                            <div class="shopvotingboxhr hrwidth"></div>

                            <h3>{#detail_reviews#}</h3>

                            <table class="subvotingtab">
                                <tr{if $RATING_ERROR.rating_products == 1} class="trerror"{/if}>
                                    <td class="firsttd">{#products#}{if $RATING_ERROR_PRODUCTS == 1} <span class="oblistar">*</span>{/if}</td>
                                    <td>{$OPTFIELD_PRODUCTS} <span class="voteinfo">{#products_info#}</span></td>
                                </tr>
                                <tr{if $RATING_ERROR.rating_delivery == 1} class="trerror"{/if}>
                                    <td class="firsttd">{#delivery#} {if $RATING_ERROR_DELIVERY == 1} <span class="oblistar">*</span>{/if}</td>
                                    <td>{$OPTFIELD_DELIVERY} <span class="voteinfo">{#delivery_info#}</span></td>
                                </tr>
                                <tr{if $RATING_ERROR.rating_service == 1} class="trerror"{/if}>
                                    <td class="firsttd">{#service#} {if $RATING_ERROR_SERVICE == 1} <span class="oblistar">*</span>{/if}</td>
                                    <td>{$OPTFIELD_SERVICE} <span class="voteinfo">{#service_info#}</span></td>
                                </tr>
                                <tr{if $RATING_ERROR.rating_page == 1} class="trerror"{/if}>
                                    <td class="firsttd">{#page#} {if $RATING_ERROR_PAGE == 1} <span class="oblistar">*</span>{/if}</td>
                                    <td>{$OPTFIELD_PAGE} <span class="voteinfo">{#page_info#}</span></td>
                                </tr>
                            </table>
                            <span class="clrnone"></span>
                            </div>

                        <div class="shopvotingboxhr hrwidth">&nbsp;</div>
                        <div class="votingcommentbox">
                            <table class="votingdetailtab">
                                <tr>
                                    <td class="firsttd">{#firstname#}{if $NAME_CHECK == 1}<span class="oblistar">*</span>{/if}</td>
                                    <td><input type="text" name="voting_customers_firstname" value="{$FIRSTNAME_POST}"{if $ERROR.nameerror} class="redbordererror"{/if} /></td>
                                </tr>
                                <tr>
                                    <td class="firsttd">{#lastname#}{if $NAME_CHECK == 1}<span class="oblistar">*</span>{/if}</td>
                                    <td><input type="text" name="voting_customers_lastname" value="{$LASTNAME_POST}"{if $ERROR.nameerror} class="redbordererror"{/if} /></td>
                                </tr>
                                <tr>
                                    <td class="firsttd">&nbsp;</td>
                                    <td><span class="optname">&raquo; {#optionalname#}</span></td>
                                </tr>

                                <tr>
                                    <td class="firsttd">{#email#}<span class="oblistar">**</span></td>
                                    <td>
                                        <input type="text" name="email" value="{$EMAIL_POST}" id="email"{if $ERROR.mailerror} class="redbordererror"{/if} />
                                    </td>
                                </tr>
                                {if $ORDERS_ID_CHECK == 1}
                                <tr>
                                    <td class="firsttd">{#orderid#}<span class="oblistar">**</span></td>
                                    <td>{$ERROR.orderidalsovote}
                                        <input type="text" name="orders_id" value="{$ORDERS_ID_POST}"{if $ERROR.orderidalsovote != '' || $ERROR.orderiderrormail != '' || $ERROR.orderiderror != ''} class="redbordererror"{/if} />
                                    </td>
                                </tr>
                                {/if}
                                <tr>
                                    <td class="firsttd">{#charakter1#}{if $COMMENT_CHECK == 1}<span class="oblistar">*</span>{/if}</td>
                                    <td>
                                        <textarea name="shopreviews_text" cols="8" rows="8" onkeydown="textcounter(document.writeshopreview.shopreviews_text, document.writeshopreview.remaining_characters_1, {$CHARACTER})" onkeyup="textcounter(document.writeshopreview.shopreviews_text, document.writeshopreview.remaining_characters_1, {$CHARACTER})" {if $ERROR.commenterror} class="redbordererror"{/if}>{$SHOPREVIEWS_TEXT}</textarea>
                                        <br/>
                                        <input type="text" name="remaining_characters_1" class="characterleft" value="{$CHARACTER}" readonly="readonly"/> <span class="remainingcharacter">{#remaining#}</span>
                                        <p class="oblifields">{#required_field_no_disp#}</p>
                                    </td>
                                </tr>

                            {if $CAPTCHACHECK == 'captcha'}
                                <tr>
                                    <td class="firsttd">{#code#}</td>
                                    <td><img src="{$VVIMG}" alt="Captcha" class="captchaimg" /></td>
                                </tr>
                                <tr>
                                    <td class="firsttd">{#codeentry#}</td>
                                    <td>
                                        <input type="text" maxlength="6" name="vvcode" class="captchainput{if $ERROR.captchaerror} redbordererror{/if}" />
                                    </td>
                                </tr>
                            {/if}
                            </table>
                            <div class="shopvotingboxhr hrwidth">&nbsp;</div>

                            {if $PRIVACY_SHOW_TEXT == 1}
                            <p><strong>{$PRIVACY_CONTENT.content_title}</strong></p>
                            <div class="privacytextbox">
                                {$PRIVACY_CONTENT.content_text}
                            </div>
                            {/if}
                            <br />
                            {if $PRIVACY_CHECKBOX == '1'}
                            <div class="privacycheckboxbox{if $ERROR.privacy_check_error != ''} borderred{/if}">
                                <label for="privacycheck">
                                    <input type="checkbox" value="1" name="check_privacy"{if $CHECK_PRIVACY == 1} checked="checked"{/if} id="privacycheck" /> {#confirm_pricacy_check#}
                                </label>
                            </div>
                            <br /><br /><br />
                            {/if}

                        </div>
                        <p class="buttonfloatright">
                            <button name="send" value="send" class="abuttondefault votebutton buttonfloatright">{#button_send#}</button>
                        </p>
                        <p class="buttonfloatleft">
                            <a href="{$BACK_LINK}" title="{#back#}" class="abuttondefault votebutton buttonfloatleft">{#back#}</a>
                        </p>
                        <p class="clrnone">&nbsp;</p><br/>
                    </form>
                    {/if}
                </div>
            </div>
        </div>
    </div>
    <div class="clrnone"></div>
</div>
</div>
