View Single Post
Old 09-08-2011, 04:27 AM   #2
ggi33hg1k
 
Posts: n/a
Default

pg = sprintf (\, $ _GET [\
/ / ensure pg in the case is not specified, from page 1 Start
if ($ this-> pg == 0) {
; $ this-> pg = 1;
}
if (! isset ($ this-> pg)) {
; $ this-> pg = 1;
}
/ / record number and page number can not display the entire team,air max 2010 sale, the number of pages I added a check
$ this-> countall = $ countall;
if ($ this-> countall% $ countlist,nike air max cheap! = 0) {
; $ this-> page = sprintf (\
}
else {
; $ this-> page = $ this-> countall / $ countlist;
}
/ / get the current URL. See the bottom of the function of the specific entity to achieve
$ this-> url = Pager:: getUrl ();
/ / generate 12345 and other digital forms of paging.
if ($ this-> page page +1; $ i + +) {
; $ this-> thestr = $ this-> thestr.Pager:: makepg ($ i,air max 2009 sale, $ this-> pg);
;}
}
else {
; if ($ this-> pg thestr = $ this-> thestr.Pager:: makepg ($ i,nike air max, $ this-> pg);
;}
;}
; else {
; if (6 + $ this-> pg page) {
; for ($ i = $ this-> pg-4; $ i pg +6; $ i + +) {
; $ this-> thestr = $ this-> thestr.Pager:: makepg ($ i,cheap nike air max shoes, $ this-> pg);;
;}
;}
; else {
; for ($ i = $ this-> pg-4; $ i page +1; $ i + +) {
; $ this-> thestr = $ this-> thestr.Pager:: makepg ($ i,air max sale, $ this-> pg);
;}
;
;}
;}
}
  Reply With Quote

Sponsored Links