Child
Narys
Tankas
Pranešimai: 1719
Įstojęs: 2008 Vas. 14 19:02:16
|
Gal galit pasakyti kaip reikia iscentruoti Headeri ?
|
MAnjack
Garbės narys
Legenda
Pranešimai: 11821
Įstojęs: 2006 Kov. 2 20:03:58
|
<center></center>
|
Clepter
Narys
Nuolatinis
Pranešimai: 164
Įstojęs: 2005 Lie. 9 19:07:36
|
Susikurk "wrapper'į"
<div id="wrapper"></div>
CSS faile rašyk:
#wrapper {
float: center;
}
CSS faile prie body { } įterpk tokį kodą:
margin: 0 auto 0 auto;
|
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
O jei nei vienas kodas TAU nepadės duok theme php kur header vieta yra...
Rules: 21 & 22 Read first! |
Gugiss
Narys
Ekspertas
Pranešimai: 3061
Įstojęs: 2008 Vas. 23 15:02:01
|
echo "<img src='".THEME."images/header.jpg'>";
pakeisk y
echo "<center><img src='".THEME."images/header.jpg'></center>";
MMOG.lt - atrask naują pasaulį |
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
Palauk o iš kur žinai kad toks yra? xDD
Rules: 21 & 22 Read first! |
Žilvis
VIP narys
Terminatorius
Pranešimai: 1314
Įstojęs: 2006 Spa. 7 20:10:45
|
subheader.php
render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");
keiti
render_header("<center><img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'></center>");
|
Gugiss
Narys
Ekspertas
Pranešimai: 3061
Įstojęs: 2008 Vas. 23 15:02:01
|
SoNG parašė:
Palauk o iš kur žinai kad toks yra? xDD
as cia pavyzdy parasiau
MMOG.lt - atrask naują pasaulį |
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
Jus surašysit variantus o žmgus ko gero ieškos tada... Na jei nei vienas netiks tada reiks žiurėti kaip ten yra..
Rules: 21 & 22 Read first! |
Child
Narys
Tankas
Pranešimai: 1719
Įstojęs: 2008 Vas. 14 19:02:16
|
<?php
/*--------------------------------------------+
| PHP-Fusion 6 - 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) |
+--------------------------------------------*/
/*--------------------------------------------+
| Milestone Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: PHP-Fusion Themes - Shedrock © 2005 |
| web: http://phpfusion.org |
| email: webmaster@phpfusion.org |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#FFFFFF";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";
,
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' style='background-image:url(".THEME."images/header-center.gif)' border='0' cellpadding='0' cellspacing='0' width='$theme_width'>";
// Start banner code
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td>$header_content</td></tr>";
echo "</table></td>";
// End banner code
echo "<img src='".THEME."images/pixel.gif' height='5'>";
echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='$theme_width'>";
echo "<tr><td width='42'><img src='".THEME."images/nav-left.gif' width='16' height='26'></td>";
echo "<td width='75%' style='background-image:url(".THEME."images/nav-center.gif)'>";
echo showsublinks("·")."</td>";
echo "<td align='right' width='25%' style='background-image:url(".THEME."images/nav-center.gif)'>";
echo showsubdate()."</td>";
echo "<td width='42'><img src='".THEME."images/nav-right.gif' width='16' height='26'></td></tr></table>";
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'><tr>";
echo "<td class='header'>".stripslashes($settings['footer'])."</td></tr></table>\n";
echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='$theme_width'>";
echo "<tr><td width='15'><img src='".THEME."images/nav-left.gif' width='16' height='26'></td>";
echo "<td class='copyright' align='left' width='38%' style='background-image:url(".THEME."images/nav-center.gif)'>";
if ($license == false) {
echo " ";
}
echo "</td>";
echo "<td class='copyright' align='center' width='24%' style='background-image:url(".THEME."images/nav-center.gif)'>© 2008 APSKRITAS STALAS<a href='http://www.phpfusion-themes.com' target='_blank'></a>";
echo "</td>";
echo "<td class='copyright' align='right' width='38%' style='background-image:url(".THEME."images/nav-center.gif)'>";
echo "<td></td>";
echo "</td>";
echo "<td width='15'><img src='".THEME."images/nav-right.gif' width='16' height='26'></td></tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$subject</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div><br>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='infobar'>".newsposter($info)."</td>";
echo "<td align='right' class='infobar2'>";
echo openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td></tr></table></div></td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'>";
echo "</td></tr><tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$subject</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='infobar'>".articleposter($info)."</td>";
echo "<td align='right' class='infobar2'>";
echo openform("A",$info['article_id']).articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td></tr></table></div></td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "</tr><tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>\n";
}
function closeside() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "<td class='panel-main'>$title</td>";
echo "<td align='right' class='panel-main'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' align='right' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='13' height='26' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>";
echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td></td></tr></table>\n";
}
?>
|
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
Na tavo header yra iš dviejų dalių... Kiek jį supratau.. Reiktu visa tėma pamatyti..
Rules: 21 & 22 Read first!
Redagavo bad_user 2008 Kov. 2 20:03:40 |
Child
Narys
Tankas
Pranešimai: 1719
Įstojęs: 2008 Vas. 14 19:02:16
|
cia visa theme ir nukopinau
|
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
Aš turiu omenyje visa dizaina xD
Rules: 21 & 22 Read first! |
Child
Narys
Tankas
Pranešimai: 1719
Įstojęs: 2008 Vas. 14 19:02:16
|
Milestone
|
Žilvis
VIP narys
Terminatorius
Pranešimai: 1314
Įstojęs: 2006 Spa. 7 20:10:45
|
lovefiefka parašė:
Milestone
Lėva tema
|
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
Šita: echo "<tr><td>$header_content</td></tr>";
Keiti į echo "<tr><td><center>$header_content</center></td></tr>";
Rules: 21 & 22 Read first! |
Child
Narys
Tankas
Pranešimai: 1719
Įstojęs: 2008 Vas. 14 19:02:16
|
-killer- parašė:
lovefiefka parašė:
Milestone
Lėva tema
As ir nenoriu nieko ispudingo
|
Child
Narys
Tankas
Pranešimai: 1719
Įstojęs: 2008 Vas. 14 19:02:16
|
SoNG parašė:
Šita: echo "<tr><td>$header_content</td></tr>";
Keiti į echo "<tr><td><center>$header_content</center></td></tr>";
Nerandu kurioje vietoje pakeisti
|
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
Tiesiai po echo "<table width='100%' cellspacing='0' cellpadding='0'>";
Rules: 21 & 22 Read first! |
Child
Narys
Tankas
Pranešimai: 1719
Įstojęs: 2008 Vas. 14 19:02:16
|
nieko nepadejo
|
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
Tada: echo "<tr><td>$header_content</td></tr>";
Keisk į echo "<tr><td algin='center'>$header_content</td></tr>";
Rules: 21 & 22 Read first! |
Vilme
Narys
Kapitonas
Pranešimai: 670
Įstojęs: 2008 Vas. 17 21:02:35
|
man padejo
bet kaip sena istrynti headery nes man pasidare antras ir jis per vidury bet senas liko
|
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
Koda reikėjo ne prisdėti o pakeisti...
Rules: 21 & 22 Read first! |
Vilme
Narys
Kapitonas
Pranešimai: 670
Įstojęs: 2008 Vas. 17 21:02:35
|
Kas galit padekit,parasykit kaip turi buti kad headeris butu centre...
theme.php
<?
//************************************************************************************************************************//
// Theme Name: zoneSilver Theme for PHP-Fusion 6.00
// Theme Design: by: PHP-Fusion Themes (http://phpfusion.org)
// version 2.0
//
// PHP-Fusion Themes and/or Lorkan is a Registered Organization and holds a copyright with CIPO
// Original Author of file: PHP-Fusion Themes [Shedrock]
// Developed by: PHP-Fusion Themes - Bringing Your Portal To Life
// Copyright © 2005 by PHP-Fusion Themes - All Rights Reserved
// ----------------------------------------------------------------------
// THEME MODIFICATION
// Users may alter or modify this theme at their own risk,
// but only for their own use. They may also hire PHP-Fusion Themes to modify their own copy of the theme.
// Although users may modify the code for their use,
// modified code may not be resold or distributed,
// without express written permission from PHP-Fusion Themes.
//
// DISPLAY OF COPYRIGHT NOTICES REQUIRED
// All copyright notices used within the scripts that the scripts generate,
// MUST remain intact. Furthermore, these notices must remain visible.
//
// SUPPORT
// PHP-Fusion Themes provides free support on all their theme designs.
// (includes consulting, troubleshooting and fixing problems).
// For Support, please visit us at: http://www.phpfusion.org/forum/v...forum_id=2
//
// PHP-Fusion Themes is not liable for any products or services offered by means of the theme.
// The user must assume the entire risk of using the program.
//************************************************************************************************************************//
/************************/
/* Theme Settings */
/************************/
$body_text = "#A9B9BD";
$body_bg = "#000000";
$theme_width = "100%";
$theme_width_l = "185";
$theme_width_r = "185";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table background='".THEME."images/darkSilver_07.gif' width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='24' height='106'><img src='".THEME."images/darkSilver_03.gif' width='24' height='106'></td>";
echo "<td width='58' height='106'><img src='".THEME."images/darkSilver_06.gif' width='58' height='106'></td>";
echo "<td width='100%' align='left'><a href='index.php'>$header_content</td>";
echo "<td width='58' height='106'><img src='".THEME."images/darkSilver_11.gif' width='58' height='106'></td>";
echo "<td width='28' height='106'><img src='".THEME."images/darkSilver_13.gif' width='28' height='106'></td>";
echo "</tr></table>";
echo "<table width='100%' height='22' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='24' background='".THEME."images/darkSilver_16.gif'> </td>";
echo "<td align='left' bgcolor='222222' nowrap> </td>";
echo "<td nowrap bgcolor='222222'> <div align='left'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " <font class='content'><strong>:: </strong></font>\n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</div></td>";
echo "<td align='right' width='170' bgcolor='222222' nowrap>".ucwords(showdate($settings['subheaderdate'], time()))."</td>";
echo "<td width='28' background='".THEME."images/darkSilver_20.gif'> </td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='21'><img src='".THEME."images/darkSilver_23.gif' width='21' height='19'></td>";
echo "<td background='".THEME."images/darkSilver_24.gif'> </td>";
echo "<td width='21'><img src='".THEME."images/darkSilver_27.gif' width='21' height='19'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='15' background='".THEME."images/darkSilver_28.gif'><img src='images/spacer.gif' width='15' height='1'></td>";
echo "<td align='center' valign='top' bgcolor='#000000'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
echo "</td></tr></table><td valign='top' width='100%' bgcolor='#000000'>";
echo "<table width='100%' cellpadding='0' bgcolor='#000000' cellspacing='4' border='0'>\n";
}
function render_footer() {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<td width='16' background='".THEME."images/darkSilver_31.gif'><img src='images/spacer.gif' width='16' height='1'>";
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='35'><IMG SRC='".THEME."images/darkSilver_34.gif' WIDTH=35 HEIGHT=56 ALT=''></td>";
echo "<td class='footer' align='center' background='".THEME."images/darkSilver_35.gif'><br><br>";
if ($license == false) {
echo "Powered by <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' title='PHP-Fusion' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005";
}
echo " :: Original style by yassineb :: ";
echo <<<EOF
EOF;
echo "</td>";
echo "<td width='35'><IMG SRC='".THEME."images/darkSilver_38.gif' WIDTH=35 HEIGHT=56 ALT=''></td></tr></table></td></tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' border='0' cellspacing='0' cellpadding='6'><tr>";
echo "<td><table width='100%' height='30' border='0' cellpadding='0' cellspacing='0'>";
echo "<tr><td width='30' background='".THEME."images/darkSilverHeader_01.gif'> </td>";
echo "<td background='".THEME."images/darkSilverHeader_03.gif'><table width='100%' border='0' cellspacing='0' cellpadding='4'>";
echo "<tr><td><font class='storytitle'>$subject</font></td></tr></table></td>";
echo "<td width='30' background='".THEME."images/darkSilverHeader_05.gif'> </td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'><img src='".THEME."images/darkSilverFooter_05.gif' width='16' height='8'></td>";
echo "<td bgcolor='#000000'><table width='100%' border='0' cellspacing='0' cellpadding='4'><tr>";
echo "<td class='main-body'>$news</td></tr>";
echo "<tr><td class='news-footer'><div align='center'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])."";
echo "<hr><div align='right'>".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a></div>";
echo "</td></tr></table></td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'><img src='".THEME."images/darkSilverFooter_06.gif' width='16' height='1'>";
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'></td></tr></table></td></tr></table>";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' border='0' cellspacing='0' cellpadding='6'><tr>";
echo "<td><table width='100%' height='30' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='30' background='".THEME."images/darkSilverHeader_01.gif'> </td>";
echo "<td background='".THEME."images/darkSilverHeader_03.gif'><table width='100%' border='0' cellspacing='0' cellpadding='4'>";
echo "<tr><td><font class='storytitle'>$subject</font></td></tr></table></td>";
echo "<td width='30' background='".THEME."images/darkSilverHeader_05.gif'> </td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'><img src='".THEME."images/darkSilverFooter_05.gif' width='16' height='8'></td>";
echo "<td bgcolor='#000000'><table width='100%' border='0' cellspacing='0' cellpadding='4'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td></tr>";
echo "<tr><td class='news-footer'><div align='center'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."";
echo "<hr><div align='right'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "".$info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a></div>";
echo "</td></tr></table></td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'><img src='".THEME."images/darkSilverFooter_06.gif' width='16' height='1'>";
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'></td></tr></table></td></tr></table>";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' border='0' cellspacing='0' cellpadding='3'><tr><td>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_01.gif'></td>";
echo "<td height='25' background='".THEME."images/darkSilverHeader_03.gif'><div align='center'><font class='block-title'><strong>$title</strong></font></div></td>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_05.gif'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'></td>";
echo "<td bgcolor='#000000'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='4'><td>";
echo "<tr><td class='main-body'></td></table>";
}
// Close table end
function closetable() {
echo"</td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'>";
echo "</td></tr></table></td></tr></table>";
}
function openside($title) {
echo "<table width='100%' border='0' cellspacing='0' cellpadding='3'><tr><td>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_01.gif'></td>";
echo "<td height='25' background='".THEME."images/darkSilverHeader_03.gif'><div align='center'><font class='block-title'><strong>$title</strong></font></div></td>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_05.gif'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'></td>";
echo "<td bgcolor='#000000'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='4'><td><tr>";
echo "<td class='side-body'></td></table>";
}
function closeside() {
echo "</td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'>";
echo "</td></tr></table></td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' border='0' cellspacing='0' cellpadding='3'><tr><td>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_01.gif'></td>";
echo "<td height='25' background='".THEME."images/darkSilverHeader_03.gif'><img align='right' style='cursor:hand' onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'><div align='center'><font class='block-title'><strong>$title</strong></font></div></td>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_05.gif'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'></td>";
echo "<td bgcolor='#000000'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='4'><td><tr>";
echo "<td class='side-body'></td></table>";
echo "<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'>";
echo "</td></tr></table></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
|
Vilme
Narys
Kapitonas
Pranešimai: 670
Įstojęs: 2008 Vas. 17 21:02:35
|
Eiiiiiiiiiiiiiiiiiiiiii
nu pazekit
|
frix
VIP narys
Tankas
Pranešimai: 2051
Įstojęs: 2007 Spa. 26 18:10:46
|
headerio pradžioj įterpk align='center'. <table align='center'... /// Prajuokino tas išcentruoti DDDDD
|
Vilme
Narys
Kapitonas
Pranešimai: 670
Įstojęs: 2008 Vas. 17 21:02:35
|
meta errora...
|
frix
VIP narys
Tankas
Pranešimai: 2051
Įstojęs: 2007 Spa. 26 18:10:46
|
Vilme parašė:
meta errora...
Neįmanoma Nu sakykim headeris prasideda kodu <table... tai tu po table pridėk align='center' . <table align='center'... Kokiė dar errorai...
|
Vilme
Narys
Kapitonas
Pranešimai: 670
Įstojęs: 2008 Vas. 17 21:02:35
|
jei gali tai padaryk kaip turi but...(virsui mano theme.php)
|
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
Imk
<?
//************************************************************************************************************************//
// Theme Name: zoneSilver Theme for PHP-Fusion 6.00
// Theme Design: by: PHP-Fusion Themes (http://phpfusion.org)
// version 2.0
//
// PHP-Fusion Themes and/or Lorkan is a Registered Organization and holds a copyright with CIPO
// Original Author of file: PHP-Fusion Themes [Shedrock]
// Developed by: PHP-Fusion Themes - Bringing Your Portal To Life
// Copyright © 2005 by PHP-Fusion Themes - All Rights Reserved
// ----------------------------------------------------------------------
// THEME MODIFICATION
// Users may alter or modify this theme at their own risk,
// but only for their own use. They may also hire PHP-Fusion Themes to modify their own copy of the theme.
// Although users may modify the code for their use,
// modified code may not be resold or distributed,
// without express written permission from PHP-Fusion Themes.
//
// DISPLAY OF COPYRIGHT NOTICES REQUIRED
// All copyright notices used within the scripts that the scripts generate,
// MUST remain intact. Furthermore, these notices must remain visible.
//
// SUPPORT
// PHP-Fusion Themes provides free support on all their theme designs.
// (includes consulting, troubleshooting and fixing problems).
// For Support, please visit us at: http://www.phpfusion.org/forum/v...
//
// PHP-Fusion Themes is not liable for any products or services offered by means of the theme.
// The user must assume the entire risk of using the program.
//************************************************************************************************************************//
/************************/
/* Theme Settings */
/************************/
$body_text = "#A9B9BD";
$body_bg = "#000000";
$theme_width = "100%";
$theme_width_l = "185";
$theme_width_r = "185";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table background='".THEME."images/darkSilver_07.gif' width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='24' height='106'><img src='".THEME."images/darkSilver_03.gif' width='24' height='106'></td>";
echo "<td width='58' height='106'><img src='".THEME."images/darkSilver_06.gif' width='58' height='106'></td>";
echo "<td width='100%' align='left'><a href='index.php'><center>$header_content</center></td>";
echo "<td width='58' height='106'><img src='".THEME."images/darkSilver_11.gif' width='58' height='106'></td>";
echo "<td width='28' height='106'><img src='".THEME."images/darkSilver_13.gif' width='28' height='106'></td>";
echo "</tr></table>";
echo "<table width='100%' height='22' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='24' background='".THEME."images/darkSilver_16.gif'> </td>";
echo "<td align='left' bgcolor='222222' nowrap> </td>";
echo "<td nowrap bgcolor='222222'> <div align='left'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " <font class='content'><strong>:: </strong></font>\n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</div></td>";
echo "<td align='right' width='170' bgcolor='222222' nowrap>".ucwords(showdate($settings['subheaderdate'], time()))."</td>";
echo "<td width='28' background='".THEME."images/darkSilver_20.gif'> </td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='21'><img src='".THEME."images/darkSilver_23.gif' width='21' height='19'></td>";
echo "<td background='".THEME."images/darkSilver_24.gif'> </td>";
echo "<td width='21'><img src='".THEME."images/darkSilver_27.gif' width='21' height='19'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='15' background='".THEME."images/darkSilver_28.gif'><img src='images/spacer.gif' width='15' height='1'></td>";
echo "<td align='center' valign='top' bgcolor='#000000'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
echo "</td></tr></table><td valign='top' width='100%' bgcolor='#000000'>";
echo "<table width='100%' cellpadding='0' bgcolor='#000000' cellspacing='4' border='0'>\n";
}
function render_footer() {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<td width='16' background='".THEME."images/darkSilver_31.gif'><img src='images/spacer.gif' width='16' height='1'>";
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='35'><IMG SRC='".THEME."images/darkSilver_34.gif' WIDTH=35 HEIGHT=56 ALT=''></td>";
echo "<td class='footer' align='center' background='".THEME."images/darkSilver_35.gif'><br><br>";
if ($license == false) {
echo "Powered by <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' title='PHP-Fusion' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005";
}
echo " :: Original style by yassineb :: ";
echo <<<EOF
EOF;
echo "</td>";
echo "<td width='35'><IMG SRC='".THEME."images/darkSilver_38.gif' WIDTH=35 HEIGHT=56 ALT=''></td></tr></table></td></tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' border='0' cellspacing='0' cellpadding='6'><tr>";
echo "<td><table width='100%' height='30' border='0' cellpadding='0' cellspacing='0'>";
echo "<tr><td width='30' background='".THEME."images/darkSilverHeader_01.gif'> </td>";
echo "<td background='".THEME."images/darkSilverHeader_03.gif'><table width='100%' border='0' cellspacing='0' cellpadding='4'>";
echo "<tr><td><font class='storytitle'>$subject</font></td></tr></table></td>";
echo "<td width='30' background='".THEME."images/darkSilverHeader_05.gif'> </td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'><img src='".THEME."images/darkSilverFooter_05.gif' width='16' height='8'></td>";
echo "<td bgcolor='#000000'><table width='100%' border='0' cellspacing='0' cellpadding='4'><tr>";
echo "<td class='main-body'>$news</td></tr>";
echo "<tr><td class='news-footer'><div align='center'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])."";
echo "<hr><div align='right'>".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a></div>";
echo "</td></tr></table></td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'><img src='".THEME."images/darkSilverFooter_06.gif' width='16' height='1'>";
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'></td></tr></table></td></tr></table>";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' border='0' cellspacing='0' cellpadding='6'><tr>";
echo "<td><table width='100%' height='30' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='30' background='".THEME."images/darkSilverHeader_01.gif'> </td>";
echo "<td background='".THEME."images/darkSilverHeader_03.gif'><table width='100%' border='0' cellspacing='0' cellpadding='4'>";
echo "<tr><td><font class='storytitle'>$subject</font></td></tr></table></td>";
echo "<td width='30' background='".THEME."images/darkSilverHeader_05.gif'> </td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'><img src='".THEME."images/darkSilverFooter_05.gif' width='16' height='8'></td>";
echo "<td bgcolor='#000000'><table width='100%' border='0' cellspacing='0' cellpadding='4'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td></tr>";
echo "<tr><td class='news-footer'><div align='center'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."";
echo "<hr><div align='right'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "".$info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a></div>";
echo "</td></tr></table></td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'><img src='".THEME."images/darkSilverFooter_06.gif' width='16' height='1'>";
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'></td></tr></table></td></tr></table>";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' border='0' cellspacing='0' cellpadding='3'><tr><td>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_01.gif'></td>";
echo "<td height='25' background='".THEME."images/darkSilverHeader_03.gif'><div align='center'><font class='block-title'><strong>$title</strong></font></div></td>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_05.gif'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'></td>";
echo "<td bgcolor='#000000'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='4'><td>";
echo "<tr><td class='main-body'></td></table>";
}
// Close table end
function closetable() {
echo"</td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'>";
echo "</td></tr></table></td></tr></table>";
}
function openside($title) {
echo "<table width='100%' border='0' cellspacing='0' cellpadding='3'><tr><td>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_01.gif'></td>";
echo "<td height='25' background='".THEME."images/darkSilverHeader_03.gif'><div align='center'><font class='block-title'><strong>$title</strong></font></div></td>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_05.gif'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'></td>";
echo "<td bgcolor='#000000'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='4'><td><tr>";
echo "<td class='side-body'></td></table>";
}
function closeside() {
echo "</td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'>";
echo "</td></tr></table></td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' border='0' cellspacing='0' cellpadding='3'><tr><td>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_01.gif'></td>";
echo "<td height='25' background='".THEME."images/darkSilverHeader_03.gif'><img align='right' style='cursor:hand' onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'><div align='center'><font class='block-title'><strong>$title</strong></font></div></td>";
echo "<td width='30' height='25' background='".THEME."images/darkSilverHeader_05.gif'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_05.gif'></td>";
echo "<td bgcolor='#000000'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='4'><td><tr>";
echo "<td class='side-body'></td></table>";
echo "<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</td>";
echo "<td width='16' background='".THEME."images/darkSilverFooter_06.gif'>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_01.gif' width='16' height='13'></td>";
echo "<td height='13' background='".THEME."images/darkSilverFooter_02.gif'><img src='".THEME."images/darkSilverFooter_02.gif' width='1' height='13'></td>";
echo "<td width='16'><img src='".THEME."images/darkSilverFooter_04.gif' width='16' height='13'>";
echo "</td></tr></table></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
Rules: 21 & 22 Read first!
Redagavo bad_user 2008 Kov. 4 17:03:17 |
Vilme
Narys
Kapitonas
Pranešimai: 670
Įstojęs: 2008 Vas. 17 21:02:35
|
meta errora : Parse error: syntax error, unexpected T_STRING in /home/vertimas/public_html/themes/zoneCopper/theme.php on line 57
kas blogai?
|
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
Smailai buvo on... Bandyk dabar... x)
Rules: 21 & 22 Read first! |
Vilme
Narys
Kapitonas
Pranešimai: 670
Įstojęs: 2008 Vas. 17 21:02:35
|
db error nemeta bet nk nepasikeite del headerio
|