Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
As nesuprantu kur redauguoti reikia kad padidinti paneles ploti taj yra i sona placiau bet ne ilgi koki faila reikia redaguoti>?
Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
man paneles reiktu tokio didzio kaip www.runescape.com kaip ten plotis kad toks butu
<?php
/*--------------------------------------------+
| PHP -Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| WTFTHEMES.com Theme kure stygis |
|---------------------------------------------|
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "1000";
$theme_width_l = "300";
$theme_width_r = "200";
function render_header($header_content) {
global $theme_width,$settings;
echo "<center><table width=\"997\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td height=\"140\" align=\"center\" valign=\"bottom\" background=\"".THEME."header/rs_head.jpg\">
<div align='right'>".ucwords(showdate($settings['subheaderdate'], time()))." </div>
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_visibility<='".iUSER."' AND link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 1;
while($data = dbarray($result)) {
if ($data['link_url']!="---") {
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
}
}
}
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"41\" background=\"".THEME."panels/leftborder.gif\"> </td>
<td>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</td>
<td width=\"41\" background=\"".THEME."panels/rightborder.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"41\" background=\"".THEME."panels/leftborder.gif\"> </td>
<td align='center'>".stripslashes($settings['footer'])."Visos teisės saugomos!</a>)</td>
<td width=\"41\" background=\"".THEME."panels/rightborder.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td>
<img name=\"rs_foot1\" src=\"".THEME."footer/rs_foot.gif\" width=\"1000\" height=\"130\" border=\"0\" usemap=\"#m_wow_foot1\" alt=\"\">
<map name=\"m_wow_foot1\">
<area shape=\"rect\" coords=\"559,77,784,90\" href=\"mailto:cspafke@gmail.com\" target=\"_blank\" title=\"DX-Portal\" alt=\"DX-Portal\" >
<area shape=\"rect\" coords=\"94,76,345,90\" href=\"http://www.php-fusion.co.uk/\" target=\"_blank\" title=\"PHP-Fusion\" alt=\"PHP-Fusion\" >
</map>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"47\" background=\"".THEME."panels/ctl.gif\"> </td>
<td background=\"".THEME."panels/ctm.gif\"> </td>
<td width=\"116\" height=\"47\" background=\"".THEME."panels/ctr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"15\" background=\"".THEME."panels/cborderl.gif\"> </td>
<td bgcolor=\"#b59c66\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='center-caption'>$subject</td>
</tr>
<tr>
<td class='main-body'><hr>$news</td>
<tr>
<td align='center'><hr>".$locale['040']." <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ".$locale['041'].showdate("longdate", $info['news_date'])." --- ";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> <b>·</b>\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> <b>·</b> ";
echo "".$info['news_reads'].$locale['044']." <b>-</b> ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td>";
echo "</tr>
</tr>
</table>
</td>
<td width=\"35\" background=\"".THEME."panels/cborderr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"97\" background=\"".THEME."panels/cbl.gif\"> </td>
<td height=\"97\" background=\"".THEME."panels/cbm.gif\"> </td>
<td width=\"116\" height=\"97\" background=\"".THEME."panels/cbr.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"47\" background=\"".THEME."panels/ctl.gif\"> </td>
<td background=\"".THEME."panels/ctm.gif\"> </td>
<td width=\"116\" height=\"47\" background=\"".THEME."panels/ctr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"15\" background=\"".THEME."panels/cborderl.gif\"> </td>
<td bgcolor=\"#b59c66\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='center-caption'>$subject</td>
</tr>
<tr>
<td class='main-body'><hr><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><hr>
<div align='center'>".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."";
if ($info['article_allow_comments'])
echo $info['article_comments'].$locale['043']." <b>·</b> ";
echo "".$info['article_reads'].$locale['044']." <b>-</b> ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</div></td>";
echo " </tr>
</table></td>
<td width=\"35\" background=\"".THEME."panels/cborderr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"97\" background=\"".THEME."panels/cbl.gif\"> </td>
<td height=\"97\" background=\"".THEME."panels/cbm.gif\"> </td>
<td width=\"116\" height=\"97\" background=\"".THEME."panels/cbr.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function opentable($title) {
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"47\" background=\"".THEME."panels/ctl.gif\"> </td>
<td background=\"".THEME."panels/ctm.gif\"> </td>
<td width=\"116\" height=\"47\" background=\"".THEME."panels/ctr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"15\" background=\"".THEME."panels/cborderl.gif\"> </td>
<td bgcolor=\"#b59c66\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='center-caption'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table></td>
<td width=\"35\" background=\"".THEME."panels/cborderr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"97\" background=\"".THEME."panels/cbl.gif\"> </td>
<td height=\"97\" background=\"".THEME."panels/cbm.gif\"> </td>
<td width=\"116\" height=\"97\" background=\"".THEME."panels/cbr.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function opentablex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"47\" background=\"".THEME."panels/ctl.gif\"> </td>
<td background=\"".THEME."panels/ctm.gif\"> </td>
<td width=\"116\" height=\"47\" background=\"".THEME."panels/ctr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"15\" background=\"".THEME."panels/cborderl.gif\"> </td>
<td bgcolor=\"#b59c66\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='center-caption'>$title</td>
<td align='right' width='17' class='panel-main'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>
</tr>
<tr>
<td class='main-body'>
<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closetablex() {
echo "</div></td>
</tr>
</table></td>
<td width=\"35\" background=\"".THEME."panels/cborderr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"57\" height=\"97\" background=\"".THEME."panels/cbl.gif\"> </td>
<td height=\"97\" background=\"".THEME."panels/cbm.gif\"> </td>
<td width=\"116\" height=\"97\" background=\"".THEME."panels/cbr.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function openside($title) {
echo "<table width=\"200\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td height=\"47\" align=\"right\" valign=\"bottom\" background=\"".THEME."panels/pt.gif\">
<table width=\"73%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class='side-caption'>$title</td>
</tr>
<tr>
<td height=\"21\"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td background=\"".THEME."panels/pm.gif\">
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"16\"> </td>
<td width=\"142\" class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=\"47\" background=\"".THEME."panels/pb.gif\"></td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width=\"200\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td height=\"26\" align=\"right\" valign=\"bottom\" background=\"".THEME."panels/pt.gif\">
<table width=\"73%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class='side-caption'>$title</td>
<td align='center' class='panel-main'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>
</tr>
<tr>
<td height=\"20\"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td background=\"".THEME."panels/pm.gif\">
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"36\"> </td>
<td width=\"142\" class='side-body'>
<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=\"8\" background=\"".THEME."panels/pb.gif\"></td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='5'>";
echo "</td></tr></table>\n";
}
?>
Pongis
Narys
Tankas
Pranešimai: 2272
Įstojęs: 2007 Vas. 18 11:02:23
Temos viršuje:
$theme_width_l = "300"; // kairios panelės
$theme_width_r = "200"; // dešinės panelės
Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
neeina kazkodel pas mane paneles kaireje ir juos nereguoja
samsung123
Narys
Terminatorius
Pranešimai: 1610
Įstojęs: 2007 Spa. 15 17:10:09
Kai išsaugai įkeli į FTP, šiap turi veikti!
Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
ee rmt neveikia viska pakeiciau ir keiciasi tik tas kur naujienos o panele kur navigacija nesikeicia
Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
Va as jums parodyssiu ko man reikia:
http://cspafke.googlepages.com/p...
Peršokti į forumą:
Žaliems
Nebeegzistuojančios svetainės
Bendri PHP-F klausimai
WordPress
Kiti PHP, HTML, MySQL klausimai
Expert PHP, MySQL klausimai
Kitos TVS
C#, Python, Java, JS, C++ klausimai
Naujų modų pristatymai
Mods, Panels & Infusions
Themes
Jūsų saitai
Dalinuosi, dovanoju!
Klausimai apie domenus ir hostingus
VPS/DS serverių konfigūravimas ir valdymas
Viskas apie skaitliukus, top'us ir lankomumą
Dizaino konkursai
Parduodu - perku dizainą, banerį
Parduodu - perku - keičiuosi reklama
Parduodu - perku domeną, tinklapį
Siūlau - ieškau hostingo/VPS serverio
Parduodu - perku skriptą, modifikaciją, tvs
Socialiniai tinklai - Facebook ir kiti
Legalus verslas, teisiniai klausimai
Visa kita kas susiję su darbu ir pinigais
LTStartups.com - Lietuvos startuolių bendruomenė
Off-Topic diskusijos
IT naujienos
Portalo informacija
Narių pasiūlymai
Geležis ir programinė įranga
Grafika
Out Of Place
Su e-verslu nesusijęs darbas ir prekyba
Dalinuosi, dovanoju!