Welcome Guest, Not a member yet? Register   Sign In
Codeigniter - Indonesia Community

Assalamu Alaikum

mohon bantuannya

saya kesulitan supaya form action bisa menampilkan apa yang dicari !?

bagaimana menambahkan fungsi cari di controller dan modelnya ??


ini view listnya

<!-- Content -->
      <div class="content clearfix">

        <section class="section-block featured-media tm-slider-parallax-container">
          <div class="tm-slider-container full-width-slider" data-featured-slider data-progress-bar="false" data-parallax data-parallax-fade-out data-auto-advance data-animation="slide" data-scale-under="960">
            <ul class="tms-slides">
              <li class="tms-slide" data-video data-video-bkg data-overlay-bkg-color="#000000" data-overlay-bkg-opacity="0.4">
                <div class="tms-content">
                  <div class="tms-content-inner center left-on-mobile v-align-middle">
                    <div class="row">
                      <div class="column width-12">
                        <h1 class="inline no-margin-bottom"><?php echo $title ?></h1>
                      </div>
                    </div>
                  </div>
                </div>
                <img data-src="<?php echo base_url() ?>asset/uploads/image/berita/beritasemua.jpg" data-retina src="#" alt="#"/>
              </li>
            </ul>
          </div>
        </section>

        <!-- Intro Title Section 2 End -->
        <div class="section-block clearfix no-padding-bottom">
          <div class="row">
            <!-- Content Inner -->
            <div class="column width-9 push-3 content-inner blog-regular">
              <article class="post">
                <?php foreach ($berita as $berita) { ?>
                  <div class="post-media">
                    <div class="thumbnail img-scale-in" data-hover-easing="easeInOut" data-hover-speed="700" data-hover-bkg-color="#ffffff" data-hover-bkg-opacity="0.9">
                      <a class="overlay-link" href="<?php echo base_url('berita/read/'.$berita->slug_berita) ?>">
                        <img src="<?php echo base_url('asset/uploads/image/'.$berita->gambar) ?>" alt="">
                        <span class="overlay-info">
                          <span>
                            <span>
                              +
                            </span>
                          </span>
                        </span>
                      </a>
                    </div>
                  </div>
                  <div class="post-content">
                    <h2 class="post-title"><a href="<?php echo base_url('berita/read/'.$berita->slug_berita) ?>"><?php echo $berita->judul_berita ?></a></h2>
                    <div class="post-info">
                      <span class="post-date"><?php echo $berita->tanggal_post ?></span>/<span class="post-categories"><?php echo $berita->nama_kategori_berita ?></span>/ by<span class="post-info"><?php echo $berita->username ?></span>
                    </div>
                    <p><?php echo character_limiter(strip_tags($berita->isi),100) ?></p>
                    <p class="card-text"><a href="<?php echo base_url('berita/read/'.$berita->slug_berita) ?>"><i class="btn btn-primary btn-sm"></i> lanjutan ...</a></p>
                  </div>
                <?php } ?>
                <div class="clearfix"></div>
              </article>
            </div>
            <!-- Content Inner End
              // <! -- Sidebar -->
              <aside class="column width-3 pull-9 sidebar left">
                <div class="sidebar-inner">
                  <div class="widget">
                    <h3 class="widget-title">Cari</h3>
                    <div class="search-form-container site-search">
                      <form action="#" method="get" novalidate>
                        <div class="row">
                          <div class="column width-12">
                            <div class="field-wrapper">
                              <input type="text" name="search" class="form-search form-element" placeholder="type &amp; hit enter...">
                              <span class="border"></span>
                            </div>
                          </div>
                        </div>
                      </form>
                      <div class="form-response"></div>
                    </div>
                  </div>
                  <div class="widget">

                  </div>
                  <div class="widget">
                    <h3 class="widget-title">Berita sebelumnya</h3>

                      <ul class="list-group">
                    <li>
                      <span class="post-info">
                        <span class="post-date"><?php echo $berita->tanggal_post ?></span></span>
                      <h2 class="post-title"><a href="<?php echo base_url('berita/read/'.$berita->slug_berita) ?>"><?php echo $berita->judul_berita ?></a></h2>
                    </li>
                      </ul>

                    </div>
                  </div>
                </div>
              </aside>
          <!-- Pagination Section 5 -->
          <?php if(isset($paginasi)) { echo $paginasi; } ?>
          <div class="section-block pagination-3">
            <div class="row">
              <div class="column width-9 push-3">
                <ul>
                  <li><a class="pagination-previous icon-left-open" href="#"><span class="icon-left-open-mini"></span></a></li>
                  <li><a class="current" href="#">1</a></li>
                  <li><a href="#">2</a></li>
                  <li><a href="#">3</a></li>
                  <li><a href="#">4</a></li>
                  <li><a class="pagination-next disabled" href="#"><span class="icon-right-open-mini"></span></a></li>
                </ul>
              </div>
            </div>
          </div>
          <!-- Pagination Section 5 End -->
      </div>
      <!-- Content End -->
Reply


Messages In This Thread
RE: Codeigniter - Indonesia Community - by antoub - 12-22-2014, 10:57 AM
RE: Codeigniter - Indonesia Community - by ridho - 01-03-2015, 03:51 AM
RE: Codeigniter - Indonesia Community - by twonno - 12-07-2016, 08:03 PM
RE: Codeigniter - Indonesia Community - by cakka - 01-23-2015, 06:43 AM
halo - by algenza - 01-28-2015, 11:49 PM
RE: Codeigniter - Indonesia Community - by andgaa - 02-04-2015, 09:51 PM
RE: Codeigniter - Indonesia Community - by Ferry - 02-06-2015, 11:28 AM
RE: Codeigniter - Indonesia Community - by s4if - 02-08-2015, 05:14 AM
RE: Codeigniter - Indonesia Community - by cakka - 02-24-2015, 09:45 PM
RE: Codeigniter - Indonesia Community - by dotphp - 03-07-2015, 06:15 PM
RE: Codeigniter - Indonesia Community - by freddy - 03-09-2015, 02:18 AM
RE: Codeigniter - Indonesia Community - by khalim - 03-21-2015, 12:22 AM
RE: Codeigniter - Indonesia Community - by Iman - 04-01-2015, 07:29 AM
RE: Codeigniter - Indonesia Community - by hotben - 04-02-2015, 03:06 AM
RE: Codeigniter - Indonesia Community - by tirta - 04-23-2015, 11:16 PM
RE: Codeigniter - Indonesia Community - by H4nk - 06-01-2015, 12:42 PM
RE: Codeigniter - Indonesia Community - by jureks - 06-04-2015, 11:23 PM
RE: Codeigniter - Indonesia Community - by dv23 - 08-04-2015, 01:13 AM
RE: Codeigniter - Indonesia Community - by dv23 - 08-04-2015, 01:15 AM
RE: Codeigniter - Indonesia Community - by lomri - 08-09-2015, 02:48 AM
RE: Codeigniter - Indonesia Community - by tegs88 - 09-08-2015, 01:23 PM
RE: Codeigniter - Indonesia Community - by cakka - 11-07-2015, 07:10 AM
RE: Codeigniter - Indonesia Community - by redha - 01-27-2016, 09:12 PM
RE: Codeigniter - Indonesia Community - by epox2 - 02-17-2016, 08:25 PM
RE: Codeigniter - Indonesia Community - by akuila - 03-21-2016, 02:23 AM
RE: Codeigniter - Indonesia Community - by needle - 04-14-2016, 03:41 PM
website dengan codeigniter - by suhindra - 04-16-2016, 07:36 AM
RE: Codeigniter - Indonesia Community - by aldy - 04-19-2016, 03:05 AM
RE: Codeigniter - Indonesia Community - by siprox - 05-22-2016, 11:34 PM
RE: Codeigniter - Indonesia Community - by unto - 06-07-2016, 01:46 PM
RE: Codeigniter - Indonesia Community - by adty - 06-26-2016, 09:14 PM
RE: Codeigniter - Indonesia Community - by citra - 09-02-2016, 09:20 PM
RE: Codeigniter - Indonesia Community - by Wau - 10-06-2016, 10:35 PM
RE: Codeigniter - Indonesia Community - by twonno - 12-07-2016, 08:04 PM
RE: Codeigniter - Indonesia Community - by uyak - 01-05-2017, 08:54 PM
RE: Codeigniter - Indonesia Community - by rofik - 02-23-2017, 08:47 PM
RE: Codeigniter - Indonesia Community - by dycas - 01-22-2017, 05:15 PM
RE: Codeigniter - Indonesia Community - by mrw7a - 05-01-2017, 08:43 PM
RE: Codeigniter - Indonesia Community - by tamam - 10-10-2017, 07:01 PM
RE: Codeigniter - Indonesia Community - by Wily23 - 11-03-2017, 01:42 AM
RE: Codeigniter - Indonesia Community - by Wily23 - 11-03-2017, 05:47 AM
RE: Codeigniter - Indonesia Community - by DELE - 09-10-2018, 08:06 AM
RE: Codeigniter - Indonesia Community - by gopei - 10-23-2018, 07:19 PM
RE: Codeigniter - Indonesia Community - by 49boys - 04-29-2019, 05:56 PM
RE: Codeigniter - Indonesia Community - by imam - 11-30-2019, 10:04 AM
RE: Codeigniter - Indonesia Community - by Haidir - 12-03-2019, 10:54 AM
RE: Codeigniter - Indonesia Community - by siprox - 03-31-2020, 01:53 AM
RE: Codeigniter - Indonesia Community - by nuja - 11-13-2020, 02:00 AM
RE: Codeigniter - Indonesia Community - by bangil - 07-27-2020, 12:40 AM
RE: Codeigniter - Indonesia Community - by nuja - 11-13-2020, 02:03 AM
RE: Codeigniter - Indonesia Community - by aahas - 08-20-2021, 12:02 AM
RE: Codeigniter - Indonesia Community - by cocix - 11-08-2021, 07:06 PM
RE: Codeigniter - Indonesia Community - by dewaz - 11-09-2021, 03:27 AM
RE: Codeigniter - Indonesia Community - by myads - 08-26-2022, 12:55 AM
RE: Codeigniter - Indonesia Community - by erysai - 06-26-2024, 10:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB