-
مشکل در ویرایش صفحه اصلی
سلام
من از نرم افزارهای فروشگاه ساز استفاده می کنم اما وقتی از منوی مدیریت استفاده می کنم و می خوام صفحه INDEX رو ویرایش کنم که مثلا بر در صفحه اول سایت قرار بدم یا اینکه شمارنده در پائین سایت قرار بدم یا کلا هرکاری که در این کدها اینجام میدم بعد از ذخیره کردن سایت بهم میریزه و راست چین میشه
توضیح اینکه در فایرفاکس درست نشون میده در IE راست چین میشه اما قبل از تغییرات هیچ مشکلی نداره
اینم کد ویرایش نشده یکی از قالب ها
کد:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
">
{include file="head.tpl.html"}
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META http-equiv=Content-Language content=fa-IR>
<SCRIPT type=text/javascript>
var currentPage = '';
var baseUrl = '';
var themeUrl = '';
var layout = '';
var basketUrl= '';
</SCRIPT>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV id=header>
<H1>{$smarty.const.CONF_DEFAULT_TITLE}</H1></DIV>
<DIV></DIV>
<DIV class=menu-top>
<TABLE align=center border=0>
<TBODY>
<TR>
<TD><A href="./">صفحه اصلی</A></TD>
<TD>
{if ($log ne "")}
<A class=ajax
href="behiran_page.php?user_details"
target=home>کنترل پنل</A>{else}<A class=ajax
href="behiran_page.php?register"
target=home>عضویت در سایت</A>
{/if} </TD>
{section name=y loop=$aux_list}
<TD>
<A class=ajax
href="behiran_page.php?view_content={$aux_list[y].aux_page_ID}"
target=home>{$aux_list[y].aux_page_name}</A> </TD>
{/section}
<TD><A class=ajax
href="behiran_page.php?show_price"
target=home>{$smarty.const.STRING_PRICELIST}</A> </TD>
<TD><A class=ajax
href="behiran_page.php?feedback"
target=home>{$smarty.const.STRING_FEEDBACK}</A> </TD>
<TR></TR></TBODY></TABLE>
</DIV>
<DIV id=container>
<DIV id=left_pan>
<DIV class=box-default>
<DIV class=box-head>
<DIV class=box-right></DIV>
<DIV class=box-title>
<DIV class=img></DIV>
<DIV>ورود اعضا</DIV>
</DIV>
<DIV class=box-left></DIV>
</DIV>
<DIV class=box-bg-content-left>
<DIV class=box-bg-content-right>
<DIV class=box-content>
<DIV>
<div align="center">
{include file="authorization.tpl.html"}
<span style="padding:3px">{if ($log ne "")} <table width="200" cellspacing=0 border="0">
<tr>
<td width="97"><div align="center"><a href="index.php?user_details" ><img src="images/control_panel.png" alt="جزئیات حساب کاربری" border="0"><br>کنترل پنل</a></div></td>
<td width="99"><div align="center"><a href="index.php?logout"><img src="images/logout.png" alt="خروج از سیستم" border="0"><br>خروج</a></div></td>
</tr>
<tr>
<td colspan="2"><div align="center">{if $log ne "" && $log eq $smarty.const.ADMIN_LOGIN}
<a href="./admin"><img src="images/webadmin.png" alt="پنل مدیریت فروشگاه" border="0"><br>پنل مدیریت</a>
{/if}</div></td>
</tr>
</table>
{else} <a href="behiran_page.php?register" class=ajax target=home ><img src="images/images_tmpl9/register.png" alt="عضویت" border="0"></a> {/if}</span></div>
</div>
</DIV>
</DIV>
</DIV>
<DIV class=box-footer>
<DIV class=box-right></DIV>
<DIV class=box-left></DIV>
</DIV>
</DIV>
<DIV class=box-default>
<DIV class=box-head>
<DIV class=box-right></DIV>
<DIV class=box-title>
<DIV class=img></DIV>
<DIV>سبد خريد</DIV>
</DIV>
<DIV class=box-left></DIV>
</DIV>
<DIV class=box-bg-content-left>
<DIV class=box-bg-content-right>
<DIV class=box-content>
<DIV>
<table cellpadding="0" cellspacing="0" width="100%" dir="rtl">
<!-- MSTableType="layout" -->
<tr>
<td> {if $smarty.const.CONF_SHOW_ADD2CART eq 1}
<tr>
<td colspan="2"><table width="100%" border="0" cellpadding="2" cellspacing="0" dir="rtl">
<tr>
<TD width=12 class=fsabad><A
href="{if $smarty.const.CONF_OPEN_SHOPPING_CART_IN_NEW_WINDOW eq 1}javascript:open_window('cart.php',400,300);{else}index.php?shopping_cart{/if}"></A></TD>
<td width="127"><a href="{if $smarty.const.CONF_OPEN_SHOPPING_CART_IN_NEW_WINDOW eq 1}javascript:open_window('cart.php',400,300);{else}index.php?shopping_cart{/if}"><strong>{$smarty.const.CART_TITLE}</strong></a></td>
</tr>
</table></td>
</tr>
<tr>
<td width="100%"><div align="right">{include file="shopping_cart_info.tpl.html"} </div></td>
</tr>
<tr>
<td colspan="2" align="left"><a class=ajax target=home href="behiran_page.php?shopping_cart"><img src="images/pay.gif" alt="تکمیل فرآیند خرید" border="0"></a>
<br></td>
</tr>
{/if}
</table>
</DIV>
</DIV>
</DIV>
</DIV>
<DIV class=box-footer>
<DIV class=box-right></DIV>
<DIV class=box-left></DIV>
</DIV>
</DIV>
{if $rightblock}
<DIV class=box-default>
<DIV class=box-head>
<DIV class=box-right></DIV>
<DIV class=box-title>
<DIV class=img></DIV>
<DIV>محصولات پر بازدید</DIV>
</DIV>
<DIV class=box-left></DIV>
</DIV>
<DIV class=box-bg-content-left>
<DIV class=box-bg-content-right>
<DIV class=box-content>
<DIV>
<div align="center">{include file="right_blocks.tpl.html"} </div>
</DIV>
</DIV>
</DIV>
</DIV>
<DIV class=box-footer>
<DIV class=box-right></DIV>
<DIV class=box-left></DIV>
</DIV>
</DIV>
{/if}
<DIV class=box-default>
<DIV class=box-head>
<DIV class=box-right></DIV>
<DIV class=box-title>
<DIV class=img></DIV>
<DIV>نظرسنجی</DIV>
</DIV>
<DIV class=box-left></DIV>
</DIV>
<DIV class=box-bg-content-left>
<DIV class=box-bg-content-right>
<DIV class=box-content>
<DIV>
<div align="right">{include file="customer_survey.tpl.html"} </div>
</DIV>
</DIV>
</DIV>
</DIV>
<DIV class=box-footer>
<DIV class=box-right></DIV>
<DIV class=box-left></DIV>
</DIV>
</DIV>
</DIV>
<DIV id=right_pan>
<DIV class="box-default basket">
<DIV class=box-head>
<DIV class=box-right></DIV>
<DIV class=box-title>
<DIV class=img></DIV>
<DIV></DIV></DIV>
<DIV class=box-left></DIV></DIV>
<DIV class=box-bg-content-left>
<DIV class=box-bg-content-right>
<DIV class=box-content>
<DIV style="TEXT-ALIGN: center"></DIV>
<DIV style="TEXT-ALIGN: center">
</DIV>
</DIV></DIV></DIV>
<DIV class=box-footer>
<DIV class=box-right></DIV>
<DIV class=box-left></DIV></DIV></DIV>
<DIV class=box-default>
<DIV class=box-head>
<DIV class=box-right></DIV>
<DIV class=box-title>
<DIV class=img></DIV>
<DIV>گروه محصولات</DIV></DIV>
<DIV class=box-left></DIV></DIV>
<DIV class=box-bg-content-left>
<DIV class=box-bg-content-right>
<DIV class=box-content>
<DIV>
<div align="right">{include file="category_tree.tpl.html"} </div>
</DIV></DIV></DIV></DIV>
<DIV class=box-footer>
<DIV class=box-right></DIV>
<DIV class=box-left></DIV></DIV></DIV>
<DIV class=box-default>
<DIV class=box-head>
<DIV class=box-right></DIV>
<DIV class=box-title>
<DIV class=img></DIV>
<DIV>جستجو (سایت / Google)</DIV>
</DIV>
<DIV class=box-left></DIV>
</DIV>
<DIV class=box-bg-content-left>
<DIV class=box-bg-content-right>
<DIV class=box-content>
<DIV>
<div align="center">{include file="search_form.tpl.html"} </div>
</DIV>
</DIV>
</DIV>
</DIV>
<DIV class=box-footer>
<DIV class=box-right></DIV>
<DIV class=box-left></DIV>
</DIV>
</DIV>
{if $leftblock}
<DIV class=box-default>
<DIV class=box-head>
<DIV class=box-right></DIV>
<DIV class=box-title>
<DIV class=img></DIV>
<DIV>آخرین محصولات فروشگاه</DIV>
</DIV>
<DIV class=box-left></DIV>
</DIV>
<DIV class=box-bg-content-left>
<DIV class=box-bg-content-right>
<DIV class=box-content>
<DIV>
<div align="center">{include file="left_blocks.tpl.html"}</div>
</DIV>
</DIV>
</DIV>
</DIV>
<DIV class=box-footer>
<DIV class=box-right></DIV>
<DIV class=box-left></DIV>
</DIV>
</DIV>
{/if}
<DIV class=box-default>
<DIV class=box-head>
<DIV class=box-right></DIV>
<DIV class=box-title>
<DIV class=img></DIV>
<DIV>اخبار</DIV>
</DIV>
<DIV class=box-left></DIV>
</DIV>
<DIV class=box-bg-content-left>
<DIV class=box-bg-content-right>
<DIV class=box-content>
<DIV>
<div align="center">{if $NewsShortListTpl}
{include file=$NewsShortListTpl}
<br>
{/if} </div>
</DIV>
</DIV>
</DIV>
</DIV>
<DIV class=box-footer>
<DIV class=box-right></DIV>
<DIV class=box-left></DIV>
</DIV>
</DIV>
{if $yahoo}
<DIV class=box-default>
<DIV class=box-head>
<DIV class=box-right></DIV>
<DIV class=box-title>
<DIV class=img></DIV>
<DIV>گفتگوی زنده</DIV>
</DIV>
<DIV class=box-left></DIV>
</DIV>
<DIV class=box-bg-content-left>
<DIV class=box-bg-content-right>
<DIV class=box-content>
<DIV>
<div align="center">{include file="yahoo.tpl.html"}</div>
</DIV>
</DIV>
</DIV>
</DIV>
<DIV class=box-footer>
<DIV class=box-right></DIV>
<DIV class=box-left></DIV>
</DIV>
</DIV>
{/if}
</DIV>
<DIV id=main_pan class=mainCol>
<DIV class=box-default>
<DIV class=box-head>
<DIV class=box-right></DIV>
<DIV class=box-title>
<DIV class=img></DIV>
<DIV>گروه کالاها</DIV></DIV>
<DIV class=box-left></DIV></DIV>
<DIV class=box-bg-content-left>
<DIV class=box-bg-content-right>
<DIV class=box-content2>
<div align="right">{include file="$main_content_template"} </div>
</DIV>
</DIV></DIV>
<DIV class=box-footer>
<DIV class=box-right></DIV>
<DIV class=box-left></DIV></DIV></DIV>
</DIV>
<BR clear=all></DIV>
<DIV class=footer><A href="
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
" target="_blank">
<DIV class=footer_logo></DIV>
</A>
<DIV id=footer_text>
<DIV >© Copyright 2009 ,<b> {$smarty.const.CONF_SHOP_URL} </b>, All rights reserved.</DIV>
</DIV>
<DIV class=footer_left></DIV>
</DIV>
</BODY></HTML>
لطفا کمکم کنید
-
عزیزم سیستم ها ی مدیریت محتوا یه فایل index دارن که از چند تا فراخوانی استفاده میکنه
شما باید فایل اصلی رو پیدا کنید و کد رو تو اون قرار بدید اونم در محل مناسب نه هر جا که دلتون خواست