{search modules="FaQ" search_method="post"}
<div class="content_page pbottom60 mbottom30">
  <div class="container">
    <div class="row">
      
      <div class="col-md-9 col-md-push-3">
        <div class="item itemdetail">
{if $page_lang == 'en'}
            <h3 class="title">{$item->title}</h3>
            {$item->content}
{else}
            <h3 class="title">{$item->intrebare_ro}</h3>
            {$item->content_ro}
{/if}
        </div>
        
        <div class="text-center">
        <hr>
{if $page_lang == 'en'}
          <h4>Still stumped?</h4>
          <p>Get more help by sending us your message completing the form below:</p>
          <div class="col-sm-6 col-sm-offset-3">
          <form method="POST" action="#" accept-charset="UTF-8" id="faq_form">
            <div class="form-group" style="margin-bottom: 0;">
              <input class="form-control" placeholder="Full name" required="required" name="nume" type="text">
            </div>
            <div class="form-group" style="margin-bottom: 0;">
              <input class="form-control" placeholder="E-mail Address" required="required" name="email" type="email">
              
            </div>
            <div class="form-group" style="margin-bottom: 0;">
              <textarea class="form-control" placeholder="How can we help you?" required="required" name="text" cols="50" rows="3" style="border: 2px solid #cccccc;"></textarea>
            </div>
            <div class="form-group">
              <input class="btn-block" type="submit" value="Send it" style="height: auto; padding: 7px;">
              <div id="error_container" class="hide"></div>
            </div>
          </form>
{else}
          <h4>Nu esti lamurit?</h4>
          <p>Intra in contact cu noi pentru a primi ajutor:</p>
          <div class="col-sm-6 col-sm-offset-3">
          <form method="POST" action="#" accept-charset="UTF-8" id="faq_form">
            <div class="form-group" style="margin-bottom: 0;">
              <input class="form-control" placeholder="Nume Prenume" required="required" name="nume" type="text">
            </div>
            <div class="form-group" style="margin-bottom: 0;">
              <input class="form-control" placeholder="Email" required="required" name="email" type="email">
              
            </div>
            <div class="form-group" style="margin-bottom: 0;">
              <textarea class="form-control" placeholder="Cum te putem ajuta?" required="required" name="text" cols="50" rows="3" style="border: 2px solid #cccccc;"></textarea>
            </div>
            <div class="form-group">
              <input class="btn-block" type="submit" value="Trimite" style="height: auto; padding: 7px;">
              <div id="error_container" class="hide"></div>
            </div>
          </form>
{/if}

          <script src="{$root_url}js/bootstrapValidator.min.js"></script>
          <script>
                    $(document).ready(function() {
                        $('#faq_form').bootstrapValidator({
                            container: '#error_container',
                            excluded: [':disabled', ':hidden', ':not(:visible)'],
                            message: ' ',
                            feedbackIcons: {
                                valid: 'fa fa-check',
                                invalid: 'fa fa-times',
                                validating: 'fa fa-refresh'
                            },
                            live: 'enabled'        
                        });
                    });
                </script>
{if $page_lang == 'en'}
          <p>Call for support at <a href="tel:+40311011072">+4 031 101 10 72</a></p>
{else}
          <p>Te ajutam cu placere. Suna-ne la <a href="tel:+40311011072">+4 031 101 10 72</a></p>
{/if}
          </div>
        </div>
      </div>
    <div class="col-md-3 col-md-pull-9">
        <h3 class="title">{if $page_lang == 'en'}Other questions{else}Alte intrebari{/if}</h3>
{if $page_lang == 'en'}
        {FaQ summarytemplate="other_list" detailpage='faq' category=$item->category_name}
{else}
        {FaQ summarytemplate="other_list" detailpage='intrebari-frecvente' category=$item->category_name}
{/if}
    </div>
    </div>
  </div>
</div>  
