Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

Reikalas12:06:40
Rytis 2 savaitės
MaFetas 6 savaitės
ozzWANTED 7 savaitės
saulyzas 9 savaitės
TOMIJUS10 savaitės
Jaunelis26 savaitės
lanis26 savaitės
And2s27 savaitės
Memento Mori32 savaitės
Quwqkibor34 savaitės
asirija38 savaitės
tomeem40 savaitės
weberiz43 savaitės
mRokass46 savaitės
kartoonas47 savaitės
grunskiz49 savaitės
Bruksnys50 savaitės
illusion50 savaitės
ordo51 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 18.118.1.100
Naujienų: 529
Straipsnių: 235
Temų: 52,589
Postų: 522,538
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 Lap. 30 15:11:14
Taip, vis dar up šypsosi

MaFetas
2024 Lap. 13 22:11:57
hey how, geras dar veikiantis saitas?

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

And2s
2024 Lie. 17 19:07:04
2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

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

Š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
PHP: Del theme.php
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Kiti PHP, HTML, MySQL klausimai

Autorius: switz Peržiūrų: 1371      Spausdinti temą
2009 Lap. 16 15:11:33          1 žinutė iš 5
Spausdinti pranešimą
Sveiki,kas galit redaguoti šitą theme.php
Reikia išimti prisijungimo panelę.Temą galite pamayti www.zmp.too.lt
<?php

/************************/
/* Settings/Nustatymai   */
/************************/

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "797";
$theme_width_l = "217";
$theme_width_r = "217";
$i = rand(1,19);

function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$i;

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td class='header' width='100%'>";
   // Start banner code / Banerio kodas
   echo "<table width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td colspan='2'><img src='".THEME."images/header.jpg'></td>
  </tr>
  <tr><td><img src='".THEME."r_images/$i.jpg'></td><td align='center'>";
  if (iMEMBER) {
   openside($userdata['user_name']);
   $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'>
  <tr>
    <td>\n";
   if ($userdata['user_avatar'] != "") {
   echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' height='50' style='border:1px solid #999999'></center>\n";
   } else {
   echo "<center><img src='".THEME."images/noavatar.jpg' width='50' height='50' style='border:1px solid #999999'></center>\n";
   }
   echo "</td>
    <td><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Aprašymas</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Žinutės [naujų: <b><span style='color:#ff0000'>".sprintf($msg_count)."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Nariai</a><br>\n";
   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a><br>\n";
   }
   echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a>\n";"
  </tr>
</table>

\n";
   // Jei ne narys
} else {
   openside("Prisijungimas");
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'><form name='loginform' method='post' action='".FUSION_SELF."'>
  <tr>
    <td align='right' class='login'>Vardas: </td>
    <td class='login'>&nbsp;<input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td align='right' class='login'>".$locale['062'].": </td>
    <td class='login'>&nbsp;<input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td></td>
    <td>&nbsp;<input type='submit' name='login' value='Prisijungti' class='button'><br>";
   if ($settings['enable_registration']) {
      echo "<a href=".BASEDIR."register.php><span class='login'>Registracija</span></a><br><a href=".BASEDIR."lostpassword.php><span class='login'>Slaptažodis</span></a>\n";
   }
   echo "</td>
  </tr>
  </form>\n";
   echo"</div>\n";
}
closeside();
echo "</td></tr>
</table>

\n";
   echo "</tr></table></td></tr></table>\n";
   // End banner code / Banerio kodo pabaiga
   echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF' style='border-bottom: 1px solid #eaebe5;'
>
  <tr>
    <td width='580'><table border='0' align='center' cellpadding='0' cellspacing='0'>
      <tr>
        <td align='center'><a href='".BASEDIR."index.php'><img src='".THEME."images/titulinis.gif' border=0' alt='Pradinis'></a></td>
        <td align='center'><a href='".BASEDIR."news.php'><img src='".THEME."images/taisykles.gif' border=0' alt='Naujienos'></td>
        <td align='center'><a href='".BASEDIR."photogallery.php'><img src='".THEME."images/kainynas.gif' border=0' alt='Galerija'></td>
        <td align='center'><a href='".BASEDIR."faq.php'><img src='".THEME."images/pagalba.gif' border=0' alt='Siuntiniai'></td>
        <td align='center'><a href='".BASEDIR."downloads.php'><img src='".THEME."images/failai.gif' border=0' alt='Siuntiniai'></td>
        <td align='center'><a href='".BASEDIR."contact.php'><img src='".THEME."images/top15.gif' border=0' alt='Siuntiniai'></td>
        <td align='center'><a href='".FORUM."index.php'><img src='".THEME."images/forumas.gif' border=0' alt='Diskusijos'></td>
      </tr>
    </table></td><td width='217' background='".THEME."images/lines.gif'></td>
  </tr>
</table><br>\n";
   echo "<table width='100%' cellpadding='0' bgcolor='#FFFFFF' cellspacing='0' border='0'><tr>";
}

