Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: del kietekas.com temos

Parašė TDKileris· 2009 Sau. 6 21:01:22
#1

sceiki turiu tikriausiai pagal jus biski kvvaila klausima bet nlb susidoruoju su juo parsisiunciau kietekas.com tema :D idejau i weba viskas tvarkoje taciau headerio nerodo :? , rodo tik balta fona ir viskas
va theme php kasnors padekit kurioje cia eiluteje headerio nustatymas yra

<?php

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

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "785";
$theme_width_l = "190";
$theme_width_r = "150";

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='171' background='".BASEDIR."/images/logo2/".rand(1,9)."baner.jpg' align='right' valign='middle'>
   <table width='785' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td>&nbsp;</td>
    <td width='275' align='center'>";
   // Jei narys, prisijungimas atrodo taip
   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'>
  <tr>
    <td>\n";
   if ($userdata['user_avatar'] != "") {
   echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' height='100' style='border:1px solid #999999'></center>\n";
   } else {
   echo "<center><img src='".THEME."images/noavatar.jpg' width='100' height='100' style='border:1px solid #999999'></center>\n";
   }
   echo "</td>
    <td><span style='color: white'>

<img src='http://kietekas.com/images/asmenzinutes.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='http://kietekas.com/images/nairia.gif' alt=''> <a href='http://kietekas.com/infusions/freundschaftssystem_1.0/meine_freunde.php' class='side'>Mano draugai</a><br>
</span>\n";
   
   echo "<center>-->> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti</a> <<--</center>\n";"
   <td><img src='".THEME."images/space.gif'></td>
  </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'>Vardas: </td>
    <td>&nbsp;<input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td align='right'>".$locale['062'].": </td>
    <td>&nbsp;<input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td align='right'><input type='checkbox' name='remember_me' value='y'></td>
    <td>&nbsp;<input type='submit' name='login' value='Prisijungti' class='button'></td>
  </tr>
  </form>\n";
   if ($settings['enable_registration']) {
      echo "<center><img src='".THEME."images/log.png' alt=''><br><a href=".BASEDIR."register.php>Registracija</a> | <a href=".BASEDIR."lostpassword.php>Slaptažodis</center></a>\n";
   }
   echo"</div>\n";
}
closeside();
   echo "</td>
   <td><img src='".THEME."images/space.gif'></td>
  </tr>
</table>
   </td>";
   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;<img src='".THEME."images/bullet.gif' alt=''><b><a href='".BASEDIR."viewpage.php?page_id=83'><span class='white'> Pamokos</span></a>\n";
   echo "&nbsp;<img src='".THEME."images/bullet.gif' alt=''><b><a href='".BASEDIR."weblinks.php'><span class='white'> Nuorodos </span></a>\n";
   echo "&nbsp;<img src='".THEME."images/bullet.gif' alt=''><b><a href='".BASEDIR."search.php'> Paieška </span></a>\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 width='5'></td>
    <td width='69' valign='top'><a href='".BASEDIR."index.php'><img src='".THEME."images/namai.gif' border=0' alt='Pradinis'></a></td>
    <td width='69' valign='top'><a href='".BASEDIR."news.php'><img src='".THEME."images/naujienos.gif' border=0' alt='Naujienos'></td>
    <td width='69' valign='top'><a href='".FORUM."index.php'><img src='".THEME."images/forumas.gif' border=0' alt='Diskusijos'></td>
    <td width='69' valign='top'><a href='".BASEDIR."photogallery.php'><img src='".THEME."images/galerija.gif' border=0' alt='Galerija'></td>
   <td width='69' valign='top'><a href='".BASEDIR."downloads.php'><img src='".THEME."images/siuntiniai.gif' border=0' alt='Siuntiniai'></td>
    <td width='564' class='dark'><marquee>".parseubb(parsesmileys("www.tabai.kar.lt pilnai atsidarys 2009 02 01 laukiame jusu!!!."))."</marquee></td>
   <td width='69' valign='top'><a href='".BASEDIR."contact.php'><img src='".THEME."images/kontaktai.gif' border=0' alt='Siuntiniai'></td>
   <td width='5'></td>
  </tr>
</table>\n";
   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 cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td>".stripslashes($settings['footer'])."</td>";
