?> <p> <?php _e('Sorry, no posts matched your criteria.'); ?> </p> <?php } ?> <!-- end post with pagination --> <!-- Or pagination here --> <div class="row"> <?php if (function_exists(custom_pagination)) { custom_pagination($the_query->max_num_pages, "", $paged); } else { echo "function pagination not found"; } ?> </div> </div> <div class="sidemenu col-md-3"> <div class="btn-rekomendasi"> <a href="<?php echo $url_submit_fotovideo; ?> ">
<a href="<?php echo get_permalink($id); ?> " class="permalink-blog-item">К статье</a> </div> <hr class="blog-hr"> </div> <?php } ?> <?php if (function_exists('wp_corenavi')) { wp_corenavi(); } custom_pagination($paged); ?> </div> </section> </div><!-- #content --> </section><!-- #primary --> <?php if (!dynamic_sidebar()) { ?> <aside class="sidebar col-xs-4"> <div class="sidebar-list"> <?php
$latest_query->the_post(); ?> <ul class="list-unstyled"> <li> <a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a> </li> </ul> <?php } ?> </div> <?php custom_pagination($latest_query); ?> </div> <?php get_sidebar(); ?> </div> <?php get_footer();
<i class="icon-clockalt-timealt"></i></p> </div> <div class="content"> <h3><?php the_title(); ?> </h3> <?php echo the_excerpt(); ?> </div> </a> </div> <div class="large-12 columns text-center ani"> <?php custom_pagination($html_id); ?> </div> </div> <div class="large-3 columns sidebar"> <?php if (is_active_sidebar('newsletter')) { ?> <div style="background: url('<?php bloginfo('template_directory'); ?> /images/dont-be-square.jpg') no-repeat scroll 0px 0px / contain rgb(249, 249, 249); padding: 50% 8% 8%;"> <div style="background: none repeat scroll 0% 0% rgb(255, 255, 255); padding: 20px;"><?php dynamic_sidebar('newsletter'); ?> </div></div>
public function complete_paper() { $select_filed = '*'; $tbl_name = 'tbl_article'; //$where_condition = array('art_status'=>'14','art_editor_decision'=>'Accept'); $where_condition = '(art_status="14" OR art_status="15" ) AND art_editor_decision ="Accept"'; $order_by_field = 'art_id'; $order_by_type = 'desc'; $group_by_field = 'art_id'; $all_list = $this->user_model->select_query_with_pagination($select_filed, $tbl_name, $where_condition, '', '', 'Y', $order_by_field, $order_by_type, $group_by_field); $url = base_url() . 'complete-paper'; $no_data = sizeof($all_list); $limit = 10; $uri_seg = $this->uri->segment(2); $all_record = 'N'; $data['total_records'] = sizeof($all_list); if ($this->uri->segment(2) == 0 or $this->uri->segment(2) == 1) { $data['offset'] = $offset = 0; } else { $data['offset'] = $offset = ($this->uri->segment(2) - 1) * $limit; } $data['page_no'] = custom_pagination($url, $no_data, $limit, $uri_seg); $data['proof_data'] = $this->user_model->select_query_with_pagination($select_filed, $tbl_name, $where_condition, $limit, $offset, $all_record, $order_by_field, $order_by_type, $group_by_field); $this->load->view('header'); $this->load->view('publisher/compelte_paper', $data); $this->load->view('footer'); }
<div class="row"> <div class="page-banner-container"> <?php if ( !has_post_thumbnail() ) { ?> <img src="<?=get_stylesheet_directory_uri()?>/assets/img/banner_contact.png" alt="" /> <? } ?> <h1 <?=(has_post_thumbnail()?"":"class='no-banner'");?>><?=the_title();?></h1> </div> </div> </div> <div class="latest-new-container clearfix"> <?php if (!have_posts()) : ?> <div class="alert alert-warning"> <?php _e('Sorry, no results were found.', 'roots'); ?> </div> <?php get_search_form(); ?> <?php endif; ?> <?php while (have_posts()) : the_post(); ?> <div class="latest-new-item container"> <h2><?php the_title(); ?></h2> <?php the_content(); ?> </div> <?php endwhile; ?> <?php if (function_exists(custom_pagination)) { custom_pagination($page_links_total,"",$paged); } ?> </div>
$popular_query->the_post(); ?> <ul class="list-unstyled"> <li> <a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a> </li> </ul> <?php } ?> </div> <?php custom_pagination($popular_query); ?> </div> <?php get_sidebar(); ?> </div> <?php get_footer();
<img src="<?php echo $img_video; ?> " class="anonce-category-prev-link"> </div> <?php } } wp_reset_query(); wp_reset_postdata(); ?> <?php if (function_exists('wp_corenavi')) { wp_corenavi(); } custom_pagination($paged, $count_post); ?> </div> </div> </section> </div><!-- #content --> </section><!-- #primary --> <?php if (!dynamic_sidebar()) { ?> <aside class="sidebar col-xs-4"> <div class="sidebar-list"> <?php
function contact_details() { ?> <form action="" xmlns="http://www.w3.org/1999/html" method="post" id="home_slider" enctype="multipart/form-data"> <?php global $wpdb; $table_name = $wpdb->prefix . "contacts"; $per_page = 30; if (isset($_GET['page_no'])) { $no = $_GET['page_no']; } else { $no = 0; } $offset = $per_page * $no; $limit = $per_page; $sql_query = "SELECT * FROM {$table_name} ORDER BY submitted_on DESC LIMIT {$offset},{$limit};"; $contact_lists = $wpdb->get_results($sql_query); $total = $wpdb->get_row("select count(*) as number_of_rows from {$table_name}"); ?> <table class="table table-striped table-bordered table-condensed"> <caption><h3>Contact List</h3></caption> <tr> <th style="width: 15%;">Name</th> <th style="width: 20%;">Email</th> <th style="width: 10%;">Company</th> <th style="width: 10%;">Phone Number</th> <th style="width: 20%;">Message</th> <th style="width: 15%;">Submitted On</th> <th style="width: 10%;"></th> </tr> <?php foreach ($contact_lists as $contact_list) { ?> <tr> <td ><?php echo $contact_list->name; ?> </td> <td ><?php echo $contact_list->email; ?> </td> <td ><?php echo $contact_list->company; ?> </td> <td ><?php echo $contact_list->ph_no; ?> </td> <td ><?php echo $contact_list->message; ?> </td> <td ><?php echo date("d-m-Y", strtotime($contact_list->submitted_on)); ?> </td> <td class="action"> <a class="btn btn-small btn-inverse" href="admin.php?page=<?php echo $_GET["page"]; ?> &id=<?php echo $contact_list->id; ?> &action=delete">Delete</a> </td> </tr> <?php } ?> </table> </form> <?php custom_pagination($total, $_GET["page"], $per_page); }
<article class="one_fourth"> <h3><a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h3> <div class="content"> <?php the_excerpt(); ?> </div> </article> <?php } ?> </ul> </div> <?php } if (function_exists(custom_pagination)) { custom_pagination($year->max_num_pages, "", $paged); } ?> </div> </div>
<a href="' . $link['eventlink'] . '" target="blank"><p>' . $link['eventlinkname'] . '</p><img src="' . $image_path . '/resources/ext-link.png"/></a> </li>'; } } ?> </ul> </div> </li> </ul> <?php } } ?> <?php if (function_exists(custom_pagination)) { custom_pagination($events->max_num_pages, "", $paged); } ?> </div> </section> <?php $GLOBALS['sideb'] = "EVE"; include 'sidebar.php'; ?> </div> </div>
echo $search->post->post_name; ?> /"><?php echo $search->post->post_title; ?> </a></div> </li> <?php } ?> </ul> <div class="fix"></div> <!-- pagination here --> <?php if (function_exists(custom_pagination)) { custom_pagination($search->post->max_num_pages, "", $paged); } ?> <?php wp_reset_postdata(); ?> </div> <?php } else { ?> <p>შედეგი არ მოიძებნა</p> <?php } ?>
<h3 class="news-title"><a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h3> <div class="content"><?php the_excerpt(); ?> </div> </div> </article> <?php } } ?> <!-- pagination here --> <?php if (function_exists(custom_pagination)) { custom_pagination($newsquery->max_num_pages, "", $paged); } else { _e('Sorry, no posts matched your criteria.'); } ?> <?php wp_reset_postdata(); ?> </div>
?> <div id="<?php echo the_template(); ?> "> <div id="content" class="equal_height qgall"> <!-- gallery-grid --> <?php echo do_shortcode("[quickgallery id='" . $post->ID . "' count='" . $post_per_page . "' cols='" . $cols . "']"); ?> <?php echo $content; ?> <?php custom_pagination(); ?> <?php wp_reset_query(); ?> <?php echo the_adminbar(); ?> </div><!-- content --> <?php if (the_template() != "page-sidebar-no-sidebar") { ?> <div class="sidebar equal_height"> <div id="sidebar-body">
<? } ?> <span class="logo_audio enable"></span> <? if(is_user_logged_in()){?> </a> <? } ?> <? }else{ ?> <span class="logo_audio"></span> <? } ?> </td> </tr> <? endwhile; ?> </table> </div> <?php if (function_exists(custom_pagination)) { custom_pagination($results->max_num_pages,"",$paged); } ?> </div> </div> <div id="lecture_content"></div> <div id="author_content"></div> <? $uri_parts = explode('?', $_SERVER['REQUEST_URI'], 2); ?> <script> var full_url = 'http://<?=$_SERVER['HTTP_HOST']; ?>'+'<?=$uri_parts[0];?>';
the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', '); ?> | <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> </div> </article> <?php } custom_pagination("", "", $paged); wp_reset_postdata(); ?> <?php include TEMPLATEPATH . '/inc/nav.php'; ?> <?php } else { ?> <h2>Not Found</h2> <?php }
public function complete_article() { $user_id = $this->session->userdata('userid'); $select_filed = '*'; $tbl_name = 'tbl_article'; $where_condition = "art_userid ='" . $user_id . "' AND art_status>='9'"; $order_by_field = 'art_id'; $order_by_type = 'desc'; $group_by_field = 'art_id'; $all_list = $this->user_model->select_query_with_pagination("*", "tbl_article", $where_condition, '', '', 'Y', $order_by_field, $order_by_type, $group_by_field); $url = base_url() . 'completed-manuscript'; $no_data = sizeof($all_list); $limit = 10; $uri_seg = $this->uri->segment(2); $all_record = 'N'; $data['total_records'] = sizeof($all_list); if ($this->uri->segment(2) == 0 or $this->uri->segment(2) == 1) { $data['offset'] = $offset = 0; } else { $data['offset'] = $offset = ($this->uri->segment(2) - 1) * $limit; } $data['page_no'] = custom_pagination($url, $no_data, $limit, $uri_seg); $data['decision_list'] = $this->user_model->select_query_with_pagination($select_filed, $tbl_name, $where_condition, $limit, $offset, $all_record, $order_by_field, $order_by_type, $group_by_field); $this->load->view('header'); $this->load->view('author/complete_submission', $data); $this->load->view('footer'); }