function render_footer($license=false) {
global $theme_width,$locale,$settings;

   echo "</tr>\n</table>\n";
   echo "<table cellSpacing='0' cellPadding='0' height='50' width='100%' border='0' background='".THEME."images/footer.gif'><tr><td height='20' class='white' align='left' width='50%' style='padding-left:20px;'><b>".stripslashes($settings['footer'])."</b></td><td align='right' width='50%' style='padding-right:50px;'><b>Design by <a href='mailto:Qrmiz@mail.lt'>Qrmiz</a></b></td></tr></table>";
}

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

global $locale;

   echo "<table border='0' cellspacing='0' width='100%' cellpadding='0'><tr>";
   echo "<td height='23' class='table-cellpic'>$subject</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='24' align='right' class='news-footer'>";
   echo "".($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&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr><tr><td colspan='2' background='".THEME."images/dot.gif' height='1'></td></tr></table></td></tr></table><br>\n";
}

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

global $locale;

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

// Open table begins
function opentable($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'>$title</td></tr>";
   echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}

// Close table end
function closetable() {

   echo "</td></tr></table></td></tr></table>";
}

function openside($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic'>$title<br></td></tr>";
   echo "<tr><td width='100%'><img src='".THEME."images/line.gif'></td></tr></table>";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='90%'><tr><td class='side-body' bgColor='#FFFFFF'>";
}

function closeside() {

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

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

   $boxname = str_replace(" ", "", $title);
   $box_img = $open == "on" ? "off" : "on";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
   echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}

function closesidex() {

   echo "</div></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";
}
?>




///M3
2009 Lap. 16 15:11:10          2 žinutė iš 5
Spausdinti pranešimą
Gedmantas parašė:
Sveiki,kas galit redaguoti šitą theme.php
Reikia išimti prisijungimo panelę.Temą galite pamayti www.zmp.too.lt
<?php

/************************/
/* Settings/Nustatymai   */
/************************/

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "797";
$theme_width_l = "217";
$theme_width_r = "217";
$i = rand(1,19);

function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$i;

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td class='header' width='100%'>";
   // Start banner code / Banerio kodas
   echo "<table width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td colspan='2'><img src='".THEME."images/header.jpg'></td>
  </tr>
  <tr><td><img src='".THEME."r_images/$i.jpg'></td><td align='center'>";
echo "</td></tr>
</table>

\n";
   echo "</tr></table></td></tr></table>\n";
   // End banner code / Banerio kodo pabaiga
   echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF' style='border-bottom: 1px solid #eaebe5;'
>
  <tr>
    <td width='580'><table border='0' align='center' cellpadding='0' cellspacing='0'>
      <tr>
        <td align='center'><a href='".BASEDIR."index.php'><img src='".THEME."images/titulinis.gif' border=0' alt='Pradinis'></a></td>
        <td align='center'><a href='".BASEDIR."news.php'><img src='".THEME."images/taisykles.gif' border=0' alt='Naujienos'></td>
        <td align='center'><a href='".BASEDIR."photogallery.php'><img src='".THEME."images/kainynas.gif' border=0' alt='Galerija'></td>
        <td align='center'><a href='".BASEDIR."faq.php'><img src='".THEME."images/pagalba.gif' border=0' alt='Siuntiniai'></td>
        <td align='center'><a href='".BASEDIR."downloads.php'><img src='".THEME."images/failai.gif' border=0' alt='Siuntiniai'></td>
        <td align='center'><a href='".BASEDIR."contact.php'><img src='".THEME."images/top15.gif' border=0' alt='Siuntiniai'></td>
        <td align='center'><a href='".FORUM."index.php'><img src='".THEME."images/forumas.gif' border=0' alt='Diskusijos'></td>
      </tr>
    </table></td><td width='217' background='".THEME."images/lines.gif'></td>
  </tr>
</table><br>\n";
   echo "<table width='100%' cellpadding='0' bgcolor='#FFFFFF' cellspacing='0' border='0'><tr>";
}

function render_footer($license=false) {
global $theme_width,$locale,$settings;

   echo "</tr>\n</table>\n";
   echo "<table cellSpacing='0' cellPadding='0' height='50' width='100%' border='0' background='".THEME."images/footer.gif'><tr><td height='20' class='white' align='left' width='50%' style='padding-left:20px;'><b>".stripslashes($settings['footer'])."</b></td><td align='right' width='50%' style='padding-right:50px;'><b>Design by <a href='mailto:Qrmiz@mail.lt'>Qrmiz</a></b></td></tr></table>";
}

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

global $locale;

   echo "<table border='0' cellspacing='0' width='100%' cellpadding='0'><tr>";
   echo "<td height='23' class='table-cellpic'>$subject</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='24' align='right' class='news-footer'>";
   echo "".($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&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr><tr><td colspan='2' background='".THEME."images/dot.gif' height='1'></td></tr></table></td></tr></table><br>\n";
}

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

global $locale;

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

// Open table begins
function opentable($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'>$title</td></tr>";
   echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}

// Close table end
function closetable() {

   echo "</td></tr></table></td></tr></table>";
}

function openside($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic'>$title<br></td></tr>";
   echo "<tr><td width='100%'><img src='".THEME."images/line.gif'></td></tr></table>";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='90%'><tr><td class='side-body' bgColor='#FFFFFF'>";
}

function closeside() {

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

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

   $boxname = str_replace(" ", "", $title);
   $box_img = $open == "on" ? "off" : "on";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
   echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}

function closesidex() {

   echo "</div></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";
}
?>




Bandyk, pašalinau.


Redagavo J 2009 Lap. 16 15:11:43
2009 Lap. 16 16:11:21          3 žinutė iš 5
Spausdinti pranešimą
o okmerkia akį tik dar reikia tuos paveiksliukus isimt kurie keiciasi,po headerio

///M3
2009 Lap. 16 16:11:57          4 žinutė iš 5
Spausdinti pranešimą
<?php

/************************/
/* Settings/Nustatymai   */
/************************/

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "797";
$theme_width_l = "217";
$theme_width_r = "217";
$i = rand(1,19);

function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$i;

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td class='header' width='100%'>";
   // Start banner code / Banerio kodas
   echo "<table width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td colspan='2'><img src='".THEME."images/header.jpg'></td>
  </tr>
</table>

\n";
   echo "</tr></table></td></tr></table>\n";
   // End banner code / Banerio kodo pabaiga
   echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF' style='border-bottom: 1px solid #eaebe5;'
>
  <tr>
    <td width='580'><table border='0' align='center' cellpadding='0' cellspacing='0'>
      <tr>
        <td align='center'><a href='".BASEDIR."index.php'><img src='".THEME."images/titulinis.gif' border=0' alt='Pradinis'></a></td>
        <td align='center'><a href='".BASEDIR."news.php'><img src='".THEME."images/taisykles.gif' border=0' alt='Naujienos'></td>
        <td align='center'><a href='".BASEDIR."photogallery.php'><img src='".THEME."images/kainynas.gif' border=0' alt='Galerija'></td>
        <td align='center'><a href='".BASEDIR."faq.php'><img src='".THEME."images/pagalba.gif' border=0' alt='Siuntiniai'></td>
        <td align='center'><a href='".BASEDIR."downloads.php'><img src='".THEME."images/failai.gif' border=0' alt='Siuntiniai'></td>
        <td align='center'><a href='".BASEDIR."contact.php'><img src='".THEME."images/top15.gif' border=0' alt='Siuntiniai'></td>
        <td align='center'><a href='".FORUM."index.php'><img src='".THEME."images/forumas.gif' border=0' alt='Diskusijos'></td>
      </tr>
    </table></td><td width='217' background='".THEME."images/lines.gif'></td>
  </tr>
</table><br>\n";
   echo "<table width='100%' cellpadding='0' bgcolor='#FFFFFF' cellspacing='0' border='0'><tr>";
}

function render_footer($license=false) {
global $theme_width,$locale,$settings;

   echo "</tr>\n</table>\n";
   echo "<table cellSpacing='0' cellPadding='0' height='50' width='100%' border='0' background='".THEME."images/footer.gif'><tr><td height='20' class='white' align='left' width='50%' style='padding-left:20px;'><b>".stripslashes($settings['footer'])."</b></td><td align='right' width='50%' style='padding-right:50px;'><b>Design by <a href='mailto:Qrmiz@mail.lt'>Qrmiz</a></b></td></tr></table>";
}

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

global $locale;

   echo "<table border='0' cellspacing='0' width='100%' cellpadding='0'><tr>";
   echo "<td height='23' class='table-cellpic'>$subject</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='24' align='right' class='news-footer'>";
   echo "".($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&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr><tr><td colspan='2' background='".THEME."images/dot.gif' height='1'></td></tr></table></td></tr></table><br>\n";
}

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

global $locale;

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

// Open table begins
function opentable($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'>$title</td></tr>";
   echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}

// Close table end
function closetable() {

   echo "</td></tr></table></td></tr></table>";
}

function openside($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic'>$title<br></td></tr>";
   echo "<tr><td width='100%'><img src='".THEME."images/line.gif'></td></tr></table>";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='90%'><tr><td class='side-body' bgColor='#FFFFFF'>";
}

function closeside() {

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

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

   $boxname = str_replace(" ", "", $title);
   $box_img = $open == "on" ? "off" : "on";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
   echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}

function closesidex() {

   echo "</div></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";
}
?>




Nėr už ką :)


Redagavo J 2009 Lap. 16 16:11:39
2009 Lap. 16 16:11:51          5 žinutė iš 5
Spausdinti pranešimą
o liux dekui tau labaimerkia akį

///M3
Peršokti į forumą: