Показать сообщение отдельно
Старый 09.06.2010, 17:29   #33
AnShLv
Продвинутый
 
Регистрация: 12.01.2009
Сообщений: 90
По умолчанию

Спасибо. Я сделал иначе. Я взял этот шаблон, и перевел его полностью в <div> вид. Как он отображаеться - судите сами - http://pressclub.lviv.ua/test.html
Здесь прилагаю его код на всякий случай:
Код:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
<title>Заголовок сайту</title>
<style type="text/css">
td {font-family: tahoma}
.mr {margin-right: 20px; margin-bottom: 20px; margin-top:10px}
</style>
</head>
<body style="margin:0px">
<div style="width:100%">


  <div style="width:100%; float:left">
    <div style="font-size:8pt; font-family:arial; color:#ff000; float:left; width:300px; height:100px">
      <img src="/fileadmin/shablon_sajtu/ima/top_left_corner.gif" alt="tlc">
    </div>
    
    <div style="font-size:8pt; font-family:arial; color:#ff000; float:left; width:600px; height:100px; text-align:center">
      <form style="margin:30px" action="/index.php?id=23" id="a0846d4d00d60abe2b7e7df00de5f73fd" name="a0846d4d00d60abe2b7e7df00de5f73fd" enctype="multipart/form-data" method="post"><div style="display:none;"><input type="hidden" name="locationData" value="23:tt_content:44"></div><strong>Пошук:</strong>&nbsp;&nbsp; <input type="text" name="tx_fesearchintable_pi1[sword]" size="30" value=""><strong></strong>&nbsp;&nbsp; <input type="submit" name="tx_fesearchintable_pi1[submit]" value="Знайти"></form>
     </div>

      <div id="audio"></div>
    <div style="font-size:8pt; font-family:arial; color:#ff000; float:right; width:250px; height:100px">
      <a href="/index.php?id=27"><img alt="3d-панорама залу" src="/fileadmin/shablon_sajtu/ima/3d.jpg" border="0"></a>
    </div>

    </div>
  </div>

<div style="background: url('/fileadmin/shablon_sajtu/ima/top_line.gif'); height:16px; width:100%; float:left"></div>

<div style="float:left; width:100%"><img border="0" src="/fileadmin/shablon_sajtu/ima/top_menu.gif" alt="Розділи" usemap="#pressclubmap">
<MAP NAME="pressclubmap">
<AREA
   HREF="/?id=14" ALT="Конференц-сервіс" TITLE="Конференц-сервіс"
   SHAPE=RECT COORDS="55,5,222,19">
<AREA
   HREF="/?id=15" ALT="Послуги" TITLE="Послуги"
   SHAPE=RECT COORDS="238,5,349,19">
<AREA
   HREF="/?id=16" ALT="Співпраця" TITLE="Співпраця"
   SHAPE=RECT COORDS="366,5,492,19">
<AREA
   HREF="/?id=17" ALT="Євро-2012 Україна" TITLE="Львівський вибір - 2010"
   SHAPE=RECT COORDS="509,5,750,19">
<AREA
   HREF="/?id=8" ALT="Контакти" TITLE="Контакти"
   SHAPE=RECT COORDS="723,5,897,19">
<AREA
   HREF="/?id=18" ALT="Архів" TITLE="Архів"
   SHAPE=RECT COORDS="848,5,1014,19">
</MAP>
</div>
<div style="background: url('/fileadmin/shablon_sajtu/ima/top_line.gif'); height:16px; float:left; width:100%"></div>


<div style="background: #ebebeb; border:#cccccc 1px solid; font-size:11pt;font-weight:bold; width:100%; height:22px; float:left" id="mypath">
       : </div>

<div width="250" style="float:left" class="mr">

<img src="/fileadmin/shablon_sajtu/ima/pl_pronas.gif" alt="Про нас"><br>

<div style="border:#cccccc 1px solid; border-top:0; background-color:#efefef">
<img src="/fileadmin/shablon_sajtu/ima/karta_ukr.gif" alt="Карта України"><br>
<a href="/?id=11">Історія</a><br>
<a href="/?id=20">Діяльність</a><br>
<a href="/?id=19">Проекти</a><br>
<a href="/?id=21">Фотогалерея</a><br>
</div>


<img src="/fileadmin/shablon_sajtu/ima/pl_podiji.gif" alt="Події"><br>
<div style="border:#cccccc 1px solid; border-top:0; background-color:#efefef">

<div id="content_l" style="border:#cccccc 1px solid; border-top:0; background-color: #efefefl">Контент</div>
<div id="content_l1" style="border:#cccccc 1px solid; background-color: #efefef; font-size:11pt; font-weight:bold; color:#ff0000"><a href="/?id=22" style="color:red">Відеосюжети</a></div>
<div id="content_l2" style="border:#cccccc 1px solid; background-color: #efefef; font-size:11pt; font-weight:bold; color:#ff0000"><a href="/?id=26" style="color:red">Аудіосюжети</a></div>


  </div>
</div>

  <div style="width:55%; float:left" class="mr">
    <img src="/fileadmin/shablon_sajtu/ima/pl_main.gif"> 
     <div style="background: url('design/stick.gif') no-repeat bottom; border-top:0px; width:1px">
        <div id="content" style="border:#cccccc 1px solid; background-color: #efefef; border-top:0px; height:171">Test</div>  
        </div>        
    </div>
  </div>


<div style="float:left" class="mr">
<div style="width:275px">

    <img src="/fileadmin/shablon_sajtu/ima/pl_anonsy.gif" alt="Анонси">
    <div id="content_r" style="border:#cccccc 1px solid; background-color: #efefef; border-top:0px" height="171">Test content</div>

</div>

<div style="width:275px">

    <img src="/fileadmin/shablon_sajtu/ima/pl_opyt.gif" alt="Опитування">
    <div style="border:#cccccc 1px solid; background-color: #efefef; border-top:0px" height="171" vAlign="top" id="content_poll">Test content</div>

    </div>
  </div>




<div style="width:100%; float:left">

<div style="background: url('/fileadmin/shablon_sajtu/ima/top_line.gif'); height:16px; float:left; width:100%"></div>

<div style="background: url('/fileadmin/shablon_sajtu/ima/bottom.gif') center; font-size:10pt; font-weight:bold; color:#ffffff;height:32px; text-align:center; width:100%; float:left"><!--bigmir)net TOP 100-->
<a target="_blank" href="http://www.mediastar.net.ua"><img src="http://www.mediastar.net.ua/images/88x31.gif" title="Медіастар" alt="Інформагенство Медіастар" border="0" height="31" width="88"></a>

<a href="http://fond.lviv.ua/" target="_blank"><img src="http://fond.lviv.ua/images/buttom.gif" width="88" height="31" border="0" alt="Право і демократія"></a> 

<a href="http://daily.lviv.ua/" target="_blank"><img src="http://daily.lviv.ua/graphics/lv88x31.gif" width="88" height="31" border="0" alt="Ваш курсор на пульсі міста - ''Щоденний Львів''"></a>
</div>

<div style="background: url('/fileadmin/shablon_sajtu/ima/top_line.gif'); height:16px; float:left; width:100%"></div>

</div>
</div>
<script type="text/javascript" src="http://daily.lviv.ua/scripts/audio.js"></script>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-9509970-2");
pageTracker._trackPageview();
} catch(err) {}</script>

</body>
</html>
Итак, шаблон работает перфектно. Ну а теперь загрузим его в TYPO-3. Результат ужасен - http://pressclub.lviv.ua/n
Код:
http://pressclub.lviv.ua/n
По-моему уже совсем понятно, что шаблон ни при чем.

Но, если люди как-то работают с TYPO-3 то вывод один - какая-то проблема у меня на сервере, не позволяющая TYPO-3 обработать шаблон.
AnShLv вне форума   Ответить с цитированием