- //movement forward and backward
- if ($_POST['get_children_move']=='<') {
- $offset=$offset-$listing_amount;
- if ($offset<0) $offset=0;
- }
- elseif ($_POST['get_children_move']=='>') {
-
- $offset=$offset+$listing_amount;
- }
-
- elseif ($_POST['get_children_move']=='>>') {
- $offset=$children_count-$listing_amount;
- if ($offset<0) $offset=0;
- }
+ //movement forward and backward
+ if ($_POST['get_children_move']=='<') {
+ $offset=$offset-$listing_amount;
+ if ($offset<0) $offset=0;
+ }