pages added

This commit is contained in:
moneroexamples 2016-04-15 03:10:55 +00:00
parent 9b6aa38a90
commit ad3390cf9b
3 changed files with 4 additions and 3 deletions

View File

@ -111,4 +111,4 @@ int main(int ac, const char* av[]) {
// } // }
return 0; return 0;
} }

View File

@ -126,7 +126,7 @@ namespace xmreg {
delta_time[2], delta_time[3], delta_time[2], delta_time[3],
delta_time[4]); delta_time[4]);
// if have days or yeras, change age format // if have days or years, change age format
if (delta_time[0] > 0) if (delta_time[0] > 0)
{ {

View File

@ -50,7 +50,8 @@
<div class="center" style="text-align: center;"> <div class="center" style="text-align: center;">
{{#is_page_zero}} {{#is_page_zero}}
<a href="/page/{{prev_page}}">previous page</a> | <a href="/page/{{prev_page}}">previous page</a> |
<a href="/">first page</a> |
{{/is_page_zero}} {{/is_page_zero}}
current page: {{page_no}}/<a href="/page/{{total_page_no}}">{{total_page_no}}</a> current page: {{page_no}}/<a href="/page/{{total_page_no}}">{{total_page_no}}</a>
| <a href="/page/{{next_page}}">next page</a> | <a href="/page/{{next_page}}">next page</a>