Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

saulyzas 1 savaitė
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: 13.58.207.196
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
Cszone_orange themos skiptas ?
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes

Autorius: salvinas Peržiūrų: 1756      Spausdinti temą
2009 Kov. 30 19:03:30          1 žinutė iš 5
Spausdinti pranešimą
Atsisiunciau cszone_orange thema,kad is theme.php isimti ant headerio uzdeta skripta ten kur top siuntiniai ir naujausi siuntiniai,bet nieko nesuprantu kur tas skriptas gal galit pasakyt ?
cia theme.php
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

$body_text = "#555555";
$body_bg = "#f9f9f9";
$theme_width = "980";
$theme_width_l = "175";
$theme_width_r = "175";

function render_header($header_content) {
global $theme_width, $body_bg;
echo "<!--\nResponsible for this theme: PLAY @ skype : bahuraz \n//-->";
// Veikimas:
// "Nuoroda[-]paveiksliukas"
$menu = array(
        BASEDIR."index.php[-]namai",
        FORUM."index.php[-]forumas",
        BASEDIR."articles.php[-]straipsniai",
        BASEDIR."index.php[-]cs_movies",
        "http://ip-adress.com[-]ip",
        BASEDIR."index.php[-]bars",
        BASEDIR."viewpage.php?page_id=1[-]parama",
        "http://b00m.lt/[-]cytai",
        BASEDIR."index.php[-]servers"
        );
$menu_header = array(
               BASEDIR."index.php[-]80",                // Namai
               FORUM."index.php[-]87",                  // Forumas
               BASEDIR."index.php[-]89",                // Serveriai
               BASEDIR."downloads.php[-]88",            // Siuntiniai
               "[-]97",                                 // Pamokos
               BASEDIR."index.php[-]86",                // Reklama
               BASEDIR."search.php[-]79",               // Paieška
               "http://b00m.lt/[-]53",                  // Čytai
               BASEDIR."viewpage.php?page_id=1[-]83",   // Parama
               "[-]114",
               "[-]118"
               );

echo "
<table align='center' cellspacing='0' cellpadding='0' width='980' class='mainsite-border'>
<tr><td><table align='center' width='$theme_width' style='height:395px;' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
   <tr>

      <td class='bnr1' width='16' height='53'></td>
      <td class='bnr3' width='170' height='53'></td>
      <td colspan='5' class='bnr4' width='794' height='53'></td>
      <td class='tarpas' width='1' height='53'></td>
   </tr>
   <tr>
   <td rowspan='3' class='bnr5' width='16' height='324'></td>
<td rowspan='3' class='bnr6' width='170' height='324' align='center' valign='top'>";
foreach($menu as $a) {
$men = explode("[-]", $a);
echo "<a href='".$men[0]."'><img src='".THEME."images/".$men[1]."1.gif' border='0' onmouseover=\"this.src='".THEME."images/".$men[1]."0.gif'\" onmouseout=\"this.src='".THEME."images/".$men[1]."1.gif'\" alt=''></a>";
}
echo "</td>
      <td colspan='5' class='bnr7' width='794' height='146'></td>
      <td class='tarpas' width='1' height='146'></td>
   </tr>
   <tr>
                <td class='bnr8' width='42' height='154'></td>
                <td class='bnr9' width='207' height='154' align='center'>";
   $result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_datestamp DESC LIMIT 0,10");
   if (dbrows($result) != 0) {
      echo "<table width='100%' cellpadding='0' cellspacing='0'>";
      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'], 30)."</a>
            </td>
            <td align='right'>".$data['download_count']."</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "&#352;iai panelei n&#279;ra turinio";
   }
echo "          </td>
      <td class='bnr10' width='59' height='154'></td>
      <td class='bnr11' width='202' height='154' align='center'>";
   $result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_count DESC LIMIT 0,10");
   if (dbrows($result) != 0) {
      echo "<table width='100%' cellpadding='0' cellspacing='0'>";
      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'], 30)."</a>
            </td>
            <td align='right'>".$data['download_count']."</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "&#352;iai panelei n&#279;ra turinio";
   }
echo "          </td>
      <td class='bnr12' width='284' height='154'></td>
      <td class='tarpas' width='1' height='154'></td>
   </tr>
   <tr>
      <td colspan='5' rowspan='2' class='bnr13' width='794' height='42'></td>
      <td class='tarpas' width='1' height='24'></td>
   </tr>
   <tr>
      <td colspan='2' class='bnr14' width='186' height='18'></td>
      <td class='tarpas' width='1' height='18'></td>

   </tr>
</table>
<table align='center' width='980' height='40' border='0' cellpadding='0' bgcolor='$body_bg' cellspacing='0'>
   <tr>";
$i = 1;
foreach($menu_header as $a) {
$men = explode("[-]", $a);
echo "<td class='sub_linkai".$i."' width='".$men[1]."' height='40'>";
if($men[0]!="") {
echo "<a href='".$men[0]."'><img src='".THEME."images/spacer.gif' width='".$men[1]."' height='40' style='display:block'>";
}
echo "</td>";
$i++;
}
echo "</tr>
</table><table align='center' width='980' height='5' border='0' cellpadding='0' bgcolor='$body_bg' cellspacing='0'>
<tr><td></td></tr>
</table>
<table align='center' cellpadding='0' cellspacing='0' bgcolor='$body_bg' width='980'>
<tr><td>";
}

function render_footer($license=false) {
global $theme_width, $settings, $body_bg;
echo "</tr>\n</table>\n";
echo "<table align='center' width='980' height='10' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
   <tr>
   <td>
   </td>
   </tr>
   </table><table align='center' width='980' height='40' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
   <tr>
      <td class='futeris1' width='15' height='40'></td>

      <td class='futeris2' width='732' height='40'>".showcounter()."</td>
      <td class='futeris3' width='233' height='40'></td>
   </tr>
</table>   <table align='center' width='980' height='5' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
   <tr>
   <td>
   </td>
   </tr>

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

}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," &middot;").newsopts($info,"&middot;").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";

}

function opentable($title) {
echo "<table align='center' width='100%' height='100%' border='0' cellpadding='0' cellspacing='0'>
   <tr><td class='pan-ct-kaire' width='12' height='34'><img src='".THEME."images/spacer.gif' width='12' height='34' style='display:block'></td><td width='100%' height='34' class='pan-ct-centras'>$title</td><td class='pan-ct-desine' width='15' height='34'><img src='".THEME."images/spacer.gif' width='15' height='34' style='display:block'></td>
   </tr>
   <tr><td class='pan-ct-son-kaire' width='12' height='100%'></td><td  width='100%' height='100%' class='pan-ct-fonas'>";
}

function closetable() {

echo "</td><td class='pan-ct-son-desine' width='15' height='100%'></td></tr><tr>
      <td class='pan-ct-apac-kaire' width='12' height='10'></td>
      <td width='100%' height='10' class='pan-ct-apac-centras'></td>
      <td class='pan-ct-apac-desine' width='15' height='10'></td></tr></table>";
}

function openside($title) {   
echo "<table align='center' width='188' height='140' border='0' cellpadding='0' cellspacing='0'><tr>
   <td colspan='2' class='pan-kaire' width='16' height='44'></td><td colspan='2' class='pan-centras' width='158' height='44'>$title</td><td colspan='2' class='pan-desine' width='14' height='44'></td>
   </tr><tr><td class='pan-son-kaire' width='8' height='100%'></td>
   <td colspan='4' class='pan-fonas' width='8' height='100%'>";
}

function closeside() {

echo "</td><td class='pan-son-desine' width='8' height='100%'></td>
   </tr><tr>
      <td colspan='2' class='pan-apac-kaire' width='16' height='15'></td><td class='pan-apac-centras' width='154' height='15'></td><td colspan='3' class='pan-apac-desine' width='18' height='15'></td>
   </tr><tr>
      <td class='tarpas' width='8' height='1'></td>
      <td class='tarpas' width='8' height='1'></td>
      <td class='tarpas' width='154' height='1'></td>

      <td class='tarpas' width='4' height='1'></td>
      <td class='tarpas' width='6' height='1'></td>
      <td class='tarpas' width='8' height='1'></td>
   </tr>
</table>";
tablebreak();

}

function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table align='center' width='188' height='140' border='0' cellpadding='0' cellspacing='0'><tr>
   <td colspan='2' class='pan-kaire' width='16' height='44'></td><td colspan='2' class='pan-centras' width='158' height='44'>$title</td><td class='pan-centras' align='right'>".panelbutton($state,$boxname)."</td><td colspan='2' class='pan-desine' width='14' height='44'></td>
   </tr><tr><td class='pan-son-kaire' width='8' height='100%'></td>
   <td colspan='4' class='pan-fonas' width='8' height='100%'><div id='box_$boxname'".($state=="off"?" style='display:none'":"").">";
}

function closesidex() {
echo "</div></td><td class='pan-son-desine' width='8' height='100%'></td>
   </tr><tr>
      <td colspan='2' class='pan-apac-kaire' width='16' height='15'></td><td class='pan-apac-centras' width='154' height='15'></td><td colspan='3' class='pan-apac-desine' width='18' height='15'></td>
   </tr><tr>
      <td class='tarpas' width='8' height='1'></td>
      <td class='tarpas' width='8' height='1'></td>
      <td class='tarpas' width='154' height='1'></td>

      <td class='tarpas' width='4' height='1'></td>
      <td class='tarpas' width='6' height='1'></td>
      <td class='tarpas' width='8' height='1'></td>
   </tr>
</table>";
tablebreak();
}

function tablebreak() {

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";

}
?>





gal pasakysit tiksliai kuris kodas.
2009 Kov. 30 19:03:47          2 žinutė iš 5
Spausdinti pranešimą
echo "
<table align='center' cellspacing='0' cellpadding='0' width='980' class='mainsite-border'>
<tr><td><table align='center' width='$theme_width' style='height:395px;' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
   <tr>

      <td class='bnr1' width='16' height='53'></td>
      <td class='bnr3' width='170' height='53'></td>
      <td colspan='5' class='bnr4' width='794' height='53'></td>
      <td class='tarpas' width='1' height='53'></td>
   </tr>
   <tr>
   <td rowspan='3' class='bnr5' width='16' height='324'></td>
<td rowspan='3' class='bnr6' width='170' height='324' align='center' valign='top'>";
foreach($menu as $a) {
$men = explode("[-]", $a);
echo "<a href='".$men[0]."'><img src='".THEME."images/".$men[1]."1.gif' border='0' onmouseover=\"this.src='".THEME."images/".$men[1]."0.gif'\" onmouseout=\"this.src='".THEME."images/".$men[1]."1.gif'\" alt=''></a>";
}
echo "</td>
      <td colspan='5' class='bnr7' width='794' height='146'></td>
      <td class='tarpas' width='1' height='146'></td>
   </tr>
   <tr>
                <td class='bnr8' width='42' height='154'></td>
                <td class='bnr9' width='207' height='154' align='center'>";
   $result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_datestamp DESC LIMIT 0,10");
   if (dbrows($result) != 0) {
      echo "<table width='100%' cellpadding='0' cellspacing='0'>";
      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'], 30)."</a>
            </td>
            <td align='right'>".$data['download_count']."</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "&#352;iai panelei n&#279;ra turinio";
   }
echo "          </td>
      <td class='bnr10' width='59' height='154'></td>
      <td class='bnr11' width='202' height='154' align='center'>";
   $result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_count DESC LIMIT 0,10");
   if (dbrows($result) != 0) {
      echo "<table width='100%' cellpadding='0' cellspacing='0'>";
      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'], 30)."</a>
            </td>
            <td align='right'>".$data['download_count']."</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "&#352;iai panelei n&#279;ra turinio";
   }




code and design solutions tinklalapių kūrimas
2009 Kov. 30 19:03:40          3 žinutė iš 5
Spausdinti pranešimą
gal netiksliai nukopinau bet kazkur sita reik trint lauk :)

// Veikimas:
// "Nuoroda[-]paveiksliukas"
$menu = array(
        BASEDIR."index.php[-]namai",
        FORUM."index.php[-]forumas",
        BASEDIR."articles.php[-]straipsniai",
        BASEDIR."index.php[-]cs_movies",
        "http://ip-adress.com[-]ip",
        BASEDIR."index.php[-]bars",
        BASEDIR."viewpage.php?page_id=1[-]parama",
        "http://b00m.lt/[-]cytai",
        BASEDIR."index.php[-]servers"
        );
$menu_header = array(
               BASEDIR."index.php[-]80",                // Namai
               FORUM."index.php[-]87",                  // Forumas
               BASEDIR."index.php[-]89",                // Serveriai
               BASEDIR."downloads.php[-]88",            // Siuntiniai
               "[-]97",                                 // Pamokos
               BASEDIR."index.php[-]86",                // Reklama
               BASEDIR."search.php[-]79",               // Paieška
               "http://b00m.lt/[-]53",                  // Čytai
               BASEDIR."viewpage.php?page_id=1[-]83",   // Parama
               "[-]114",
               "[-]118"
               );

echo "
<table align='center' cellspacing='0' cellpadding='0' width='980' class='mainsite-border'>
<tr><td><table align='center' width='$theme_width' style='height:395px;' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
   <tr>

      <td class='bnr1' width='16' height='53'></td>
      <td class='bnr3' width='170' height='53'></td>
      <td colspan='5' class='bnr4' width='794' height='53'></td>
      <td class='tarpas' width='1' height='53'></td>
   </tr>
   <tr>
   <td rowspan='3' class='bnr5' width='16' height='324'></td>
<td rowspan='3' class='bnr6' width='170' height='324' align='center' valign='top'>";
foreach($menu as $a) {
$men = explode("[-]", $a);
echo "<a href='".$men[0]."'><img src='".THEME."images/".$men[1]."1.gif' border='0' onmouseover=\"this.src='".THEME."images/".$men[1]."0.gif'\" onmouseout=\"this.src='".THEME."images/".$men[1]."1.gif'\" alt=''></a>";
}
echo "</td>
      <td colspan='5' class='bnr7' width='794' height='146'></td>
      <td class='tarpas' width='1' height='146'></td>
   </tr>
   <tr>
                <td class='bnr8' width='42' height='154'></td>
                <td class='bnr9' width='207' height='154' align='center'>";
   $result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_datestamp DESC LIMIT 0,10");
   if (dbrows($result) != 0) {
      echo "<table width='100%' cellpadding='0' cellspacing='0'>";
      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'], 30)."</a>
            </td>
            <td align='right'>".$data['download_count']."</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "&#352;iai panelei n&#279;ra turinio";
   }
echo "          </td>
      <td class='bnr10' width='59' height='154'></td>
      <td class='bnr11' width='202' height='154' align='center'>";
   $result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_count DESC LIMIT 0,10");
   if (dbrows($result) != 0) {
      echo "<table width='100%' cellpadding='0' cellspacing='0'>";
      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'], 30)."</a>
            </td>
            <td align='right'>".$data['download_count']."</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "&#352;iai panelei n&#279;ra turinio";
   }
echo "          </td>
      <td class='bnr12' width='284' height='154'></td>
      <td class='tarpas' width='1' height='154'></td>
   </tr>
   <tr>
      <td colspan='5' rowspan='2' class='bnr13' width='794' height='42'></td>
      <td class='tarpas' width='1' height='24'></td>
   </tr>
   <tr>
      <td colspan='2' class='bnr14' width='186' height='18'></td>
      <td class='tarpas' width='1' height='18'></td>

   </tr>
</table>
<table align='center' width='980' height='40' border='0' cellpadding='0' bgcolor='$body_bg' cellspacing='0'>
   <tr>";
$i = 1;
foreach($menu_header as $a) {
$men = explode("[-]", $a);
echo "<td class='sub_linkai".$i."' width='".$men[1]."' height='40'>";
if($men[0]!="") {
echo "<a href='".$men[0]."'><img src='".THEME."images/spacer.gif' width='".$men[1]."' height='40' style='display:block'>";
}
echo "</td>";
$i++;
}




