Na samym poczatku to przepraszam jezeli to nie w tym dziale umiesci?em w?tek...
Mam problem mianowicie zrobi?em sobie logo w Adobe Photoshop jednak, ?e nie wiem jak zobic aby po klinkieciu loga wyskoczy?a strona /index.php
Chce zeby to wyglada?o tak http://dicho.pl/h...
z tym kodem
<A HREF="/index.php">
<IMG SRC="images/header.gif" WIDTH=900 HEIGHT=177 BORDER=0 ALT="" USEMAP="#header_Map"></A>
<MAP NAME="header_Map">
<AREA SHAPE="rect" ALT="infusions/musicbox2_panel/player/" COORDS="852,0,900,47" HREF="infusions/musicbox2_panel/player/" TARGET="_blank">
<AREA SHAPE="rect" ALT="" COORDS="0,0,900,177" HREF="/index.php">
</MAP>
<!-- End ImageReady Slices -->
</BODY>
</HTML>
ale nie wiem jak wstawic ten kod w pliku themes/XXXX/theme.php
Kod z theme.php
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#006600";
$theme_width = "900";
$theme_width_l = "169";
$theme_width_r = "169";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td class=header>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='$theme_width' align=center>\n<tr>
<td class='sub-header'>".showsublinks(" ","white")."</td>
<td align='right' class='sub-header'>".showsubdate()."</td>
</tr>
</table>\n";
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td height=5>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='$theme_width' align=center>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='$theme_width' align=center>
<tr>
<td align='center' class='footer'>".stripslashes($settings['footer'])."<br>\n";
if (!$license) { echo showcopyright()."<br><br>\n"; } echo showcounter()."<br><br>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
<tr><td class=side-foot></td></tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?> Dziekuje bardzo za pomoc i zycze mi?ego dnia
Aha i jeszcze jedno przenosi?em strone na inny serwer i teraz nie mam poprawnosci pisowni (nie czyta polskich znaków) który plik jest za to odpowiedzialny moze sie nie spokiowa?
a to wyglada tak
Jak ?ci?ga? ? co z tym zrobic
PW od moderatora:
- Zmiana nazwy tematu - Milka 17.01 - 18:59
- Przeniesienie tematu - Milka 17.01 - 19:00
Edytowane przez lysy6 dnia 17.01.2008 21:07:44
|