adding news feed chunks
This commit is contained in:
@@ -20,6 +20,7 @@ $sAction = isset($_REQUEST['a'])?$_REQUEST['a']:'';
|
||||
$sPage = isset($_GET['p'])?$_GET['p']:'index';
|
||||
$sName = isset($_GET['name'])?$_GET['name']:'';
|
||||
$sContent = isset($_GET['content'])?$_GET['content']:'';
|
||||
$iChunk = isset($_GET['chunk'])?$_GET['chunk']:0;
|
||||
|
||||
//Initiate class
|
||||
$oSpot = new Spot($oClassManagement, __FILE__);
|
||||
@@ -33,7 +34,7 @@ if($sAction!='')
|
||||
$sResult = $oSpot->getMessages();
|
||||
break;
|
||||
case 'feed':
|
||||
$sResult = $oSpot->getNewsFeed();
|
||||
$sResult = $oSpot->getNewsFeed($iChunk);
|
||||
break;
|
||||
case 'upload':
|
||||
$sResult = $oSpot->upload();
|
||||
|
||||
Reference in New Issue
Block a user