<?php /* Smarty version 2.6.25, created on 2021-11-22 10:49:31
         compiled from categories.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncate', 'categories.tpl', 51, false),)), $this); ?>
        <!-- Title Section -->
        <div class="title-section module">
            <div class="row">
        
                <div class="small-12 columns">
                    <h1>Book Categories</h1>
                </div><!-- Top Row /-->
        
                <div class="small-12 columns">
                    <ul class="breadcrumbs">
                        <li><a href="#">Home</a></li>
                        <li><a href="#">Categories</a></li>
                      
                    </ul><!-- Breadcrumbs /-->
                </div><!-- Bottom Row /-->
                
            </div><!-- Row /-->
        </div>
        <!-- Title Section Ends /-->
        
        <!-- Content section -->
        <div class="content-section course-page">
        	
            <!-- Seminar/Events -->
            <div class="module">
                <div class="row">
                    
                    <div class="courses-wrapper">
						
                        <div class="course-section">
                            
                            <div class="section-title">
                                <h2><span>Book Categories</span></h2>
                                <form id="category" name="category" method="post" action="#">
                                  <input type="hidden" name="hdAction" id="hdAction">
                                <input type="text" class="form-control" id="search" name="search"  placeholder="Search Catagories..." autocomplete="off">
                            </div>
                             </form>
                            <!-- Section Title Ends /-->
                            <?php $_from = $this->_tpl_vars['CatDetail']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['add']):
?>
                            <div class="medium-3 small-12 columns">
                                <div class="course">
                                    <div class="course-thumb">
                                        <!-- <img src="images/noimage.png" alt="images/noimage.jpg" style="width:217px; height:240px;">-->
									   <?php if ($this->_tpl_vars['add']['image'] != ''): ?>
									    <img src="https://www.easwarilibrary.in/images/bookCategories/<?php echo $this->_tpl_vars['add']['image']; ?>
" alt="https://www.easwarilibrary.in/images/bookCategories/<?php echo $this->_tpl_vars['add']['image']; ?>
" style="width:217px; height:240px;" title="<?php echo $this->_tpl_vars['add']['name']; ?>
">
										<?php else: ?>
										<img src="images/noimage.png" alt="images/noimage.jpg" style="width:217px; height:240px;" title="<?php echo $this->_tpl_vars['add']['name']; ?>
">
										<?php endif; ?>
                                    </div>
                                    <h5 style="font-size:12px;" title='<?php echo $this->_tpl_vars['add']['name']; ?>
'><?php echo $this->_tpl_vars['add']['id']; ?>
-   <?php echo ((is_array($_tmp=$this->_tpl_vars['add']['name'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 40) : smarty_modifier_truncate($_tmp, 40)); ?>
</h5>
                                    <a href="categoriesDetails.php?category=<?php echo $this->_tpl_vars['add']['name']; ?>
" class="secondary button">View Books!</a>
                                </div>    
                            </div><!-- First Course /-->
                            <?php endforeach; endif; unset($_from); ?>
                            <!-- Second Course /-->	
                            
                            <!-- Third Course /-->
                            
                            <div class="clearfix"></div>
                        </div><!-- Courses Section Ends /-->    		
                        
                        <!-- Courses Section ends /-->     
                        
                    </div><!-- Events Wrapper Ends /-->
					<!-- Pagination -->
		           		<div class="pagination-holder">
		           			<ul class="pagination">
							   <?php if ($this->_tpl_vars['PageList'] == ""): ?>
							 <li><a><?php echo $this->_tpl_vars['LinkPage_amc_view_tab']; ?>
&nbsp;&nbsp;&nbsp;&nbsp; <?php echo $this->_tpl_vars['PerPageNavigation_amc_view_tab']; ?>
</a>
							    <!--<li><a href="#" aria-label="Previous">Prev</a></li>-->
							  </li>
							  <?php endif; ?>
							 <?php if ($this->_tpl_vars['PageList'] != ""): ?>
							  <li><a><?php echo $this->_tpl_vars['LinkPage_amc_view_tab2']; ?>
&nbsp;&nbsp;&nbsp;&nbsp; <?php echo $this->_tpl_vars['PerPageNavigation_amc_view_tab2']; ?>
</a>
							    <!--<li><a href="#" aria-label="Previous">Prev</a></li>-->
							  </li>
							  <?php endif; ?>
							</ul>
		           		</div>

                           <div class="pagination-container">
		           		      <table width="100%" border="0" cellspacing=2 cellpadding=2>
            					<tr>
            				    <td colspan="2" align="center"><?php echo $this->_tpl_vars['LinkPage']; ?>
<?php echo $this->_tpl_vars['PerPageNavigation']; ?>
</td>
            				    </tr>
            				    </table>
		           	        </div>
		           		<!-- Pagination -->
                     <!-- pagination starts -->
                    <!--<div class="pagination-container">
                        <ul class="pagination" role="menubar" aria-label="Pagination">
                            <li class="arrow unavailable" aria-disabled="true"><a href="">&laquo; Previous</a></li>
                            <li class="current"><a href="">1</a></li>
                            <li><a href="">2</a></li>
                            <li><a href="">3</a></li>
                            <li><a href="">4</a></li>
                            <li class="unavailable" aria-disabled="true"><a href="">&hellip;</a></li>
                            <li><a href="">12</a></li>
                            <li><a href="">13</a></li>
                            <li class="arrow"><a href="">Next &raquo;</a></li>
                        </ul>
                    </div>--><!-- Pagination Ends /-->
                </div><!-- Row Ends /-->
            </div>
            <!-- Seminar Events Ends /-->
           
            <!-- Seminar/Events -->
            
            <!-- Seminar Events Ends /-->
            
        </div>
        <!-- Content Section Ends /-->
<?php echo '
    <script type="text/javascript">
$(function () {
        $("#example1").DataTable();
        $(\'#example2\').DataTable({
          "paging": true,
          "lengthChange": false,
          "searching": false,
          "ordering": true,
          "info": true,
          "autoWidth": false
        });
      });    

    </script>
'; ?>