{% INCLUDE 'overall_header.html' %}

<div class="panel">
  <div class="inner">
    <h2>{{ lang('IZ_ADVERTISE_TITLE') }}</h2>
    <p>{{ lang('IZ_ADVERTISE_DESC') }}</p>

    <form method="post" action="{{ S_ADVERTISE_ACTION }}">
      <fieldset>
        <dl>
          <dt><label for="fullname">Full name</label></dt>
          <dd><input type="text" name="fullname" id="fullname" class="inputbox" required></dd>
        </dl>
        <dl>
          <dt><label for="email">Email</label></dt>
          <dd><input type="email" name="email" id="email" class="inputbox" required></dd>
        </dl>
        <dl>
          <dt><label for="phone">Phone</label></dt>
          <dd><input type="text" name="phone" id="phone" class="inputbox"></dd>
        </dl>
        <dl>
          <dt><label for="company">Company / Brand</label></dt>
          <dd><input type="text" name="company" id="company" class="inputbox"></dd>
        </dl>
        <dl>
          <dt><label for="target_url">Target URL</label></dt>
          <dd><input type="url" name="target_url" id="target_url" class="inputbox" placeholder="https://"></dd>
        </dl>
        <dl>
          <dt><label for="slots">Preferred Slots</label><br><span>Example: index_top_1,index_right_2</span></dt>
          <dd><input type="text" name="slots" id="slots" class="inputbox"></dd>
        </dl>
        <dl>
          <dt><label for="duration_days">Duration (days)</label></dt>
          <dd><input type="number" min="1" name="duration_days" id="duration_days" class="inputbox" value="7"></dd>
        </dl>
        <dl>
          <dt><label for="ad_type">Ad type</label></dt>
          <dd>
            <select name="ad_type" id="ad_type" class="inputbox">
              <option value="image">Image</option>
              <option value="html">HTML / Google Ads code</option>
            </select>
          </dd>
        </dl>
        <dl>
          <dt><label for="image_url">Image URL (optional)</label></dt>
          <dd><input type="url" name="image_url" id="image_url" class="inputbox" placeholder="https://"></dd>
        </dl>
        <dl>
          <dt><label for="html_code">Ad HTML (optional)</label></dt>
          <dd><textarea name="html_code" id="html_code" rows="6" class="inputbox"></textarea></dd>
        </dl>
        <dl>
          <dt><label for="notes">Notes</label></dt>
          <dd><textarea name="notes" id="notes" rows="4" class="inputbox"></textarea></dd>
        </dl>

        <p><strong>Price:</strong> {{ IZ_DEFAULT_AMOUNT }} ({{ IZ_CURRENCY }})</p>

      </fieldset>

      <fieldset class="submit-buttons">
        <input type="submit" name="submit" value="{{ lang('IZ_ADVERTISE_SUBMIT') }}" class="button1">
      </fieldset>
    </form>
  </div>
</div>

{% INCLUDE 'overall_footer.html' %}
