Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,952
Naujausias narys: tomeem

Naujausi straipsniai

Paskutiniai nariai

asirija 3 savaitės
tomeem 5 savaitės
Reikalas 6 savaitės
weberiz 8 savaitės
mRokass10 savaitės
kartoonas12 savaitės
iaescortsmap12 savaitės
ozzWANTED13 savaitės
grunskiz14 savaitės
Bruksnys15 savaitės
illusion15 savaitės
ordo16 savaitės
Jurgaila17 savaitės
originalcs1617 savaitės
Rytis17 savaitės
halis19 savaitės
junkus22 savaitės
morlis22 savaitės
Majakas23 savaitės
andsoft24 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 18.118.126.11
Naujienų: 529
Straipsnių: 235
Temų: 52,585
Postų: 522,523
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

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

Žmogus
2023 Rugs. 7 21:09:14
O gal BloodKiller pasijungs?

Apocal
2023 Rugs. 2 18:09:23
Nu davai nuveikiam kažką akinanti šypsen. Prisijungti kada visi čia akinanti šypsen.

Apocal
2023 Rugs. 2 00:09:18
Šiaip atėjau pažiūrėti ar dar lopas nesby yra ar koks ten buvo.

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
del forumo
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: GooUn Peržiūrų: 1966      Spausdinti temą
2008 Rugp. 15 19:08:50          1 žinutė iš 7
Spausdinti pranešimą
zekit na va isidejau ta gam3r tema bet va kokia klaida meta kur yra top temos paspaudziu ant bet kokios temos o ismeta neranda stai theme.php

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

// theme settings
$body_text = "#555555";
$body_bg = "#0c0c0c";
$theme_width = "999";
$theme_width_l = "175";
$theme_width_r = "175";

function render_header($header_content) {

global $theme_width,$db_prefix,$locale,$data,$userdata,$user_data,$aidlink;

echo "<table align='left' cellspacing='0' cellpadding='0' width='$theme_width' >
<tr>
<td class='pageLeft'></td>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>

<tr>
<td style='background-image:url(".THEME."images/header-up.png);' height='112' align='center'>";
echo"<a href='".BASEDIR."index.php' ><img src='".THEME."images/namai.png' border='0' onmouseover=\"this.src='".THEME."images/namai_hover.png'\" onmouseout=\"this.src='".THEME."images/namai.png'\" style='padding-bottom:55px; padding-left:220px'></a>&nbsp;<a href='".FORUM."index.php' ><img src='".THEME."images/forumas.png' onmouseover=\"this.src='".THEME."images/forumas_hover.png'\" onmouseout=\"this.src='".THEME."images/forumas.png'\" border='0' style='padding-bottom:55px'></a>&nbsp;<a href='".BASEDIR."photogallery.php' ><img src='".THEME."images/galerija.png' onmouseover=\"this.src='".THEME."images/galerija_hover.png'\" onmouseout=\"this.src='".THEME."images/galerija.png'\" border='0' style='padding-bottom:55px'></a>&nbsp;<a href='".BASEDIR."weblinks.php' ><img src='".THEME."images/klubai.png' onmouseover=\"this.src='".THEME."images/klubai_hover.png'\" onmouseout=\"this.src='".THEME."images/klubai.png'\" border='0' style='padding-bottom:55px'></a>&nbsp;<a href='".BASEDIR."articles.php' ><img src='".THEME."images/straipsniai.png' onmouseover=\"this.src='".THEME."images/straipsniai_hover.png'\" onmouseout=\"this.src='".THEME."images/straipsniai.png'\" border='0' style='padding-bottom:55px'></a>
</tr>

<tr>
<td style='background-image:url(".THEME."images/header-center.png);' height='187' align='center'>";

echo "<table cellpadding='0' cellspacing='0' width='$theme_width' >\n<tr>
<td align='left' style='padding-left:10px; padding-top:40px;' width='120'>";
include THEME."user_info_panel.php";
echo "</td>
</tr>
</table><br>\n";

echo"</td>
</tr>



<tr><table align='center' width='100%' height='289' background='".THEME."images/header-down.png' border='0' cellspacing='0' cellpadding='0'>";
echo"<tr><td height='50' class='nuorodos' align='center' style='padding-right:300px; padding-top:30px;'><br>";
echo"<table width='100%'><tr>";
echo"<td width='30%'>";
include INFUSIONS."info_panel/locale/Lithuanian.php";

$result=dbquery("SELECT * FROM ".$db_prefix."users ORDER BY user_lastvisit DESC LIMIT 0,16");
if(dbrows($result)!=0){
while($data=dbarray($result)){
$lastseen=time()-$data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
if($lastseen<60){
$lastseen="<nobr><font color='green'><b>OnLine</b></font></NOBR>";
}elseif($lastseen<360){
$lastseen="<nobr><font color='red'><b>OffLine</b></font></NOBR>";
}elseif($iW>0){
if($iW==1) $Text="".$locale['XXX_007']."";
elseif($iW==2 || $iW==3 || $iW==4) $Text="".$locale['XXX_011']."";
else $Text="".$locale['XXX_008']."";
$lastseen="<nobr>$iW $Text</NOBR>";
}elseif($iD>0){
if($iD==1) $Text="".$locale['XXX_009']."";
else $Text="".$locale['XXX_010']."";
$lastseen="<NOBR>$iD $Text</NOBR>";
}else{
$lastseen="$iH:$iM:$iS";
}

if (!isset($start)) $start="";
echo "<table width='90%' cellpadding='0' cellspacing='0'><tr><td class='small'>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='".BASEDIR."narys,".$data['user_id']."'
              onmouseover=\"ddrivetip('$start<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_003']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_004']."</b>: ".$data['user_location']."<br><b>".$locale['XXX_005']."</b>: ".$data['user_msn']."<br><b>".$locale['XXX_006']."</b>: ".$data['user_posts']."$end')\" style='color:#".$data['user_color']."' onMouseout=\"hideddrivetip()\">";
       
echo  $data['user_prefix'].$data['user_name']."</a> <td align=\"right\" class='small'>".$lastseen."</td></tr></table>";
}
}
echo "</td><td width='40%' style='padding-left:0px;' >";
echo "<table  width='70%'>";
$result = dbquery(
       "SELECT tf.*, tt.*, tu.user_id,user_name FROM ".$db_prefix."forums tf
       INNER JOIN ".$db_prefix."threads tt USING(forum_id)
       INNER JOIN ".$db_prefix."users tu ON tt.thread_lastuser=tu.user_id
       ".$usr_grps." ORDER BY thread_views DESC LIMIT 0,15");
if (dbrows($result) != 0) {
       $i=0;
       if ($theme_width == "70%") echo "\n";
       while ($data = dbarray($result)) {
              if ($i % 2 == 0) { $row_color = "tbl1"; } else { $row_color = "tbl1"; }
                     $new_posts = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."' and post_datestamp>'".(isset($lastvisited) ? $lastvisited : 0)."'");
                     //$thread_replies = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'") - 1;
                     $thread_replies = $data['thread_replies'];
                     $forum_id = $data['forum_id'];
                     if ($new_posts > 0) {
               $folder123 = "<img src='".THEME."forum/foldernew.gif' height='11'>";
               } else if ($new_posts > 19) {
               $folder123 = "<img src='".THEME."forum/folderhot.gif' height='11'>";
               } else {
                     if ($data['thread_locked'] == 1) {
               $folder123 = "<img src='".THEME."forum/folderlock.gif' height='11'>";
               } else if ($data['thread_locked'] == 0) {
                     $folder123 = "<img src='".THEME."forum/folder.gif' height='11'>";
                     }
                     }
              //$reply_count = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'");
              $reply_count = $data['thread_replies']+1;
             
              $data2 = dbarray(dbquery("SELECT post_id FROM ".$db_prefix."posts WHERE thread_id='".$data['thread_id']."' ORDER BY post_id DESC LIMIT 1"));
              $rstart = ($reply_count > 20 ? "rowstart=".((ceil($reply_count / 20)-1)*20)."&" : "");
              echo "<table width=\"70%\" cellpadding=\"0\" cellspacing=\"0\"><tr><td align=\"left\" class='small' width='70%'>";
              if ($theme_width == "70%") {
                     echo "$folder123 <a href='posts/ziureti-".$rstart."".$data['forum_id']."-tema".$data['thread_id']."#".$data2['post_id']."' onMouseover=\"ddrivetip('$start<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_019']."</b>: ".trimlink(str_replace("&#39;", "", $data['thread_subject']), 45)."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."/".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost'])."$end')\"' onMouseout=\"hideddrivetip()\" >".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
                     echo "<td align=\"right\" width='25%'>[".$data['thread_views']."]</td>";
              } else {
                     echo "$folder123 <a  href='posts/ziureti-".$rstart."".$data['forum_id']."-tema-".$data['thread_id']."#".$data2['post_id']."' onMouseover=\"ddrivetip('$start<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_019']."</b> ".trimlink(str_replace("&#39;", "", $data['thread_subject']), 45)."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."/".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost'])."$end')\" (".$data['forum_name'].")' onMouseout=\"hideddrivetip()\">".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
                     echo "<td align=\"right\" width='25%'>[".$data['thread_views']."]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>";
              }
              echo "</tr></table>";
              $i++;
       }

} else {
       echo "<center>".$locale['004']."</center>\n";
}




echo"</td>";
echo "</td></tr>
<tr></tr>
<tr><td height=31></td></tr>
</table>
";


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

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n
   <td width='0'></td>
   <td width='36' style='background-image:url(".THEME."images/bg5.png); margin-left: 0px;'></td>\n";
}

function openside_header($title) {
   
echo "<table cellpadding='0' cellspacing='0'>
<tr>
<td class='side-body-header'>\n";

}

function closeside_header() {

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

}
function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' valign='bottom' class='footer'>Code by <a href='https://webdnd.com/profile.php?lookup=5687'>Enzo</a><r>\n
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {
   global $locale;
   opentable($subject);
   echo $locale['040'].newsposter($info)."\n"
   ."\n\n<hr>\n".$news."\n<hr>\n"
   .openform("N",$info['news_id']).newsopts($info," &middot;").closeform("N",$info['news_id'])."\n";
   closetable();
}

function render_article($subject, $article, $info) {
   global $locale;
   opentable($subject);
   echo $locale['040'].articleposter($info)."\n"
   ."<br>\n<hr>\n<br>\n".$article."<br><br>\n<hr>\n"
   .openform("A",$info['article_id']).articleopts($info," &middot;").closeform("A",$info['article_id'])."\n";
   closetable();
}

function render_cheats($subject, $cheats, $info) {
   global $locale;
   opentable($subject);
   echo $locale['040'].articleposter($info)."\n"
   ."<br>\n<hr>\n<br>\n".$cheats."<br><br>\n<hr>\n"
   .openform("A",$info['cheats_id']).articleopts($info," &middot;").closeform("A",$info['cheats_id'])."\n";
   closetable();
}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

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

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

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

}

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

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}

function closesidex() {

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

}

function tablebreak() {

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

}
?>





Redagavo GooUn 2008 Rugp. 15 19:08:05
2008 Rugp. 15 19:08:40          2 žinutė iš 7
Spausdinti pranešimą
jo ir man tas pats reik paziuret kaskodel nukreipe ne ten kai paspaudi galvoja

Kuremas muzikos portalas atlikti darbai apie 5 %
2008 Rugp. 15 19:08:21          3 žinutė iš 7
Spausdinti pranešimą
nukreipia ten nes pas mane saite buvo kitaip forumo užrašai padaryti.


FCBarcelona
mes que un club
2008 Rugp. 15 19:08:27          4 žinutė iš 7
Spausdinti pranešimą
as zinau kdl nukreipia kitur bet as nemou pasikeisti tarp theme.php

enzo gali padaryti kad butu gerai viskas


Redagavo GooUn 2008 Rugp. 15 19:08:13
2008 Rugp. 15 19:08:21          5 žinutė iš 7
Spausdinti pranešimą
palauk jei enzo nepadarys as padarysiu nes pats darausi sau akinanti šypsen

Kuremas muzikos portalas atlikti darbai apie 5 %
2008 Rugp. 15 19:08:57          6 žinutė iš 7
Spausdinti pranešimą
keiskite theme.php į šią:

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

// theme settings
$body_text = "#555555";
$body_bg = "#0c0c0c";
$theme_width = "999";
$theme_width_l = "175";
$theme_width_r = "175";

function render_header($header_content) {

global $theme_width,$db_prefix,$locale,$data,$userdata,$user_data,$aidlink;

echo "<table align='left' cellspacing='0' cellpadding='0' width='$theme_width' >
<tr>
<td class='pageLeft'></td>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>

<tr>
<td style='background-image:url(".THEME."images/header-up.png);' height='112' align='center'>";
echo"<a href='".BASEDIR."index.php' ><img src='".THEME."images/namai.png' border='0' onmouseover=\"this.src='".THEME."images/namai_hover.png'\" onmouseout=\"this.src='".THEME."images/namai.png'\" style='padding-bottom:55px; padding-left:220px'></a>&nbsp;<a href='".FORUM."index.php' ><img src='".THEME."images/forumas.png' onmouseover=\"this.src='".THEME."images/forumas_hover.png'\" onmouseout=\"this.src='".THEME."images/forumas.png'\" border='0' style='padding-bottom:55px'></a>&nbsp;<a href='".BASEDIR."photogallery.php' ><img src='".THEME."images/galerija.png' onmouseover=\"this.src='".THEME."images/galerija_hover.png'\" onmouseout=\"this.src='".THEME."images/galerija.png'\" border='0' style='padding-bottom:55px'></a>&nbsp;<a href='".BASEDIR."weblinks.php' ><img src='".THEME."images/klubai.png' onmouseover=\"this.src='".THEME."images/klubai_hover.png'\" onmouseout=\"this.src='".THEME."images/klubai.png'\" border='0' style='padding-bottom:55px'></a>&nbsp;<a href='".BASEDIR."articles.php' ><img src='".THEME."images/straipsniai.png' onmouseover=\"this.src='".THEME."images/straipsniai_hover.png'\" onmouseout=\"this.src='".THEME."images/straipsniai.png'\" border='0' style='padding-bottom:55px'></a>
</tr>

<tr>
<td style='background-image:url(".THEME."images/header-center.png);' height='187' align='center'>";

echo "<table cellpadding='0' cellspacing='0' width='$theme_width' >\n<tr>
<td align='left' style='padding-left:10px; padding-top:40px;' width='120'>";
include THEME."user_info_panel.php";
echo "</td>
</tr>
</table><br>\n";

echo"</td>
</tr>



<tr><table align='center' width='100%' height='289' background='".THEME."images/header-down.png' border='0' cellspacing='0' cellpadding='0'>";
echo"<tr><td height='50' class='nuorodos' align='center' style='padding-right:300px; padding-top:30px;'><br>";
echo"<table width='100%'><tr>";
echo"<td width='30%'>";
include INFUSIONS."info_panel/locale/Lithuanian.php";

$result=dbquery("SELECT * FROM ".$db_prefix."users ORDER BY user_lastvisit DESC LIMIT 0,16");
if(dbrows($result)!=0){
while($data=dbarray($result)){
$lastseen=time()-$data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
if($lastseen<60){
$lastseen="<nobr><font color='green'><b>OnLine</b></font></NOBR>";
}elseif($lastseen<360){
$lastseen="<nobr><font color='red'><b>OffLine</b></font></NOBR>";
}elseif($iW>0){
if($iW==1) $Text="".$locale['XXX_007']."";
elseif($iW==2 || $iW==3 || $iW==4) $Text="".$locale['XXX_011']."";
else $Text="".$locale['XXX_008']."";
$lastseen="<nobr>$iW $Text</NOBR>";
}elseif($iD>0){
if($iD==1) $Text="".$locale['XXX_009']."";
else $Text="".$locale['XXX_010']."";
$lastseen="<NOBR>$iD $Text</NOBR>";
}else{
$lastseen="$iH:$iM:$iS";
}

if (!isset($start)) $start="";
echo "<table width='90%' cellpadding='0' cellspacing='0'><tr><td class='small'>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='".BASEDIR."narys,".$data['user_id']."'
              onmouseover=\"ddrivetip('$start<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_003']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_004']."</b>: ".$data['user_location']."<br><b>".$locale['XXX_005']."</b>: ".$data['user_msn']."<br><b>".$locale['XXX_006']."</b>: ".$data['user_posts']."$end')\" style='color:#".$data['user_color']."' onMouseout=\"hideddrivetip()\">";
       
echo  $data['user_prefix'].$data['user_name']."</a> <td align=\"right\" class='small'>".$lastseen."</td></tr></table>";
}
}
echo "</td><td width='40%' style='padding-left:0px;' >";
echo "<table  width='70%'>";
$result = dbquery(
       "SELECT tf.*, tt.*, tu.user_id,user_name FROM ".$db_prefix."forums tf
       INNER JOIN ".$db_prefix."threads tt USING(forum_id)
       INNER JOIN ".$db_prefix."users tu ON tt.thread_lastuser=tu.user_id
       ".$usr_grps." ORDER BY thread_views DESC LIMIT 0,15");
if (dbrows($result) != 0) {
       $i=0;
       if ($theme_width == "70%") echo "\n";
       while ($data = dbarray($result)) {
              if ($i % 2 == 0) { $row_color = "tbl1"; } else { $row_color = "tbl1"; }
                     $new_posts = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."' and post_datestamp>'".(isset($lastvisited) ? $lastvisited : 0)."'");
                     //$thread_replies = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'") - 1;
                     $thread_replies = $data['thread_replies'];
                     $forum_id = $data['forum_id'];
                     if ($new_posts > 0) {
               $folder123 = "<img src='".THEME."forum/foldernew.gif' height='11'>";
               } else if ($new_posts > 19) {
               $folder123 = "<img src='".THEME."forum/folderhot.gif' height='11'>";
               } else {
                     if ($data['thread_locked'] == 1) {
               $folder123 = "<img src='".THEME."forum/folderlock.gif' height='11'>";
               } else if ($data['thread_locked'] == 0) {
                     $folder123 = "<img src='".THEME."forum/folder.gif' height='11'>";
                     }
                     }
              //$reply_count = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'");
              $reply_count = $data['thread_replies']+1;
             
              $data2 = dbarray(dbquery("SELECT post_id FROM ".$db_prefix."posts WHERE thread_id='".$data['thread_id']."' ORDER BY post_id DESC LIMIT 1"));
              $rstart = ($reply_count > 20 ? "rowstart=".((ceil($reply_count / 20)-1)*20)."&" : "");
              echo "<table width=\"70%\" cellpadding=\"0\" cellspacing=\"0\"><tr><td align=\"left\" class='small' width='70%'>";
              if ($theme_width == "70%") {
                     echo "$folder123 <a href=".FORUM."viewthread.php?forum_id=".$rstart."".$data['forum_id']."&amp;thread_id=".$data['thread_id']."#".$data2['post_id']."' onMouseover=\"ddrivetip('$start<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_019']."</b>: ".trimlink(str_replace("&#39;", "", $data['thread_subject']), 45)."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."/".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost'])."$end')\"' onMouseout=\"hideddrivetip()\" >".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
                     echo "<td align=\"right\" width='25%'>[".$data['thread_views']."]</td>";
              } else {
                     echo "$folder123 <a  href=".FORUM."viewthread.php?forum_id=".$rstart."".$data['forum_id']."&amp;thread_id=".$data['thread_id']."#".$data2['post_id']."' onMouseover=\"ddrivetip('$start<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_019']."</b> ".trimlink(str_replace("&#39;", "", $data['thread_subject']), 45)."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."/".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost'])."$end')\" (".$data['forum_name'].")' onMouseout=\"hideddrivetip()\">".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
                     echo "<td align=\"right\" width='25%'>[".$data['thread_views']."]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>";
              }
              echo "</tr></table>";
              $i++;
       }

} else {
       echo "<center>".$locale['004']."</center>\n";
}




echo"</td>";
echo "</td></tr>
<tr></tr>
<tr><td height=31></td></tr>
</table>
";


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

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n
   <td width='0'></td>
   <td width='36' style='background-image:url(".THEME."images/bg5.png); margin-left: 0px;'></td>\n";
}

