pages added
This commit is contained in:
parent
9b6aa38a90
commit
ad3390cf9b
2
main.cpp
2
main.cpp
|
@ -111,4 +111,4 @@ int main(int ac, const char* av[]) {
|
||||||
// }
|
// }
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue