File "tickets.twig"

Full Path: /home/cananyalcin/public_html/core/temp/client/sfg/tickets.twig
File size: 5.61 KB
MIME-type: text/plain
Charset: utf-8

{% include 'header.twig' %}



          <div class="content-wrap">
        <div class="panel-welcome">
          <div class="icon">
            <svg width="53" height="53" viewBox="0 0 53 53" fill="none" xmlns="http://www.w3.org/2000/svg">
              <path
                d="M19.875 21.5312C19.875 19.7021 18.3916 18.2188 16.5625 18.2188H14.9062C11.247 18.2188 8.28125 21.1845 8.28125 24.8438V29.8125C8.28125 33.4718 11.247 36.4375 14.9062 36.4375H16.5625C18.3916 36.4375 19.875 34.9541 19.875 33.125V21.5312ZM38.0938 36.4375C41.753 36.4375 44.7188 33.4718 44.7188 29.8125V24.8438C44.7188 21.1845 41.753 18.2188 38.0938 18.2188H36.4375C34.6084 18.2188 33.125 19.7021 33.125 21.5312V33.125C33.125 34.9541 34.6084 36.4375 36.4375 36.4375H38.0938ZM26.5 0C11.7159 0 0.474102 12.3008 0 26.5V28.1562C0 29.0713 0.741172 29.8125 1.65625 29.8125H3.3125C4.22758 29.8125 4.96875 29.0713 4.96875 28.1562V26.5C4.96875 14.6278 14.6278 4.96875 26.5 4.96875C38.3722 4.96875 48.0312 14.6278 48.0312 26.5H48.0188C48.0271 26.7515 48.0312 43.6546 48.0312 43.6546C48.0312 46.0717 46.0717 48.0312 43.6546 48.0312H33.125C33.125 45.2871 30.9004 43.0625 28.1562 43.0625H24.8438C22.0996 43.0625 19.875 45.2871 19.875 48.0312C19.875 50.7754 22.0996 53 24.8438 53H43.6546C48.8159 53 53 48.8159 53 43.6546V26.5C52.5259 12.3008 41.2841 0 26.5 0Z"
                fill="white" />
            </svg>
          </div>
          <div class="text">
            <strong>Hello, <span>{{ user["username"]  }}</span> !</strong>
            <p>Before opening a support request, please check the "User Agreement" section.
 <br>
              Please do not open support requests one after the other, your request will be answered as soon as possible.
            </p>
          </div>
        </div>





  <div class="row">
          <div class="col-lg-6">
            <div class="panel-form">

      {% 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 %}

          <form method="post" action="tickets">
            <div class="form-group">
              <label for="subject" class="control-label">{{ lang['tickets.subject'] }}</label>
                <select class="form-control" id="subject" name="subject">
                  {% for subjects in orders %}
                   <option value"{{ subjects['subject'] }}">{{ subjects['subject'] }}</option>
                  {% endfor %}
                </select>  
            </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="orange-btn">{{ lang['tickets.button'] }}</button>
          </form>
        </div>
		
		 </div> 
		
		
		 <div class="col-lg-6">
            <div class="panel-box">
              <h3><svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M0 10C0 4.47715 4.47715 0 10 0H30V20C30 25.5228 25.5228 30 20 30H0V10Z" fill="#F16845" />
                  <path
                    d="M9.77778 12H19.2222V18H9.77778V12ZM21.5833 15C21.5833 15.8284 22.2176 16.5 23 16.5V19.5C23 20.3284 22.3657 21 21.5833 21H7.41667C6.63425 21 6 20.3284 6 19.5V16.5C6.78241 16.5 7.41667 15.8284 7.41667 15C7.41667 14.1716 6.78241 13.5 6 13.5V10.5C6 9.67156 6.63425 9 7.41667 9H21.5833C22.3657 9 23 9.67156 23 10.5V13.5C22.2176 13.5 21.5833 14.1716 21.5833 15ZM20.1667 11.75C20.1667 11.3358 19.8495 11 19.4583 11H9.54167C9.15046 11 8.83333 11.3358 8.83333 11.75V18.25C8.83333 18.6642 9.15046 19 9.54167 19H19.4583C19.8495 19 20.1667 18.6642 20.1667 18.25V11.75Z"
                    fill="white" />
                </svg>
                Support Tickets</h3>

			              <div class="talep-table">

							 {% if ticketList %}
      <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>
    {% endif %}				
              </div>
            </div>
          </div>
        </div>
      </div>
   
      </div>
  </div>
</div>
{% if contentText2 %}
<div class="container">
  <div class="row">
    <div class="col-md-8 col-md-offset-2">
      <div class="well ">
{{ contentText2 }}
</div>
</div>
</div></div>
{% endif %}
{% include 'footer.twig' %}