Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,959
Naujausias narys: Simbijanas

Naujausi straipsniai

Paskutiniai nariai

Reikalas 2 savaitės
Simbijanas10 savaitės
Karinacraft10 savaitės
Žmogus14 savaitės
Bruksnys18 savaitės
Darexs20 savaitės
Nepas21 savaitės
keistuole23 savaitės
Gizmis25 savaitės
Rytis34 savaitės
MaFetas38 savaitės
ozzWANTED40 savaitės
saulyzas42 savaitės
TOMIJUS43 savaitės
Jaunelis58 savaitės
lanis58 savaitės
And2s59 savaitės
Memento Mori64 savaitės
Quwqkibor67 savaitės
asirija70 savaitės

Informacija:


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

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

Nepas
2025 Bal. 9 17:04:13
drovus

Nepas
2025 Bal. 9 17:04:08
drovus

Gizmis
2025 Kov. 15 14:03:50
OMG, smagu matyt sita puslapi veikianti

ozzWANTED
2024 Lap. 30 15:11:14
Taip, vis dar up šypsosi

Š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
Šaliname headerį(antraštę)
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: Paul McCartney Peržiūrų: 1897      Spausdinti temą
2008 Vas. 8 13:02:02          1 žinutė iš 9
Spausdinti pranešimą
Laba diena.
Taigi šiandien norėjau paklausti kaip iš theme`os išimti headerį,kad jo neliktų.
Štai theme.php failas:

<?php
/*************************************\
|    Copyright by eXtreme Themes                             |
|    Coded by RaFiK (http://rafik.extreme-fusion.pl)   |
|    Design by http://projektowanie.netarteria.eu      |
**************************************/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// Ustawienia
$body_text = "#000000";
$body_bg = "#FFFFFF";
$theme_width = "896";
$theme_width_l = "228";
$theme_width_r = "228";

// Wy³aczanie prawych paneli na forum
$theme_panels_exclude = array("./forum/");

function render_header($header_content) {
global $theme_width,$settings, $locale, $userdata, $aidlink, $db_prefix ,$loginerror;
   echo "<table align='center' cellpadding='0' cellspacing='0' width='100%' height='100%'>
      <tr>
         <td style='background: #a66956 url(".THEME."images/bok_l.jpg) repeat-y; background-position: right;' width='50%' height='100%'></td>
         <td width='896' height='100%'>
         <table width='896' height='260' border='0' cellpadding='0' cellspacing='0' align='center'>
            <tr>
               <td width='263' height='153' style='background: url(".THEME."images/top_01.jpg);'>";
               include THEME."panel_usera.php";
               echo "</td>
               <td width='633' height='198' rowspan='2' style='background: url(".THEME."images/top.jpg);'>
               <div align='right' id='clockbar' style='padding: 0px 10px 180px 0px'>
               <div id='Clock'></div><script type='text/javascript'>
               <!--
               var DayNam = new Array(
               'niedziel&#234;','poniedzia³ek','wtorek','¶rod&#234;','czwartek','pi±tek','sobot&#234;');
               var MnthNam = new Array(
               'Stycznia','Lutego','Marca','Kwietnia','Maja','Czerwca','Lipca','Sierpnia','Wrze¶nia','Pa¼dziernika','Listopada','Grudnia');
               //-->
               </script>
               <script type='text/javascript' src='".THEME."clock/clock.js'></script></div></td>
            </tr>
            <tr>
               <td width='263' height='45'><img src='".THEME."images/top_03.jpg' width='263' height='45' alt='' ></td>
            </tr>
            <tr>
               <td width='896' height='27' colspan='2' style='background: url(".THEME."images/top_04.jpg);'><div class='nav'>".showsublinks("<img src='".THEME."images/blank.gif' width='35' height='1'>","navigation")."</div></td>
            </tr>
            <tr>
               <td width='896' height='35' colspan='2'><img src='".THEME."images/top_05.jpg' width='896' height='35' alt='' ></td>
            </tr>
         </table>
         <table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>
            <tr>";
}

function render_footer($license=false) {
global $theme_width, $settings;
   echo "      </tr>
         </table>
         <table width='896' height='64' border='0' cellpadding='0' cellspacing='0' align='center'>
            <tr>
               <td style='background: url(".THEME."images/tlo.jpg) repeat-y; width='896' height='20'></td>
            </tr>
            <tr>
               <td width='896' height='32' style='background: url(".THEME."images/stopka_01.jpg)'>
               <div style='float: left; width: 300px; margin-left:30px; color: #ffffff'>wykonanie: <a href='http://rafik.extreme-fusion.pl' title='RaFiK Blog' target='_blank'><font color='white'>rafik</font></a> | grafika: <a href='http://projektowanie.netarteria.eu' title='Projektowanie Stron' target='_blank'><font color='white'>projektowanie.netarteria.eu</font></a></div>
               <div style='float: right; width: 200px; margin-right:30px; text-align:right; color: #ffffff'>engine: <a href='http://extreme-fusion.pl' title='eXtreme-Fusion' target='_blank'><font color='white'>extreme-fusion</font></a></div></td>
            </tr>
            <tr>
               <td width='896' height='32' style='background: url(".THEME."images/stopka_02.jpg)'><center>tu moze byæ twój link // tu moze byæ twój link // tu moze byæ twój link // tu moze byæ twój link</center></td>
            </tr>
         </table>
         </td>
         <td style='background: #a66956 url(".THEME."images/bok_p.jpg) repeat-y; background-position: left;' width='50%' height='100%'></td>
      </tr>
   </table>";
}

function render_news($subject, $news, $info) {
$subject = strip_tags($subject);
   echo "<table width='100%' cellpadding='0' cellspacing='0'>
      <tr>
         <td height='10'></td>
      </tr>
      <tr>
         <td width='100%' style='text-align:center'><b>$subject</b></td>
      </tr>
      <tr>
         <td align='center' style='text-align:center'>Parase <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> | <a href='news.php?readmore=".$info['news_id']."'>Komentaru (".$info['news_comments'].")</a></td>
      </tr>
      <tr>
         <td height='3'></td>
      </tr>
      <tr>
         <td style='padding: 0px 10px 0px 10px'><hr></td>
      </tr>
      <tr>
         <td height='3'></td>
      </tr>
      <tr>
         <td style='text-align:justify; padding: 0px 10px 0px 10px'>$news</td>
      </tr>
      <tr>
         <td height='30'></td>
      </tr>
   </table>";
}

function render_article($subject, $article, $info) {
$subject = strip_tags($subject);
   echo "<table width='100%' cellpadding='0' cellspacing='0'>
      <tr>
         <td height='10'></td>
      </tr>
      <tr>
         <td width='100%' style='padding-left: 25px'>$subject</td>
      </tr>
      <tr>
         <td height='3'></td>
      </tr>
      <tr>
         <td><hr></td>
      </tr>
      <tr>
         <td height='3'></td>
      </tr>
      <tr>
         <td style='text-align:justify; padding: 0px 10px 0px 10px'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
      </tr>
      <tr>
         <td align='center' class='main-body'><hr>";
         echo openform("A",$info['article_id']).articleposter($info," &middot;").articleopts($info," &middot;").closeform("A",$info['article_id']);
         echo "</td>
      </tr>
   </table>";
}

function opentable($title) {
$title = strtolower($title);
   echo "<table width='100%' cellpadding='0' cellspacing='0'>
      <tr>
         <td width='100%' style='padding-left: 25px'>$title</td>
      </tr>
      <tr>
         <td height='3'></td>
      </tr>
      <tr>
         <td><hr></td>
      </tr>
      <tr>
         <td height='3'></td>
      </tr>
      <tr>
         <td class='main-body'>\n";

}

function closetable() {
         echo "</td>
      </tr>
   </table>";
}

function openside($title) {
global $p_data;
$title = strtolower($title);
   if ($p_data['panel_side'] == 4) {
      echo "<table width='228' cellpadding='0' cellspacing='0'>
         <tr>
            <td width='228' height='40' style='background-image: url(".THEME."images/panel_pg.jpg); padding: 15px 10px 0px 20px' colspan='2'>$title</td>
         </tr>
         <tr>
            <td align='right' width='10' style='background-image: url(".THEME."images/panel_pb.jpg)'></td>
            <td width='217' style='padding: 10px 10px 0px 25px'>";
   }else{
      echo "<table width='228' cellpadding='0' cellspacing='0'>
         <tr>
            <td width='228' height='40' style='background-image: url(".THEME."images/panel_lg.jpg); padding: 15px 10px 0px 15px' colspan='2'>$title</td>
         </tr>
         <tr>
            <td width='217' style='padding: 10px 7px 0px 20px'>";
   }
}

function closeside() {
global $p_data;
   if ($p_data['panel_side'] == 4) {
            echo "</td>
         </tr>
      </table>\n";
   }else{
            echo "</td>
            <td align='left' width='10' style='background-image: url(".THEME."images/panel_lb.jpg)'></td>
         </tr>
      </table>\n";
   }
}

function opensidex($title,$state="on") {
global $p_data;
$boxname = str_replace(" ", "", $title);
$title = strtolower($title);
   if ($p_data['panel_side'] == 4) {
      echo "<table width='228' cellpadding='0' cellspacing='0'>
         <tr>
            <td width='228' height='40' style='background-image: url(".THEME."images/panel_pg.jpg); padding: 15px 10px 0px 20px' colspan='2'>
            <div style='float: left' width='90%'>$title</div>
            <div style='float: right' width='5%'>".panelbutton($state,$boxname)."</div></td>
         </tr>
         <tr>
            <td align='right' width='10' style='background-image: url(".THEME."images/panel_pb.jpg)'></td>
            <td width='217' style='padding: 10px 10px 0px 25px'>
            <div id='box_$boxname'".($state=="off"?" style='display:none'":"").">";
   }else{
      echo "<table width='228' cellpadding='0' cellspacing='0'>
         <tr>
            <td width='228' height='40' style='background-image: url(".THEME."images/panel_lg.jpg); padding: 15px 10px 0px 15px' colspan='2'><div style='float: left' width='90%'>$title</div>
            <div style='float: right' width='5%'>".panelbutton($state,$boxname)."</div></td>
         </tr>
         <tr>
            <td width='217' style='padding: 10px 7px 0px 20px'>
            <div id='box_$boxname'".($state=="off"?" style='display:none'":"").">";
   }
}

function closesidex() {
global $p_data;
if ($p_data['panel_side'] == 4) {
            echo "</div></td>
         </tr>
      </table>";
   }else{
            echo "</div></td>
            <td align='left' width='10' style='background-image: url(".THEME."images/panel_lb.jpg)'></td>
         </tr>
      </table>";
   }
}

function tablebreak() {
   echo "<table width='100%' cellspacing='0' cellpadding='0'>
      <tr>
         <td height='8'></td>
      </tr>
   </table>";
}
?>






Paul McCartney prisegtu failu:
theme_12.rar

Redagavo Paul McCartney 2008 Vas. 8 13:02:40
2008 Vas. 8 13:02:59          2 žinutė iš 9
Spausdinti pranešimą
arba sita istrynk
echo "<table align='center' cellpadding='0' cellspacing='0' width='100%' height='100%'>
      <tr>
         <td style='background: #a66956 url(".THEME."images/bok_l.jpg) repeat-y; background-position: right;' width='50%' height='100%'></td>
         <td width='896' height='100%'>
         <table width='896' height='260' border='0' cellpadding='0' cellspacing='0' align='center'>
            <tr>
               <td width='263' height='153' style='background: url(".THEME."images/top_01.jpg);'>";
               include THEME."panel_usera.php";
               echo "</td>
               <td width='633' height='198' rowspan='2' style='background: url(".THEME."images/top.jpg);'>
               <div align='right' id='clockbar' style='padding: 0px 10px 180px 0px'>
               <div id='Clock'></div><script type='text/javascript'>
               <!--
               var DayNam = new Array(
               'niedziel&#234;','poniedzia³ek','wtorek','¶rod&#234;','czwartek','pi±tek','sobot&#234;');
               var MnthNam = new Array(
               'Stycznia','Lutego','Marca','Kwietnia','Maja','Czerwca','Lipca','Sierpnia','Wrze¶nia','Pa¼dziernika','Listopada','Grudnia');
               //-->
               </script>
               <script type='text/javascript' src='".THEME."clock/clock.js'></script></div></td>
            </tr>
            <tr>
               <td width='263' height='45'><img src='".THEME."images/top_03.jpg' width='263' height='45' alt='' ></td>
            </tr>
            <tr>
               <td width='896' height='27' colspan='2' style='background: url(".THEME."images/top_04.jpg);'><div class='nav'>".showsublinks("<img src='".THEME."images/blank.gif' width='35' height='1'>","navigation")."</div></td>
            </tr>
            <tr>
               <td width='896' height='35' colspan='2'><img src='".THEME."images/top_05.jpg' width='896' height='35' alt='' ></td>
            </tr>
         </table>
         <table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>
            <tr>";
}

function render_footer($license=false) {
global $theme_width, $settings;
   echo "      </tr>
         </table>
         <table width='896' height='64' border='0' cellpadding='0' cellspacing='0' align='center'>
            <tr>
               <td style='background: url(".THEME."images/tlo.jpg) repeat-y; width='896' height='20'></td>
            </tr>
            <tr>
               <td width='896' height='32' style='background: url(".THEME."images/stopka_01.jpg)'>
               <div style='float: left; width: 300px; margin-left:30px; color: #ffffff'>wykonanie: <a href='http://rafik.extreme-fusion.pl' title='RaFiK Blog' target='_blank'><font color='white'>rafik</font></a> | grafika: <a href='http://projektowanie.netarteria.eu' title='Projektowanie Stron' target='_blank'><font color='white'>projektowanie.netarteria.eu</font></a></div>
               <div style='float: right; width: 200px; margin-right:30px; text-align:right; color: #ffffff'>engine: <a href='http://extreme-fusion.pl' title='eXtreme-Fusion' target='_blank'><font color='white'>extreme-fusion</font></a></div></td>
            </tr>
            <tr>
               <td width='896' height='32' style='background: url(".THEME."images/stopka_02.jpg)'><center>tu moze byæ twój link // tu moze byæ twój link // tu moze byæ twój link // tu moze byæ twój link</center></td>
            </tr>
         </table>
         </td>
         <td style='background: #a66956 url(".THEME."images/bok_p.jpg) repeat-y; background-position: left;' width='50%' height='100%'></td>
      </tr>
   </table>";




arba sita

function render_header($header_content) {
global $theme_width,$settings, $locale, $userdata, $aidlink, $db_prefix ,$loginerror;
   echo "<table align='center' cellpadding='0' cellspacing='0' width='100%' height='100%'>
      <tr>
         <td style='background: #a66956 url(".THEME."images/bok_l.jpg) repeat-y; background-position: right;' width='50%' height='100%'></td>
         <td width='896' height='100%'>
         <table width='896' height='260' border='0' cellpadding='0' cellspacing='0' align='center'>
            <tr>
               <td width='263' height='153' style='background: url(".THEME."images/top_01.jpg);'>";
               include THEME."panel_usera.php";
               echo "</td>
               <td width='633' height='198' rowspan='2' style='background: url(".THEME."images/top.jpg);'>
               <div align='right' id='clockbar' style='padding: 0px 10px 180px 0px'>
               <div id='Clock'></div><script type='text/javascript'>
               <!--
               var DayNam = new Array(
               'niedziel&#234;','poniedzia³ek','wtorek','¶rod&#234;','czwartek','pi±tek','sobot&#234;');
               var MnthNam = new Array(
               'Stycznia','Lutego','Marca','Kwietnia','Maja','Czerwca','Lipca','Sierpnia','Wrze¶nia','Pa¼dziernika','Listopada','Grudnia');
               //-->
               </script>
               <script type='text/javascript' src='".THEME."clock/clock.js'></script></div></td>
            </tr>
            <tr>
               <td width='263' height='45'><img src='".THEME."images/top_03.jpg' width='263' height='45' alt='' ></td>
            </tr>
            <tr>
               <td width='896' height='27' colspan='2' style='background: url(".THEME."images/top_04.jpg);'><div class='nav'>".showsublinks("<img src='".THEME."images/blank.gif' width='35' height='1'>","navigation")."</div></td>
            </tr>
            <tr>
               <td width='896' height='35' colspan='2'><img src='".THEME."images/top_05.jpg' width='896' height='35' alt='' ></td>
            </tr>
         </table>
         <table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>
            <tr>";
}





Redagavo Giedrunskis 2008 Vas. 8 13:02:23
2008 Vas. 8 13:02:35          3 žinutė iš 9
Spausdinti pranešimą
Kad žinok netinka nei vienas.
2008 Vas. 8 13:02:33          4 žinutė iš 9
Spausdinti pranešimą
prisek theme pilnai, pazesiu šypsosi

2008 Vas. 8 13:02:13          5 žinutė iš 9
Spausdinti pranešimą
Pirmame savo poste prisegiaumerkia akį
2008 Vas. 8 13:02:15          6 žinutė iš 9
Spausdinti pranešimą
prasiau pilnai, o ne pati theme.php as isimesiu i serva ir pazesiu, kad be klaidu butu šypsosi nes kitaip nemokumerkia akį


Redagavo Giedrunskis 2008 Vas. 8 13:02:56
2008 Vas. 8 15:02:59          7 žinutė iš 9
Spausdinti pranešimą
taigi pilnai ir prisegta

Ruomis313 prisegtu failu:
theme_12.rar
Redaguotas Ruomis313 2008-02-08 13:34

2008 Vas. 8 15:02:26          8 žinutė iš 9
Spausdinti pranešimą
Gi prase ne theme.php o pacios pilnos theme.

2008 Vas. 8 17:02:46          9 žinutė iš 9
Spausdinti pranešimą
Butent.
Mantux94, daslo? akinanti šypsen geriau padek zmogui akinanti šypsen


Peršokti į forumą: