Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

saulyzas 6 dienos
MaFetas 1 savaitė
TOMIJUS 2 savaitės
ozzWANTED 2 savaitės
Reikalas11 savaitės
Jaunelis17 savaitės
lanis17 savaitės
And2s18 savaitės
Memento Mori23 savaitės
Quwqkibor25 savaitės
asirija29 savaitės
tomeem31 savaitės
weberiz35 savaitės
mRokass37 savaitės
kartoonas38 savaitės
grunskiz41 savaitės
Bruksnys41 savaitės
illusion41 savaitės
ordo42 savaitės
Jurgaila43 savaitės

Informacija:


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

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

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

Š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
Kažkas su Theme.php.
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: pokemonu_karalius Peržiūrų: 1125      Spausdinti temą
2009 Kov. 26 16:03:21          1 žinutė iš 5
Spausdinti pranešimą
Sveiki,

Problema susijusi su Theme.php . Nuotraukose pamatysite ,kas blogai ,na aš čia perdarau senąjį theme.php iš kitos temos..

Foto (išsididinkite):


Tikrai nesusiją su style.css ,nes jis nebuvo keistas ir redaguotas.

Ačiū, laukiu atsakymo.

Uostyk.
2009 Kov. 26 16:03:19          2 žinutė iš 5
Spausdinti pranešimą
Klijuok čia theme.php. Padėsiu. drovus

2009 Kov. 26 16:03:58          3 žinutė iš 5
Spausdinti pranešimą
<?
/*--------------------------------------------------------+
| PHP-Fusion v6 - Content Management System   |
|---------------------------------------------------------|
| author: Nick Jones (Digitanium) Ä¼Ć¦Ā½ 2002-2006 |
| web: http://www.php-fusion.co.uk                   |
| email: nick@php-fusion.co.uk                           |
|---------------------------------------------------------|
| Released under the terms and conditions of    |
| the GNU General Public License (Version 2)    |
+--------------------------------------------------------*/
/*------------------------------------------------------+
|        IMC Theme for PHP-Fusion v6                 |
|---------------------------------------------------------|
| author: [-DT-] Ä¼Ć¦Ā½ 2005-2007                           |
| web: http://www.holstebronx.com                  |
| email: dennis_ostergaard@msn.com                 |
+--------------------------------------------------------*/

$body_text = "#cccccc";
$body_bg = "#373737";
$theme_width = "950";
$theme_width_l = "160";
$theme_width_r = "160";

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='150' background='".THEME."images/baner.jpg' align='right' valign='middle'>
   <table width='988' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td>&nbsp;</td>
    <td width='220' 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' background='".THEME."images/userinfo.gif'>
  <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&#353;ymas</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>&#381;inut&#279;s [nauj&#371;: <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";"
   <td><img src='".THEME."images/blank.gif'></td>
  </tr>
</table>

\n";
   // Jei ne narys
} else {
   openside("Prisijungimas");
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' background='".THEME."images/userlogin.gif' 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 "<a href=".BASEDIR."register.php>Registracija</a> / <a href=".BASEDIR."lostpassword.php>Slapta&#382;odis</a>\n";
   }
   echo"</div>\n";
}
closeside();
   echo "</td>
   <td><img src='".THEME."images/blank.gif'></td>
  </tr>
</table>
   </td>";
   echo "</tr></table></td></tr></table>\n";
   // End banner code / Banerio kodo pabaiga
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
   echo "<td><table width='100%' height='28' border='0' cellpadding='0' cellspacing='0'>";
   $result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
      if (dbrows($result) != 0) {
   echo "<td class='cellpic'>\n";
      $i = 0;
   while($data = dbarray($result)) {
      if (checkgroup($data['link_visibility'])) {
      if ($data['link_url']!="---") {
      if ($i != 0) { echo "  <img src='".THEME."images/divider.gif' alt=''>  "; } else { echo "\n"; }
   $link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
      if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
   echo "<a href='".$data['link_url']."'".$link_target."'>".$data['link_name']."</a>";
   } else {
   echo "<a href='".BASEDIR.$data['link_url']."'".$link_target."'>".$data['link_name']."</a>";
}
   }
$i++;
      }
   }
}
   echo ($i == 0 ? " " : "")."</td>\n";
   echo "<td align='right' class='cellpic' nowrap><strong>";
   echo "<div align='right' class='date' id='Clock'></div>";
      echo "<script type='text/javascript'>
      <!--
      var DayNam = new Array(
      'Sekmadienis','Pirmadienis','Antradienis','Tre&#269;iadienis','Ketvirtadienis','Penktadienis','&#352;e&#353;tadienis');
      var MnthNam = new Array(
      'Sausio','Vasario','Kovo','BalandĆ…Ā¾io','GeguĆ…Ā¾Ć„ā€”s','BirĆ…Ā¾elio','Liepos','RugpjĆ…Ā«Ć„ĀØio','RugsĆ„ā€”jo','Spalio','LapkriĆ„ĀØio','GruodĆ…Ā¾io');
      //-->
      </script>";
   echo "<div align='right' class='date'><script type='text/javascript' src='".THEME."/js/clock.js'></script></div>";
   echo "</td></tr></table></td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
   echo "<tr valign='top'>";
   echo "<td valign='middle' align='right'>";
   echo "<table width='100%' cellpadding='4' bgcolor='#373737' cellspacing='0' border='0'>";
}

