Advertisement
sbrajesh

show Next/Previous button

Mar 12th, 2011
151
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $next_group_id=custom_get_next_group_id();
  3. $prev_group_id=custom_get_prev_group_id();?>
  4. <?php if($prev_group_id):?>
  5. <a href="<?php echo custom_get_group_edit_link($prev_group_id) ;?>" class="alignleft">Previous </a>
  6. <?php endif;?>
  7.  
  8. <?php if($next_group_id):?>
  9. <a href="<?php echo custom_get_group_edit_link($next_group_id) ;?>" class="alignleft">Next </a>
  10. <?php endif;?>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement