Navigacija

Vartotojų tinkle

Prisijungusių svečių: 92
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,963
Naujausias narys: WolfHammer

Naujausi straipsniai

Paskutiniai nariai

minimukas 4 dienos
N-20 3 savaitės
Reikalas 3 savaitės
Rytis 3 savaitės
DjArtas 5 savaitės
WolfHammer 5 savaitės
Nostesi15 savaitės
Wisedocs15 savaitės
asdasdddz19 savaitės
Paslapties K...20 savaitės
Audrius_1722 savaitės
Simbijanas35 savaitės
Karinacraft35 savaitės
Žmogus39 savaitės
Bruksnys43 savaitės
Darexs45 savaitės
Nepas46 savaitės
keistuole48 savaitės
Gizmis50 savaitės
MaFetas63 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 216.73.216.118
Naujienų: 529
Straipsnių: 235
Temų: 52,590
Postų: 522,550
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

minimukas
2026 Vas. 21 08:02:25
oi oi akinanti šypsen yra dar cia gyvu? akinanti šypsen

N-20
2026 Vas. 6 21:02:05
O mes dar gyvi šypsosi)

WolfHammer
2026 Sau. 25 01:01:35
drovus

Žmogus
2025 Geg. 31 10:05:18
Kas geresnio? šypsosi

Nepas
2025 Bal. 9 17:04:13
drovus

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
Padekit
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: klaude Peržiūrų: 859      Spausdinti temą
2010 Lap. 11 14:11:10          1 žinutė iš 2
Spausdinti pranešimą
sveiki noriu jusu teiko paprasyti ziurekit as noriu kad mano psl headirije butu prisijungimas radau siame puslapije pamoka kai tai padaryti bet tipo sako susirandame eilutes


function render_header($header_content) {
 
global $theme_width;
 
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><img src='"
.THEME."header.gif'></td>
</tr>
</table>
</td>
</tr>
</table>\n"
;
 
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
 
</tr>
</table>\n"
;
 
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
 
}

ir pakeiciam i sitas

function render_header($header_content) {
 
global $theme_width,$settings,$locale,$userdata,$aidlink;
 
echo "<table align=center class='mainsite-border' align='left' width='910' cellspacing='0' cellpadding='0'>
<tr><td class='outer-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr><td class='inner-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr align=left><td>"
;
include_once "header.php";
echo "</td></tr>
</table>\n"
;
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}

o pas mane tokiu eiluciu nera tai va mano themes.php failas

<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
 
define("THEME_WIDTH", "999");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
 
require_once INCLUDES."theme_functions_include.php";
 
function render_page($license=false) {
 
global $settings, $main_style;
 
//Header
echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center' >\n<tr>\n";
echo "<td>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td>
<td background='"
.THEME."images/itouch_02.png' height='44' width='1000'></td>
</td>
</tr></td>\n"
;
echo "</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center' >\n<tr>\n";
echo "<td>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td>
<center><img src='"
.THEME."images/itouch_04.png'><center>
</td>
</tr></td>\n"
;
echo "</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
 
echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center' >\n<tr>\n";
echo "<td>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td>
<td background='"
.THEME."images/subheader.png' height='76' width='1000' align='center'>
<a href='#'><a href='http://wdb.wu.lt/news.php'>Pagrindinis</a>&nbsp; &nbsp; &nbsp;
<a href='#'><a href='http://wdb.wu.lt/submit.php?stype=n'>Įdėti</a>&nbsp; &nbsp; &nbsp;
<a href='#'><a href='http://wdb.wu.lt/forum/index.php'>Forumas</a>&nbsp; &nbsp; &nbsp;
<a href='#'><a href='http://wdb.wu.lt/viewpage.php?page_id=2'>Veikla</a>&nbsp; &nbsp; &nbsp;
<a href='#'><a href='http://wdb.wu.lt/viewpage.php?page_id=7'>Komanda</a>&nbsp; &nbsp; &nbsp;
<a href='#'><a href='http://wdb.wu.lt/infusions/ls_tinychat_panel/ls_tinychat.php'>Šaukykla</a>&nbsp; &nbsp; &nbsp;
<a href='#'><a href='http://wdb.wu.lt/viewpage.php?page_id=3'>Parama</a>&nbsp; &nbsp; &nbsp;
<a href='#'><a href='http://wdb.wu.lt/viewpage.php?page_id=60'>Reklama</a>&nbsp; &nbsp; &nbsp;
</td>
</td>
 
</td>
</tr></td>\n"
;
echo "</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
 
echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center' >\n<tr>\n";
echo "<td>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td>
 
</tr></td>\n"
;
echo "</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
 
 
echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center' >\n<tr>\n";
echo "<td>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td>
<img src='"
.THEME."images/klaude.bmp'>
</td>
</tr></td>\n"
;
echo "</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
 
//Content
echo "<table cellpadding='0' cellspacing='0' align='center' width='999' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
 
//Footer
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' align='center' width='999'>\n<tr>\n";
echo "<td background='".THEME."images/itouch_32.png' height='100' align='center'><a href='http://wdb.wu.lt'>WDB.wu.lt</a></td></td>\n";
echo "</td>\n</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
 
}
 
function render_news($subject, $news, $info) {
 
echo "<table cellpadding='0' cellspacing='0' align='center' width='500'>\n<tr>\n";
echo "<td background='".THEME."images/blekat_01.png' height='33' class='capmain'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td background='".THEME."images/blekat_02.png' class='main-body'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td background='".THEME."images/foot.png' height='34' align='center'>\n";;
echo "</td>\n</tr>\n</table>\n";
 
}
 
function render_article($subject, $article, $info) {
 
echo "<table cellpadding='0' cellspacing='0' align='center' width='500'>\n<tr>\n";
echo "<td background='".THEME."images/blekat_01.png' height='33' class='capmain'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td background='".THEME."images/blekat_02.png' class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td background='".THEME."images/foot.png' height='34' align='center' >\n";
echo "</td>\n</tr>\n</table>\n";
 
}
 
function opentable($title) {
 
echo "<table cellpadding='0' cellspacing='0' width='500' align='center'>\n<tr>\n";
echo "<td background='".THEME."images/blekat_01.png' height='33' class='capmain'>".$title."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td background='".THEME."images/blekat_02.png' class='main-body'>\n";
 
 
 
}
function closetable() {
 
echo "<td background='".THEME."images/foot.png' height='34' align='center' >\n";
echo "</td>\n</tr>\n</table><br>\n";
 
}
 
function openside($title, $collapse = false, $state = "on") {
 
global $panel_collapse; $panel_collapse = $collapse;
 
echo "<table cellpadding='0' cellspacing='0' width='272' class='border'>\n<tr>\n";
echo "<td background='".THEME."images/panel_01.png' height='37' class='scapmain'>".$title."</td>\n";
echo "<td background='".THEME."images/panel_03.png' height='20'></td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";
}
echo "</tr>\n<tr>\n";
echo "<td".($collapse == true ? " colspan='2'" : "")." background='".THEME."images/panel_02.png' class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
 
}
 
function closeside($collapse = false) {
 
global $panel_collapse;
 
echo"<td background='".THEME."images/panel_03.png' height='20'></td>\n";
echo "</td>\n</tr>\n</table>\n";
 
}
?>
ir db noriu kad idetumete ta koda i themes.php tiksliau i themes.php headeri bet pastaba idekit i paveiksleli itouch_04 buciau lb dekingas taigi iskarto dekoju


1 atsakymas:
cofi
Narys
Žalias

Pranešimai: 19
Įstojęs: 2010 Lap. 10 08:11:50
2010 Lap. 12 13:11:33          2 žinutė iš 2
Spausdinti pranešimą
pamegink sita imeciau ta koda belenkur ir turetu veikt šypsosi

<?php

if (!defined("IN_FUSION")) { die("Access Denied"); }

 

define("THEME_WIDTH", "999");

define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");

 

require_once INCLUDES."theme_functions_include.php";

 

function render_page($license=false) {

 

   global $settings, $main_style;

 

   //Header

   echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center' >\n<tr>\n";

   echo "<td>\n";

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

   echo "<td>

<td background='".THEME."images/itouch_02.png' height='44' width='1000'></td>

</td>   

   </tr></td>\n";

   echo "</tr>\n</table>\n";

   echo "</td>\n</tr>\n</table>\n";

   echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center' >\n<tr>\n";

   echo "<td>\n";

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

   echo "<td>

<center><img src='".THEME."images/itouch_04.png'><center>

</td>

   </tr></td>\n";

   echo "</tr>\n</table>\n";

   echo "</td>\n</tr>\n</table>\n";

 

   echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center' >\n<tr>\n";

   echo "<td>\n";

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

   echo "<td>

<td background='".THEME."images/subheader.png' height='76' width='1000' align='center'>

<a href='#'><a href='http://wdb.wu.lt/news.php'>Pagrindinis</a>&nbsp; &nbsp; &nbsp;

<a href='#'><a href='http://wdb.wu.lt/submit.php?stype=n'>Įdėti</a>&nbsp; &nbsp; &nbsp;

<a href='#'><a href='http://wdb.wu.lt/forum/index.php'>Forumas</a>&nbsp; &nbsp; &nbsp;

<a href='#'><a href='http://wdb.wu.lt/viewpage.php?page_id=2'>Veikla</a>&nbsp; &nbsp; &nbsp;

<a href='#'><a href='http://wdb.wu.lt/viewpage.php?page_id=7'>Komanda</a>&nbsp; &nbsp; &nbsp;

<a href='#'><a href='http://wdb.wu.lt/infusions/ls_tinychat_panel/ls_tinychat.php'>Šaukykla</a>&nbsp; &nbsp; &nbsp;

<a href='#'><a href='http://wdb.wu.lt/viewpage.php?page_id=3'>Parama</a>&nbsp; &nbsp; &nbsp;

<a href='#'><a href='http://wdb.wu.lt/viewpage.php?page_id=60'>Reklama</a>&nbsp; &nbsp; &nbsp;

</td>

</td>

 

</td>

   </tr></td>\n";

   echo "</tr>\n</table>\n";

   echo "</td>\n</tr>\n</table>\n";

 

   echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center' >\n<tr>\n";

   echo "<td>\n";

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

   echo "<td>

 

   </tr></td>\n";

   echo "</tr>\n</table>\n";

   echo "</td>\n</tr>\n</table>\n";

 

 

   echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center' >\n<tr>\n";

   echo "<td>\n";

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

   echo "<td>

<img src='".THEME."images/klaude.bmp'>

</td>

   </tr></td>\n";

   echo "</tr>\n</table>\n";

   echo "</td>\n</tr>\n</table>\n";

 
function render_header($header_content) {

 

global $theme_width,$settings,$locale,$userdata,$aidlink;

 

echo "<table align=center class='mainsite-border' align='left' width='910' cellspacing='0' cellpadding='0'>

<tr><td class='outer-border'>

<table align='center' width='100%' cellspacing='0' cellpadding='0'>

<tr><td class='inner-border'>

<table align='center' width='100%' cellspacing='0' cellpadding='0'>

<tr align=left><td>";

include_once "header.php";

echo "</td></tr>

</table>\n";

echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";

}



   //Content

   echo "<table cellpadding='0' cellspacing='0' align='center' width='999' class='$main_style'>\n<tr>\n";

   if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }

   echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";

   if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }

   echo "</tr>\n</table>\n";

 

   //Footer

   echo "</tr>\n</table>\n";

   echo "<table cellpadding='0' cellspacing='0' align='center' width='999'>\n<tr>\n";

   echo "<td background='".THEME."images/itouch_32.png' height='100' align='center'><a href='http://wdb.wu.lt'>WDB.wu.lt</a></td></td>\n";

   echo "</td>\n</tr>\n</table>\n";

   echo "</td>\n</tr>\n</table>\n";

 

}

 

function render_news($subject, $news, $info) {

 

   echo "<table cellpadding='0' cellspacing='0' align='center' width='500'>\n<tr>\n";

   echo "<td background='".THEME."images/blekat_01.png' height='33' class='capmain'>".$subject."</td>\n";

   echo "</tr>\n<tr>\n";

   echo "<td  background='".THEME."images/blekat_02.png' class='main-body'>".$news."</td>\n";

   echo "</tr>\n<tr>\n";

   echo "<td background='".THEME."images/foot.png' height='34'  align='center'>\n";;

   echo "</td>\n</tr>\n</table>\n";

 

}

 

function render_article($subject, $article, $info) {

 

   echo "<table cellpadding='0' cellspacing='0' align='center' width='500'>\n<tr>\n";

   echo "<td background='".THEME."images/blekat_01.png' height='33' class='capmain'>".$subject."</td>\n";

   echo "</tr>\n<tr>\n";

   echo "<td background='".THEME."images/blekat_02.png' class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";

   echo "</tr>\n<tr>\n";

   echo "<td background='".THEME."images/foot.png' height='34' align='center' >\n";

   echo "</td>\n</tr>\n</table>\n";

 

}

 

function opentable($title) {

 

   echo "<table cellpadding='0' cellspacing='0' width='500' align='center'>\n<tr>\n";

   echo "<td background='".THEME."images/blekat_01.png' height='33' class='capmain'>".$title."</td>\n";

   echo "</tr>\n<tr>\n";

   echo "<td background='".THEME."images/blekat_02.png' class='main-body'>\n";

 

 

 

}

function closetable() {

 

   echo "<td background='".THEME."images/foot.png' height='34' align='center' >\n";

   echo "</td>\n</tr>\n</table><br>\n";

 

}

 

function openside($title, $collapse = false, $state = "on") {

 

   global $panel_collapse; $panel_collapse = $collapse;

 

   echo "<table cellpadding='0' cellspacing='0' width='272' class='border'>\n<tr>\n";

   echo "<td background='".THEME."images/panel_01.png' height='37' class='scapmain'>".$title."</td>\n";

        echo "<td background='".THEME."images/panel_03.png' height='20'></td>\n";

   if ($collapse == true) {

      $boxname = str_replace(" ", "", $title);

      echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";

   }

   echo "</tr>\n<tr>\n";

   echo "<td".($collapse == true ? " colspan='2'" : "")." background='".THEME."images/panel_02.png' class='side-body'>\n";   

   if ($collapse == true) { echo panelstate($state, $boxname); }

 

}

 

function closeside($collapse = false) {

 

   global $panel_collapse;

 

   echo"<td background='".THEME."images/panel_03.png' height='20'></td>\n";    

   echo "</td>\n</tr>\n</table>\n";

 

}

?>



0Geriausias atsakymas

Peršokti į forumą: