We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
case style == 2: if results_max > 0 { raw = "<div class='pagination pagination-centered'><ul>" count := pages + 1 //begin page if (page != beginnum) && (page > beginnum) { raw = raw + "<li><a href='?" + keyword + "page=" + strconv.Itoa(page-1) + "'>«</a></li>" } for i := 1; i < count; i++ { //current page and loop pages if i == page { raw = raw + "<li class='active'><a href='javascript:void();'>" + strconv.Itoa(i) + "</a></li>" } else { raw = raw + "<li><a href='?" + keyword + "page=" + strconv.Itoa(i) + "'>" + strconv.Itoa(i) + "</a></li>" } //next page if (page != endnum) && (page < endnum) && (i == pages) { raw = raw + "<li><a href='?" + keyword + "page=" + strconv.Itoa(page+1) + "'>»</a></li>" } } raw = raw + "</ul></div>" }
The text was updated successfully, but these errors were encountered:
Thank you for your contribution and I will update the new version in the near future.
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: