-
پاسخ : مشکل در قالب سایت
سلام
فایل index.php قالب mitra blue رو با کد زیر جایگزین کنید :
با جایگزین کردن کد زیر قالب شما اروری نمیده . تنها باید با تغییر در CSS این قالب رو با مامبو ست کنید .
یا علی
کد:
<html>
<head>
<meta http-equiv="Content-Language" content="fa">
<?php
if ( $my->id ) {
initEditor();
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php mosShowHead(); ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/css/template_css.css" rel="stylesheet" type="text/css" />
</head>
<body topmargin="0" leftmargin="0">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="219" background="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/bac_logo.jpg">
<tr>
<td width="133" valign="bottom" background="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/left_logo.jpg">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" height="29" valign="bottom">
<font face="Arial" color="#FFFFFF"><b><?php // echo tr($_VERSION->DEV_STATUS); ?></b></font></td>
</tr>
<tr>
<td align="center" height="32">
<font face="Arena Black" size="6" color="#FFFFFF"><b>
<?php // echo tr($_VERSION->RELEASE); ?>.<?php // echo tr($_VERSION->DEV_LEVEL); ?></b></font></td>
</tr>
</table>
</td>
<td valign="top">&nbsp;</td>
<td width="669" valign="top" background="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/logo.jpg">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="22">&nbsp;</td>
<td width="185" height="22">&nbsp;</td>
<td width="35" height="22">&nbsp;</td>
</tr>
<tr>
<td height="29">&nbsp;</td>
<td width="185" height="29"><table cellpadding="0" cellspacing="0" class="moduletable-nav">
<tr>
<td>
<form action="index.php?option=com_search&amp;Itemid=5" method="get">
<div class="search-nav">
<input name="searchword" id="mod_search_searchword" maxlength="20" alt="search" class="inputbox-nav" type="text" size="20" value="search..." onblur="if(this.value=='') this.value='search...';" onFocus="if(this.value=='search...') this.value='';" /> </div>
<input type="hidden" name="option" value="com_search" />
<input type="hidden" name="Itemid" value="5" />
</form> </td>
</tr>
</table></td>
<td width="35" height="29">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td width="185">&nbsp;</td>
<td width="35">&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%" background="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/top_link_bac.png">
<tr>
<td width="133">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/left_top_link.jpg" width="133" height="33"></td>
<td><?php mosLoadModules ( 'user3'); ?></td>
<td width="11">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/right_top_link.png" width="11" height="33"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="4">&nbsp;</td>
<td valign="top">
<?php mosLoadModules ( 'left'); ?></td>
<td valign="top" width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="5" valign="top" height="664" background="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/box/left.png">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/box/top_left.png" width="12" height="33"></td>
<td valign="top" height="664" style="background-image: url('<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/box/top.png'); background-repeat: repeat-x; background-position-y: top">
<?php mosMainBody(); ?></td>
<td width="4" valign="top" height="664" background="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/box/right.png">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/box/top_right.png" width="14" height="33"></td>
</tr>
<tr>
<td width="5">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/box/bot_left.png" width="12" height="12"></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/box/bot.png">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/box/bot.png" width="2" height="12"></td>
<td width="4">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/box/bot_right.png" width="14" height="12"></td>
</tr>
</table>
</td>
<td valign="top" width="1"><?php mosLoadModules ( 'right'); ?></td>
<td width="4">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="99%" background="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/bac_footer.png">
<tr>
<td width="12">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/left_footer.png" width="12" height="26"></td>
<td>
<p align="center"><a href="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید] target="_blank">Joomla!Template.Ir</a></td>
<td width="12">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/mitra_blue/rtl/images/right_footer.png" width="12" height="26"></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
-
-
12-06-2007 04:12 PM
# ADS
تبلیغات در جوملا فارسی
علاقه مندی ها (Bookmarks)