<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <title><%site_title%>: Add a Review</title>
<%include include_common_head.html%>
</head>
<body id="review_add">
<%include include_accessibility.html%>
  <div id="wrapper">
<%include include_header.html%>
<%include include_contentheader.html%>
    <div id="ocwrapper" class="clear">
      <div id="icwrapper" class="clear">
<%include include_leftsidebar.html%>
        <div id="contentwrapper" class="shadowleft">
<%include include_contentwrapper_top.html%>
          <div class="shadowtop"><div class="shadowtopleft"></div><div class="shadowtopright"></div></div>
          <div class="shadowright">
            <div id="content">
<%include include_content_top.html%>

<div class="crumb"><%Links::Utils::format_title($main_title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div>
<h2>Add a Review</h2>

<%if URL%><%include link.html%><%endif%>

<p>
  Please completely fill out the form below, and we'll add your review as soon as possible.
</p>

<form action="<%config.db_cgi_url%>/review.cgi" method="post">
  <%if ID%><input type="hidden" name="ID" value="<%escape_html ID%>" /><%endif%>
  <input type="hidden" name="add_this_review" value="1" />
  <div class="row required clear">
    <label class="name">Your Rating: <span>*</span></label>
    <div class="value">
      <input type="radio" id="Review_Rating-1" name="Review_Rating" value="1"<%if Review_Rating == 1%> checked="checked"<%endif%> class="radio" /><label for="Review_Rating-1">1</label>
      <input type="radio" id="Review_Rating-2" name="Review_Rating" value="2"<%if Review_Rating == 2%> checked="checked"<%endif%> class="radio" /><label for="Review_Rating-2">2</label>
      <input type="radio" id="Review_Rating-3" name="Review_Rating" value="3"<%if Review_Rating == 3%> checked="checked"<%endif%> class="radio" /><label for="Review_Rating-3">3</label>
      <input type="radio" id="Review_Rating-4" name="Review_Rating" value="4"<%if Review_Rating == 4%> checked="checked"<%endif%> class="radio" /><label for="Review_Rating-4">4</label>
      <input type="radio" id="Review_Rating-5" name="Review_Rating" value="5"<%if Review_Rating == 5%> checked="checked"<%endif%> class="radio" /><label for="Review_Rating-5">5</label>
    </div>
  </div>
  <div class="row required clear">
    <label for="Review_Subject" class="name">Subject: <span>*</span></label>
    <div class="value">
      <input type="text" id="Review_Subject" name="Review_Subject" value="<%if Review_Subject%><%escape_html Review_Subject%><%endif%>" class="text" />
    </div>
  </div>
  <div class="row clear">
    <label for="Review_ByLine" class="name">By Line:</label>
    <div class="value">
      <input type="text" id="Review_ByLine" name="Review_ByLine" value="<%if Review_ByLine%><%escape_html Review_ByLine%><%endif%>" class="text" />
    </div>
  </div>
  <div class="row required clear">
    <label for="Review_Contents" class="name">Your Review: <span>*</span></label>
    <div class="value">
      <textarea id="Review_Contents" name="Review_Contents" rows="3" cols="42"><%if Review_Contents%><%escape_html Review_Contents%><%endif%></textarea>
    </div>
  </div>
<%~if not config.user_review_required and not user.Username%>
  <div class="row required clear">
    <label for="Review_GuestName" class="name">Your Name: <span>*</span></label>
    <div class="value">
      <input type="text" id="Review_GuestName" name="Review_GuestName" value="<%if Review_GuestName%><%escape_html Review_GuestName%><%endif%>" class="text" />
    </div>
  </div>
  <input type="hidden" id="Review_email_2" name="Review_email_2" value="" class="text" />
  <div class="row required clear">
    <label for="Review_GuestEmail" class="name">Your E-mail: <span>*</span></label>
    <div class="value">
      <input type="text" id="Review_GuestEmail" name="Review_GuestEmail" value="<%if Review_GuestEmail%><%escape_html Review_GuestEmail%><%endif%>" class="text" />
    </div>
  </div>
<%~endif%>
  <div class="formsubmit">
    <input type="submit" name="add_review" value="Add Review" class="submit" />
  </div>
</form>

<%include include_content_bottom.html%>
            </div>
          </div>
          <div class="shadowbottom"><div class="shadowbottomleft"></div><div class="shadowbottomright"></div></div>
<%include include_contentwrapper_bottom.html%>
        </div>
<%include include_rightsidebar.html%>
      </div>
    </div>
<%include include_contentfooter.html%>
<%include include_footer.html%>
  </div>
</body>
</html>
