AnonSec Team
Server IP : 103.11.96.170  /  Your IP : 3.140.184.203
Web Server : Microsoft-IIS/10.0
System : Windows NT WIN-F6SLGVICLOP 10.0 build 17763 (Windows Server 2016) AMD64
User : elibrary.unsap.ac.id ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF
Directory (0777) :  D:/localhost/elibrary/template/default/parts/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : D:/localhost/elibrary/template/default/parts/_result-search.php
<?php
## @Author: Waris Agung Widodo <user>
# @Date:   2018-01-23T11:26:05+07:00
# @Email:  ido.alit@gmail.com
# @Filename: footer.php
# @Last modified by: yysofiyan
# @Last modified time: 2020-03T10:29:27+07:00

?>

<div class="result-search">
    <section id="section1 container-fluid">
        <header class="c-header">
            <div class="mask"></div>
          <?php
          // ----------------------------------------------------------------------
          // include navbar part
          // ----------------------------------------------------------------------
          include '_navbar.php'; ?>
        </header>
      <?php
      // ------------------------------------------------------------------------
      // include search form part
      // ------------------------------------------------------------------------
      include '_search-form.php'; ?>
    </section>

    <section class="container mt-5">
        <div class="row">
            <div class="col-md-8">
                <div class="wraper">
                  <?php
                  // catch empty list
                  if (trim(strip_tags($main_content)) === '') {
                    echo '<h2 class="text-danger">' . __('No Result') . '</h2><hr/><p class="text-danger">' . __('Please try again') . '</p>';
                  } else {
                    echo $main_content;
                  }
                  ?>
                </div>
            </div>
            <div class="col-md-4">
                <h4 class="mb-2">Search Result</h4>
              <?php
              echo '<div class=" mb-4 text-sm">' . $search_result_info . '</div><hr>';
              if ($sysconf['template']['classic_suggestion']) {
              $randome = getRandomBiblio($dbs);
              if (count($randome) > 0) {
              ?>
                <h6 class="mb-2">Suggestion</h6>
                <div class="card-list d-flex flex-column mb-4">
                  <?php
                  foreach ($randome as $biblio) {
                    $images_loc = '../../images/docs/' . $biblio['image'];
                    $thumb_url = './lib/minigalnano/createthumb.php?filename=' . urlencode($images_loc) . '&width=120';
                    ?>
                      <div class="card sugestion border-0 elevation-1 mb-2">
                          <div class="card-body">
                              <div class="container-img elevation-2">
                                  <img src="<?= $thumb_url; ?>" alt="image" class="img-fluid">
                              </div>
                              <div class="card-text title">
                                  <a class="text-decoration-none text-grey-darker"
                                     href="<?= SWB . 'index.php?p=show_detail&id=' . $biblio['biblio_id']; ?>"><?= $biblio['title']; ?></a>
                              </div>
                              <div class="card-text author">
                                  <i><?= $biblio['author']; ?></i>
                              </div>
                          </div>
                      </div>
                    <?php
                  }
                  }
                  }
                  ?>
                </div>
            </div>
        </div>
    </section>
</div>

AnonSec - 2021