Witam ponownie!
Mam kolejny kłopot ze skórką TR-RedLine. W newsach tekst nie ma zawijania typu ramka, przyległy tylko tworzy się nieprzyjemny efekt: www.basket-2009.pl . Proszę o pomoc w zmienieniu zawijania tekstu w newsach. Chciałbym, żeby jak w większości skórek, tekst przylegał do obrazka. Podaje plik theme.php:
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); } require_once INCLUDES."theme_functions_include.php";
define("THEME_BULLET", "<img class='bullet' src='".THEME."images/bullet.gif' alt='bullet.gif' />");
$body_text = "#ffffff";$body_bg = "#910700";$theme_width = "951";
function render_page($license=false) {
global $theme_width,$settings;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' border='0'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' background='".THEME."ust_menu/logo.jpg' height='270'>".showbanners()."</td>
</td></tr>
</table>\n";
echo ('
<map name="menu" id="menu"><area shape="rect" coords="265,137,430,215" href="'.BASEDIR.'index.php" alt="" />
<area shape="rect" coords="430,137,613,215" href="'.BASEDIR.'downloads.php" alt="" />
<area shape="rect" coords="613,137,755,215" href="'.BASEDIR.'forum/index.php" alt="" />
<area shape="rect" coords="755,137,900,215" href="'.BASEDIR.'edit_profile.php" alt="" />
</map>');
echo "<table cellpadding='0' cellspacing='0' width='100%' class='pad' style='margin:0;'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%' class='srodek'>
\n<tr>\n";
echo "<table class='center outer-border' cellpadding='0' cellspacing='0' width='$theme_width'>\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";
echo "<script type='text/javascript' src='".THEME."ust_menu/ea.js'></script>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='footer'>".stripslashes($settings['footer'])."</>";
{echo"".showcopyright()."</><br /><br>
Tema By:<a target='_blank' href='http://www.eacagri.net'> <img border='0' src='".THEME."images/eacagri.gif' alt='eacagri.gif' /></a> <br> - <a target='_blank' href='http://www.eacagri.net'>http://www.eacagri.net</a><br /><br />\n"; } echo showcounter()."
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo newsposter($info,"<br />").newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<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 articleposter($info,"<br>").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
".($collapse ? "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>" : "")."
</tr>
<tr>
<td colspan='2' class='side-body'>";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
?>
Wiadomość doklejona:
Pomoże ktoś?
Edytowane przez andrix224 dnia 23.08.2009 11:54:02
|