0
помогите найти баг в шаблоне online24shop_v3.0.0_red1
Автор msidog, Sep 28 2011 11:27 PM
Сообщений в теме: 3
#1
Отправлено 28 September 2011 - 11:27 PM
проблема в этом шаблоне заключаеться в том что блоки если включаешь вывод справа то их вообще нету...
и слева получается есть отступ от левых блоков а справа нету..и там выходит как наче сайт сьехал..
помогите что где исправить...
и слева получается есть отступ от левых блоков а справа нету..и там выходит как наче сайт сьехал..
помогите что где исправить...
Мой хостинг <<<invitehost.ru>>>
vsupport.club --Лучшее решение всех проблем
vsupport.club --Лучшее решение всех проблем
#2
Отправлено 29 September 2011 - 06:49 AM
проблема в этом шаблоне заключаеться в том что блоки если включаешь вывод справа то их вообще нету...
и слева получается есть отступ от левых блоков а справа нету..и там выходит как наче сайт сьехал..
помогите что где исправить.
я так думаю как всегда в этом шаблоне не предусмотрены блоки справа т.е. в индексе удалены строки
{if $countrb > 0}
{include file="blocks.tpl.html" binfo=$right_blocks bclass="hdb" nopad=1 balign="center"}
{/if}
а что отступа нету, то это скорее всего верстка корявая, почти все шаблоны которые распространяются бесплатно имеют бока...
#3
Отправлено 29 September 2011 - 12:03 PM
да посмотрел я индекс файл..вот что тут
правым блоком и не пахнет...попробую уже пошаманить с кодом...
{* Шаблон главной оболочки магазина *} <html> {* подключение файла заголовков *} {include file="head.tpl.html"} <body> {if $admlink}{assign var="adminbild" value=1}{/if} {if $smarty.const.CONF_SHOP_BILD eq 1 and $adminbild ne 1} {* Сообщение о профилактике *} <table cellspacing="0" cellpadding="0" width="100%" height="100%"> <tr> <td class="profi arc" valign="middle" align="center"><img src="design/user/{$smarty.const.TEMPLATE_GO}/images/bild.gif" alt="">{$smarty.const.STRING_BILD}{$smarty.const.STRING_BILD_DES}</td> </tr> </table> {else} <table cellspacing="0" cellpadding="0" width="100%"><tr><td valign="top" align="left"> {* панель отладочной информации *} {if $smarty.const.CONF_DISPLAY_INFO eq 1 and $admlink} <table cellspacing="0" cellpadding="0" width="100%" class="print"><tr class="mid"> <td style="background: url(design/admin/images/fonbot.gif); height: 23px;"><img src="design/admin/images/sep.gif" alt=""></td> <td width="100%" style="background: url(design/admin/images/fonbot.gif); height: 23px;"> <table cellspacing="0" cellpadding="0" width="100%"><tr class="mid"> <td style="padding-bottom: 2px;" nowrap="nowrap" class="stat"> {$smarty.const.STRING_EXE_DATA}: <span id="tgenexe"></span> {$smarty.const.TIME_SEK}</td> <td nowrap="nowrap"><img src="design/admin/images/sep2.gif" alt=""></td> <td style="padding-bottom: 2px;" nowrap="nowrap" class="stat">{$smarty.const.STRING_PREEXE_DATA}: <span id="tgencompile"></span> {$smarty.const.TIME_SEK}</td> <td nowrap="nowrap"><img src="design/admin/images/sep2.gif" alt=""></td> <td style="padding-bottom: 2px;" nowrap="nowrap" class="stat">{$smarty.const.BD_DO_TIME}: <span id="tgendb"></span> {$smarty.const.TIME_SEK}</td> <td nowrap="nowrap"><img src="design/admin/images/sep2.gif" alt=""></td> <td style="padding-bottom: 2px;" nowrap="nowrap" class="stat">{$smarty.const.STRING_ALL_EXETIME}: <span id="tgenall"></span> {$smarty.const.TIME_SEK}</td> <td nowrap="nowrap"><img src="design/admin/images/sep2.gif" alt=""></td> <td width="95%" style="padding-bottom: 2px;" nowrap="nowrap" class="stat">{$smarty.const.STRING_DO_COUNT}: <span id="tgensql"></span></td></tr></table> </td></tr></table> <script type="text/javascript">printstat();</script> {/if} {* вывод сообщений об ошибках *} {if $exploerrors ne ""}{$exploerrors}{/if} {* шапка -------------------------------------*} <div align="right"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="254"> <a href="/index.php"><center><img border="0" src="design/user/{$smarty.const.TEMPLATE_GO}/images/logo.gif" width="auto" height="200"><center></a></td> </tr> </table> </div> {* блоки слева -------------------------------------*} <div align="right"> <table border="0" width="98%" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#FFFFFF"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="240"></td> <td width="30"> </td> <td> </td> </tr> <tr> <td width="240" valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#c80404" width="4"> </td> <td class="catalog">{if $big_categories_tree && $big_categories_tree_count>0} {assign var="oldnumber" value=0} <div align="left"> {section name=h loop=$big_categories_tree} {if $big_categories_tree[h].categoryID != 1} {if $big_categories_tree[h].level > $oldnumber}<div id="s_{$oldcat}" {if $categoryID != $oldcat}style="display: none"{/if}>{/if} {if $big_categories_tree[h].level < $oldnumber}{section name=w loop=$oldnumber-$big_categories_tree[h].level}</div>{/section}{/if} <table cellspacing="0" cellpadding="0" width="100%"><tr class="dtree"> {section name=j loop=$big_categories_tree max=$big_categories_tree[h].level} <td> {if $smarty.section.j.index==$big_categories_tree[h].level-1} <img src="design/user/{$smarty.const.TEMPLATE_GO}/images/join.gif" alt="" align="left"> {else} <img src="design/user/{$smarty.const.TEMPLATE_GO}/images/line.gif" alt="" align="left"> {/if} </td> {/section} <td><img src="design/user/{$smarty.const.TEMPLATE_GO}/images/{if $big_categories_tree[h].qcount > 0}{if $categoryID != $big_categories_tree[h].categoryID}tree3.gif{else}tree2.gif{/if}{else}tree1.gif{/if}" alt="" align="left" {if $big_categories_tree[h].qcount > 0}onclick="flip('{$big_categories_tree[h].categoryID}')" id="p_s_{$big_categories_tree[h].categoryID}"{/if}> </td> <td class="dtree">{if $smarty.const.CONF_SHOW_COUNTPROD eq 1}<span style="float:right"> {$big_categories_tree[h].products_count}</span>{/if}<a href="{if $smarty.const.CONF_MOD_REWRITE eq 1}category_{$big_categories_tree[h].categoryID}.html{else}index.php?categoryID={$big_categories_tree[h].categoryID}{/if}" {if $categoryID == $big_categories_tree[h].categoryID}class="bf"{/if}>{$big_categories_tree[h].name}</a></td> </tr></table> {if $categoryID == $big_categories_tree[h].categoryID} <script type="text/javascript"> {literal} var elem = document.getElementById('s_{/literal}{$big_categories_tree[h].parent}{literal}'); if(elem){ fliq(elem); while(elem.nodeName.toLowerCase() != "body"){ elem = elem.parentNode; if(elem.nodeName.toLowerCase() == 'div')fliq(elem); } } {/literal} </script> {/if} {assign var="oldnumber" value=$big_categories_tree[h].level} {assign var="oldcat" value=$big_categories_tree[h].categoryID} {/if} {/section} {if $oldnumber > 0}{section name=w loop=$oldnumber}</div>{/section}{/if} </div> {else}<div class="vcent">{$smarty.const.STRING_NO_CATEGORIES}</div>{/if}</td> </tr> </table> {include file="left_blocks.tpl.html"} <table border="1" width="100%" style="border-width: 0px" cellspacing="0" cellpadding="0"> <tr> <td style="border-style: none; border-width: medium"></td> </tr> </table> </td> <td width="30"> </td> <td valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td valign="top"> {* главное меню -------------------------------------*} <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#FFFFFF" valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="menutop1" nowrap><a href="/index.php">Главная</a> <img border="0" src="design/user/{$smarty.const.TEMPLATE_GO}/images/ppip.jpg" width="24" height="17"><a href="/page_3.html">Доставка</a> <img border="0" src="design/user/{$smarty.const.TEMPLATE_GO}/images/ppip.jpg" width="24" height="17"><a href="/page_5.html">Оплата</a><img border="0" src="design/user/{$smarty.const.TEMPLATE_GO}/images/ppip.jpg" width="24" height="17"><a href="/page_1.html">О магазине</a><img border="0" src="design/user/{$smarty.const.TEMPLATE_GO}/images/ppip.jpg" width="24" height="17"><a href="/price.html">Прайс-лист</a><img border="0" src="design/user/{$smarty.const.TEMPLATE_GO}/images/ppip.jpg" width="24" height="17"><a href="/news.html">Новости</a></td> <td class="valute" width="90"> {* смена валюты -------------------------------------*} </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td > {* Баннер верхний -------------------------------------*} <table border="0" width="98%" cellspacing="0" cellpadding="0"> <tr> <td class="banan"><center> <img border="0" src="design/user/{$smarty.const.TEMPLATE_GO}/images/banner.gif" width="404" height="82"><center></td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> {* режим работы -------------------------------------*} <td class="telephone" width="188" background="design/user/{$smarty.const.TEMPLATE_GO}/images/tel.gif" valign="top"> <b>Режим работы</b> - <font color="#C40B0B">ежедневно с 9-00 до 20-00</font></td> </tr> </table> </td> </tr> </table> <table border="0" width="98%" cellspacing="0" cellpadding="0"> <tr> <td>{include file="top_blocks.tpl.html"}{include file="$main_content_template"}{include file="bottom_blocks.tpl.html"}</td> </tr> </table> <p> </td> </tr> </table> {* Подвал -------------------------------------*} <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="footer"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td class="footerin" width="49" bgcolor="#efefef" nowrap="nowrap"> <img src="design/user/{$smarty.const.TEMPLATE_GO}/images/MB.png" width="37" border="0" height="34"></td> <td class="footerin" width="96" bgcolor="#efefef" nowrap="nowrap">Дизайн магазина — «<a href="http://www.multibox.pp.ua/">MultiBox</a>»</td> <td width="23"> </td> <td class="footerin" width="885"> <p align="center"> © 2011 <a href="/index.php">Tehno-zona</a> - краткое описание сайта</td> <td class="footerin" width="177" nowrap=""> <p align="right"><img border="0" src="design/user/{$smarty.const.TEMPLATE_GO}/images/stat.gif" width="88" height="31"> </p></td> </tr> </tbody></table> </td> </tr> </table> </td> </tr> </table> </div> <div align="right"> <table border="0" width="98%" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#FFFFFF"> <img border="0" src="design/user/{$smarty.const.TEMPLATE_GO}/images/footernm.png" width="34" height="7"></td> </tr> </table> </div> {* прорисовка скрытого ajax бокса *} <script type="text/javascript">printcart();</script> {/if} </body> </html>
правым блоком и не пахнет...попробую уже пошаманить с кодом...
Мой хостинг <<<invitehost.ru>>>
vsupport.club --Лучшее решение всех проблем
vsupport.club --Лучшее решение всех проблем
#4
Отправлено 29 September 2011 - 02:01 PM
правым блоком и не пахнет...попробую уже пошаманить с кодом.
что там шаманить, добавьте еще одну колонку в таблицу и всего-то