Код:
Fatal error: Call to undefined function: josgetarrayints() in /home/www/games-world.awardspace.com/administrator/components/com_frontpage/admin.frontpage.php on line 27
Ето и редовете от 15 до 73:
Код:
// no direct access
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// ensure user has access to this function
if (!($acl->acl_check( 'administration', 'edit', 'users', $my->usertype, 'components', 'all' ) | $acl->acl_check( 'administration', 'edit', 'users', $my->usertype, 'components', 'com_frontpage' ))) {
mosRedirect( 'index2.php', _NOT_AUTH );
}
// call
require_once( $mainframe->getPath( 'admin_html' ) );
require_once( $mainframe->getPath( 'class' ) );
$cid = josGetArrayInts( 'cid' );
switch ($task) {
case 'publish':
changeFrontPage( $cid, 1, $option );
break;
case 'unpublish':
changeFrontPage( $cid, 0, $option );
break;
case 'archive':
changeFrontPage( $cid, -1, $option );
break;
case 'remove':
removeFrontPage( $cid, $option );
break;
case 'orderup':
orderFrontPage( intval( $cid[0] ), -1, $option );
break;
case 'orderdown':
orderFrontPage( intval( $cid[0] ), 1, $option );
break;
case 'saveorder':
saveOrder( $cid );
break;
case 'accesspublic':
accessMenu( intval( $cid[0] ), 0 );
break;
case 'accessregistered':
accessMenu( intval( $cid[0] ), 1 );
break;
case 'accessspecial':
accessMenu( intval( $cid[0] ), 2 );
break;
default:
viewFrontPage( $option );
break;
}