السلام عليكم ورحمة الله وبركاته
اخواني واصدقائي يوجد لدي كود خاص بملف :
index.php
هذا الكود هو جزء من ملف كامل وهو يعطينا عدة خانات وهي :
advert1
user1
user2
top
component
bottom
الذي اريده كيف اضيف خانه او بوزشن جديد لاكن كما هو موضح مع الصوره المرفقه
اريد التعديل على الكود التالي حسب ماهو مطلوب او كما هو واضح في الصوره المرفقه
الكود هو:
index.html
<div id="pathway">
You are here: <jdoc:include type="modules" name="breadcrumb" /></div>
<?php } ?>
<!-- top advert-->
<?php if ($this->countModules('advert1')) { ?>
<div id="newsflash2">
<div class="newsflash2">
<jdoc:include type="modules" name="advert1" style="xhtml" />
</div>
</div>
<div class="clr"></div>
<?php } ?>
<!-- end top advert-->
<?php if ($this->countModules('user1') || $this->countModules('user2')) { ?><!-- top 3 -->
<div id="topusers">
<?php if ($this->countModules('user1')) { ?>
<div id="user1" style="width:<?php echo $topwidth ?>"><div class="userstop"><jdoc:include type="modules" name="user1" style="xhtml" /></div></div><?php } ?>
<?php if ($this->countModules('user2')) { ?>
<div id="user2" style="width:<?php echo $topwidth ?>"><div class="userstop"><jdoc:include type="modules" name="user2" style="xhtml" /></div></div><?php } ?>
</div>
<!-- end top 3--><?php } ?>
<!-- top module-->
<?php if ($this->countModules('top')) { ?>
<div id="newsflash">
<div class="newsflash">
<jdoc:include type="modules" name="top" style="xhtml" />
</div>
</div>
<div class="clr"></div>
<?php } ?>
<!-- end top module-->
<jdoc:include type="component" />
<!-- bottom module-->
<?php if ($this->countModules('bottom')) { ?>
<div class="clr"></div>
<div id="bottom">
<div class="newsflash">
<jdoc:include type="modules" name="bottom" style="xhtml" />
</div>
</div>
<div class="clr"></div>
<?php } ?>
<!-- end bottom module-->
</div>
</div>
ملاحظه الصوره الثانيه هي توضح عمل الكود الذي هو فوق
الصوره الأولى توضح المطلوب او توضح الذي اريده وكيف اضع البوزشين الجديد هناك
تقبلو فائق احترامي وتقديري