Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,953
Naujausias narys: Quwqkibor

Naujausi straipsniai

Paskutiniai nariai

Memento Mori 2 savaitės
ozzWANTED 3 savaitės
Quwqkibor 5 savaitės
asirija 9 savaitės
tomeem11 savaitės
Reikalas12 savaitės
weberiz14 savaitės
mRokass16 savaitės
kartoonas17 savaitės
iaescortsmap18 savaitės
grunskiz20 savaitės
Bruksnys21 savaitės
illusion21 savaitės
ordo22 savaitės
Jurgaila22 savaitės
originalcs1622 savaitės
Rytis23 savaitės
halis25 savaitės
junkus27 savaitės
morlis28 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 18.225.235.230
Naujienų: 529
Straipsnių: 235
Temų: 52,585
Postų: 522,523
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.

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Žmogus
2023 Rugs. 7 21:09:14
O gal BloodKiller pasijungs?

Apocal
2023 Rugs. 2 18:09:23
Nu davai nuveikiam kažką akinanti šypsen. Prisijungti kada visi čia akinanti šypsen.

Apocal
2023 Rugs. 2 00:09:18
Šiaip atėjau pažiūrėti ar dar lopas nesby yra ar koks ten buvo.

Š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
subheader
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes

Autorius: _Tomas Peržiūrų: 3599      Spausdinti temą
2008 Geg. 11 13:05:05          1 žinutė iš 18
Spausdinti pranešimą
Taigi iškilo problema įdėti subheader mygtukus po headeriu.

Štai kodas kuri noriu įdėti:

echo "<table align='center' cellpadding='0' cellspacing='0' width='767'>\n<tr>
<td><img src='".THEME."images/sub.png' usemap='#sub' width='767' height='34' border='0'></td>
<map id='sub' name='sub'>
<area shape='rect' coords=104,1,189,32' href='".BASEDIR."index.php'>
<area shape='rect' coords='209,1,277,32' href='".BASEDIR."downloads.php'>
<area shape='rect' coords='312,1,380,32' href='".BASEDIR."forum/index.php'>
<area shape='rect' coords='403,1,466,32' href='".BASEDIR."photogallery.php'>
<area shape='rect' coords='495,1,574,32' href='".BASEDIR."articles.php'>
<area shape='rect' coords='597,1,671,32' href='".BASEDIR."contact.php'>
</map></td>
</tr>
</table>\n"




Štai theme.php [ reikia kad butu po headeriu ]

<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
// theme settings
$body_text = "#888888";
$body_bg = "#000000";
$theme_width = "90%";
$theme_width_l = "170";
$theme_width_r = "170";

function render_header($header_content) {

global $theme_width,$settings;

echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>
    <tr>
        <td>
            <table width='100%' cellspacing='0' cellpadding='0'>
                <tr>
                    <td class='full-header' style='padding:5px;'>
                        <table width='100%' cellspacing='0' cellpadding='0'>
                            <tr>
                                <td>$header_content</td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>

            <table width='100%' cellspacing='0' cellpadding='0'>
                <tr>
                    <td class='white-header'>\n";
                        $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 " &middot;\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.">".$data['link_name']."</a>";
                                    } else {
                                       echo "<a href='".BASEDIR.$data['link_url']."'".$link_target.">".$data['link_name']."</a>";
                                    }
                                 }
                                 $i++;
                              }
                           }
                        }
}

function render_footer($license=false) {

global $theme_width,$settings,$locale;

echo "
                </tr>
            </table>

            <table cellpadding='0' cellspacing='0' width='100%'>
                <tr>
                    <td class='white-header'>".stripslashes($settings['footer'])."</td>
                </tr>
            </table>
            <table cellpadding='0' cellspacing='0' width='100%'>
                <tr>
                    <td align='center' class='full-header'><br>
                        ".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br><br>\n");
                        if ($license == false) {
                           echo "Powered by <a href='http://www.php-fusion.co.uk' target='_blank'><img src='".THEME."images/fusion.gif' alt='PHP-Fusion' title='PHP-Fusion' border='0' style='vertical-align:middle;'></a> v".$settings['version']." &copy; 2008<br><br>\n";
                        }
                        echo "
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>\n";

}


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

global $locale;

echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
    <tr>
        <td>
            <table width='100%' cellpadding='0' cellspacing='0'>
                <tr>
                    <td class='capmain'>$subject</td>
                </tr>
                <tr>
                    <td class='main-body'>
                        $news
                    </td>
                </tr>
                <tr>
                    <td align='right' class='news-footer'>
                        <img src='".THEME."images/bullet.gif' alt='&middot;'>
                        ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
                        ".$locale['041'].showdate("longdate", $info['news_date'])." &middot;
                        ".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> &middot;\n" : "");
                        if ($info['news_allow_comments']) echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> &middot;\n";
                        echo $info['news_reads'].$locale['044']."
                        <a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>\n";

}

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

global $locale;

echo "
<table width='100%' cellpadding='0' cellspacing='0' class='border'>
    <tr>
        <td>
            <table width='100%' cellpadding='0' cellspacing='0'>
                <tr>
                    <td class='capmain'>$subject</td>
                </tr>
                <tr>
                    <td class='main-body'>
                        ".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
                    </td>
                </tr>
                <tr>
                    <td class='news-footer'>
                        <img src='".THEME."images/bullet.gif' alt='&middot;'>
                        ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
                        ".$locale['041'].showdate("longdate", $info['article_date'])." &middot;\n";
                        if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." &middot;\n";
                        echo $info['article_reads'].$locale['044']."
                        <a href='print.php?type=A&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
    <tr>
        <td>
            <table width='100%' cellpadding='0' cellspacing='0'>
                <tr>
                    <td class='capmain'>$title</td>
                </tr>
                <tr>
                    <td class='main-body'>\n";

            }

function closetable() {

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

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
    <tr>
        <td>
            <table width='100%' cellpadding='0' cellspacing='0'>
                <tr>
                    <td class='scapmain'>$title</td>
                </tr>
                <tr>
                    <td class='side-body'>\n";

}

function closeside() {

echo "
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>\n";
tablebreak();

}

function opensidex($title,$open="on") {

if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
    <tr>
        <td>
            <table width='100%' cellpadding='0' cellspacing='0'>
                <tr>
                    <td class='scapmain'>$title</td>
                    <td class='scapmain' align='right'>
                        <img onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'>
                    </td>
                </tr>
                <tr>
                    <td colspan='2' class='side-body'>
                        <div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";

}

function closesidex() {

echo "
                        </div>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>\n";
tablebreak();

}

function tablebreak() {

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

}
?>







Redagavo _Tomas 2008 Geg. 11 13:05:28
2008 Geg. 11 13:05:25          2 žinutė iš 18
Spausdinti pranešimą
Krauk po:

                    <td align='right' class='white-header'>".ucwords(showdate("%A, %B %d, %Y", time()))."</td>
                </tr>
            </table>




šypsosi

Rules: 21 & 22 Read first!
2008 Geg. 11 13:05:54          3 žinutė iš 18
Spausdinti pranešimą
SoNG parašė:
Krauk po:

                    <td align='right' class='white-header'>".ucwords(showdate("%A, %B %d, %Y", time()))."</td>
                </tr>
            </table>




šypsosi

Atrodys negraziai, bus tarpas tarp headerio ir mygtuku, ten kur laikrodis, nebent issiimsi laikrodimerkia akį

greitieji kreditai
2008 Geg. 11 13:05:13          4 žinutė iš 18
Spausdinti pranešimą
function render_header($header_content) {

global $theme_width,$settings;

echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='full-header' style='padding:5px;'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td>$header_content</td>
</tr>
</table>
</td>
</tr>
</table>


echo "<table align='center' cellpadding='0' cellspacing='0' width='767'>\n<tr>
<td><img src='".THEME."images/sub.png' usemap='#sub' width='767' height='34' border='0'></td>
<map id='sub' name='sub'>
<area shape='rect' coords=104,1,189,32' href='".BASEDIR."index.php'>
<area shape='rect' coords='209,1,277,32' href='".BASEDIR."downloads.php'>
<area shape='rect' coords='312,1,380,32' href='".BASEDIR."forum/index.php'>
<area shape='rect' coords='403,1,466,32' href='".BASEDIR."photogallery.php'>
<area shape='rect' coords='495,1,574,32' href='".BASEDIR."articles.php'>
<area shape='rect' coords='597,1,671,32' href='".BASEDIR."contact.php'>
</map></td>
</tr>
</table>\n"



<td align='right' class='white-header'>".ucwords(showdate("%A, %B %d, %Y", time()))."</td>
</tr>
</table>

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

}

Gali būt blogai, neina man dėti kodų, kai nematau rezultato iškart. :| Taipogi nunešiau dalį kodo, nes ten kažkokia nereikalinga pisnia. :s

[galingų saliutų foto]
Redagavo Toonis 2008 Geg. 11 13:05:59
2008 Geg. 11 14:05:09          5 žinutė iš 18
Spausdinti pranešimą
SoNG

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/useris/saitas.lt/themes/Darken/theme.php on line 55

Toonis

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/useris/saitas.lt/themes/Darken/theme.php on line 30

2008 Geg. 11 14:05:38          6 žinutė iš 18
Spausdinti pranešimą
Savizudiss parašė:
Toonis

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/useris/saitas.lt/themes/Darken/theme.php on line 30


function render_header($header_content) {

global $theme_width,$settings;

echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='full-header' style='padding:5px;'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td>$header_content</td>
</tr>
</table>
</td>
</tr>
</table>


echo "<table align='center' cellpadding='0' cellspacing='0' width='767'>\n<tr>
<td><img src='".THEME."images/sub.png' usemap='#sub' width='767' height='34' border='0'></td>
<map id='sub' name='sub'>
<area shape='rect' coords=104,1,189,32' href='".BASEDIR."index.php'>
<area shape='rect' coords='209,1,277,32' href='".BASEDIR."downloads.php'>
<area shape='rect' coords='312,1,380,32' href='".BASEDIR."forum/index.php'>
<area shape='rect' coords='403,1,466,32' href='".BASEDIR."photogallery.php'>
<area shape='rect' coords='495,1,574,32' href='".BASEDIR."articles.php'>
<area shape='rect' coords='597,1,671,32' href='".BASEDIR."contact.php'>
</map></td>
</tr>
</table>\n";



<td align='right' class='white-header'>".ucwords(showdate("%A, %B %d, %Y", time()))."</td>
</tr>
</table>

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

}


2008 Geg. 11 14:05:29          7 žinutė iš 18
Spausdinti pranešimą
Kam tu meti tą patį kodą jeigu neveikia.

Klaida: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/useris/saitas.lt/themes/Darken/theme.php on line 30

2008 Geg. 11 14:05:12          8 žinutė iš 18
Spausdinti pranešimą
Savizudiss parašė:
Kam tu meti tą patį kodą jeigu neveikia.

Klaida: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/useris/saitas.lt/themes/Darken/theme.php on line 30

Ne tą patį :> Praleidau dar vieną klaidą.

function render_header($header_content) {

global $theme_width,$settings;

echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='full-header' style='padding:5px;'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td>$header_content</td>
</tr>
</table>
</td>
</tr>
</table>";


echo "<table align='center' cellpadding='0' cellspacing='0' width='767'>\n<tr>
<td><img src='".THEME."images/sub.png' usemap='#sub' width='767' height='34' border='0'></td>
<map id='sub' name='sub'>
<area shape='rect' coords=104,1,189,32' href='".BASEDIR."index.php'>
<area shape='rect' coords='209,1,277,32' href='".BASEDIR."downloads.php'>
<area shape='rect' coords='312,1,380,32' href='".BASEDIR."forum/index.php'>
<area shape='rect' coords='403,1,466,32' href='".BASEDIR."photogallery.php'>
<area shape='rect' coords='495,1,574,32' href='".BASEDIR."articles.php'>
<area shape='rect' coords='597,1,671,32' href='".BASEDIR."contact.php'>
</map></td>
</tr>
</table>\n";



echo "<td align='right' class='white-header'>".ucwords(showdate("%A, %B %d, %Y", time()))."</td>
</tr>
</table>

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

}



Redagavo mrZilvi 2008 Geg. 11 14:05:32
2008 Geg. 11 14:05:17          9 žinutė iš 18
Spausdinti pranešimą
Ir vėl taspats. blogaiblogai Atsisiūsk dreamviewer ir bandyk kaišiot kodąmerkia akį

greitieji kreditai
2008 Geg. 11 14:05:05          10 žinutė iš 18
Spausdinti pranešimą
WantedBoy parašė:
Ir vėl taspats. blogaiblogai Atsisiūsk dreamviewer ir bandyk kaišiot kodąmerkia akį

Bandyk dar kartą tą paskutinį kur parašiau, paredagavau. Sekmadieniais į kodą geriau nežiūrėt man papa

2008 Geg. 11 14:05:33          11 žinutė iš 18
Spausdinti pranešimą
Buvai toks kietas, kad moki viską, o čia jau tau didžiausia bėda akinanti šypsen Siūskis programą ir bandyk, ojei sekmadieniais į kodą tau geriau nežiūret, tai lauk Pirmadieniomerkia akį

greitieji kreditai
2008 Geg. 11 15:05:50          12 žinutė iš 18
Spausdinti pranešimą
Įsidėjau be jūsų

2008 Geg. 11 15:05:49          13 žinutė iš 18
Spausdinti pranešimą
Nu pasakyk kur klaida buvo.

greitieji kreditai
2008 Geg. 11 15:05:32          14 žinutė iš 18
Spausdinti pranešimą
Savizudiss parašė:
Įsidėjau be jūsų


Tai čia daug kas gali įsidėti kai iškart pamato rezultatą. ;}

[galingų saliutų foto]
2008 Geg. 11 15:05:33          15 žinutė iš 18
Spausdinti pranešimą
įsidėjau bet theme praplėčiau be žado blogai

2008 Geg. 11 15:05:43          16 žinutė iš 18
Spausdinti pranešimą
Krc atrašai tai nesuprask, kodėl praplėtiai ir t.t. Gal img perdideli?

greitieji kreditai
2008 Geg. 11 15:05:07          17 žinutė iš 18
Spausdinti pranešimą
WantedBoy tavęs pradėjau visiškai nesuprasti. Kas tau darosi žmogau? Reikėjo tik keliose vietose pakeisti iš " į ' ir viskas.

2008 Geg. 11 15:05:30          18 žinutė iš 18
Spausdinti pranešimą
Aš irgi pastebėjau kad kuo toliau tuo daugiau pjauna grybą šypsosi

Rules: 21 & 22 Read first!
Peršokti į forumą: