Valuediz
Narys
Buldozeris
Pranešimai: 242
Įstojęs: 2008 Kov. 30 20:03:44
Kaip padaryti, kad navigacijos juostoje tekstas būtu centre image žiūrint nuo šonų ir centre žiūrint nuo viršaus, apačios.
RuP3r
VIP narys
Tankas
Pranešimai: 2016
Įstojęs: 2007 Lie. 15 20:07:25
navigacijos juosta tai tipo po headeriu ?
Valuediz
Narys
Buldozeris
Pranešimai: 242
Įstojęs: 2008 Kov. 30 20:03:44
RuP3r parašė:
navigacijos juosta tai tipo po headeriu ?
Taip
Qrmiz
Narys
Generolas
Pranešimai: 997
Įstojęs: 2005 Rugs. 4 16:09:21
ten kur Tavo <td> prasideda, reikia įklijuoti: <td algn='center' valign='middle' >
Valuediz
Narys
Buldozeris
Pranešimai: 242
Įstojęs: 2008 Kov. 30 20:03:44
Gal gali tiksliau? Speju čia headeryje todėl:
function render_header() {
global $theme_width, $rtNavbar, $rtHeader, $settings;
if ((isset($rtHeader['logo_url'])) && (!empty($rtHeader['logo_url'])))
$url = $rtHeader['logo_url'];
else
$url = false;
if ((isset($rtHeader['logo_url_title'])) && (!empty($rtHeader['logo_url_title'])))
$title = $rtHeader['logo_url_title'];
else
$title = false;
echo "<script language='javascript' src='".THEME."includes/revision.js' type='text/javascript'></script>\n"
."<table align='center' border='0' cellpadding='0' cellspacing='0' width='992'>\n"
."<tr><td class='pageLeft'></td><td width='100%' class='pageCenter' valign='top'>\n"
."<div id='clock'><noscript><div id='noscript'>Javascript should be enabled in order to view everything in certain sections of <strong>".$settings['sitename']."</strong>.</div></noscript><script language='javascript' src='".THEME."includes/clock.js' type='text/javascript'></script></div>\n"
."<table border='0' cellpadding='0' cellspacing='0' id='header' width='100%'><tr>\n"
."<td class='logo' height='218' valign='top' width='100%'>"
.($url ? "<a href='$url' onmousedown='return false;'".($title ? " title='".$title."'" : "").">" : "")
."<img".($title ? " alt='".$title."'" : " alt=''")." border='0' src='".THEME."images/logo.png'".($title ? " title='".$title."'" : "").">"
.($url ? "</a>" : "")
.((isset($rtHeader['slogan']) && !empty($rtHeader['slogan'])) ? "<br><span class='slogan'>".$rtHeader['slogan']."</span>" : "")."</td>\n";
if ((iMEMBER) && (isset($rtHeader['rightside_member'])) && (!empty($rtHeader['rightside_member']))) {
echo "<td class='rightside' nowrap='nowrap' valign='bottom'>".$rtHeader['rightside_member']."</td>\n";
} elseif ((!iMEMBER) && (isset($rtHeader['rightside_guest'])) && (!empty($rtHeader['rightside_guest']))) {
echo "<td class='rightside' nowrap='nowrap' valign='bottom'>".$rtHeader['rightside_guest']."</td>\n";
}
echo "</tr></table>\n";
$rtNavbar->generate();
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>\n";
}
Dandžu
Narys
Ekspertas
Pranešimai: 3265
Įstojęs: 2007 Lie. 23 13:07:47
Duok dar kodo.
Valuediz
Narys
Buldozeris
Pranešimai: 242
Įstojęs: 2008 Kov. 30 20:03:44
Sharkman parašė:
Duok dar kodo.
Stai:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
/*--------------------------------------------+
| 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) |
+--------------------------------------------*/
/*--------------------------------------------+
| Revision Theme for PHP -Fusion v6 |
|---------------------------------------------|
| author: UworldIRC - Riadi © 2006 |
| web: http://www.uworldirc.com/ |
| email: riadi@gcinet.org |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
define('IN_REVISION', true);
require_once(INCLUDES.'theme_functions_include.php');
require_once(THEME.'includes/navigationbar.class.php');
require_once(THEME.'theme_config.php');
function render_header() {
global $theme_width, $rtNavbar, $rtHeader, $settings;
if ((isset($rtHeader['logo_url'])) && (!empty($rtHeader['logo_url'])))
$url = $rtHeader['logo_url'];
else
$url = false;
if ((isset($rtHeader['logo_url_title'])) && (!empty($rtHeader['logo_url_title'])))
$title = $rtHeader['logo_url_title'];
else
$title = false;
echo "<script language='javascript' src='".THEME."includes/revision.js' type='text/javascript'></script>\n"
."<table align='center' border='0' cellpadding='0' cellspacing='0' width='992'>\n"
."<tr><td class='pageLeft'></td><td width='100%' class='pageCenter' valign='top'>\n"
."<div id='clock'><noscript><div id='noscript'>Javascript should be enabled in order to view everything in certain sections of <strong>".$settings['sitename']."</strong>.</div></noscript><script language='javascript' src='".THEME."includes/clock.js' type='text/javascript'></script></div>\n"
."<table border='0' cellpadding='0' cellspacing='0' id='header' width='100%'><tr>\n"
."<td class='logo' height='218' valign='top' width='100%'>"
.($url ? "<a href='$url' onmousedown='return false;'".($title ? " title='".$title."'" : "").">" : "")
."<img".($title ? " alt='".$title."'" : " alt=''")." border='0' src='".THEME."images/logo.png'".($title ? " title='".$title."'" : "").">"
.($url ? "</a>" : "")
.((isset($rtHeader['slogan']) && !empty($rtHeader['slogan'])) ? "<br><span class='slogan'>".$rtHeader['slogan']."</span>" : "")."</td>\n";
if ((iMEMBER) && (isset($rtHeader['rightside_member'])) && (!empty($rtHeader['rightside_member']))) {
echo "<td class='rightside' nowrap='nowrap' valign='bottom'>".$rtHeader['rightside_member']."</td>\n";
} elseif ((!iMEMBER) && (isset($rtHeader['rightside_guest'])) && (!empty($rtHeader['rightside_guest']))) {
echo "<td class='rightside' nowrap='nowrap' valign='bottom'>".$rtHeader['rightside_guest']."</td>\n";
}
echo "</tr></table>\n";
$rtNavbar->generate();
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>\n";
}
function render_footer() {
global $settings;
echo "</tr></table>\n";
// copyrighted line must stay intact and visible.
echo "<table cellpadding='0' cellspacing='0' id='footer' width='100%'><tr><td nowrap='nowrap' valign='top'><td align='center' width='100%' style='padding-left:20px;padding-right:20px;'>".$settings['footer'].showcounter()."</td><td align='right' nowrap='nowrap' valign='top'></td></tr></table>\n";
echo "</td><td class='pageRight'></td></tr>\n</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
opentable($subject);
echo $locale['040'].newsposter($info)."\n"
."<br>\n<hr>\n<br>\n".$news."<br><br>\n<hr>\n"
.openform("N",$info['news_id']).newsopts($info," ·").closeform("N",$info['news_id'])."\n";
closetable();
}
function render_article($subject, $article, $info) {
global $locale;
opentable($subject);
echo $locale['040'].articleposter($info)."\n"
."<br>\n<hr>\n<br>\n".$article."<br><br>\n<hr>\n"
.openform("A",$info['article_id']).articleopts($info," ·").closeform("A",$info['article_id'])."\n";
closetable();
}
function opentable($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' class='centerTitle' width='100%'><tr><td class='centerTitleOverlay' height='40' width='100%' valign='top'>".$title."</td></tr></table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td class='centerContent' width='100%'>\n";
}
function closetable() {
echo "</td></tr></table>\n";
tablebreak();
}
function openside($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' class='sideTitle' width='100%'><tr><td class='sideTitleOverlay' height='31' width='100%' valign='top'>".$title."</td></tr></table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td class='sideContent' width='100%'>\n";
}
function closeside() {
echo "</td></tr></table>\n";
sidebreak();
}
$boxcounter = 1;
function opensidex($title,$open="on") {
global $boxcounter;
$boxname = "expbox".$boxcounter;
$boxcounter++;
$box_img = ($open=="on" ? "off" : "on");
echo "<table border='0' cellpadding='0' cellspacing='0' class='sideTitle' width='100%'><tr>"
."<td class='sideTitleOverlay' height='31' width='100%' valign='top'>".$title."</td>"
."<td class='sideTitleMinMax' nowrap='nowrap'><img onclick=\"javascript:flipBox('$boxname')\" name='b_$boxname' alt='$box_img' src='".THEME."images/panel_$box_img.gif'></td>"
."</tr></table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td class='sideContent' width='100%'><div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div></td></tr></table>\n";
sidebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0'><tr><td height='10'></td></tr></table>\n";
}
function sidebreak() {
global $theme_panels_width;
echo "<img alt='spacer' height='10' src='".THEME."images/spacer.gif' width='".$theme_panels_width."'>\n";
}
?>
Valuediz
Narys
Buldozeris
Pranešimai: 242
Įstojęs: 2008 Kov. 30 20:03:44
Tai kaip nežinot?
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!