Fisico
20-03-2012, 14:57
Uzun arayışlardan sonra ücretsiz ve beğendiğim bir tema buldum. Sitenin altında yer alan free joomla desings yazısını kaldırmak için index.php editlediğim zaman site açılmıyor ve "the broken link if .." tarzında bir yazı çıkıyor.
index.php aşağıdaki gibidir;
<?php /** * @copyright Copyright (C) 2012 ThemeGoat.com - All Rights Reserved. **/
defined( '_JEXEC' ) or die( 'Restricted access' );
define( 'YOURBASEPATH', dirname(__FILE__) );
?>
<?php include (YOURBASEPATH.DS . "/modules/req_parameters.php");?>
<!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 $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<?php if ($this->params->get( 'jchecker' )) : ?>
<script type="text/javascript">if (typeof jQuery == 'undefined') { document.write(unescape("%3Cscript src='<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/modules/jquery171.js' type='text/javascript'%3E%3C/script%3E")); } </script>
<script type="text/javascript">jQuery.noConflict();</script>
<?php endif; ?>
<?php require(YOURBASEPATH . DS . "functions.php"); ?>
<?php require(YOURBASEPATH . DS . "/modules/req_css.php"); ?>
<?php if ($this->params->get( 'jcopyright' )) : ?> <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/modules/jcopyright.js"></script><?php endif; ?>
<?php if ($this->params->get( 'jtabs' )) : ?> <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/modules/jtabs.js"></script><?php endif; ?>
<?php if ($this->params->get( 'jscroll' )) : ?> <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/modules/jscroll.js"></script><?php endif; ?>
</head>
<body class="background">
<div id="main">
<div id="header-w">
<div id="header">
<div class="topmenu">
<div class="topleft"></div><div class="topright">
<jdoc:include type="modules" name="position-1" style="none" />
</div><div class="topright2">
<!-- Social Buttons -->
<?php if ($this->params->get( 'socialbuttons' )) : ?><?php include "modules/socialbuttons.php"; ?><?php endif; ?>
<!-- END-->
</div>
</div>
<?php if ($this->countModules('logo')) : ?>
<div class="logo">
<jdoc:include type="modules" name="logo" style="none" />
</div>
<?php else : ?>
<a href="<?php echo $this->baseurl ?>/">
<img src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/images/logo.png" border="0" class="logo">
</a>
<?php endif; ?>
<div class="slogan"><?php if ($this->params->get( 'slogandisable' )) : ?><?php echo ($slogan); ?><?php endif; ?></div>
<?php if ($this->countModules('top')) : ?>
<div class="top">
<jdoc:include type="modules" name="top" style="none"/>
</div>
<?php endif; ?>
</div>
</div>
<div class="shadowtop"><!-- shadowtop --></div>
<div class="shadow">
<div id="wrapper">
<div id="navr">
<div class="searchbutton"><jdoc:include type="modules" name="position-0" style="none" /></div>
<div id="navl">
<div id="nav">
<div id="nav-left"><jdoc:include type="modules" name="menuload" style="none" /></div>
<div id="nav-right">
<?php include "html/com_content/archive/component.php"; ?>
<?php if ($this->countModules('breadcrumb')) : ?>
<jdoc:include type="modules" name="breadcrumb" style="none"/>
<?php endif; ?>
<div class="clearpad"></div>
<div id="message">
<jdoc:include type="message" />
</div>
<?php if($this->countModules('left')) : ?>
<div id="leftbar-w">
<div id="sidebar">
<jdoc:include type="modules" name="left" style="jaw" /></div>
</div>
<?php endif; ?>
<?php if($this->countModules('left') xor $this->countModules('right')) $maincol_sufix = '_md';
elseif(!$this->countModules('left') and !$this->countModules('right'))$maincol_sufix = '_bg';
else $maincol_sufix = ''; ?>
<div id="centercontent<?php echo $maincol_sufix; ?>">
<!-- Slideshow -->
<?php $menu = JSite::getMenu(); ?>
<?php $lang = JFactory::getLanguage(); ?>
<?php if ($menu->getActive() == $menu->getDefault($lang->getTag())) { ?>
<?php if ($this->params->get( 'slidedisable' )) : ?> <?php include "modules/slideshow.php"; ?><?php endif; ?>
<?php } ?>
<!-- END Slideshow -->
<div class="clearpad"><jdoc:include type="component" /> </div></div>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="rightbar-w">
<!-- Tabs -->
<?php if ($this->params->get( 'jtabs' )) : ?><?php include "modules/jtabs-content.php"; ?><?php endif; ?>
<!-- END Tabs -->
<div id="sidebar">
<jdoc:include type="modules" name="right" style="jaw" />
</div>
<?php if ($this->params->get( 'googletranslate' )) : ?> <?php include "modules/googletranslate.php"; ?><?php endif; ?>
</div>
<?php endif; ?>
<div class="clr"></div>
</div>
</div>
<div id="user-bottom">
<div class="user1"><jdoc:include type="modules" name="user1" style="xhtml" /></div>
<div class="user2"><jdoc:include type="modules" name="user2" style="xhtml" /></div>
<div class="user3"><jdoc:include type="modules" name="user3" style="xhtml" /></div>
</div>
<!--- To Top -->
<div style="display:none;" class="nav_up" id="nav_up"></div>
<!-- End -->
<div id="bottom">
<div class="tg">
<jdoc:include type="modules" name="copyright"/> <?php echo date('l \t\h\e jS');?>.
<a href="http://www.qualityjoomlatemplates.com" title="joomla free designs" target="_blank">Joomla Templates Free</a>.
<?php if ($this->params->get( 'footerdisable' )) : ?><?php echo ($footertext); ?><?php endif; ?>
<?php if ($this->params->get( 'jcopyright' )) : ?><div class="panel">Copyright 2012</div><p class="flip">©</p><?php endif; ?>
</div>
</div></div></div>
<div class="back-bottom"><!--shadow top--> </div>
</div>
</div>
</body>
</html>
index.php aşağıdaki gibidir;
<?php /** * @copyright Copyright (C) 2012 ThemeGoat.com - All Rights Reserved. **/
defined( '_JEXEC' ) or die( 'Restricted access' );
define( 'YOURBASEPATH', dirname(__FILE__) );
?>
<?php include (YOURBASEPATH.DS . "/modules/req_parameters.php");?>
<!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 $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<?php if ($this->params->get( 'jchecker' )) : ?>
<script type="text/javascript">if (typeof jQuery == 'undefined') { document.write(unescape("%3Cscript src='<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/modules/jquery171.js' type='text/javascript'%3E%3C/script%3E")); } </script>
<script type="text/javascript">jQuery.noConflict();</script>
<?php endif; ?>
<?php require(YOURBASEPATH . DS . "functions.php"); ?>
<?php require(YOURBASEPATH . DS . "/modules/req_css.php"); ?>
<?php if ($this->params->get( 'jcopyright' )) : ?> <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/modules/jcopyright.js"></script><?php endif; ?>
<?php if ($this->params->get( 'jtabs' )) : ?> <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/modules/jtabs.js"></script><?php endif; ?>
<?php if ($this->params->get( 'jscroll' )) : ?> <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/modules/jscroll.js"></script><?php endif; ?>
</head>
<body class="background">
<div id="main">
<div id="header-w">
<div id="header">
<div class="topmenu">
<div class="topleft"></div><div class="topright">
<jdoc:include type="modules" name="position-1" style="none" />
</div><div class="topright2">
<!-- Social Buttons -->
<?php if ($this->params->get( 'socialbuttons' )) : ?><?php include "modules/socialbuttons.php"; ?><?php endif; ?>
<!-- END-->
</div>
</div>
<?php if ($this->countModules('logo')) : ?>
<div class="logo">
<jdoc:include type="modules" name="logo" style="none" />
</div>
<?php else : ?>
<a href="<?php echo $this->baseurl ?>/">
<img src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/images/logo.png" border="0" class="logo">
</a>
<?php endif; ?>
<div class="slogan"><?php if ($this->params->get( 'slogandisable' )) : ?><?php echo ($slogan); ?><?php endif; ?></div>
<?php if ($this->countModules('top')) : ?>
<div class="top">
<jdoc:include type="modules" name="top" style="none"/>
</div>
<?php endif; ?>
</div>
</div>
<div class="shadowtop"><!-- shadowtop --></div>
<div class="shadow">
<div id="wrapper">
<div id="navr">
<div class="searchbutton"><jdoc:include type="modules" name="position-0" style="none" /></div>
<div id="navl">
<div id="nav">
<div id="nav-left"><jdoc:include type="modules" name="menuload" style="none" /></div>
<div id="nav-right">
<?php include "html/com_content/archive/component.php"; ?>
<?php if ($this->countModules('breadcrumb')) : ?>
<jdoc:include type="modules" name="breadcrumb" style="none"/>
<?php endif; ?>
<div class="clearpad"></div>
<div id="message">
<jdoc:include type="message" />
</div>
<?php if($this->countModules('left')) : ?>
<div id="leftbar-w">
<div id="sidebar">
<jdoc:include type="modules" name="left" style="jaw" /></div>
</div>
<?php endif; ?>
<?php if($this->countModules('left') xor $this->countModules('right')) $maincol_sufix = '_md';
elseif(!$this->countModules('left') and !$this->countModules('right'))$maincol_sufix = '_bg';
else $maincol_sufix = ''; ?>
<div id="centercontent<?php echo $maincol_sufix; ?>">
<!-- Slideshow -->
<?php $menu = JSite::getMenu(); ?>
<?php $lang = JFactory::getLanguage(); ?>
<?php if ($menu->getActive() == $menu->getDefault($lang->getTag())) { ?>
<?php if ($this->params->get( 'slidedisable' )) : ?> <?php include "modules/slideshow.php"; ?><?php endif; ?>
<?php } ?>
<!-- END Slideshow -->
<div class="clearpad"><jdoc:include type="component" /> </div></div>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="rightbar-w">
<!-- Tabs -->
<?php if ($this->params->get( 'jtabs' )) : ?><?php include "modules/jtabs-content.php"; ?><?php endif; ?>
<!-- END Tabs -->
<div id="sidebar">
<jdoc:include type="modules" name="right" style="jaw" />
</div>
<?php if ($this->params->get( 'googletranslate' )) : ?> <?php include "modules/googletranslate.php"; ?><?php endif; ?>
</div>
<?php endif; ?>
<div class="clr"></div>
</div>
</div>
<div id="user-bottom">
<div class="user1"><jdoc:include type="modules" name="user1" style="xhtml" /></div>
<div class="user2"><jdoc:include type="modules" name="user2" style="xhtml" /></div>
<div class="user3"><jdoc:include type="modules" name="user3" style="xhtml" /></div>
</div>
<!--- To Top -->
<div style="display:none;" class="nav_up" id="nav_up"></div>
<!-- End -->
<div id="bottom">
<div class="tg">
<jdoc:include type="modules" name="copyright"/> <?php echo date('l \t\h\e jS');?>.
<a href="http://www.qualityjoomlatemplates.com" title="joomla free designs" target="_blank">Joomla Templates Free</a>.
<?php if ($this->params->get( 'footerdisable' )) : ?><?php echo ($footertext); ?><?php endif; ?>
<?php if ($this->params->get( 'jcopyright' )) : ?><div class="panel">Copyright 2012</div><p class="flip">©</p><?php endif; ?>
</div>
</div></div></div>
<div class="back-bottom"><!--shadow top--> </div>
</div>
</div>
</body>
</html>