?> </td> </tr> <?php } ?> <tr> <td id="paging-td" colspan="5"> <?php if (function_exists('appthemes_pagination')) { appthemes_pagination(); } ?> </td> </tr> <script type="text/javascript"> /* <![CDATA[ */ function confirmBeforeDelete() { return confirm("<?php _e('Are you sure you want to delete this ad?', 'appthemes'); ?> "); } /* ]]> */ </script>
?> <?php appthemes_load_template('content-dashboard-' . get_post_type() . '.php', array('i' => $i)); ?> <?php } ?> </tbody> </table> <?php appthemes_pagination('', '', $listings); ?> <?php } else { ?> <div class="pad5"></div> <p><?php _e('You currently have no classified ads.', APP_TD); ?> </p> <div class="pad5"></div> <?php }
/** * add the pagination after the ad listing and blog post content * @since 3.1 */ function cp_do_pagination() { // don't do on pages, the home page, or single blog post if (is_page() || is_singular('post')) { return; } if (function_exists('appthemes_pagination')) { appthemes_pagination(); } }
<?php } else { ?> <tr><td colspan="7"><?php _e('No Orders found.', APP_TD); ?> </td></tr> <?php } ?> </tbody> </table> <?php appthemes_pagination('', '', $orders); ?> <?php } ?> <?php } else { ?> <div class="pad5"></div> <p><?php _e('You don\'t have any Orders, yet.', APP_TD); ?> </p>