Initial upload
Initial upload.
This commit is contained in:
11
_module/nss/bbs_show_next.nss
Normal file
11
_module/nss/bbs_show_next.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
object oBBS = GetLocalObject(GetModule(), "BBS_" + GetTag(OBJECT_SELF));
|
||||
int PageSize = GetLocalInt(oBBS, "PageSize");
|
||||
int PageIndex = GetLocalInt(oBBS, "PageIndex");
|
||||
int TotalItems = GetLocalInt(oBBS, "TotalItems");
|
||||
if (TotalItems > (PageIndex + 1) * PageSize) {
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user