<! --
Function ShowListPage (page, Pcount, TopicNum, maxperpage, strLink, ListName ){
Var alertcolor = '# FF0000 ';
Maxperpage = Math. floor (maxperpage );
TopicNum = Math. floor (TopicNum );
Page = Math. floor (page );
Var n, p;
If (page-1) % 10 = 0 ){
P = (page-1)/10
} Else {
P = (page-1)-(page-1) % 10)/10)
}
If (TopicNum % maxperpage = 0 ){
N = TopicNum/maxperpage;
} Else {
N = (TopicNum-TopicNum % maxperpage)/maxperpage + 1;
}
Document. write ('<table border = "0" cellpadding = "0" cellspacing = "1" class = "Tableborder5"> ');
Document. write ('<form method = post action = "? Pcount = '+ Pcount + strLink +' "> ');
Document. write ('<tr align = "center"> ');
Document. write ('<td class = "tabletitle1" title = "' + ListName + '"> & nbsp;' + ListName + '& nbsp; </td> ');
Document. write ('<td class = "tabletitle1" title = ""> & nbsp;' + TopicNum + '& nbsp; </td> ');
Document. write ('<td class = "tabletitle1" title = ""> & nbsp;' + maxperpage + '& nbsp; </td> ');
Document. write ('<td class = "tabletitle1" title = ""> & nbsp;' + page + '/' + Pcount + 'page & nbsp; </td> ');
If (page = 1 ){
Document. write ('<td class = "tablebody1"> & nbsp; <font face = webdings> 9 </font> & nbsp; </td> ');
} Else {
Document. write ('<td class = "tablebody1"> & nbsp; <a href = "? Page = 1' + strLink + '"title =" Homepage "> <font face = webdings> 9 </font> </a> & nbsp; </td> ');
}
If (p * 10> 0 ){
Document. write ('<td class = "tablebody1"> & nbsp; <a href = "? Page = '+ p * 10 + strLink +' "title =" Top 10 pages "> <font face = webdings> 7 </font> </a> & nbsp; </td> ');
}
For (var I = p * 10 + 1; I <p * 10 + 11; I ++ ){
If (I = page ){
Document. write ('<td class = "tablebody2"> & nbsp; <font class = "normalTextSmall"> <u> <B> '+ I +' </B> </u> </font> & nbsp; </td> ');
} Else {
Document. write ('<td class = "tablebody1"> & nbsp; <a href = "? Page = '+ I + strLink +' "> '+ I +' </a> & nbsp; </td> ');
}
If (I = n) break;
}
If (I <n ){
Document. write ('<td class = "tablebody1"> & nbsp; <a href = "? Page = '+ I + strLink +' "title =" next 10 pages "> <font face = webdings> 8 </font> </a> & nbsp; <td> ');
}
If (page = n ){
Document. write ('<td class = "tablebody1"> & nbsp; <Font face = webdings >:</font> & nbsp; </td> ');
} Else {
Document. write ('<td class = "tablebody1"> & nbsp; <a href = "? Page = '+ n + strLink +' "title =" "> <font face = webdings >:</font> </a> & nbsp; </td> ');
}
Document. write ('<td class = "tablebody1"> <input class = "PageInput" type = text name = "page" size = 1 maxlength = 10 value = "' + page +' "> </td> ');
Document. write ('<td class = "tablebody1"> <input type = submit value = Go name = submit class = "PageInput"> </td> ');
Document. write ('</tr> ');
Document. write ('</form> </table> ');
}
// -->