-
پاسخ : خبر اول

کد:
[<?php defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );$iso = split( '=', _ISO );echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
<html xmlns="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
<head>
<?php mosShowHead(); ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Type" content="text/html;><?php echo _ISO; ?>" />
<?php if ($my->id) {
include ("editor/editor.php"); initEditor();
} ?>
<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?><?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/templates/rk_business/favicon.ico\" />" ; ?>
<link rel="alternate" title="<?php echo $mosConfig_sitename; ?>" href="<?php echo $GLOBALS['mosConfig_live_site']; ?>/index2.php?option=com_rss&no_html=1" type="application/rss+xml" />
<script language="JavaScript" type="text/javascript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<a name="up" id="up"></a>
<div align="center">
<center>
<table id="Table_01" width="980" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="1" colspan="3" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle" ><p align="center">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/baner300.jpg" width="980" height="146"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="27" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/PeekLime_06.gif" bgcolor="#000000" style="background-repeat:repeat-x " colspan="3">
<div align="left">
<table dir="rtl" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="25" align="right" valign="top"><img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/PeekLime_04.gif" alt="" width="25" height="27" align="top"></td>
<td align="right">&nbsp;<span class="pathway">
<?php mosPathWay(); ?></span></td>
<td width="143" align="right"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><form action='<?php echo sefRelToAbs("index.php"); ?>' method='post'>
<div align="left">
<input class="searchbox" type="text" name="searchword" height="16" size="13" value="<?php echo _SEARCH_BOX; ?>" onblur="if(this.value=='') this.value='<?php echo _SEARCH_BOX; ?>';" onfocus="if(this.value=='<?php echo _SEARCH_BOX; ?>') this.value='';" />
<input type="image" name="submit" src="templates/peeklime/images/search.gif" width="18" height="18" />
<input type="hidden" name="option" value="search" />
</div>
</td></form>
</tr>
</table></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td height="12" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/PeekLime_08.gif" colspan="3"></td>
</tr>
<tr>
<td align="center" valign="top" colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center" valign="top"><?php if (mosCountModules( "left" ) + mosCountModules( "user1" ) > 0) { ?>
<td width="165"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="4">
<tr><?php if (mosCountModules( "left" )) { ?>
<td align="center"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="11">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_01.gif" width="11" height="16" alt=""></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_02.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_02.gif" width="24" height="16" alt=""></td>
<td width="19">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_03.gif" width="19" height="16" alt=""></td>
</tr>
<tr>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_04.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_04.gif" width="11" height="21" alt=""></td>
<td dir="rtl" height="21" align="right" bgcolor="#E8E8E8"> <?php mosLoadModules ( 'left' ); ?>
</td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_06.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_06.gif" width="19" height="21" alt=""></td>
</tr>
<tr>
<td rowspan="2">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_07.gif" width="11" height="30" alt=""></td>
<td rowspan="2" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_08.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_08.gif" width="24" height="30" alt=""></td>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_09.gif" width="19" height="29" alt=""></td>
</tr>
</table></td><?php } ?>
</tr>
<tr><?php if (mosCountModules( "user1" )) { ?>
<td align="center"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="11">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_01.gif" width="11" height="16" alt=""></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_02.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_02.gif" width="24" height="16" alt=""></td>
<td width="19">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_03.gif" width="19" height="16" alt=""></td>
</tr>
<tr>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_04.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_04.gif" width="11" height="21" alt=""></td>
<td dir="rtl" height="21" align="right" bgcolor="#A7CF43"><?php mosLoadModules ( 'user1' ); ?></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_06.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_06.gif" width="19" height="21" alt=""></td>
</tr>
<tr>
<td rowspan="2">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_07.gif" width="11" height="30" alt=""></td>
<td rowspan="2" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_08.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_08.gif" width="24" height="30" alt=""></td>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_09.gif" width="19" height="29" alt=""></td>
</tr>
</table></td><?php } ?>
</tr>
</table></td><?php } ?>
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="4">
<tr><?php if (mosCountModules( "top" )) { ?>
<td align="center"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="11">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_01.gif" width="11" height="16" alt=""></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_02.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_02.gif" width="24" height="16" alt=""></td>
<td width="19">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_03.gif" width="19" height="16" alt=""></td>
</tr>
<tr>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_04.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_04.gif" width="11" height="21" alt=""></td>
<td dir="rtl" align="left" valign="middle" bgcolor="#D3F5D0"><?php mosLoadModules ( 'top' ); ?></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_06.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_06.gif" width="19" height="21" alt=""></td>
</tr>
<tr>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_07.gif" width="11" height="18" alt=""></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_08.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_08.gif" width="24" height="18" alt=""></td>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_09.gif" width="19" height="18" alt=""></td>
</tr>
</table></td><?php } ?>
</tr>
<tr>
<td align="center"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="11">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_01.gif" width="11" height="16" alt=""></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_02.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_02.gif" width="24" height="16" alt=""></td>
<td width="19">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_03.gif" width="19" height="16" alt=""></td>
</tr>
<tr>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_04.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_04.gif" width="11" height="21" alt=""></td>
<td align="center" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right" valign="baseline"><img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/Menu.gif" width="100" height="30" align="absbottom" />&nbsp;</td>
</tr>
<tr>
<td dir="rtl" align="right"><?php mosLoadModules ( 'user9' ); ?></td>
</tr>
<tr>
<td dir="rtl" align="right"><?php mosMainBody(); ?></td>
</tr>
</table>
</td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_06.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_06.gif" width="19" height="21" alt=""></td>
</tr>
<tr>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_07.gif" width="11" height="18" alt=""></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_08.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_08.gif" width="24" height="18" alt=""></td>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_09.gif" width="19" height="18" alt=""></td>
</tr>
</table></td>
</tr>
</table></td><?php if (mosCountModules( "right" ) + mosCountModules( "user2" ) > 0) { ?>
<td width="165" align="center"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="4">
<tr><?php if (mosCountModules( "right" )) { ?>
<td align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="11">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_01.gif" width="11" height="16" alt=""></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_02.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_02.gif" width="24" height="16" alt=""></td>
<td width="19">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_03.gif" width="19" height="16" alt=""></td>
</tr>
<tr>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_04.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_04.gif" width="11" height="21" alt=""></td>
<td dir="rtl" width="100%" height="21" align="right" bgcolor="#D6E5AA"><?php mosLoadModules ( 'right' ); ?></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_06.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_06.gif" width="19" height="21" alt=""></td>
</tr>
<tr>
<td rowspan="2">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_07.gif" width="11" height="30" alt=""></td>
<td rowspan="2" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_08.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_08.gif" width="24" height="30" alt=""></td>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_09.gif" width="19" height="29" alt=""></td>
</tr>
</table></td><?php } ?>
</tr>
<tr><?php if (mosCountModules( "user2" )) { ?>
<td align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="11">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_01.gif" width="11" height="16" alt=""></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_02.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_02.gif" width="24" height="16" alt=""></td>
<td width="19">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_03.gif" width="19" height="16" alt=""></td>
</tr>
<tr>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_04.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_04.gif" width="11" height="21" alt=""></td>
<td dir="rtl" height="21" align="right" bgcolor="#FFFFFF"><?php mosLoadModules ( 'user2' ); ?></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_06.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_06.gif" width="19" height="21" alt=""></td>
</tr>
<tr>
<td rowspan="2">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_07.gif" width="11" height="30" alt=""></td>
<td rowspan="2" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_08.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_08.gif" width="24" height="30" alt=""></td>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_09.gif" width="19" height="29" alt=""></td>
</tr>
</table></td><?php } ?>
</tr>
</table></td>
</tr>
</table></td><?php } ?>
</tr>
<tr><?php if (mosCountModules( "bottom" )) { ?>
<td align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="11">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_01.gif" width="11" height="16" alt=""></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_02.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_02.gif" width="24" height="16" alt=""></td>
<td width="19">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_03.gif" width="19" height="16" alt=""></td>
</tr>
<tr>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_04.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_04.gif" width="11" height="21" alt=""></td>
<td dir="rtl" align="left" bgcolor="#CCCCCC"><?php mosLoadModules ( 'bottom' ); ?>
</td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_06.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_06.gif" width="19" height="21" alt=""></td>
</tr>
<tr>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_07.gif" width="11" height="18" alt=""></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_08.gif">
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_08.gif" width="24" height="18" alt=""></td>
<td>
<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_09.gif" width="19" height="18" alt=""></td>
</tr>
</table></td><?php } ?>
</tr>
<tr>
<td align="center" valign="top">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="21" align="center" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/PeekLime_12.gif" colspan="3"><span class="bar"><a>Copyright 2005. [مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]. All rights reserved. <a target="_blank" href="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید] by: DNO</a></a> </span> </td>
</tr>
<tr>
<td height="20" style="background-repeat:repeat-x" background="<?php echo $mosConfig_live_site;
?>/templates/peeklime/images/PeekLime_18.gif" colspan="3"><div align="center"><a> </a></div></td>
</tr>
<tr align="center" valign="top">
<td colspan="3">
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
]
ببینید به دردتون میخوره ؟ ببینید مشکل شما رو حل میکنه اینکار؟
ماژولی با موقعیت user9 ایجاد کردم که امیدوارم در قالب نبوده باشه! یا براش if تعریف نشده باشه!
من اینکار رو همینجا دستی انجام دادم و نمیدونم درست هست یا نه و تستی نکردم. خودتون بررسی کنید و طبق همین تغییر خودتون تغییرات بعدی رو اعمال کنید.
اگر بازم مشکلی بود در همین تاپیک بفرمایید.
ضمناً برای بررسی موقعیتهای فعلی قالبتون هم میتونید از لینک زیر استفاده کنید.
کد:
http://maybod-adineh.net/farsi/index.php?tp=1
پاییزتان پر مهر
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
-
-
11-21-2009 10:30 AM
# ADS
تبلیغات در جوملا فارسی
علاقه مندی ها (Bookmarks)