{% include 'header.twig' %}

<div class="container">
  <div class="row">
    <div class="col-md-8 col-md-offset-2">
<div class="well ">
<center><font color="#000000"><b><font size="5"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">SUPPORT HOURS</font></font></font></b></font></center>
<br><center><font color="#FF6666"><font size="4"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">7:00 - 24:00</font></font></font></font></center>

          <ul class="list-p">
          	<li><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">If you have a problem with the order, please   </font><font style="vertical-align: inherit;">create a support request under the </font></font><b><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">ORDER NAME</font></font></b><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"> .</font></font></li>
          	<li><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">If you have a problem with payment, please </font><font style="vertical-align: inherit;">create a support request under the name </font></font><b><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">PAYMENT</font></font></b><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"> .</font></font></li>
          		<li><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">If this is the case, </font><font style="vertical-align: inherit;">create a support request under the </font></font><b><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">OTHERS</font></font></b><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"> name.</font></font></li>
          	</ul>
          	<br>

          	<p><strong><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Please read the </font><a href="faq"><font style="vertical-align: inherit;">frequently asked questions</font></a><font style="vertical-align: inherit;"> before creating a support request </font></font><a href="faq"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">.</font></font></a></strong></p>
          	<p><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">If your problem is resolved, please create a new support request.</font></font></p>
        </div>
      
      {% if error %}
        <div class="alert alert-dismissible alert-danger {% if site['rtl'] %} rtl-alert {% endif %}">
          <button type="button" class="close" data-dismiss="alert">×</button>
          {{ errorText }}
        </div>
      {% elseif success %}
        <div class="alert alert-dismissible alert-success {% if site['rtl'] %} rtl-alert {% endif %}">
          <button type="button" class="close" data-dismiss="alert">×</button>
          {{ successText }}
        </div>
      {% endif %}

      {% if settings['ticket_system'] == 2 %}
        <div class="well">
          <form method="post" action="tickets">
            <div class="form-group">
              <label for="subject" class="control-label">{{ lang['tickets.subject'] }}</label>
              <input type="text" class="form-control" id="subject" name="subject" value="{{ data['subject'] }}">
            </div>
            <div class="form-group">
              <label for="message" class="control-label">{{ lang['tickets.message'] }}</label>
              <textarea class="form-control" rows="7" id="message" name="message">{{ data['message'] }}</textarea>
            </div>
            <button type="submit" class="btn btn-primary">{{ lang['tickets.button'] }}</button>
          </form>
        </div>
      {% endif %}

      <div class="well">
          <table class="table ">
            <thead>
            <tr>
              <th>{{ lang['tickets.id'] }}</th>
              <th>{{ lang['tickets.subject'] }}</th>
              <th>{{ lang['tickets.status'] }}</th>
              <th class="nowrap">{{ lang['tickets.updated'] }}</th>
            </tr>
            </thead>
            <tbody>
              {% for ticket in ticketList %}
                <tr>
                  <td>{{ ticket['ticket_id'] }}</td>
                  {% if ticket["support_new"] == 2 %}
                    <td><a href="tickets/{{ ticket['ticket_id'] }}"><strong>{{ ticket['subject'] }}</strong></a></td>
                  {% else %}
                    <td><a href="tickets/{{ ticket['ticket_id'] }}">{{ ticket['subject'] }}</a></td>
                  {% endif %}
                  <td>{{ ticket['status'] }}</td>
                  <td><span class="nowrap">{{ ticket['lastupdate_time'] }}</span></td>
                </tr>
              {% endfor %}
            </tbody>
          </table>
        </div>
      </div>
  </div>
</div>

<div class="container">
  <div class="row">
    <div class="col-md-8 col-md-offset-2">
      <div class="well ">
        {{ contentText }}
      </div>
    </div>
  </div>
</div>
     
{% include 'footer.twig' %}
