lo que hago es poner en dos marcos.
la parte de arriba sale bien pero la de abajo(que seria la index de la pagina) dice : "Restricted index access"
me podrian explicar que es lo que hago mal ?
les dejo los codigos de la index y la del marco
Cita:
<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted index access' );
// load and inititialize gantry class
require_once('lib/gantry/gantry.php');
$gantry->init();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language;?>" >
<head>
<?php
$gantry->displayHead();
$gantry->addStyles(array('template.css','joomla.css','styl e.css','typography.css'));
?>
</head>
<body <?php echo $gantry->displayBodyTag(array('backgroundLevel','bodyLevel ')); ?>>
<div id="rt-background"><div id="rt-background2"><div id="rt-background3">
<div class="rt-container">
<?php /** Begin Drawer **/ if ($gantry->countModules('drawer')) : ?>
<div id="rt-drawer">
<?php echo $gantry->displayModules('drawer','standard','standard'); ?>
<div class="clear"></div>
</div>
<?php /** End Drawer **/ endif; ?>
<?php /** Begin Top **/ if ($gantry->countModules('top')) : ?>
<div id="rt-top">
<?php echo $gantry->displayModules('top','standard','standard'); ?>
<div class="clear"></div>
</div>
<?php /** End Top **/ endif; ?>
<div id="rt-header">
<?php /** Begin Header **/ if ($gantry->countModules('header')) : ?>
<div id="rt-header-overlay">
<?php echo $gantry->displayModules('header','standard','standard'); ?>
<div class="clear"></div>
</div>
<?php /** End Header **/ endif; ?>
<?php /** Begin Menu **/ if ($gantry->countModules('navigation')) : ?>
<div id="rt-menu">
<div id="rt-menu-overlay">
<?php echo $gantry->displayModules('navigation','basic','basic'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Menu **/ endif; ?>
</div>
<?php /** Begin Showcase **/ if ($gantry->countModules('showcase')) : ?>
<div id="rt-showcase">
<?php echo $gantry->displayModules('showcase','standard','standard' ); ?>
<div class="clear"></div>
</div>
<?php /** End Showcase **/ else : ?>
<div id="rt-header2"></div>
<?php endif; ?>
<div id="rt-main-surround">
<?php /** Begin Main Body **/ ?>
<div class="rt-main-overlay">
<?php /** Begin Feature **/ if ($gantry->countModules('feature')) : ?>
<div id="rt-feature">
<?php echo $gantry->displayModules('feature','standard','standard') ; ?>
<div class="clear"></div>
</div>
<?php /** End Feature **/ endif; ?>
<?php if ($gantry->countModules('feature')==0 and $gantry->countModules('breadcrumb')==0) : ?>
<div class="rt-main-spacer"></div>
<?php endif; ?>
<?php /** Begin Breadcrumbs **/ if ($gantry->countModules('breadcrumb')) : ?>
<div id="rt-breadcrumbs">
<?php echo $gantry->displayModules('breadcrumb','basic','breadcrumbs' ); ?>
<div class="clear"></div>
</div>
<?php /** End Breadcrumbs **/ endif; ?>
<?php /** Begin Main Top **/ if ($gantry->countModules('maintop')) : ?>
<div id="rt-maintop">
<?php echo $gantry->displayModules('maintop','standard','full'); ?>
<div class="clear"></div>
</div>
<?php /** End Main Top **/ endif; ?>
<?php /** Begin Main Body Columns **/ ?>
<?php echo $gantry->displayMainbody('mainbody','sidebar','full','stan dard','full','standard','full'); ?>
<?php /** End Main Body Columns **/ ?>
<?php /** Begin Main Bottom **/ if ($gantry->countModules('mainbottom')) : ?>
<div id="rt-mainbottom">
<?php echo $gantry->displayModules('mainbottom','standard','full'); ?>
<div class="clear"></div>
</div>
<?php /** End Main Bottom **/ endif; ?>
</div>
<?php /** End Main Body **/ ?>
<?php /** Begin Bottom **/ if ($gantry->countModules('bottom')) : ?>
<div id="rt-bottom">
<div class="rt-main-overlay">
<?php echo $gantry->displayModules('bottom','standard','full'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Bottom **/ endif; ?>
<?php /** Begin Footer **/ if ($gantry->countModules('footer')) : ?>
<div id="rt-footer">
<div class="rt-main-overlay">
<?php echo $gantry->displayModules('footer','standard','full'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Footer **/ endif; ?>
</div>
<?php /** Begin Copyright **/ if ($gantry->countModules('copyright')) : ?>
<div id="rt-copyright">
<?php echo $gantry->displayModules('copyright','standard','standard') ; ?>
<div class="clear"></div>
</div>
<?php /** End Copyright **/ endif; ?>
<?php /** Begin Debug **/ if ($gantry->countModules('debug')) : ?>
<div id="rt-debug">
<?php echo $gantry->displayModules('debug','standard','standard'); ?>
<div class="clear"></div>
</div>
<?php /** End Debug **/ endif; ?>
</div>
</div></div></div>
</body>
</html>
<?php
$gantry->finalize();
?>
// no direct access
defined( '_JEXEC' ) or die( 'Restricted index access' );
// load and inititialize gantry class
require_once('lib/gantry/gantry.php');
$gantry->init();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language;?>" >
<head>
<?php
$gantry->displayHead();
$gantry->addStyles(array('template.css','joomla.css','styl e.css','typography.css'));
?>
</head>
<body <?php echo $gantry->displayBodyTag(array('backgroundLevel','bodyLevel ')); ?>>
<div id="rt-background"><div id="rt-background2"><div id="rt-background3">
<div class="rt-container">
<?php /** Begin Drawer **/ if ($gantry->countModules('drawer')) : ?>
<div id="rt-drawer">
<?php echo $gantry->displayModules('drawer','standard','standard'); ?>
<div class="clear"></div>
</div>
<?php /** End Drawer **/ endif; ?>
<?php /** Begin Top **/ if ($gantry->countModules('top')) : ?>
<div id="rt-top">
<?php echo $gantry->displayModules('top','standard','standard'); ?>
<div class="clear"></div>
</div>
<?php /** End Top **/ endif; ?>
<div id="rt-header">
<?php /** Begin Header **/ if ($gantry->countModules('header')) : ?>
<div id="rt-header-overlay">
<?php echo $gantry->displayModules('header','standard','standard'); ?>
<div class="clear"></div>
</div>
<?php /** End Header **/ endif; ?>
<?php /** Begin Menu **/ if ($gantry->countModules('navigation')) : ?>
<div id="rt-menu">
<div id="rt-menu-overlay">
<?php echo $gantry->displayModules('navigation','basic','basic'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Menu **/ endif; ?>
</div>
<?php /** Begin Showcase **/ if ($gantry->countModules('showcase')) : ?>
<div id="rt-showcase">
<?php echo $gantry->displayModules('showcase','standard','standard' ); ?>
<div class="clear"></div>
</div>
<?php /** End Showcase **/ else : ?>
<div id="rt-header2"></div>
<?php endif; ?>
<div id="rt-main-surround">
<?php /** Begin Main Body **/ ?>
<div class="rt-main-overlay">
<?php /** Begin Feature **/ if ($gantry->countModules('feature')) : ?>
<div id="rt-feature">
<?php echo $gantry->displayModules('feature','standard','standard') ; ?>
<div class="clear"></div>
</div>
<?php /** End Feature **/ endif; ?>
<?php if ($gantry->countModules('feature')==0 and $gantry->countModules('breadcrumb')==0) : ?>
<div class="rt-main-spacer"></div>
<?php endif; ?>
<?php /** Begin Breadcrumbs **/ if ($gantry->countModules('breadcrumb')) : ?>
<div id="rt-breadcrumbs">
<?php echo $gantry->displayModules('breadcrumb','basic','breadcrumbs' ); ?>
<div class="clear"></div>
</div>
<?php /** End Breadcrumbs **/ endif; ?>
<?php /** Begin Main Top **/ if ($gantry->countModules('maintop')) : ?>
<div id="rt-maintop">
<?php echo $gantry->displayModules('maintop','standard','full'); ?>
<div class="clear"></div>
</div>
<?php /** End Main Top **/ endif; ?>
<?php /** Begin Main Body Columns **/ ?>
<?php echo $gantry->displayMainbody('mainbody','sidebar','full','stan dard','full','standard','full'); ?>
<?php /** End Main Body Columns **/ ?>
<?php /** Begin Main Bottom **/ if ($gantry->countModules('mainbottom')) : ?>
<div id="rt-mainbottom">
<?php echo $gantry->displayModules('mainbottom','standard','full'); ?>
<div class="clear"></div>
</div>
<?php /** End Main Bottom **/ endif; ?>
</div>
<?php /** End Main Body **/ ?>
<?php /** Begin Bottom **/ if ($gantry->countModules('bottom')) : ?>
<div id="rt-bottom">
<div class="rt-main-overlay">
<?php echo $gantry->displayModules('bottom','standard','full'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Bottom **/ endif; ?>
<?php /** Begin Footer **/ if ($gantry->countModules('footer')) : ?>
<div id="rt-footer">
<div class="rt-main-overlay">
<?php echo $gantry->displayModules('footer','standard','full'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Footer **/ endif; ?>
</div>
<?php /** Begin Copyright **/ if ($gantry->countModules('copyright')) : ?>
<div id="rt-copyright">
<?php echo $gantry->displayModules('copyright','standard','standard') ; ?>
<div class="clear"></div>
</div>
<?php /** End Copyright **/ endif; ?>
<?php /** Begin Debug **/ if ($gantry->countModules('debug')) : ?>
<div id="rt-debug">
<?php echo $gantry->displayModules('debug','standard','standard'); ?>
<div class="clear"></div>
</div>
<?php /** End Debug **/ endif; ?>
</div>
</div></div></div>
</body>
</html>
<?php
$gantry->finalize();
?>
Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>.:: E X P L O T A ::.</title>
</head>
<frameset rows="80,*" frameborder="no" border="0" framespacing="0">
<frame src="reproductor/reproductor.php" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame"/>
<frame scrolling="auto"src="templates/rt_dominion_j15/index1.php" name="mainFrame" id="mainFrame" title="mainFrame" />
</frameset>
<noframes><body>
</body>
</noframes></html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>.:: E X P L O T A ::.</title>
</head>
<frameset rows="80,*" frameborder="no" border="0" framespacing="0">
<frame src="reproductor/reproductor.php" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame"/>
<frame scrolling="auto"src="templates/rt_dominion_j15/index1.php" name="mainFrame" id="mainFrame" title="mainFrame" />
</frameset>
<noframes><body>
</body>
</noframes></html>