Parašė Gugiss· 2009 Bal. 9 18:04:10
#143
Va toks sušiktas klausimas.
Svetainė man įprasta rezoliucija atrodo taip (atkreipkime dėmesį į paveiksliuką ant kurio užrašyta AAA):
O sumažinus rezoliuciją štai taip (paveiksliukas ir lentelė kuriame yra tas paveiksliukas siaurėja):
O AŠ NENORIU KAD PAVEIKSLUKS SIAURĖTŲ
theme.php:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
define("THEME_WIDTH", "80%");
define("THEME_BULLET", "<strong>·</strong>");
function render_page($license=false) {
global $settings, $main_style;
//Header
echo "<div class='outer-border $main_style' style='background-color:#000;width:".THEME_WIDTH.";' align='center'>\n";
echo "<div class='floatfix'>\n";
echo "<div class='full-header floatfix' align='left'><table width='600' height='133' border='0' align='right' cellpadding='0' cellspacing='0'>
<tr>
<th width='468' scope='col'> </th>
<th width='132' scope='col'> </th>
</tr>
<tr>
<td height='60'><a href='http://mmo.xz.lt/reklama.php'><img src='http://mmo.xz.lt/v2/themes/onrpg/images/reklama.gif' width='468' height='60' border='0' /></a></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table></div>\n";
//Content
if (LEFT) { echo "<div id='side-border-left' align='left'>".LEFT."</div>\n"; }
if (RIGHT) { echo "<div id='side-border-right' align='left' valign='top'>".RIGHT."</div>\n"; }
echo "<div id='main-bg' align='left' class='clearfix'><div id='container' align='left'>".U_CENTER.CONTENT.L_CENTER."</div></div>\n";
//Footer
echo "<div class='footer clear' style='text-align:center;'>".stripslashes($settings['footer'])."<br />\n";
echo "www.onrpg.lt";
echo "</div>\n</div>\n";
}
function render_news($subject, $news) {
echo "<div class='main-body floatfix'>".$subject."<br>".$news." ";
}
function render_news2($info) {
echo "<div class='news-footer'>\n";
echo newsposter($info,"·").newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "</div>\n";
echo "</div>\n";
}
function render_article($subject) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='kpanel'></td>\n";
echo "<td class='cpanel'>".$subject."</td>\n";
echo "<td class='dpanel'></td>\n";
echo "</tr>\n</table>\n";
}
function render_article2($article, $info) {
echo "<div class='main-body floatfix'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>\n";
echo "<div class='news-footer'>\n";
echo articleposter($info,"·").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</div>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='kpanel'></td>\n";
echo "<td class='cpanel'>".$title."</td>\n";
echo "<td class='dpanel'></td>\n";
echo "</tr>\n</table>\n";
echo "<div class='main-body floatfix'>\n";
}
function closetable() {
echo "</td>\n";
echo "</tr><tr>\n";
echo "<td style='height:5px;background-color:#f6a504;'></td>\n";
echo "</tr>\n</table>\n";
echo "<table height='10'></table>";
}
function opentable2($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='kpanel'></td>\n";
echo "<td class='cpanel'>".$title."</td>\n";
echo "<td class='dpanel'></td>\n";
echo "</tr>\n</table>\n";
echo "<div class='main-body floatfix'>\n";
}
function closetable2() {
echo "</td>\n";
echo "</tr><tr>\n";
echo "<td style='height:5px;background-color:#f6a504;'></td>\n";
echo "</tr>\n</table>\n";
echo "<table height='10'></table>";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='kpanel'></td>\n";
echo "<td class='cpanel'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='cpanel' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "<td class='dpanel'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
echo "<td class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td height='10'></td>\n";
echo "</tr>\n</table>\n";
}
function openside2($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='100%''>\n<tr>\n";
echo "<td class='kpanel'></td>\n";
echo "<td class='cpanel'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='cpanel' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "<td class='dpanel'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
echo "<td class='side2-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside2() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td height='10'></td>\n";
echo "</tr>\n</table>\n";
}
?>
Redagavo Gugiss· 2009 Bal. 9 18:04:25