
Przedszkolak

Postów: 7
Data rejestracji: 26.06.2009 19:34
|
Witam. Domy?lam si?, ?e moja skórka jest ?le zakodowana, lecz nie potrafi? znale?? b??du. Oto szablon html strony:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
<meta>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div align="center">
<div class="gornabelka"><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td align="left">Strona g?ówna | O firmie | Cennik | Kalkulator | Mapa dojazdu | Kontakt </td><td align="right"> Zaloguj si? | Zarejestruj si?</td></tr></table></div>
<div class="baner"><img src="".THEME."images/duzy_lewo.jpg" width="55" height="334" border="0" alt="[Rozmiar: 638 bajtów]"><img src="".THEME."images/baner_lewo.jpg" width="472" height="334" border="0" alt="[Rozmiar: 30804 bajtów]"><img src="".THEME."images/baner_prawo.jpg" width="418" height="334" border="0" alt="[Rozmiar: 31555 bajtów]"><img src="".THEME."images/duzy_prawo.jpg" width="55" height="334" border="0" alt="[Rozmiar: 671 bajtów]"></div>
<table border="0" cellpadding="0" cellspacing="0" width="1000">
<tr>
<td id="menu" width="266" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="266">
<tr>
<td><div class="menugora"></div></td>
</tr>
<tr>
<td><div class="menusrodek">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry"s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div></td>
</tr>
<tr>
<td><div class="menudol"></div></td>
</tr>
</table>
</td>
<td id="tresc" width="734" valign="top">
<table cellpadding="0" cellspacing="0" border="0" width="734">
<tr>
<td><div class="trescgora"></div></td>
</tr>
<tr>
<td><div class="trescnaglowek">Tytu? strony</div></td>
</tr>
<tr>
<td><div class="belka"></div></td>
</tr>
<tr>
<td><div class="trescsrodek">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry"s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry"s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br><br>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</div></td>
</tr>
<tr>
<td><div class="trescdol"></div></td>
</tr>
</table>
</td>
</tr>
</table>
<div class="stopka">Ustaw jako stron? startow± | O firmie | Mapa witryny | Kontakt | Reklama | Partnerzy <br> Copyright 2010 by www.baner.katowic... | Powered by PHP Fusion</div>
</div>
</body>
</html>Kliknij i zaczekaj na załadowanie kodu ...
A oto ?le zakodowana skórka:
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'>·</span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style, $locale;
//Header
echo "<div align=\"center\">
<div class=\"gornabelka\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr><td align=\"left\">Strona g?ówna | O firmie | Cennik | Kalkulator | Mapa dojazdu | Kontakt </td><td align=\"right\"> Zaloguj si? | Zarejestruj si?</td></tr></table></div>
<div class=\"baner\"><img src=\"".THEME."images/duzy_lewo.jpg\" width=\"55\" height=\"334\" border=\"0\" alt=\"[Rozmiar: 638 bajtów]\"><img src=\"".THEME."images/baner_lewo.jpg\" width=\"472\" height=\"334\" border=\"0\" alt=\"[Rozmiar: 30804 bajtów]\"><img src=\"".THEME."images/baner_prawo.jpg\" width=\"418\" height=\"334\" border=\"0\" alt=\"[Rozmiar: 31555 bajtów]\"><img src=\"".THEME."images/duzy_prawo.jpg\" width=\"55\" height=\"334\" border=\"0\" alt=\"[Rozmiar: 671 bajtów]\"></div>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='100%' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Footer
echo "</tr>
</table>
<div class=\"stopka\">Ustaw jako stron? startow± | O firmie | Mapa witryny | Kontakt | Reklama | Partnerzy <br> Copyright 2010 by www.baner.katowic... | Powered by PHP-FUSION</div>\n";
}
function render_news($subject, $news) {
echo "<td id=\"tresc\" width=\"734\" valign=\"top\">
<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"734\">
<tr>
<td><div class=\"trescgora\"></div></td>
</tr>
<tr>
<td><div class=\"trescnaglowek\">$subject</div></td>
</tr>
<tr>
<td><div class=\"belka\"></div></td>
</tr>
<tr>
<td><div class=\"trescsrodek\">$news</div></td>
</tr>
<tr>
<td><div class=\"trescdol\"></div></td>
</tr>
</table>
</td>
\n";
}
function render_article($subject, $article) {
echo "<td id=\"tresc\" width=\"734\" valign=\"top\">
<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"734\">
<tr>
<td><div class=\"trescgora\"></div></td>
</tr>
<tr>
<td><div class=\"trescnaglowek\">$subject</div></td>
</tr>
<tr>
<td><div class=\"belka\"></div></td>
</tr>
<tr>
<td><div class=\"trescsrodek\">$article</div></td>
</tr>
<tr>
<td><div class=\"trescdol\"></div></td>
</tr>
</table>
</td>
\n";
}
function opentable($title) {
echo "<td id=\"tresc\" width=\"734\" valign=\"top\">
<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"734\">
<tr>
<td><div class=\"trescgora\"></div></td>
</tr>
<tr>
<td><div class=\"trescnaglowek\">$title</div></td>
</tr>
<tr>
<td><div class=\"belka\"></div></td>
</tr>
<tr>
<td><div class=\"trescsrodek\">\n";
}
function closetable() {
echo "</div></td>
</tr>
<tr>
<td><div class=\"trescdol\"></div></td>
</tr>
</table>
</td>
\n";
}
function openside() {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"1000\">
<tr>
<td id=\"menu\" width=\"266\" valign=\"top\">
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"266\">
<tr>
<td><div class=\"menugora\"></div></td>
</tr>
<tr>
<td><div class=\"menusrodek\">\n";
}
function closeside() {
global $panel_collapse;
echo "</div></td>
</tr>
<tr>
<td><div class=\"menudol\"></div></td>
</tr>
</table>
</td>\n";
}
?>Kliknij i zaczekaj na załadowanie kodu ...
Dodatkowo wrzucam moje CSSy:
body {
font-family: Verdana;
font-size: 11px;
padding:0px;
margin:0px 0px 0px 0px;
background-image: url('images/tlo.jpg');
background-position: center;
background-repeat: repeat-y;
background-color: #c2c2c2;
}
.gornabelka {
color: #ffffff;
margin: 0px 0px 0px 0px;
width: 880px;
height: 28px;
background-image: url('images/gornabelka.jpg');
padding-left: 60px;
padding-right: 60px;
padding-top: 13px;
}
.baner {
width: 1000px;
height: 334px;
}
.menugora{
background-image: url('images/menu_gora.png');
width: 266px;
height: 87px;
background-repeat: no-repeat;
}
.menusrodek{
background-image: url('images/menu_srodek.png');
width: 171px;
background-repeat: repeat;
color: #ffffff;
padding-left: 65px;
padding-right: 30px;
}
.menudol{
background-image: url('images/menu_dol.png');
width: 266px;
height: 147px;
background-repeat: no-repeat;
}
.trescgora {
background-image: url('images/tresc_gora.png');
background-repeat: no-repeat;
width: 734px;
height: 13px;
}
.trescnaglowek {
background-image: url('images/tresc_srodek.png');
background-repeat: repeat;
width: 684px;
font-size: 18px;
padding-left: 50px;
padding-top: 12px;
padding-bottom: 10px;
}
.belka {
background-image: url('images/belka.png');
background-repeat: no-repeat;
width: 734px;
height: 2px;
}
.trescsrodek {
background-image: url('images/tresc_srodek.png');
background-repeat: repeat;
width: 635px;
padding-top: 12px;
padding-bottom: 15px;
padding-left: 34px;
padding-right: 65px;
}
.trescdol {
background-image: url('images/tresc_dol.png');
background-repeat: no-repeat;
width: 734px;
height: 6px;
}
.stopka {
color: #919191;
padding-top: 60px;
text-align: center;
}
Kliknij i zaczekaj na załadowanie kodu ...
oraz fotk?, jak strona powinna mniej wi?cej wygl?da?:

PW od moderatora:
- Zmiana nazwy tematu - Pieka 02.07 - 14:28
Edytowane przez stachi dnia 03.07.2010 12:25:33
|

Przedszkolak

Postów: 7
Data rejestracji: 26.06.2009 19:34
|
Mo?liwe, ?e pope?ni?em b??d podczas kodowania, lecz nie potrafi? go znale??. Wygl?da na to, ?e wszystko jest ok, lecz gdy próbuj? zainstalowa? mój theme to otrzymuje informacj? o tym, ze theme nie istnieje, b?d? jest niekompletny. W plikach wszystko si? zgadza, wi?c problem tkwi w pliku theme.php Je?li jest taka potrzeba to moge podes?a? ca?y folder z moim themem.
Oto owe pliki:
http://ul.to/m6y47n
Nazwa tematu zmieniona wed?ug zalece? admina. Czekam na pomoc.
Serdecznie dzi?kuj? za tak liczna i bezinteresown? pomoc. Sprawa za?atwiona z pomoc? uprzejmych u?ytkowników innego serwisu. Pozdrawiam i ?egnam.
Edytowane przez stachi dnia 06.07.2010 11:58:56
|