echo "</tr></table></td></tr></table><br>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='32%' class='footer' align='left'><div align='left'>";
if ($license == false) {
echo "<center>Copyright <a class=B>©</a> 2006-2008 Kietekas™ | <a href='http://kietekas.com/viewpage.php?page_id=34'>Atsakomyb&#279s ribojimas</a> | <a href='http://www.kietekas.com/statistika.php'>Statistika</a> | <a href='http://www.kietekas.com/komanda.php'>Portalo komanda</a> | Varikliukas:<a target='_blank' href='http://www.php-fusion.co.uk'><img alt='' src='".THEME."images/fusion.gif' style='vertical-align:middle;'></a> | Dizainas pagal <a target='_blank' href='http://kietekas.com'>MaFetas</a></center>";
}
echo "</div></td>";

}


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&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&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";
}
function render_pamokos($subject, $pamokos, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='1' width='100%' cellpadding='1'><tr>";
   echo "<td 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['pamokos_breaks'] == "y" ? nl2br($pamokos) : $pamokos)."";
   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['pamokos_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['pamokos_allow_comments']) echo $info['pamokos_comments'].$locale['043']." · ";
   echo "".$info['pamokos_reads'].$locale['044']." ";
   echo "<a href='print.php?type=A&item_id=".$info['pamokos_id']."'><img alt='' src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_nfspamokos($subject, $nfspamokos, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='1' width='100%' cellpadding='1'><tr>";
   echo "<td 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['nfspamokos_breaks'] == "y" ? nl2br($nfspamokos) : $nfspamokos)."";
   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['nfspamokos_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['nfspamokos_allow_comments']) echo $info['nfspamokos_comments'].$locale['043']." · ";
   echo "".$info['nfspamokos_reads'].$locale['044']." ";
   echo "<a href='print.php?type=W&item_id=".$info['nfspamokos_id']."'><img alt='' src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}


function render_codes($subject, $codes, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='1' width='100%' cellpadding='1'><tr>";
   echo "<td 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['codes_breaks'] == "y" ? nl2br($codes) : $codes)."";
   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['codes_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['codes_allow_comments']) echo $info['codes_comments'].$locale['043']." · ";
   echo "".$info['codes_reads'].$locale['044']." ";
   echo "<a href='print.php?type=C&item_id=".$info['codes_id']."'><img alt='' src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_video($subject, $video, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='1' width='100%' cellpadding='1'><tr>";
   echo "<td 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['video_breaks'] == "y" ? nl2br($video) : $video)."";
   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['video_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['video_allow_comments']) echo $info['video_comments'].$locale['043']." · ";
   echo "".$info['video_reads'].$locale['044']." ";
   echo "<a href='print.php?type=V&item_id=".$info['video_id']."'><img alt='' src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;' style='vertical-align:middle;'></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";
}
?>



Parašė Artnew· 2009 Sau. 6 22:01:05
#2

<?php

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

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "785";
$theme_width_l = "190";
$theme_width_r = "150";

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='171' background='".BASEDIR."/images/logo2/".rand(1,9)."baner.jpg' align='right' valign='middle'>
   <table width='785' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td>&nbsp;</td>
    <td width='275' align='center'>";
   // Jei narys, prisijungimas atrodo taip
   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'>
  <tr>
    <td>\n";
   if ($userdata['user_avatar'] != "") {
   echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' height='100' style='border:1px solid #999999'></center>\n";
   } else {
   echo "<center><img src='".THEME."images/noavatar.jpg' width='100' height='100' style='border:1px solid #999999'></center>\n";
   }
   echo "</td>
    <td><span style='color: white'>

<img src='http://kietekas.com/images/asmenzinutes.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='http://kietekas.com/images/nairia.gif' alt=''> <a href='http://kietekas.com/infusions/freundschaftssystem_1.0/meine_freunde.php' class='side'>Mano draugai</a><br>
</span>\n";
   
   echo "<center>-->> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti</a> <<--</center>\n";"
   <td><img src='".THEME."images/space.gif'></td>
  </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'>Vardas: </td>
    <td>&nbsp;<input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td align='right'>".$locale['062'].": </td>
    <td>&nbsp;<input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td align='right'><input type='checkbox' name='remember_me' value='y'></td>
    <td>&nbsp;<input type='submit' name='login' value='Prisijungti' class='button'></td>
  </tr>
  </form>\n";
   if ($settings['enable_registration']) {
      echo "<center><img src='".THEME."images/log.png' alt=''><br><a href=".BASEDIR."register.php>Registracija</a> | <a href=".BASEDIR."lostpassword.php>Slaptažodis</center></a>\n";
   }
   echo"</div>\n";
}
closeside();
   echo "</td>
   <td><img src='".THEME."images/space.gif'></td>
  </tr>
</table>
   </td>";
   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;<img src='".THEME."images/bullet.gif' alt=''><b><a href='".BASEDIR."viewpage.php?page_id=83'><span class='white'> Pamokos</span></a>\n";
   echo "&nbsp;<img src='".THEME."images/bullet.gif' alt=''><b><a href='".BASEDIR."weblinks.php'><span class='white'> Nuorodos </span></a>\n";
   echo "&nbsp;<img src='".THEME."images/bullet.gif' alt=''><b><a href='".BASEDIR."search.php'> Paieška </span></a>\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 width='5'></td>
    <td width='69' valign='top'><a href='".BASEDIR."index.php'><img src='".THEME."images/namai.gif' border=0' alt='Pradinis'></a></td>
    <td width='69' valign='top'><a href='".BASEDIR."news.php'><img src='".THEME."images/naujienos.gif' border=0' alt='Naujienos'></td>
    <td width='69' valign='top'><a href='".FORUM."index.php'><img src='".THEME."images/forumas.gif' border=0' alt='Diskusijos'></td>
    <td width='69' valign='top'><a href='".BASEDIR."photogallery.php'><img src='".THEME."images/galerija.gif' border=0' alt='Galerija'></td>
   <td width='69' valign='top'><a href='".BASEDIR."downloads.php'><img src='".THEME."images/siuntiniai.gif' border=0' alt='Siuntiniai'></td>
    <td width='564' class='dark'><marquee>".parseubb(parsesmileys("www.tabai.kar.lt pilnai atsidarys 2009 02 01 laukiame jusu!!!."))."</marquee></td>
   <td width='69' valign='top'><a href='".BASEDIR."contact.php'><img src='".THEME."images/kontaktai.gif' border=0' alt='Siuntiniai'></td>
   <td width='5'></td>
  </tr>
</table>\n";
   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 cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td>".stripslashes($settings['footer'])."</td>";
echo "</tr></table></td></tr></table><br>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='32%' class='footer' align='left'><div align='left'>";
if ($license == false) {
echo "<center>Copyright <a class=B>©</a> 2006-2008 Kietekas™ | <a href='http://kietekas.com/viewpage.php?page_id=34'>Atsakomyb&#279s ribojimas</a> | <a href='http://www.kietekas.com/statistika.php'>Statistika</a> | <a href='http://www.kietekas.com/komanda.php'>Portalo komanda</a> | Varikliukas:<a target='_blank' href='http://www.php-fusion.co.uk'><img alt='' src='".THEME."images/fusion.gif' style='vertical-align:middle;'></a> | Dizainas pagal <a target='_blank' href='http://kietekas.com'>MaFetas</a></center>";
}
echo "</div></td>";

}


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&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&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";
}
function render_pamokos($subject, $pamokos, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='1' width='100%' cellpadding='1'><tr>";
   echo "<td 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['pamokos_breaks'] == "y" ? nl2br($pamokos) : $pamokos)."";
   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['pamokos_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['pamokos_allow_comments']) echo $info['pamokos_comments'].$locale['043']." · ";
   echo "".$info['pamokos_reads'].$locale['044']." ";
   echo "<a href='print.php?type=A&item_id=".$info['pamokos_id']."'><img alt='' src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_nfspamokos($subject, $nfspamokos, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='1' width='100%' cellpadding='1'><tr>";
   echo "<td 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['nfspamokos_breaks'] == "y" ? nl2br($nfspamokos) : $nfspamokos)."";
   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['nfspamokos_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['nfspamokos_allow_comments']) echo $info['nfspamokos_comments'].$locale['043']." · ";
   echo "".$info['nfspamokos_reads'].$locale['044']." ";
   echo "<a href='print.php?type=W&item_id=".$info['nfspamokos_id']."'><img alt='' src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}


function render_codes($subject, $codes, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='1' width='100%' cellpadding='1'><tr>";
   echo "<td 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['codes_breaks'] == "y" ? nl2br($codes) : $codes)."";
   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['codes_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['codes_allow_comments']) echo $info['codes_comments'].$locale['043']." · ";
   echo "".$info['codes_reads'].$locale['044']." ";
   echo "<a href='print.php?type=C&item_id=".$info['codes_id']."'><img alt='' src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_video($subject, $video, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='1' width='100%' cellpadding='1'><tr>";
   echo "<td 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['video_breaks'] == "y" ? nl2br($video) : $video)."";
   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['video_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['video_allow_comments']) echo $info['video_comments'].$locale['043']." · ";
   echo "".$info['video_reads'].$locale['044']." ";
   echo "<a href='print.php?type=V&item_id=".$info['video_id']."'><img alt='' src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;' style='vertical-align:middle;'></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";
}
?>



Pazimejau nzn ar gerai bet ten turi but :)

Parašė TDKileris· 2009 Sau. 6 22:01:22
#3

ar as durnas ar nematau kur cia pazymeta?????? :?:?:?

Parašė Peacemaker· 2009 Sau. 6 22:01:38
#4

BASEDIR."/images/logo2
Turi šitą pakeist tikslia nuoroda. Ir visus kitus, kurs rasi tą pačią BASEDIR.
Turi galimybę arba nusikopijuot rankiniu būdu (paveiksliukus) arba, tiesiog pasikeisti link'ą.

Parašė Artnew· 2009 Sau. 6 22:01:34
#5

linka gerau pasikeist ;)