function render_footer($license=false) {

global $theme_width,$settings,$locale;

   echo "</tr>\n</table>\n";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
   echo "<tr><td><table border='0' cellpadding='0' cellspacing='0' width='100%' height='30'>";
   echo "<tr><td class='footer' valign='middle' width='35%'>";
      if ($license == false) {
   echo "Tinklalapio varikliukas: <a href='http://www.php-fusion.co.uk' target='blank'><b>PHP-Fusion</b></a> &copy; 2003-2006";
   }
   echo "</td>";
   echo "<td class='footer' align='center' width='22%'>";
   echo "Keturkaimio Tinklalapio Dizainas: <a href='http://www.keturkaimis.co.nr/' target='blank'><b>Lauryno L.</b></a>";
   echo "</td>";
   echo "<td class='footer' align='right' width='33%'><span class='stats'><b>".$settings['counter']."</b></span> ".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
   echo "</td></tr></table></center></table></table></table>\n";
}


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

global $locale;

   echo "<table style='border: 1px solid #202020' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='".THEME."images/cellpic.gif' height='23'><img src='".THEME."images/arrow.gif' alt='' hspace='3'><font class='block-title'>$subject</font></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='news'><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'>&nbsp;";
   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']."' alt='' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

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

global $locale;

   echo "<table style='border: 1px solid #202020' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='".THEME."images/cellpic.gif' height='24'><img src='".THEME."images/arrow.gif' alt='' hspace='3'><font class='block-title'>$subject</font></td>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' 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']."' alt='' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function opentable($title) {

   echo "<table width='100%' cellpadding='2' cellspacing='1' style='border: 1px solid #202020'>";
   echo "<tr><td background='".THEME."images/cellpic.gif' bgcolor='#373737' height='23'><font class='head-title'>&nbsp;$title</font></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td class='main-body'>\n";
}

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

function openside($title) {

   echo "<table style='border: 1px solid #202020' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td height='24' width='100%' background='".THEME."images/cellpic.gif'>";
   echo "<center><img src='".THEME."images/arrow.gif' alt='' hspace='3'><font class='block-title'>$title</font><img src='".THEME."images/arrowb.gif' alt='' hspace='3'></center>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#191928' class='side-body' width='100%'>";
}

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

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

$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";

   echo "<table border='0' style='border: 1px solid #202020' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td height='24' width='100%' background='".THEME."images/cellpic.gif'>";
   echo "<img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"><font class='block-title'>$title</font>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#191928' class='side-body'width='100%' '".THEME."images/back1.gif'>";
   echo "<div id='box_$boxname'".($open=="off"?" style='display:none'":"").">\n";
}


function closesidex() {

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

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




;)

Uostyk.
Redagavo pokemonu_karalius 2009 Kov. 26 16:03:31
2009 Kov. 26 16:03:46          4 žinutė iš 5
Spausdinti pranešimą
<?
/*--------------------------------------------------------+
| PHP-Fusion v6 - Content Management System   |
|---------------------------------------------------------|
| author: Nick Jones (Digitanium) Ä¼Ć¦Ā½ 2002-2006 |
| web: http://www.php-fusion.co.uk                   |
| email: nick@php-fusion.co.uk                           |
|---------------------------------------------------------|
| Released under the terms and conditions of    |
| the GNU General Public License (Version 2)    |
+--------------------------------------------------------*/
/*------------------------------------------------------+
|        IMC Theme for PHP-Fusion v6                 |
|---------------------------------------------------------|
| author: [-DT-] Ä¼Ć¦Ā½ 2005-2007                           |
| web: http://www.holstebronx.com                  |
| email: dennis_ostergaard@msn.com                 |
+--------------------------------------------------------*/

$body_text = "#cccccc";
$body_bg = "#373737";
$theme_width = "950";
$theme_width_l = "160";
$theme_width_r = "160";

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'>";
   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='150' background='".THEME."images/baner.jpg' align='right' valign='middle'>
   <table width='988' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td>&nbsp;</td>
    <td width='220' 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' background='".THEME."images/userinfo.gif'>
  <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&#353;ymas</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>&#381;inut&#279;s [nauj&#371;: <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";"
   <td><img src='".THEME."images/blank.gif'></td>
  </tr>
</table>

\n";
   // Jei ne narys
} else {
   openside("Prisijungimas");
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' background='".THEME."images/userlogin.gif' 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 "<a href=".BASEDIR."register.php>Registracija</a> / <a href=".BASEDIR."lostpassword.php>Slapta&#382;odis</a>\n";
   }
   echo"</div>\n";
}
closeside();
   echo "</td>
   <td><img src='".THEME."images/blank.gif'></td>
  </tr>
</table>
   </td>";
   echo "</tr></table></td></tr></table>\n";
   // End banner code / Banerio kodo pabaiga
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
   echo "<td><table width='100%' height='28' border='0' cellpadding='0' cellspacing='0'>";
   $result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
      if (dbrows($result) != 0) {
   echo "<td class='cellpic'>\n";
      $i = 0;
   while($data = dbarray($result)) {
      if (checkgroup($data['link_visibility'])) {
      if ($data['link_url']!="---") {
      if ($i != 0) { echo "  <img src='".THEME."images/divider.gif' alt=''>  "; } else { echo "\n"; }
   $link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
      if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
   echo "<a href='".$data['link_url']."'".$link_target."'>".$data['link_name']."</a>";
   } else {
   echo "<a href='".BASEDIR.$data['link_url']."'".$link_target."'>".$data['link_name']."</a>";
}
   }
$i++;
      }
   }
}
   echo ($i == 0 ? " " : "")."</td>\n";
   echo "<td align='right' class='cellpic' nowrap><strong>";
   echo "<div align='right' class='date' id='Clock'></div>";
      echo "<script type='text/javascript'>
      <!--
      var DayNam = new Array(
      'Sekmadienis','Pirmadienis','Antradienis','Tre&#269;iadienis','Ketvirtadienis','Penktadienis','&#352;e&#353;tadienis');
      var MnthNam = new Array(
      'Sausio','Vasario','Kovo','BalandĆ…Ā¾io','GeguĆ…Ā¾Ć„ā€”s','BirĆ…Ā¾elio','Liepos','RugpjĆ…Ā«Ć„ĀØio','RugsĆ„ā€”jo','Spalio','LapkriĆ„ĀØio','GruodĆ…Ā¾io');
      //-->
      </script>";
   echo "<div align='right' class='date'><script type='text/javascript' src='".THEME."/js/clock.js'></script></div>";
   echo "</td></tr></table></td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
   echo "<tr valign='top'>";
   echo "<td valign='middle' align='right'>";
   echo "<table width='100%' cellpadding='4' bgcolor='#373737' cellspacing='0' border='0'>";
}

function render_footer($license=false) {

global $theme_width,$settings,$locale;

   echo "</tr>\n</table>\n";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
   echo "<tr><td><table border='0' cellpadding='0' cellspacing='0' width='100%' height='30'>";
   echo "<tr><td class='footer' valign='middle' width='35%'>";
      if ($license == false) {
   echo "Tinklalapio varikliukas: <a href='http://www.php-fusion.co.uk' target='blank'><b>PHP-Fusion</b></a> &copy; 2003-2006";
   }
   echo "</td>";
   echo "<td class='footer' align='center' width='22%'>";
   echo "Keturkaimio Tinklalapio Dizainas: <a href='http://www.keturkaimis.co.nr/' target='blank'><b>Lauryno L.</b></a>";
   echo "</td>";
   echo "<td class='footer' align='right' width='33%'><span class='stats'><b>".$settings['counter']."</b></span> ".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
   echo "</td></tr></table></center></table></table></table>\n";
}


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

global $locale;

   echo "<table style='border: 1px solid #202020' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='".THEME."images/cellpic.gif' height='23'><img src='".THEME."images/arrow.gif' alt='' hspace='3'><font class='block-title'>$subject</font></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='news'><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'>&nbsp;";
   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']."' alt='' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

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

global $locale;

   echo "<table style='border: 1px solid #202020' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='".THEME."images/cellpic.gif' height='24'><img src='".THEME."images/arrow.gif' alt='' hspace='3'><font class='block-title'>$subject</font></td>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' 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']."' alt='' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function opentable($title) {

   echo "<table width='100%' cellpadding='2' cellspacing='1' style='border: 1px solid #202020'>";
   echo "<tr><td background='".THEME."images/cellpic.gif' bgcolor='#373737' height='23'><font class='head-title'>&nbsp;$title</font></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td class='main-body'>\n";
}

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

function openside($title) {

   echo "<table style='border: 1px solid #202020' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td height='24' width='100%' background='".THEME."images/cellpic.gif'>";
   echo "<center><img src='".THEME."images/arrow.gif' alt='' hspace='3'><font class='block-title'>$title</font><img src='".THEME."images/arrowb.gif' alt='' hspace='3'></center>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#191928' class='side-body' width='100%'>";
}

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

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

$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";

   echo "<table border='0' style='border: 1px solid #202020' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td height='24' width='100%' background='".THEME."images/cellpic.gif'>";
   echo "<img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"><font class='block-title'>$title</font>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#191928' class='side-body'width='100%' '".THEME."images/back1.gif'>";
   echo "<div id='box_$boxname'".($open=="off"?" style='display:none'":"").">\n";
}


function closesidex() {

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

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



Štai.

2009 Kov. 26 16:03:10          5 žinutė iš 5
Spausdinti pranešimą
Ačiūmerkia akį

Uostyk.
Peršokti į forumą: