Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,952
Naujausias narys: tomeem

Naujausi straipsniai

Paskutiniai nariai

asirija 2 savaitės
tomeem 4 savaitės
Reikalas 5 savaitės
weberiz 7 savaitės
mRokass10 savaitės
kartoonas11 savaitės
iaescortsmap11 savaitės
ozzWANTED12 savaitės
grunskiz14 savaitės
Bruksnys14 savaitės
illusion14 savaitės
ordo15 savaitės
Jurgaila16 savaitės
originalcs1616 savaitės
Rytis17 savaitės
halis18 savaitės
junkus21 savaitės
morlis21 savaitės
Majakas22 savaitės
andsoft23 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.16.148.128
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
Problemos su theme
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes

Autorius: manex Peržiūrų: 1498      Spausdinti temą
2008 Rugs. 11 18:09:45          1 žinutė iš 7
Spausdinti pranešimą
Gal galetu padaryti kad banerio matmenys butu 988 x 250 ? man neiseina padaryti, kad butu 250 ir jai nesunku isimkit siuntinius headeria.

<?php

if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "988";
$theme_width_l = "183";
$theme_width_r = "183";

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

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #000000 1px; border-left: solid #000000 1px; border-top: solid #000000 1px; margin-top: -5px;'>";
   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%'>";

   echo "<tr><table align=center width=100% height=250 background='".THEME."images/baner.jpg' border=0 cellspacing=0 cellpadding=0>";
echo"<tr><td height=50 class='nuorodos' align='center' style='padding-right:50px; padding-top:130px;'><br>";
echo"<table width='50%'><tr>";

echo"<td width='40%'>";
 $result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
 if (dbrows($result) != 0) {
  echo "<table width='100%'>";
  while ($data = dbarray($result)) {
   echo "<tr>
    <td class='small'>
     <img src='".THEME."images/bullet.gif'>
     <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
    </td>
    <td align='right'>".$data['download_count']."</td>
   </tr>";
  }
  echo "</table>";
 } else {
  echo "<div style='text-align:center'>".$locale['004']."</div>\n";
 }

echo "</td><td width='60%' style='padding-left:80px;' >";

$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,5");
   if (dbrows($result) != 0) {
echo "<table  width='100%'>";
      while ($data = dbarray($result)) {
         echo "<tr>
            <td class='small'>
                    <img src='".THEME."images/bullet.gif'>
               <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
            </td>
            <td align='right'>".$data['download_count']."</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "<div style='text-align:center'>".$locale['004']."</div>\n";
   }

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

echo "</td></tr>
<tr></tr>

<tr><td height=30></td></tr>
<tr></tr>
</table>
";

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

   echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' 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='2' width='100%' border='0' background='".THEME."images/footer.gif'>";
   echo "<td width='20%' height='50' class='white' align='left'>";
      if ($license == false) {
      echo "<b>Varikliukas: <a href='https://webdnd.com' target='_blank'>PHP-Fusion</a></b>";
   }
   echo "</td>";
   echo "<td width='40%' class='white' align='center'>";
   echo "<b>".stripslashes($settings['footer'])."</b></td>";
   echo "<td width='26%' class='white' align='right'>";
   echo "</td>";
   echo "<div align='center'></tr></table></td></tr></table></div>";
}

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

global $locale;

 echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
 echo "<td height='23' class='news'><center>$subject</center></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'>$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></table></td></tr></table>\n";
}

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

global $locale;

   echo "<table class='news-border' border='1' 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' 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='1' 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='30' class='table-cellpic'>$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='1' 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='30' class='panel-sidecellpic' align='center'>$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' 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='0' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic' align='left'><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";
}
?>



2008 Rugs. 11 21:09:47          2 žinutė iš 7
Spausdinti pranešimą
A tai negi nieks nepades nežino
2008 Rugs. 11 21:09:22          3 žinutė iš 7
Spausdinti pranešimą
Del headerio, tai tiesiog idek tau reikiamo dydzio headeri ir bus, nes, bentjau theme.php faile, matmenu nustatymo ner.

www.creatium.lt
2008 Rugs. 11 22:09:07          4 žinutė iš 7
Spausdinti pranešimą
hmm nu pabandyk gal eis :) :
<?php

if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "988";
$theme_width_l = "183";
$theme_width_r = "183";

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

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #000000 1px; border-left: solid #000000 1px; border-top: solid #000000 1px; margin-top: -5px;'>";
   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='988'>";

   echo "<tr><table align=center width=988 height=250 background='".THEME."images/baner.jpg' border=0 cellspacing=0 cellpadding=0>";
echo"<tr><td height=50 class='nuorodos' align='center' style='padding-right:50px; padding-top:130px;'><br>";
echo"<table width='50%'><tr>";


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

   echo "</tr>\n</table>\n";
   echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0' background='".THEME."images/footer.gif'>";
   echo "<td width='20%' height='50' class='white' align='left'>";
      if ($license == false) {
      echo "<b>Varikliukas: <a href='https://webdnd.com' target='_blank'>PHP-Fusion</a></b>";
   }
   echo "</td>";
   echo "<td width='40%' class='white' align='center'>";
   echo "<b>".stripslashes($settings['footer'])."</b></td>";
   echo "<td width='26%' class='white' align='right'>";
   echo "</td>";
   echo "<div align='center'></tr></table></td></tr></table></div>";
}

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

global $locale;

 echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
 echo "<td height='23' class='news'><center>$subject</center></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'>$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></table></td></tr></table>\n";
}

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

global $locale;

   echo "<table class='news-border' border='1' 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' 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='1' 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='30' class='table-cellpic'>$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='1' 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='30' class='panel-sidecellpic' align='center'>$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' 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='0' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic' align='left'><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";
}
?>




2008 Rugs. 11 23:09:05          5 žinutė iš 7
Spausdinti pranešimą
Padarytumet kad butu 1160x210?|:?


<?php

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

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "988";
$theme_width_l = "175";
$theme_width_r = "175";

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

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   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' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   echo "<tr><td height='210' background='".THEME."images/headeris.gif' align='right' valign='middle'>
   <table width='100%' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td>&nbsp;</td>
    <td width='220' align='center'>";
 
   echo "</tr></table></td></tr></table>\n";
   // End banner code / Banerio kodo pabaiga
   echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>";
   echo "<td>\n";
   echo "&nbsp;<a href='".BASEDIR."members.php'><span class='white'>Vartotojų: ".number_format(dbcount("(user_id)", "users", "user_status<='1'"))."</span></a>\n";
   if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."\n";
   echo ($i == 0 ? "&nbsp;" : "")."</td>";
   echo "<td align='right'>".ucwords(showdate($settings['subheaderdate'], time()))."";
   echo "</td></tr></table>\n";
   echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
  <tr>
    <td><table border='0' align='center' cellpadding='0' cellspacing='0'>
      <tr>
        <td width='75' align='center'><a href='index.php'><img src='".THEME."images/namai.png' border=0' alt='Pradinis'></a></td>

        <td width='75' align='center'><a href='downloads.php'><img src='".THEME."images/siuntimai.png' border=0' alt='Siuntiniai'></td>
        <td width='75' align='center'><a href='forum/index.php'><img src='".THEME."images/forumas.png' border=0' alt='Diskusijos'></td>
   
      </tr>
    </table></td>";
   echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' 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='2' width='100%' border='0' background='".THEME."images/footer.gif' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   echo "<td width='20%' height='20' class='white' align='left'>";
      if ($license == false) {
      echo "<b>Design by <a href='http://bumfight.lt'>-=KaroLizZz=-</b>";
   }
   echo "</td>";
   echo "<td width='40%' class='white' align='center'>";
   echo "<b>".stripslashes($settings['footer'])."</b></td>";
   echo "<td width='26%' class='white' align='right'>";
   echo "";
   echo "</td>";
   echo "<div align='center'></tr></table></td></tr></table></div>";
}

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

global $locale;

   echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
   echo "<td height='23' class='table-cellpic'><center>$subject</center></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'>$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></table></td></tr></table>\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' align='center'>$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' 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' align='center'><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";
}
?>




Ginčas internete - kaip silpnapročių olimpiada, jei ir laimėsi - vistiek tu debilas.
Redagavo 2008 Rugs. 12 14:09:49
2008 Rugs. 12 02:09:14          6 žinutė iš 7
Spausdinti pranešimą
isjunk smylus nes kitaip nlb kas darys blogai

2008 Rugs. 12 13:09:06          7 žinutė iš 7
Spausdinti pranešimą
<?php

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

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "1160";
$theme_width_l = "175";
$theme_width_r = "175";

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

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   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='1160' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   echo "<tr><td height='210' background='".THEME."images/headeris.gif' align='right' valign='middle' width='1160'>
   <table width='100%' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td>&nbsp;</td>
    <td width='220' align='center'>";
 
   echo "</tr></table></td></tr></table>\n";
   // End banner code / Banerio kodo pabaiga
   echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>";
   echo "<td>\n";
   echo "&nbsp;<a href='".BASEDIR."members.php'><span class='white'>Vartotojų: ".number_format(dbcount("(user_id)", "users", "user_status<='1'"))."</span></a>\n";
   if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."\n";
   echo ($i == 0 ? "&nbsp;" : "")."</td>";
   echo "<td align='right'>".ucwords(showdate($settings['subheaderdate'], time()))."";
   echo "</td></tr></table>\n";
   echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
  <tr>
    <td><table border='0' align='center' cellpadding='0' cellspacing='0'>
      <tr>
        <td width='75' align='center'><a href='index.php'><img src='".THEME."images/namai.png' border=0' alt='Pradinis'></a></td>

        <td width='75' align='center'><a href='downloads.php'><img src='".THEME."images/siuntimai.png' border=0' alt='Siuntiniai'></td>
        <td width='75' align='center'><a href='forum/index.php'><img src='".THEME."images/forumas.png' border=0' alt='Diskusijos'></td>
   
      </tr>
    </table></td>";
   echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' 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='2' width='100%' border='0' background='".THEME."images/footer.gif' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   echo "<td width='20%' height='20' class='white' align='left'>";
      if ($license == false) {
      echo "<b>Design by <a href='http://bumfight.lt'>-=KaroLizZz=-</b>";
   }
   echo "</td>";
   echo "<td width='40%' class='white' align='center'>";
   echo "<b>".stripslashes($settings['footer'])."</b></td>";
   echo "<td width='26%' class='white' align='right'>";
   echo "";
   echo "</td>";
   echo "<div align='center'></tr></table></td></tr></table></div>";
}

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

global $locale;

   echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
   echo "<td height='23' class='table-cellpic'><center>$subject</center></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'>$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></table></td></tr></table>\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' align='center'>$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' 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' align='center'><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";
}
?>



Peršokti į forumą: