ehsa
01-05-2010, 07:00 AM
با سلام مي خواستم ببينم چگونه يك كپي رايت براي اين كد درست كنم كه يك كتن داشته باشه و 1 يا 2 تا لينك هم داشته باشه ممنون.
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
JPlugin::loadLanguage( 'tpl_SG1' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
<html xmlns="<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
</head>
<body id="page_bg">
<?php if($this->countModules('user4') and JRequest::getCmd('layout') != 'form') : ?>
<div id="top_with_search">
<div class="pathway">
<jdoc:include type="module" name="breadcrumbs" />
<jdoc:include type="modules" name="user4" />
</div>
</div>
<?php else: ?>
<div id="top_without_search">
<div class="pathway">
<jdoc:include type="module" name="breadcrumbs" />
</div>
</div>
<?php endif; ?>
<div id="headertop"></div>
<div id="header">
<div id="image">
<div id="logo">
</div>
</div>
</div>
<div id="headerbottom"></div>
<div class="center">
<div id="wrapper">
<div id="content">
<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
<div id="leftcolumn">
<jdoc:include type="modules" name="left" style="rounded" />
<?php $sg = 'banner'; include "templates.php"; ?>
</div>
<?php endif; ?>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="maincolumn">
<?php else: ?>
<div id="maincolumn_full">
<?php endif; ?>
<div class="nopad">
<jdoc:include type="message" />
<?php if($this->params->get('showComponent')) : ?>
<jdoc:include type="component" />
<?php endif; ?>
</div>
</div>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="rightcolumn" style="float:right;">
<jdoc:include type="modules" name="right" style="rounded" />
</div>
<?php endif; ?>
<div class="clr"></div>
</div>
</div>
<div id="content_bottom"></div>
<jdoc:include type="modules" name="debug" />
</div>
<div id="validation">
<div id="footer">
<div id="sgf">
<?php $sg = ''; include "templates.php"; ?>
</div>
</div>
</body>
</html>
متن داشته باشه.
** دو پست شما یکی شد
** کدها در تگ <code> قرار گرفت
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
JPlugin::loadLanguage( 'tpl_SG1' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
<html xmlns="<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
</head>
<body id="page_bg">
<?php if($this->countModules('user4') and JRequest::getCmd('layout') != 'form') : ?>
<div id="top_with_search">
<div class="pathway">
<jdoc:include type="module" name="breadcrumbs" />
<jdoc:include type="modules" name="user4" />
</div>
</div>
<?php else: ?>
<div id="top_without_search">
<div class="pathway">
<jdoc:include type="module" name="breadcrumbs" />
</div>
</div>
<?php endif; ?>
<div id="headertop"></div>
<div id="header">
<div id="image">
<div id="logo">
</div>
</div>
</div>
<div id="headerbottom"></div>
<div class="center">
<div id="wrapper">
<div id="content">
<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
<div id="leftcolumn">
<jdoc:include type="modules" name="left" style="rounded" />
<?php $sg = 'banner'; include "templates.php"; ?>
</div>
<?php endif; ?>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="maincolumn">
<?php else: ?>
<div id="maincolumn_full">
<?php endif; ?>
<div class="nopad">
<jdoc:include type="message" />
<?php if($this->params->get('showComponent')) : ?>
<jdoc:include type="component" />
<?php endif; ?>
</div>
</div>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="rightcolumn" style="float:right;">
<jdoc:include type="modules" name="right" style="rounded" />
</div>
<?php endif; ?>
<div class="clr"></div>
</div>
</div>
<div id="content_bottom"></div>
<jdoc:include type="modules" name="debug" />
</div>
<div id="validation">
<div id="footer">
<div id="sgf">
<?php $sg = ''; include "templates.php"; ?>
</div>
</div>
</body>
</html>
متن داشته باشه.
** دو پست شما یکی شد
** کدها در تگ <code> قرار گرفت