Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: tarpas tar headerio ir...
Parašė blist· 2008 Gru. 29 23:12:18
#1
kaip panaikinti ta tarpa tarp headerio ir paneliu ? va img duodiu:
styles.css:
body {
background-color: #b6b6b6;
background-repeat:no-repeat;
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:11px;
padding:0px 0px 0px 0px;
margin: 20px 10px 0px 10px;
margin-left:0px;
margin-right:0px;
margin-top:0px;
margin-bottom:0px;
}
.paneles {
font-family : Verdana, Arial, Helvetica, sans-serif;
background: url('paveiksliukai/header.png');
height: 185px;
width: 833px;
font-size : 10px;
color : #00000;
}
a {
color:#FFFFFF; text-decoration:none;
}
a:hover {
color:#fff; text-decoration:none; border-bottom: 1px dashed #fff;
}
a.side {
color:#FFFFFF; text-decoration:none;
}
a:hover.side {
color:#fff; text-decoration:none; border-bottom: 1px dashed #fff;
}
a.side3 {
color : #ffffff;
text-decoration : none;
font-family : Tahoma;
font-size : 10px;
}
a:hover.side3 {
color : #8e0003;
text-decoration : none;
font-weight:bold;
border-bottom: 1px dashed #8e0003;
font-weight: normal;
}
a.white {
font-size:10px;color:#FFFFFF; text-decoration:none;
}
a:hover.white {
color:#FFFFFF; text-decoration:none;
}
img {
border: 0px;
}
form {
margin:0px 0px 0px 0px;
}
hr {
border-top:1px #ffffff solid;
border-bottom:1px #ffffff solid;
}
hr.side-hr {
border:1px #ffffff solid;
border-bottom:1px #ffffff solid;
}
td {
font-family:Tahoma;
font-size:11px;
}
pre {
font-family:Tahoma;
font-size:10px;
}
.alt {
color:#FFFFFF;
background-color:91e7fb;
}
.button {
font-family:Tahoma;
font-size:10px;
font-weight:bold;
color:#FFFFFF;
background-color:#037dd5;
border:#FFFFFF 1px solid;
margin-top:2px;
}
.textbox {
font-family:Tahoma;
font-size:10px;
color:#FFFFFF;
background-color:#037dd5;
border:1px #FFFFFF solid;
}
.main-bg {
padding:5px 0px 5px 16px;
background-color: #e5e5e5;
}
.side-border-left {
padding:5px 5px 0px 0px;
background-color: #e5e5e5;
}
.side-border-right {
padding:20px 0px 0px 5px;
}
.border {
background-color:#A49A7C;
border:2px #A49A7C solid;
}
.side-caption {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
font-weight:bold;
color:#FFFFFF;
background-color:#000000;
padding:0px 4px 3px 20px;
}
.tbl-border {
background-color:c40000;
}
.tbl {
font-size:10px;
padding:3px 4px 3px 4px;
}
.tbl1 {
font-size:10px;
color:#fff;
background-color:a80101;
padding:3px;
}
.tbl2 {
font-size:10px; color:#fff;
background-color:a80101;
padding:3px;
}
.forum-caption {
font-size:11px;
color:#fff;
font-weight: bold;
background-color:a80101;
padding:4px 4px 4px 4px;
}
.quote {
color:#FFFFFF;
background-color:#56def9;
padding:2px;
margin:0px 10px 0px 10px;
border:1px #FFFFFF solid;
}
.poll {
height:12px;
border:1px #FFFFFF solid;
}
.comment-name {
font-weight:bold;
color:#000;
}
.shoutboxname {
font-weight:bold;
color:#FFFFFF;
}
.shoutbox {
color:#b5f1fd;
}
.shoutboxdate {
font-size:9px;
color:#b5f1fd;
text-align:right;
}
.small {
font-size:10px;
font-weight:normal;
}
.small2 {
font-size:10px;
font-weight:normal;
}
.side-small {
font-size:9px;
font-weight:normal;
color:#fcfcfc;
}
.side-label {
background-color:#D0C9B3;
padding:15px 4px 3px 0px;
}
.gallery {
padding: 8px 0px 8px 0px;
}
.gallery img {
border: 1px solid #565656;
}
.gallery:hover img {
border: 1px solid #85B176;
}
img.activegallery {
border: 1px solid #426C34;
}
.main-body {
font-size:11px;
color:#FFFFFF;
background: #fff;
padding:3px 4px 3px 4px;
}
.mbody {
font-size:10px;
color:#FFFFFF;
}
.footer {
background-color: #e5e5e5;
background-repeat:no-repeat;
font-family:Tahoma;
font-size:10px;
color:#3c3c3c;
padding:4px 4px 4px 4px;
border-top: 1px dashed #bdbdbd;
height:48px;
}
.paneles_virsus {
background-image:url(paveiksliukai/paneles/pan.png);
background-repeat:no-repeat;
font-family:Tahoma;
font-size:11px;
font-weight:bold;
padding:0px 0px 0px 15px;
color:#FFFFFF;
height:40px;
}
.paneles_vidus {
background-image:url(paveiksliukai/paneles/pb.png);
background-color: #0263c5;
background-position: bottom;
background-repeat:no-repeat;
font-family:Tahoma;
font-size:10px;
color:#FFFFFF;
background-color:#05b3dc;
padding:10px 5px 5px 10px;
}
.paneles_apacia {
background-image:url(paveiksliukai/paneles/pa.png);
background-repeat:no-repeat;
height:48px;
}
.naujiena_virsus {
background-image:url(paveiksliukai/naujienos/nau.png);
background-repeat:no-repeat;
font-family:Tahoma;
font-size:11px;
font-weight : bold;
padding:0px 0px 0px 15px;
color:#FFFFFF;
height:41px;
}
.naujiena_vidus {
background-image:url(paveiksliukai/naujienos/nvi.png);
background-repeat:no-repeat;
background-position: bottom;
background-color:#08b4dc;
font-family:Tahoma;
font-size:10px;
color:#FFFFFF;
padding:10px 5px 5px 10px;
width:607px;
}
.naujiena_apacia{
background-image:url(paveiksliukai/naujienos/na.png);
background-repeat:no-repeat;
font-family:Tahoma;
font-size:10px;
color:#FFFFFF;
font-weight:bold;
height:48px;
padding:2px 20px 0px 0px;
}
.vpanele_virsus {
background-image:url(paveiksliukai/naujienos/nau.png);
background-repeat:no-repeat;
font-family:Tahoma;
font-size:11px;
font-weight : bold;
padding:0px 0px 0px 15px;
color:#FFFFFF;
height:41px;
}
.vpanele_vidus {
background-image:url(paveiksliukai/naujienos/nvi.png);
background-position: bottom;
background-repeat:no-repeat;
font-family:Tahoma;
font-size:10px;
padding:10px 5px 5px 10px;
color:#FFFFFF;
width:607px;
}
.vpanele_apacia{
background-image:url(paveiksliukai/naujienos/na2.png);
background-repeat:no-repeat;
font-family:Tahoma;
font-size:10px;
color:#FFFFFF;
font-weight:bold;
height:48px;
}
Redagavo blist· 2008 Gru. 29 23:12:57
Parašė Soo-2· 2008 Gru. 29 23:12:27
#2
man rodos theme.php faile cia
Parašė blist· 2008 Gru. 29 23:12:26
#3
butent kuroje dalyje?
Parašė Soo-2· 2008 Gru. 29 23:12:19
#4
gal yra toks kaip subheader? zek po headeriu arba man i skype.. dj-buster41
Parašė Ginciuss· 2008 Gru. 29 23:12:17
#5
Reikia manau padding pakeisti. Pirmą skaičių. Ten yra 4 jei gerai atsimenu pirmas padding skaičius kuo didesnis tuo labiau atitolusios panelės nuo headerio.
Parašė blist· 2008 Gru. 29 23:12:05
#6
nea, nera... reik pagalbos plyz padekit ?|
man reikia kad netik paneles atitoltu bet ir visas tas pilkas bg.
del to padding tai ne, nes man reik kad netik paneles bet ir visas tas pilkas bg sumazetu..
Redagavo blist· 2008 Gru. 29 23:12:36
Parašė Ginciuss· 2008 Gru. 29 23:12:47
#7
body {
background-color: #b6b6b6;
background-repeat:no-repeat;
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:11px;
padding:0px 0px 0px 0px;
margin: 20px 10px 0px 10px;
margin-left:0px;
margin-right:0px;
margin-top:0px;
margin-bottom:0px;
}
.paneles {
font-family : Verdana, Arial, Helvetica, sans-serif;
background: url('paveiksliukai/header.png');
height: 185px;
width: 833px;
font-size : 10px;
color : #00000;
}
a {
color:#FFFFFF; text-decoration:none;
}
a:hover {
color:#fff; text-decoration:none; border-bottom: 1px dashed #fff;
}
a.side {
color:#FFFFFF; text-decoration:none;
}
a:hover.side {
color:#fff; text-decoration:none; border-bottom: 1px dashed #fff;
}
a.side3 {
color : #ffffff;
text-decoration : none;
font-family : Tahoma;
font-size : 10px;
}
a:hover.side3 {
color : #8e0003;
text-decoration : none;
font-weight:bold;
border-bottom: 1px dashed #8e0003;
font-weight: normal;
}
a.white {
font-size:10px;color:#FFFFFF; text-decoration:none;
}
a:hover.white {
color:#FFFFFF; text-decoration:none;
}
img {
border: 0px;
}
form {
margin:0px 0px 0px 0px;
}
hr {
border-top:1px #ffffff solid;
border-bottom:1px #ffffff solid;
}
hr.side-hr {
border:1px #ffffff solid;
border-bottom:1px #ffffff solid;
}
td {
font-family:Tahoma;
font-size:11px;
}
pre {
font-family:Tahoma;
font-size:10px;
}
.alt {
color:#FFFFFF;
background-color:91e7fb;
}
.button {
font-family:Tahoma;
font-size:10px;
font-weight:bold;
color:#FFFFFF;
background-color:#037dd5;
border:#FFFFFF 1px solid;
margin-top:2px;
}
.textbox {
font-family:Tahoma;
font-size:10px;
color:#FFFFFF;
background-color:#037dd5;
border:1px #FFFFFF solid;
}
.main-bg {
padding:0px 0px 5px 16px;
background-color: #e5e5e5;
}
.side-border-left {
padding:0px 5px 0px 0px;
background-color: #e5e5e5;
}
.side-border-right {
padding:0px 0px 0px 5px;
}
.border {
background-color:#A49A7C;
border:2px #A49A7C solid;
}
.side-caption {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
font-weight:bold;
color:#FFFFFF;
background-color:#000000;
padding:0px 4px 3px 20px;
}
.tbl-border {
background-color:c40000;
}
.tbl {
font-size:10px;
padding:3px 4px 3px 4px;
}
.tbl1 {
font-size:10px;
color:#fff;
background-color:a80101;
padding:3px;
}
.tbl2 {
font-size:10px; color:#fff;
background-color:a80101;
padding:3px;
}
.forum-caption {
font-size:11px;
color:#fff;
font-weight: bold;
background-color:a80101;
padding:4px 4px 4px 4px;
}
.quote {
color:#FFFFFF;
background-color:#56def9;
padding:2px;
margin:0px 10px 0px 10px;
border:1px #FFFFFF solid;
}
.poll {
height:12px;
border:1px #FFFFFF solid;
}
.comment-name {
font-weight:bold;
color:#000;
}
.shoutboxname {
font-weight:bold;
color:#FFFFFF;
}
.shoutbox {
color:#b5f1fd;
}
.shoutboxdate {
font-size:9px;
color:#b5f1fd;
text-align:right;
}
.small {
font-size:10px;
font-weight:normal;
}
.small2 {
font-size:10px;
font-weight:normal;
}
.side-small {
font-size:9px;
font-weight:normal;
color:#fcfcfc;
}
.side-label {
background-color:#D0C9B3;
padding:15px 4px 3px 0px;
}
.gallery {
padding: 8px 0px 8px 0px;
}
.gallery img {
border: 1px solid #565656;
}
.gallery:hover img {
border: 1px solid #85B176;
}
img.activegallery {
border: 1px solid #426C34;
}
.main-body {
font-size:11px;
color:#FFFFFF;
background: #fff;
padding:0px 4px 3px 4px;
}
.mbody {
font-size:10px;
color:#FFFFFF;
}
.footer {
background-color: #e5e5e5;
background-repeat:no-repeat;
font-family:Tahoma;
font-size:10px;
color:#3c3c3c;
padding:4px 4px 4px 4px;
border-top: 1px dashed #bdbdbd;
height:48px;
}
.paneles_virsus {
background-image:url(paveiksliukai/paneles/pan.png);
background-repeat:no-repeat;
font-family:Tahoma;
font-size:11px;
font-weight:bold;
padding:0px 0px 0px 15px;
color:#FFFFFF;
height:40px;
}
.paneles_vidus {
background-image:url(paveiksliukai/paneles/pb.png);
background-color: #0263c5;
background-position: bottom;
background-repeat:no-repeat;
font-family:Tahoma;
font-size:10px;
color:#FFFFFF;
background-color:#05b3dc;
padding:10px 5px 5px 10px;
}
.paneles_apacia {
background-image:url(paveiksliukai/paneles/pa.png);
background-repeat:no-repeat;
height:48px;
}
.naujiena_virsus {
background-image:url(paveiksliukai/naujienos/nau.png);
background-repeat:no-repeat;
font-family:Tahoma;
font-size:11px;
font-weight : bold;
padding:0px 0px 0px 15px;
color:#FFFFFF;
height:41px;
}
.naujiena_vidus {
background-image:url(paveiksliukai/naujienos/nvi.png);
background-repeat:no-repeat;
background-position: bottom;
background-color:#08b4dc;
font-family:Tahoma;
font-size:10px;
color:#FFFFFF;
padding:10px 5px 5px 10px;
width:607px;
}
.naujiena_apacia{
background-image:url(paveiksliukai/naujienos/na.png);
background-repeat:no-repeat;
font-family:Tahoma;
font-size:10px;
color:#FFFFFF;
font-weight:bold;
height:48px;
padding:2px 20px 0px 0px;
}
.vpanele_virsus {
background-image:url(paveiksliukai/naujienos/nau.png);
background-repeat:no-repeat;
font-family:Tahoma;
font-size:11px;
font-weight : bold;
padding:0px 0px 0px 15px;
color:#FFFFFF;
height:41px;
}
.vpanele_vidus {
background-image:url(paveiksliukai/naujienos/nvi.png);
background-position: bottom;
background-repeat:no-repeat;
font-family:Tahoma;
font-size:10px;
padding:10px 5px 5px 10px;
color:#FFFFFF;
width:607px;
}
.vpanele_apacia{
background-image:url(paveiksliukai/naujienos/na2.png);
background-repeat:no-repeat;
font-family:Tahoma;
font-size:10px;
color:#FFFFFF;
font-weight:bold;
height:48px;
}
Pabandyk. Bet gerai nežinau ar bus gerai, jei turėčiau temą isikelčiau į FTP užsidėčiau ant fusiono padaryčiau, tada aiškiau ir geriau.
Bet pabandyk,
Redagavo Ginciuss· 2008 Gru. 29 23:12:14
Parašė robert· 2008 Gru. 29 23:12:12
#8
.main-bg {
padding:0px 0px 5px 16px;
background-color: #e5e5e5;
}
Pabandyk pakeisti
Parašė blist· 2008 Gru. 29 23:12:19
#9
vo dabar yra taip:
o as noriu kad tik tas pilkas bg susilietu su tuo headerio bg pilku..
Parašė robert· 2008 Gru. 29 23:12:34
#10
.main-body {
font-size:11px;
color:#FFFFFF;
background: #fff;
padding:0px 4px 3px 4px;
}
Keisk, žiūrėk kas gaunasi
Parašė blist· 2008 Gru. 29 23:12:37
#11
kad ir ka keisciau bg stovi vietoj tik paneles vazineja ?|
Parašė robert· 2008 Gru. 30 00:12:25
#12
.side-label {
background-color:#D0C9B3;
padding:0px 4px 3px 0px;
}
Šitą pabandyk
Parašė Niger· 2008 Gru. 30 00:12:27
#13
manau su tr tagais kazkas blogai :s
Parašė blist· 2008 Gru. 30 00:12:55
#14
stai theme.php:
<?
$body_text = "#FFFFFF";
$body_bg = "#1e6a8f";
$theme_width = "833";
$theme_width_l = "205";
$theme_width_r = "205";
function render_header($header_content) {
global $theme_width,$locale,$data,$userdata,$aidlink,$db_prefix;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<td>
<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
</table>\n";
echo "<center><table cellpadding='0' cellspacing='0' width='972px' class='paneles'>\n
<td align='right' width='5500'>";
echo "</td>
<td width='1800' class='login_t' align='left'>";
if (iMEMBER) {
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo ($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='70' height'70' align='left' style='border: 2px solid #ff9000;margin-right: 10px;'>" : "<img src='".THEME."images/emotive.png' width='70' height'70' align='left' style='border: 2px solid #ff9000;margin-right: 10px;'>")."
<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='side3'>Profilis</a><br>
<a href='".BASEDIR."edit_profile.php' class='side3'>Keisti profilį</a><br>
<a href='".BASEDIR."messages.php' class='side3'>Asmeninės žinutės</a><br>
<a href='".BASEDIR."members.php' class='side3'>Narių sąrašas</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<a href='".ADMIN."index.php".$aidlink."' class='side3'>Administracija</a><br>\n";
}
echo "<a href='".BASEDIR."setuser.php?logout=yes' class='side3'>Atsijungti</a>\n";
} else {
echo "<form name='loginform' method='post' action='".FUSION_SELF."'>
<input type='text' name='user_name' class='textbox' style='width:140px' value='Vardas' onFocus=\"if(this.value=='Vardas'){this.value='';}\" onBlur=\"if(this.value==''){this.value='Vardas';}\"><br>
<input type='password' name='user_pass' class='textbox' style='width:140px;margin-top:2px;' value='Slapta?odis' onFocus=\"if(this.value=='Slapta?odis'){this.value='';}\" onBlur=\"if(this.value==''){this.value='Slapta?odis';}\"><br><br>
<input type='checkbox' name='remember_me' value='y' title='prisiminti kitą kartą' style='vertical-align:middle;'>- prisiminti? <input type='submit' name='login' value='Jungtis' class='button'><br>
</form>
<br>\n";
echo "<a href='".BASEDIR."register.php' class='side3'>Registruotis!</a>\n";
echo "<a href='".BASEDIR."lostpassword.php' class='side3'>Pamiršai slaptažodį</a></div>\n";
}
echo "</td>
</table></center><br>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "
<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='footer' align='left'>Design by: <a href='https://webdnd.com/profile.php?lookup=4967'>blist-</a> CMS: <a href='https://webdnd.com'>PHP-Fusion</a></td>
<td class='footer' align='right'>Copyright © NBA. All rights reserverd.</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $settings,$locale;
echo "<table width='607px' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='naujiena_virsus'>:: $subject</td>
</tr>
<tr>
<td class='naujiena_vidus'>$news</td>
</tr>
<tr>
<td class='naujiena_apacia' align='center'>Parašė: <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> <img src='".THEME."images/bullet.gif'> <a href='news.php?readmore=".$info['news_id']."'>Naujieną plačiau</a></td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='607px' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='naujiena_virsus'>:: $subject</td>
</tr>
<tr>
<td class='naujiena_vidus'><b>$subject</b><br>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
<br>
<br><img src='".THEME."images/bullet.gif' width='10' height='10' alt='' > ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."<br><img src='".THEME."images/bullet.gif' width='10' height='10' alt='' > <a href='articlecomments.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ~
".$info['article_reads'].$locale['044']." <a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' >
</td>
</tr>
<tr>
<td class='naujiena_apacia'></a></td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='607px' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='vpanele_virsus'>$title</td>
</tr>
<tr>
<td class='vpanele_vidus'>\n";
}
function closetable() {
echo "</td>
</tr>
<tr>
<td class='vpanele_apacia'></td>
</tr></table>\n";
}
function openside($title) {
echo "
<table width='205' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='paneles_virsus' width='205'>$title</td>
</tr>
<tr>
<td class='paneles_vidus' width='205'>";
}
function closeside() {
echo "
</td>
</tr>
<tr>
<td class='paneles_apacia'></td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='".THEME."images/table_01.gif' width='10' height='10' alt=''></td>
<td class='table_top'><img src='".THEME."images/table_02.gif' width='1' height='10' alt=''></td>
<td><img src='".THEME."images/table_03.gif' width='10' height='10' alt=''></td>
</tr>
<tr>
<td class='table_left'><img src='".THEME."images/table_04.gif' width='10' height='1' alt=''></td>
<td class='side-body2'><b>$title</b> <img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'><br><div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>
</td>
<td class='table_right'><img src='".THEME."images/table_06.gif' width='10' height='1' alt=''></td>
</tr>
<tr>
<td><img src='".THEME."images/table_07.gif' width='10' height='23' alt=''></td>
<td class='table_bottom' align='center'><img src='".THEME."images/table_10.gif' width='287' height='23' alt=''></td>
<td><img src='".THEME."images/table_09.gif' width='10' height='23' alt=''></td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td height='5'></td>
</tr>
</table>\n";
}
?>
Redagavo blist· 2008 Gru. 30 15:12:02
Parašė blist· 2008 Gru. 30 15:12:40
#15
up :|
Parašė Black psycho· 2008 Gru. 30 15:12:55
#16
<?
$body_text = "#FFFFFF";
$body_bg = "#1e6a8f";
$theme_width = "833";
$theme_width_l = "205";
$theme_width_r = "205";
function render_header($header_content) {
global $theme_width,$locale,$data,$userdata,$aidlink,$db_prefix;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<td>
<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
</table>\n";
echo "<center><table cellpadding='0' cellspacing='0' width='972px' class='paneles'>\n
<td align='right' width='5500'>";
echo "</td>
<td width='1800' class='login_t' align='left'>";
if (iMEMBER) {
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo ($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='70' height'70' align='left' style='border: 2px solid #ff9000;margin-right: 10px;'>" : "<img src='".THEME."images/emotive.png' width='70' height'70' align='left' style='border: 2px solid #ff9000;margin-right: 10px;'>")."
<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='side3'>Profilis</a><br>
<a href='".BASEDIR."edit_profile.php' class='side3'>Keisti profilį</a><br>
<a href='".BASEDIR."messages.php' class='side3'>Asmeninės žinutės</a><br>
<a href='".BASEDIR."members.php' class='side3'>Narių sąrašas</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<a href='".ADMIN."index.php".$aidlink."' class='side3'>Administracija</a><br>\n";
}
echo "<a href='".BASEDIR."setuser.php?logout=yes' class='side3'>Atsijungti</a>\n";
} else {
echo "<form name='loginform' method='post' action='".FUSION_SELF."'>
<input type='text' name='user_name' class='textbox' style='width:140px' value='Vardas' onFocus=\"if(this.value=='Vardas'){this.value='';}\" onBlur=\"if(this.value==''){this.value='Vardas';}\"><br>
<input type='password' name='user_pass' class='textbox' style='width:140px;margin-top:2px;' value='Slapta?odis' onFocus=\"if(this.value=='Slapta?odis'){this.value='';}\" onBlur=\"if(this.value==''){this.value='Slapta?odis';}\"><br><br>
<input type='checkbox' name='remember_me' value='y' title='prisiminti kitą kartą' style='vertical-align:middle;'>- prisiminti? <input type='submit' name='login' value='Jungtis' class='button'><br>
</form>
<br>\n";
echo "<a href='".BASEDIR."register.php' class='side3'>Registruotis!</a>\n";
echo "<a href='".BASEDIR."lostpassword.php' class='side3'>Pamiršai slaptažodį</a></div>\n";
}
echo "</td>
</table></center>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "
<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='footer' align='left'>Design by: <a href='https://webdnd.com/profile.php?lookup=4967'>blist-</a> CMS: <a href='https://webdnd.com'>PHP-Fusion</a></td>
<td class='footer' align='right'>Copyright © NBA. All rights reserverd.</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $settings,$locale;
echo "<table width='607px' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='naujiena_virsus'>:: $subject</td>
</tr>
<tr>
<td class='naujiena_vidus'>$news</td>
</tr>
<tr>
<td class='naujiena_apacia' align='center'>Parašė: <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> <img src='".THEME."images/bullet.gif'> <a href='news.php?readmore=".$info['news_id']."'>Naujieną plačiau</a></td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='607px' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='naujiena_virsus'>:: $subject</td>
</tr>
<tr>
<td class='naujiena_vidus'><b>$subject</b><br>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
<br>
<br><img src='".THEME."images/bullet.gif' width='10' height='10' alt='' > ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."<br><img src='".THEME."images/bullet.gif' width='10' height='10' alt='' > <a href='articlecomments.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ~
".$info['article_reads'].$locale['044']." <a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' >
</td>
</tr>
<tr>
<td class='naujiena_apacia'></a></td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='607px' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='vpanele_virsus'>$title</td>
</tr>
<tr>
<td class='vpanele_vidus'>\n";
}
function closetable() {
echo "</td>
</tr>
<tr>
<td class='vpanele_apacia'></td>
</tr></table>\n";
}
function openside($title) {
echo "
<table width='205' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='paneles_virsus' width='205'>$title</td>
</tr>
<tr>
<td class='paneles_vidus' width='205'>";
}
function closeside() {
echo "
</td>
</tr>
<tr>
<td class='paneles_apacia'></td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='".THEME."images/table_01.gif' width='10' height='10' alt=''></td>
<td class='table_top'><img src='".THEME."images/table_02.gif' width='1' height='10' alt=''></td>
<td><img src='".THEME."images/table_03.gif' width='10' height='10' alt=''></td>
</tr>
<tr>
<td class='table_left'><img src='".THEME."images/table_04.gif' width='10' height='1' alt=''></td>
<td class='side-body2'><b>$title</b> <img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'><br><div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>
</td>
<td class='table_right'><img src='".THEME."images/table_06.gif' width='10' height='1' alt=''></td>
</tr>
<tr>
<td><img src='".THEME."images/table_07.gif' width='10' height='23' alt=''></td>
<td class='table_bottom' align='center'><img src='".THEME."images/table_10.gif' width='287' height='23' alt=''></td>
<td><img src='".THEME."images/table_09.gif' width='10' height='23' alt=''></td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td height='5'></td>
</tr>
</table>\n";
}
?>
po headerio kodu buvo br tagas :p
Redagavo Black psycho· 2008 Gru. 30 15:12:03
Parašė blist· 2008 Gru. 30 15:12:48
#17
isjunk smile jei gali, aciu. :)
Parašė Enzo· 2008 Gru. 30 15:12:51
#18
<br> palikai
<?
$body_text = "#FFFFFF";
$body_bg = "#1e6a8f";
$theme_width = "833";
$theme_width_l = "205";
$theme_width_r = "205";
function render_header($header_content) {
global $theme_width,$locale,$data,$userdata,$aidlink,$db_prefix;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<td>
<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
</table>\n";
echo "<center><table cellpadding='0' cellspacing='0' width='972px' class='paneles'>\n
<td align='right' width='5500'>";
echo "</td>
<td width='1800' class='login_t' align='left'>";
if (iMEMBER) {
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo ($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='70' height'70' align='left' style='border: 2px solid #ff9000;margin-right: 10px;'>" : "<img src='".THEME."images/emotive.png' width='70' height'70' align='left' style='border: 2px solid #ff9000;margin-right: 10px;'>")."
<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='side3'>Profilis</a><br>
<a href='".BASEDIR."edit_profile.php' class='side3'>Keisti profili</a><br>
<a href='".BASEDIR."messages.php' class='side3'>Asmenines žinutes</a><br>
<a href='".BASEDIR."members.php' class='side3'>Nariu sarašas</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<a href='".ADMIN."index.php".$aidlink."' class='side3'>Administracija</a><br>\n";
}
echo "<a href='".BASEDIR."setuser.php?logout=yes' class='side3'>Atsijungti</a>\n";
} else {
echo "<form name='loginform' method='post' action='".FUSION_SELF."'>
<input type='text' name='user_name' class='textbox' style='width:140px' value='Vardas' onFocus=\"if(this.value=='Vardas'){this.value='';}\" onBlur=\"if(this.value==''){this.value='Vardas';}\"><br>
<input type='password' name='user_pass' class='textbox' style='width:140px;margin-top:2px;' value='Slapta?odis' onFocus=\"if(this.value=='Slapta?odis'){this.value='';}\" onBlur=\"if(this.value==''){this.value='Slapta?odis';}\"><br><br>
<input type='checkbox' name='remember_me' value='y' title='prisiminti kita karta' style='vertical-align:middle;'>- prisiminti? <input type='submit' name='login' value='Jungtis' class='button'><br>
</form>
<br>\n";
echo "<a href='".BASEDIR."register.php' class='side3'>Registruotis!</a>\n";
echo "<a href='".BASEDIR."lostpassword.php' class='side3'>Pamiršai slaptažodi</a></div>\n";
}
echo "</td>
</table></center>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "
<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='footer' align='left'>Design by: <a href='https://webdnd.com/profile.php?lookup=4967'>blist-</a> CMS: <a href='https://webdnd.com'>PHP-Fusion</a></td>
<td class='footer' align='right'>Copyright © NBA. All rights reserverd.</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $settings,$locale;
echo "<table width='607px' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='naujiena_virsus'>:: $subject</td>
</tr>
<tr>
<td class='naujiena_vidus'>$news</td>
</tr>
<tr>
<td class='naujiena_apacia' align='center'>Paraše: <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> <img src='".THEME."images/bullet.gif'> <a href='news.php?readmore=".$info['news_id']."'>Naujiena placiau</a></td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='607px' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='naujiena_virsus'>:: $subject</td>
</tr>
<tr>
<td class='naujiena_vidus'><b>$subject</b><br>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
<br>
<br><img src='".THEME."images/bullet.gif' width='10' height='10' alt='' > ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."<br><img src='".THEME."images/bullet.gif' width='10' height='10' alt='' > <a href='articlecomments.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ~
".$info['article_reads'].$locale['044']." <a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' >
</td>
</tr>
<tr>
<td class='naujiena_apacia'></a></td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='607px' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='vpanele_virsus'>$title</td>
</tr>
<tr>
<td class='vpanele_vidus'>\n";
}
function closetable() {
echo "</td>
</tr>
<tr>
<td class='vpanele_apacia'></td>
</tr></table>\n";
}
function openside($title) {
echo "
<table width='205' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='paneles_virsus' width='205'>$title</td>
</tr>
<tr>
<td class='paneles_vidus' width='205'>";
}
function closeside() {
echo "
</td>
</tr>
<tr>
<td class='paneles_apacia'></td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='".THEME."images/table_01.gif' width='10' height='10' alt=''></td>
<td class='table_top'><img src='".THEME."images/table_02.gif' width='1' height='10' alt=''></td>
<td><img src='".THEME."images/table_03.gif' width='10' height='10' alt=''></td>
</tr>
<tr>
<td class='table_left'><img src='".THEME."images/table_04.gif' width='10' height='1' alt=''></td>
<td class='side-body2'><b>$title</b> <img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'><br><div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>
</td>
<td class='table_right'><img src='".THEME."images/table_06.gif' width='10' height='1' alt=''></td>
</tr>
<tr>
<td><img src='".THEME."images/table_07.gif' width='10' height='23' alt=''></td>
<td class='table_bottom' align='center'><img src='".THEME."images/table_10.gif' width='287' height='23' alt=''></td>
<td><img src='".THEME."images/table_09.gif' width='10' height='23' alt=''></td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td height='5'></td>
</tr>
</table>\n";
}
?>
Parašė Black psycho· 2008 Gru. 30 15:12:44
#19
Enzo: aš gi tą pat parašau
Parašė Enzo· 2008 Gru. 30 15:12:16
#20
Kai aš paspaudžiau atsakyt, nebuvo tavo dar posto, dėl to čia taip :D
Parašė blist· 2008 Gru. 30 15:12:48
#21
dekui jums, abiem po +10 :)
Parašė Black psycho· 2008 Gru. 30 16:12:33
#22
Enzo: aišku.
blist-: ačiū ;)