function openside_header($title) {
   
echo "<table cellpadding='0' cellspacing='0'>
<tr>
<td class='side-body-header'>\n";

}

function closeside_header() {

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

}
function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' valign='bottom' class='footer'>Code by <a href='https://webdnd.com/profile.php?lookup=5687'>Enzo</a><r>\n
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {
   global $locale;
   opentable($subject);
   echo $locale['040'].newsposter($info)."\n"
   ."\n\n<hr>\n".$news."\n<hr>\n"
   .openform("N",$info['news_id']).newsopts($info," &middot;").closeform("N",$info['news_id'])."\n";
   closetable();
}

function render_article($subject, $article, $info) {
   global $locale;
   opentable($subject);
   echo $locale['040'].articleposter($info)."\n"
   ."<br>\n<hr>\n<br>\n".$article."<br><br>\n<hr>\n"
   .openform("A",$info['article_id']).articleopts($info," &middot;").closeform("A",$info['article_id'])."\n";
   closetable();
}

function render_cheats($subject, $cheats, $info) {
   global $locale;
   opentable($subject);
   echo $locale['040'].articleposter($info)."\n"
   ."<br>\n<hr>\n<br>\n".$cheats."<br><br>\n<hr>\n"
   .openform("A",$info['cheats_id']).articleopts($info," &middot;").closeform("A",$info['cheats_id'])."\n";
   closetable();
}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

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

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

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

}

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

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}

function closesidex() {

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

}

function tablebreak() {

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

}
?>




FCBarcelona
mes que un club
2008 Rugp. 15 19:08:51          7 žinutė iš 7
Spausdinti pranešimą
aciu;)

Peršokti į forumą: