PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : تبدیل قالب 3 ستونه به 2 ستون



sobhans
02-15-2010, 01:05 PM
سلام
من قالب JA Sulfur را از جوملا آرت گرفتم اما مشکلم اینه که سه تا ستون داره و وقتی همه ماژولها را هم غیر فعال می کنیم غیر از تاپیک اول مطالب دیگه در نصف صفحه دیده میشه

این کد صفحه است:





<?php
/*------------------------------------------------------------------------
################################################## ########################

# ############## Designed By: <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> ####################

################################################## ########################
# Copyright (C) 2004-2008 JoomlArt.ir . All Rights Reserved.
# @license - Copyrighted Commercial Software
# Author: JoomlArt.ir
# Websites: <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
-------------------------------------------------------------------------*/

// no direct access
defined( &#039;_JEXEC&#039; ) or die( &#039;Restricted access&#039; );

include_once (dirname(__FILE__).DS.&#039;ja_vars_1.5.php&#039;);

?&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>

&lt;html xmlns=&quot;<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> xml:lang=&quot;&lt;?php echo $this-&gt;language; ?&gt;&quot; lang=&quot;&lt;?php echo $this-&gt;language; ?&gt;&quot;&gt;

&lt;head&gt;
&lt;jdoc:include type=&quot;head&quot; /&gt;
&lt;?php JHTML::_(&#039;behavior.mootools&#039;); ?&gt;

&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $tmpTools-&gt;baseurl(); ?&gt;templates/system/css/system.css&quot; type=&quot;text/css&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $tmpTools-&gt;baseurl(); ?&gt;templates/system/css/general.css&quot; type=&quot;text/css&quot; /&gt;

&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $tmpTools-&gt;templateurl(); ?&gt;/css/editor.css&quot; type=&quot;text/css&quot; /&gt;

&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $tmpTools-&gt;templateurl(); ?&gt;/css/addons.css&quot; type=&quot;text/css&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $tmpTools-&gt;templateurl(); ?&gt;/css/template.css&quot; type=&quot;text/css&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $tmpTools-&gt;templateurl(); ?&gt;/css/typo.css&quot; type=&quot;text/css&quot; /&gt;

&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&gt;
var siteurl = &#039;&lt;?php echo $tmpTools-&gt;baseurl();?&gt;&#039;;
var tmplurl = &#039;&lt;?php echo $tmpTools-&gt;templateurl();?&gt;&#039;;
&lt;/script&gt;

&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $tmpTools-&gt;templateurl(); ?&gt;/js/ja.script.js&quot;&gt;&lt;/script&gt;
&lt;?php if ($tmpTools-&gt;getParam(&#039;ja_menu_effect&#039;,1)): ?&gt;
&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $tmpTools-&gt;templateurl(); ?&gt;/js/ja.menuhover.js&quot;&gt;&lt;/script&gt;
&lt;?php endif; ?&gt;

&lt;!-- Menu head --&gt;
&lt;?php if ($jamenu) $jamenu-&gt;genMenuHead(); ?&gt;

&lt;link href=&quot;&lt;?php echo $tmpTools-&gt;templateurl(); ?&gt;/css/colors/&lt;?php echo strtolower ($tmpTools-&gt;getParam(JA_TOOL_COLOR)); ?&gt;.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;

&lt;?php if ($tmpTools-&gt;isIE()) { ?&gt;
&lt;link href=&quot;&lt;?php echo $tmpTools-&gt;templateurl(); ?&gt;/css/ie.php&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;
&lt;link href=&quot;&lt;?php echo $tmpTools-&gt;templateurl(); ?&gt;/css/colors/&lt;?php echo strtolower ($tmpTools-&gt;getParam(JA_TOOL_COLOR)); ?&gt;-ie.php&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
window.addEvent (&#039;load&#039;, makeTransBG);
function makeTransBG() {
makeTransBg($$(&#039;img&#039;));
}
&lt;/script&gt;

&lt;?php } ?&gt;


&lt;/head&gt;

&lt;body id=&quot;bd&quot;&gt;
&lt;a name=&quot;Top&quot; id=&quot;Top&quot;&gt;&lt;/a&gt;

&lt;!-- MAIN NAVIGATION--&gt;
&lt;div id=&quot;ja-mainnav&quot; class=&quot;wrap&quot;&gt;
&lt;div class=&quot;main clearfix&quot;&gt;

&lt;ul class=&quot;no-display&quot;&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php echo $tmpTools-&gt;getCurrentURL();?&gt;#ja-content&quot; title=&quot;&lt;?php echo JText::_(&quot;Skip to content&quot;);?&gt;&quot;&gt;&lt;?php echo JText::_(&quot;Skip to content&quot;);?&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;?php $jamenu-&gt;genMenu (0); ?&gt;

&lt;/div&gt;&lt;/div&gt;
&lt;!-- //MAIN NAVIGATION--&gt;

&lt;!-- HEADER --&gt;
&lt;div id=&quot;ja-header&quot; class=&quot;wrap&quot;&gt;
&lt;div class=&quot;main clearfix&quot;&gt;

&lt;?php
$siteName = $tmpTools-&gt;sitename();
if ($tmpTools-&gt;getParam(&#039;logoType&#039;)==&#039;image&#039;) { ?&gt;
&lt;h1 class=&quot;logo&quot;&gt;
&lt;a href=&quot;index.php&quot; title=&quot;&lt;?php echo $siteName; ?&gt;&quot;&gt;&lt;span&gt;&lt;?php echo $siteName; ?&gt;&lt;/span&gt;&lt;/a&gt;
&lt;/h1&gt;
&lt;?php } else {
$logoText = (trim($tmpTools-&gt;getParam(&#039;logoText&#039;))==&#039;&#039;) ? $config-&gt;sitename : $tmpTools-&gt;getParam(&#039;logoText&#039;);
$sloganText = (trim($tmpTools-&gt;getParam(&#039;sloganText&#039;))==&#039;&#039;) ? JText::_(&#039;SITE SLOGAN&#039;) : $tmpTools-&gt;getParam(&#039;sloganText&#039;); ?&gt;
&lt;h1 class=&quot;logo-text&quot;&gt;
&lt;a href=&quot;index.php&quot; title=&quot;&lt;?php echo $siteName; ?&gt;&quot;&gt;&lt;span&gt;&lt;?php echo $logoText; ?&gt;&lt;/span&gt;&lt;/a&gt;
&lt;span class=&quot;site-slogan&quot;&gt;&lt;?php echo $sloganText;?&gt;&lt;/span&gt;
&lt;/h1&gt;
&lt;?php } ?&gt;

&lt;?php if ($this-&gt;countModules(&#039;user4&#039;)) { ?&gt;
&lt;div id=&quot;ja-search&quot;&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;user4&quot; style=&quot;raw&quot; /&gt;
&lt;/div&gt;
&lt;?php } ?&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;!-- //HEADER --&gt;

&lt;?php if ( $this-&gt;countModules(&#039;ja-slideshow&#039;) ) {?&gt;
&lt;!-- SLIDE SHOW --&gt;
&lt;div id=&quot;ja-slideshow&quot; class=&quot;wrap&quot;&gt;&lt;div id=&quot;ja-slideshow-inner&quot;&gt;
&lt;div class=&quot;main clearfix&quot;&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;ja-slideshow&quot; style=&quot;raw&quot; /&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;!-- //SLIDE SHOW --&gt;
&lt;?php } ?&gt;

&lt;!-- TOPBLOCK --&gt;
&lt;?php if( $this-&gt;countModules(&#039;user5&#039;) ) { ?&gt;
&lt;div id=&quot;ja-topsl&quot; class=&quot;wrap clearfix&quot;&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;user5&quot; style=&quot;jamodule&quot; /&gt;
&lt;/div&gt;
&lt;?php } ?&gt;
&lt;!-- //TOPBLOCK --&gt;

&lt;!-- CONTAINER --&gt;
&lt;div id=&quot;ja-container&lt;?php echo $divid; ?&gt;&quot; class=&quot;wrap&quot;&gt;
&lt;div class=&quot;main clearfix&quot;&gt;

&lt;!-- content --&gt;
&lt;div id=&quot;ja-contentwrap&quot;&gt;
&lt;div id=&quot;ja-content&quot;&gt;
&lt;div id=&quot;ja-current-content&quot;&gt;
&lt;jdoc:include type=&quot;message&quot; /&gt;
&lt;jdoc:include type=&quot;component&quot; /&gt;

&lt;?php if( $this-&gt;countModules(&#039;user6&#039;) ) { ?&gt;
&lt;div id=&quot;ja-botblock&quot;&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;user6&quot; style=&quot;jamodule&quot; /&gt;
&lt;/div&gt;
&lt;?php } ?&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;?php if ($ja_left) { ?&gt;
&lt;!-- columns left --&gt;
&lt;div id=&quot;ja-col1&quot;&gt;
&lt;div class=&quot;inner&quot;&gt;

&lt;?php if ($hasSubnav) : ?&gt;
&lt;div id=&quot;ja-subnav&quot; class=&quot;moduletable_menu&quot;&gt;
&lt;h3&gt;&lt;span&gt;On this page&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;ja-boxct-wrap&quot;&gt;&lt;div class=&quot;ja-box-ct&quot;&gt;
&lt;?php if ($jamenu) $jamenu-&gt;genMenu (1,1); ?&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;

&lt;jdoc:include type=&quot;modules&quot; name=&quot;left&quot; style=&quot;jamodule&quot; /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- //columns left --&gt;
&lt;?php } ?&gt;

&lt;/div&gt;
&lt;!-- //content --&gt;

&lt;?php if ($ja_right) { ?&gt;
&lt;!-- columns right --&gt;
&lt;div id=&quot;ja-col2&quot;&gt;
&lt;div class=&quot;inner&quot;&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;right&quot; style=&quot;jamodule&quot; /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- //columns right --&gt;
&lt;?php } ?&gt;

&lt;/div&gt;&lt;/div&gt;
&lt;!-- //CONTAINER --&gt;

&lt;!-- PATHWAY --&gt;
&lt;div id=&quot;ja-pathway&quot; class=&quot;wrap&quot;&gt;
&lt;div class=&quot;main clearfix&quot;&gt;
&lt;div class=&quot;inner&quot;&gt;
&lt;strong&gt;شما اینجا هستید:&lt;/strong&gt;&lt;jdoc:include type=&quot;module&quot; name=&quot;breadcrumbs&quot; /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- //PATHWAY --&gt;

&lt;?php
$spotlight = array (&#039;user1&#039;,&#039;user2&#039;,&#039;user7&#039;,&#039;user8&#039;,&#039;user9&#039;);
$sl = $tmpTools-&gt;calSpotlight ($spotlight,$tmpTools-&gt;isOP()?100:99.9);
if ($sl) {
?&gt;
&lt;!-- BOTTOM SPOTLIGHT --&gt;
&lt;div id=&quot;ja-botsl&quot; class=&quot;wrap&quot;&gt;
&lt;div class=&quot;main clearfix&quot;&gt;
&lt;?php if ( $this-&gt;countModules(&#039;user1&#039;) ) { ?&gt;
&lt;div class=&quot;ja-box&lt;?php echo $sl&#91;&#039;user1&#039;]&#91;&#039;class&#039;]; ?&gt;&quot; style=&quot;width: &lt;?php echo $sl&#91;&#039;user1&#039;]&#91;&#039;width&#039;]; ?&gt;;&quot;&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;user1&quot; style=&quot;xhtml&quot; /&gt;
&lt;/div&gt;
&lt;?php } ?&gt;

&lt;?php if ( $this-&gt;countModules(&#039;user2&#039;) ) { ?&gt;
&lt;div class=&quot;ja-box&lt;?php echo $sl&#91;&#039;user2&#039;]&#91;&#039;class&#039;]; ?&gt;&quot; style=&quot;width: &lt;?php echo $sl&#91;&#039;user2&#039;]&#91;&#039;width&#039;]; ?&gt;;&quot;&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;user2&quot; style=&quot;xhtml&quot; /&gt;
&lt;/div&gt;
&lt;?php } ?&gt;

&lt;?php if ( $this-&gt;countModules(&#039;user7&#039;) ) { ?&gt;
&lt;div class=&quot;ja-box&lt;?php echo $sl&#91;&#039;user7&#039;]&#91;&#039;class&#039;]; ?&gt;&quot; style=&quot;width: &lt;?php echo $sl&#91;&#039;user7&#039;]&#91;&#039;width&#039;]; ?&gt;;&quot;&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;user7&quot; style=&quot;xhtml&quot; /&gt;
&lt;/div&gt;
&lt;?php } ?&gt;

&lt;?php if ( $this-&gt;countModules(&#039;user8&#039;) ) { ?&gt;
&lt;div class=&quot;ja-box&lt;?php echo $sl&#91;&#039;user8&#039;]&#91;&#039;class&#039;]; ?&gt;&quot; style=&quot;width: &lt;?php echo $sl&#91;&#039;user8&#039;]&#91;&#039;width&#039;]; ?&gt;;&quot;&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;user8&quot; style=&quot;xhtml&quot; /&gt;
&lt;/div&gt;
&lt;?php } ?&gt;

&lt;?php if ( $this-&gt;countModules(&#039;user9&#039;) ) { ?&gt;
&lt;div class=&quot;ja-box&lt;?php echo $sl&#91;&#039;user9&#039;]&#91;&#039;class&#039;]; ?&gt;&quot; style=&quot;width: &lt;?php echo $sl&#91;&#039;user9&#039;]&#91;&#039;width&#039;]; ?&gt;;&quot;&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;user9&quot; style=&quot;xhtml&quot; /&gt;
&lt;/div&gt;
&lt;?php } ?&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;!-- //BOTTOM SPOTLIGHT --&gt;
&lt;?php } ?&gt;

&lt;!-- FOOTER --&gt;
&lt;div id=&quot;ja-footer&quot; class=&quot;wrap&quot;&gt;
&lt;div class=&quot;main clearfix&quot;&gt;

&lt;?php if( $this-&gt;countModules(&#039;user3&#039;) ) { ?&gt;
&lt;div class=&quot;ja-footermenu&quot;&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;user3&quot; /&gt;
&lt;/div&gt;
&lt;?php } ?&gt;

&lt;?php if( $this-&gt;countModules(&#039;footer&#039;) ) { ?&gt;
&lt;div class=&quot;ja-copyright&quot; style=&quot;color:#CCC&quot;&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;footer&quot; /&gt;
&lt;/div&gt;

&lt;?php } ?&gt;

&lt;/div&gt;&lt;/div&gt;
&lt;!-- //FOOTER --&gt;

&lt;jdoc:include type=&quot;modules&quot; name=&quot;debug&quot; /&gt;
&lt;/body&gt;

&lt;/html&gt;




نمیدونم چطور موقعیت left را حذف کنم
لطفا راهنمائیم کنید


** دو ارسال شما یکی شد

reka
02-15-2010, 01:34 PM
سلام

قوانین انجمن:

39) پشتیبانی از الحاقات و قالب های غیر رایگان و دارای کپی رایت، جزء تعهدات گسترش دهنده آن می باشد. لطفا در این موارد به انجمن سایت مربوطه مراجعه کنید .


یا علی