2009 Kov. 30 20:03:06          4 žinutė iš 5
Spausdinti pranešimą
Tuoj pabandau
2009 Kov. 30 20:03:32          5 žinutė iš 5
Spausdinti pranešimą
Va stai koke klaida meta Parse error: syntax error, unexpected T_DEC, expecting T_STRING or T_VARIABLE or '$' in /home/csdet/mano_web.lt/themes/mano_theme/theme.php on line 35


As ne ten turbut dedu kazkur gal jus galit man istatyti y ten kur reik.

cia mano theme.php

<?php

$body_text = "#FFFFFF";
$body_bg = "#000000";
$theme_width = "980";
$theme_width_l = "180";
$theme_width_r = "180";

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 0px; border-left: solid #b5b5b5 0px;'>";
   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 align='center' width='980' height='336' background='".THEME."images/header.jpg' cellspacing='0' cellpadding='0'>
<tr><td height=50 class='nuorodos' align=left style='padding-left:10px; padding-top:315px;'><br>";
echo "
<center> * <a href='".BASEDIR."news.php'>Namai</a> *
<a href='".BASEDIR."forum/index.php'>Forumas</a> *
<a href='".BASEDIR."downloads.php'>Siuntiniai</a> *
<a href='".BASEDIR."/serveriai/'>Serveriai</a> *
<a href='".BASEDIR."articles.php'>Pamokos</a> * ";


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



   // End banner code / Banerio kodo pabaiga
   







   echo "<table width='100%' cellpadding='0' bgcolor='#00000' cellspacing='0' border='0'><tr>";
}

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

   echo "</tr>\n</table>\n";
   echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0' background='".THEME."images/fbc.gif' style='border-right: solid #b5b5b5 0px; border-left: solid #b5b5b5 0px;'>";
   echo "<td width='60%' height='60' class='white' align='left'>";
      if ($license == false) {
      
   }
   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 "<b>";
   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='0'></td></tr></table>\n";
}
?>




kur tiksliai reikia irasyti sita koda ?
echo "
<table align='center' cellspacing='0' cellpadding='0' width='980' class='mainsite-border'>
<tr><td><table align='center' width='$theme_width' style='height:395px;' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
   <tr>

      <td class='bnr1' width='16' height='53'></td>
      <td class='bnr3' width='170' height='53'></td>
      <td colspan='5' class='bnr4' width='794' height='53'></td>
      <td class='tarpas' width='1' height='53'></td>
   </tr>
   <tr>
   <td rowspan='3' class='bnr5' width='16' height='324'></td>
<td rowspan='3' class='bnr6' width='170' height='324' align='center' valign='top'>";
foreach($menu as $a) {
$men = explode("[-]", $a);
echo "<a href='".$men[0]."'><img src='".THEME."images/".$men[1]."1.gif' border='0' onmouseover=\"this.src='".THEME."images/".$men[1]."0.gif'\" onmouseout=\"this.src='".THEME."images/".$men[1]."1.gif'\" alt=''></a>";
}
echo "</td>
      <td colspan='5' class='bnr7' width='794' height='146'></td>
      <td class='tarpas' width='1' height='146'></td>
   </tr>
   <tr>
                <td class='bnr8' width='42' height='154'></td>
                <td class='bnr9' width='207' height='154' align='center'>";
   $result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_datestamp DESC LIMIT 0,10";
   if (dbrows($result) != 0) {
      echo "<table width='100%' cellpadding='0' cellspacing='0'>";
      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'], 30)."</a>
            </td>
            <td align='right'>".$data['download_count']."</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "&#352;iai panelei n&#279;ra turinio";
   }
echo "          </td>
      <td class='bnr10' width='59' height='154'></td>
      <td class='bnr11' width='202' height='154' align='center'>";
   $result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_count DESC LIMIT 0,10";
   if (dbrows($result) != 0) {
      echo "<table width='100%' cellpadding='0' cellspacing='0'>";
      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'], 30)."</a>
            </td>
            <td align='right'>".$data['download_count']."</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "&#352;iai panelei n&#279;ra turinio";
   }




Peršokti į forumą: