Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,952
Naujausias narys: tomeem

Naujausi straipsniai

Paskutiniai nariai

asirija 4 dienos
tomeem 2 savaitės
Reikalas 3 savaitės
weberiz 6 savaitės
mRokass 8 savaitės
kartoonas 9 savaitės
iaescortsmap 9 savaitės
ozzWANTED10 savaitės
grunskiz12 savaitės
Bruksnys12 savaitės
illusion12 savaitės
ordo13 savaitės
Jurgaila14 savaitės
originalcs1614 savaitės
Rytis15 savaitės
halis16 savaitės
junkus19 savaitės
morlis19 savaitės
Majakas20 savaitės
andsoft21 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.17.203.68
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
kaip pakeist tekstuka
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: ericsson Peržiūrų: 1252      Spausdinti temą
2008 Bir. 18 19:06:40          1 žinutė iš 4
Spausdinti pranešimą





Ant cellpic melynas tekstas kaip ji pakeist i balta ? ar kokia kita spalva?

style.css:

body {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
background-image: url(images/bg.gif);
   background-position: top center;
   background-repeat: repeat;
   padding:0px 0px 0px 0px;
   margin:10px;
}


.forumline  {
   
   background-color: #F8F8F8;
}

.header {
   background-color: #FAFAFA;
   
   padding:0px;
}

/* General page style */
a {
   color:#34558a;
   text-decoration:none;
   font-size:10px;
}

a:hover {
   color:#34558a;
   text-decoration:none;
}

a.side {
   color:#34558a;
   text-decoration:none;
   font-size:10px;
}

a:hover.side {
   color:#34558a;
   text-decoration:none;
}

a.white {
   color:34558a;
   text-decoration:none;
   font-size:11px;
}

a:hover.white {
   color:#604000;
   text-decoration:none;
}

form {
   margin:0px 0px 0px 0px;
}

hr {
   border-top:1px #E2E2E2 solid;
   border-bottom:1px #F9F9F9 solid;
}

hr.side-hr {
   border:1px #E2E2E2 solid;
   border-bottom:1px #F9F9F9 solid;
}

td {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
}

pre {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
}

.alt {
   color:#1C1C1C;
}

.sub-header {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:#FFFFFF;
   background-image: url(images/sub.jpg);
        background-color:#FFFFFF;
   border-top:1px #CACACA solid;
   border-bottom:1px #CACACA solid;
   padding:7px;
}

.button {
   font-family:Verdana,Tahoma,Helvetica,Arial,Sans-Serif;
   font-size:10px;
   font-weight: bold;
   color:#FFFFFF;
   border:1px solid; border-color:#B7B7B7 #B7B7B7 #B7B7B7 #B7B7B7;
   background: #FFFFFF;
   background-image:url(images/button.gif);
   margin-top:2px;
}
   
.textbox {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:
   background-color:#990000;
   border:1px #CACACA solid;
}

.main-body {
   background-color:#FFFFFF;
   color: #3B3B3B;
   font-weight: normal;
   padding:4px 4px 6px 6px;
}

.table-cellpic {
    font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
   font-size: 11px;
   font-weight: solid;
   color: #FFFFFF;
   background-color: #FFFFFF;
   padding:2px 4px 4px 4px;

}

.panel-border {
   border: 1px solid #CACACA;
}

.news-border {
   border-top: solid #CACACA;
   border-top-width: 1px;
   border-left: solid #CACACA;
   border-left-width: 1px;
   border-right: solid #CACACA;
   border-right-width:1px;
   border-bottom: solid #F6F6F6;
   border-bottom-width:0px;
}

.panel-cellpic {
    font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
   font-size: 11px;
   font-weight: bold;
   color: #FFFFFF;
   background-color: #FFFFFF;
   background-image: url(images/cellpic1.gif);
   padding:0px 0px 2px 0px;

}

.block-title {
   font-size: 13px;
   font-weight: bold;
   color: #FFFFFF;
   font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
    padding : 0px 0px 0px 0px;

}


.side-body {
   background-color: #FFFFFF;
   color: #000;
   font-weight: normal;
   background-position: bottom;
   background-repeat: repeat-x;
   padding:4px 4px 6px 4px;
}

.main-bg {
   background-color:#F8F8F8;
}

.border {
   border-width:0px 1px 1px 1px;
   border-color:#CACACA;
   border-style:solid;
}

.news-footer {
   background: #FFFFFF;
    background-image: url(images/news_footer.gif);
   background-repeat: repeat-x;
   font-size:10px;
   font-weight:normal;
   color:#000000;
   height:21px;
   padding:4px 4px 4px 4px;
}

.capmain {
    font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size:10px;
   font-weight:bold;
    border-width:1px 1px 1px 1px;
   border-color:#CACACA;
   border-style:solid;
   color:#FFFFFF;
   height:24px;
   padding:2px 4px 4px 4px;
}

.footer {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:#e6e6e6;
    background-image: url(images/footer.gif);
   background-repeat: repeat-x;
   background-position: bottom;
   background-color:#FFFFFF;
   
   padding:4px 4px 4px 4px;
}

.footerstat {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   font-weight:bold;
   color:#E81000;
}

img {
   border: 0px;
}

.scapmain {
   font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
   font-size:10px;
   text-align: right;
    font-weight:bold;
    color:#FFFFFF;
   height:0px;
   padding:0px 2px 0px 2px;
   border-width:1px 0px 1px 0px;   
   border-style:solid;
}

.tbl-border {
background-color: #FFFFFF;
border: 3px solid #DCE3E4;
border-left-width: 1px;
border-right-width: 1px;
margin-top: 4px;
margin-bottom: 4px;
}
.tbl { padding: 3px 4px 3px 4px; }
.tbl1 { background-color: #FCFEFE; padding: 4px; border: 1px solid #E0E7E8; }
.tbl2 { background-color: #F5F8F8; border: 1px solid #E0E7E8; padding: 4px; }


/* Forum header*/
.forum-caption {
   font-size:10px;
   font-weight:bold;
   color:#000000;
   background-color:#F6F8FA;
   height:24px;
   padding:0px 4px 2px 4px;
   background-image:url(images/cellpic2.gif);
   background-repeat:repeat-x;
}

/* Quote blocks */
.quote {
   color:#2E4D80;
   background-color:#F8F8F8;
   padding:2px;
   margin:0px 20px 0px 20px;
   border:1px #CACACA solid;
}

/* Voting Poll */
.poll {
   height:10px;
   border:1px #929AA2 solid;
}

.comment-name {
   font-weight:bold;
   color:#DDCC88;
}

/* This is for the Shoutbox */
.shoutboxname {
   font-weight:bold;
   color:#FFDDAA;
}

.shoutbox {
   color:#06070A;
}

.shoutboxdate {
   font-size:10px;
   color:#1C1C1C;
}

.small {
   font-size:10px;
   font-weight:normal;
}

.small2 {
   font-size:10px;
   font-weight:normal;
   color:#1C1C1C;
}

.side-small   {
   font-size:10px;
   font-weight:normal;
   color:#000000;
}

.side-label {
   background-color:#E3E3E3;
   font-weight:normal;
   color:#888;
   padding:2px;
}

/* This is for the Photo Gallery */
.gallery {
   padding: 16px 0px 8px 0px;
}

.gallery img {
   border: 1px solid #CACACA;
   filter: gray;
}

.gallery:hover img {
   border: 1px solid #4E79F3;
   filter: none;
}

img.activegallery   {
   border: 1px solid #CACACA;
   filter: none;
}




2008 Bir. 18 19:06:40          2 žinutė iš 4
Spausdinti pranešimą
body {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
background-image: url(images/bg.gif);
   background-position: top center;
   background-repeat: repeat;
   padding:0px 0px 0px 0px;
   margin:10px;
}


.forumline  {
   
   background-color: #F8F8F8;
}

.header {
   background-color: #FAFAFA;
   
   padding:0px;
}

/* General page style */
a {
   color:#fcfefe;
   text-decoration:none;
   font-size:10px;
}

a:hover {
   color:#fcfefe;
   text-decoration:none;
}

a.side {
   color:#fcfefe;
   text-decoration:none;
   font-size:10px;
}

a:hover.side {
   color:#fcfefe
   text-decoration:none;
}

a.white {
   color:fcfefe;
   text-decoration:none;
   font-size:11px;
}

a:hover.white {
   color:#604000;
   text-decoration:none;
}

form {
   margin:0px 0px 0px 0px;
}

hr {
   border-top:1px #E2E2E2 solid;
   border-bottom:1px #F9F9F9 solid;
}

hr.side-hr {
   border:1px #E2E2E2 solid;
   border-bottom:1px #F9F9F9 solid;
}

td {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
}

pre {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
}

.alt {
   color:#1C1C1C;
}

.sub-header {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:#FFFFFF;
   background-image: url(images/sub.jpg);
        background-color:#FFFFFF;
   border-top:1px #CACACA solid;
   border-bottom:1px #CACACA solid;
   padding:7px;
}

.button {
   font-family:Verdana,Tahoma,Helvetica,Arial,Sans-Serif;
   font-size:10px;
   font-weight: bold;
   color:#FFFFFF;
   border:1px solid; border-color:#B7B7B7 #B7B7B7 #B7B7B7 #B7B7B7;
   background: #FFFFFF;
   background-image:url(images/button.gif);
   margin-top:2px;
}
   
.textbox {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:
   background-color:#990000;
   border:1px #CACACA solid;
}

.main-body {
   background-color:#FFFFFF;
   color: #3B3B3B;
   font-weight: normal;
   padding:4px 4px 6px 6px;
}

.table-cellpic {
    font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
   font-size: 11px;
   font-weight: solid;
   color: #FFFFFF;
   background-color: #FFFFFF;
   padding:2px 4px 4px 4px;

}

.panel-border {
   border: 1px solid #CACACA;
}

.news-border {
   border-top: solid #CACACA;
   border-top-width: 1px;
   border-left: solid #CACACA;
   border-left-width: 1px;
   border-right: solid #CACACA;
   border-right-width:1px;
   border-bottom: solid #F6F6F6;
   border-bottom-width:0px;
}

.panel-cellpic {
    font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
   font-size: 11px;
   font-weight: bold;
   color: #FFFFFF;
   background-color: #FFFFFF;
   background-image: url(images/cellpic1.gif);
   padding:0px 0px 2px 0px;

}

.block-title {
   font-size: 13px;
   font-weight: bold;
   color: #FFFFFF;
   font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
    padding : 0px 0px 0px 0px;

}


.side-body {
   background-color: #FFFFFF;
   color: #000;
   font-weight: normal;
   background-position: bottom;
   background-repeat: repeat-x;
   padding:4px 4px 6px 4px;
}

.main-bg {
   background-color:#F8F8F8;
}

.border {
   border-width:0px 1px 1px 1px;
   border-color:#CACACA;
   border-style:solid;
}

.news-footer {
   background: #FFFFFF;
    background-image: url(images/news_footer.gif);
   background-repeat: repeat-x;
   font-size:10px;
   font-weight:normal;
   color:#000000;
   height:21px;
   padding:4px 4px 4px 4px;
}

.capmain {
    font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size:10px;
   font-weight:bold;
    border-width:1px 1px 1px 1px;
   border-color:#CACACA;
   border-style:solid;
   color:#FFFFFF;
   height:24px;
   padding:2px 4px 4px 4px;
}

.footer {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:#e6e6e6;
    background-image: url(images/footer.gif);
   background-repeat: repeat-x;
   background-position: bottom;
   background-color:#FFFFFF;
   
   padding:4px 4px 4px 4px;
}

.footerstat {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   font-weight:bold;
   color:#E81000;
}

img {
   border: 0px;
}

.scapmain {
   font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
   font-size:10px;
   text-align: right;
    font-weight:bold;
    color:#FFFFFF;
   height:0px;
   padding:0px 2px 0px 2px;
   border-width:1px 0px 1px 0px;   
   border-style:solid;
}

.tbl-border {
background-color: #FFFFFF;
border: 3px solid #DCE3E4;
border-left-width: 1px;
border-right-width: 1px;
margin-top: 4px;
margin-bottom: 4px;
}
.tbl { padding: 3px 4px 3px 4px; }
.tbl1 { background-color: #FCFEFE; padding: 4px; border: 1px solid #E0E7E8; }
.tbl2 { background-color: #F5F8F8; border: 1px solid #E0E7E8; padding: 4px; }


/* Forum header*/
.forum-caption {
   font-size:10px;
   font-weight:bold;
   color:#000000;
   background-color:#F6F8FA;
   height:24px;
   padding:0px 4px 2px 4px;
   background-image:url(images/cellpic2.gif);
   background-repeat:repeat-x;
}

/* Quote blocks */
.quote {
   color:#2E4D80;
   background-color:#F8F8F8;
   padding:2px;
   margin:0px 20px 0px 20px;
   border:1px #CACACA solid;
}

/* Voting Poll */
.poll {
   height:10px;
   border:1px #929AA2 solid;
}

.comment-name {
   font-weight:bold;
   color:#DDCC88;
}

/* This is for the Shoutbox */
.shoutboxname {
   font-weight:bold;
   color:#FFDDAA;
}

.shoutbox {
   color:#06070A;
}

.shoutboxdate {
   font-size:10px;
   color:#1C1C1C;
}

.small {
   font-size:10px;
   font-weight:normal;
}

.small2 {
   font-size:10px;
   font-weight:normal;
   color:#1C1C1C;
}

.side-small   {
   font-size:10px;
   font-weight:normal;
   color:#000000;
}

.side-label {
   background-color:#E3E3E3;
   font-weight:normal;
   color:#888;
   padding:2px;
}

/* This is for the Photo Gallery */
.gallery {
   padding: 16px 0px 8px 0px;
}

.gallery img {
   border: 1px solid #CACACA;
   filter: gray;
}

.gallery:hover img {
   border: 1px solid #4E79F3;
   filter: none;
}

img.activegallery   {
   border: 1px solid #CACACA;
   filter: none;
}





[galingų saliutų foto]
2008 Bir. 18 20:06:48          3 žinutė iš 4
Spausdinti pranešimą
Čia keiti spalvas
.scapmain {
   font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
   font-size:10px;
   text-align: right;
    font-weight:bold;
    color:#FFFFFF;
   height:0px;
   padding:0px 2px 0px 2px;
   border-width:1px 0px 1px 0px;   
   border-style:solid;
}

.capmain {
    font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size:10px;
   font-weight:bold;
    border-width:1px 1px 1px 1px;
   border-color:#CACACA;
   border-style:solid;
   color:#FFFFFF;
   height:24px;
   padding:2px 4px 4px 4px;
}





Redagavo RuP3r 2008 Bir. 18 20:06:41
2008 Bir. 18 21:06:59          4 žinutė iš 4
Spausdinti pranešimą
sitas nepadeda kadangi ten yra spaudziamas linkas paspaudi atidaro isamesne info manau beda downloads.php faile :/

downloads.php Failas:
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
include LOCALE.LOCALESET."downloads.php";

if (isset($download_id) && !isNum($download_id)) fallback("index.php");

if (isset($download_id)) {
   $res = 0;
   if ($data = dbarray(dbquery("SELECT download_url,download_cat FROM ".$db_prefix."downloads WHERE download_id='$download_id'"))) {
      $cdata = dbarray(dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE download_cat_id='".$data['download_cat']."'"));
      if (checkgroup($cdata['download_cat_access'])) {
         $res = 1;
         $result = dbquery("UPDATE ".$db_prefix."downloads SET download_count=download_count+1 WHERE download_id='$download_id'");
         redirect($data['download_url']);
      }
   }
   if ($res == 0) redirect("downloads.php");
}



if (isset($d_id)) {
include INCLUDES."ratings_include.php";
include INCLUDES."comments_include.php";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads WHERE download_id='$d_id'");
while ($data = dbarray($result)) {
               $id = $data['download_cat'];
               if ($data['download_datestamp']+604800 > time()+($settings['timeoffset']*3600)) {
                  $new = " <span class='small'>".$locale['410']."</span>";
               } else {
                  $new = "";
               }
               $time = $data['download_datestamp'];
               $laikas = showdate( "%d.%m.%y", $time);
               $kat = dbresult(dbquery("SELECT download_cat_name FROM ".$db_prefix."download_cats WHERE download_cat_id='$id'"), 0);
               echo "<table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'>\n";
               echo "<tr>
<td colspan='5' class='forum-caption'>
               <table style='border-collapse: collapse;' border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>

               <td>&nbsp;<a href='".FUSION_SELF."' class='small' title='Siuntiniai'><b>Siuntiniai</b></a>&nbsp;>>&nbsp;<a href='".FUSION_SELF."?cat_id=".$data['download_cat']."' class='small' title='Siuntinio Kategorija'><b>$kat</b></a>&nbsp;>&nbsp;<a class='small' href='".FUSION_SELF."?cat_id=".$data['download_cat']."&amp;download_id=".$data['download_id']."' title='Atsisiøsti Siuntin&#225;'><b>".$data['download_title']."</b></a> </td>
               <td align='right'><span class='small2'><b>Prid&#235;tas:</b> $laikas</span></td>
               </tr></table></td>
</tr>\n";
               if ($data['download_description'] != "") echo "<tr>\n
               <td colspan='5' class='tbl1'>".nl2br(stripslashes($data['download_description']))."</td>\n</tr>\n";
               echo "<tr>\n
               
               <td rowspan='2' class='tbl1' align='center' valign='middle' width='1%'><a class='small' href='".FUSION_SELF."?cat_id=".$data['download_cat']."&amp;download_id=".$data['download_id']."' title='Atsisiøsti Fail&#224;' style='font-weight: bold;'><img src='".IMAGES."download.png' alt='Atsisiøsti Fail&#224;' border='0'></a></td>
               
               <td width='30%' class='tbl2'><b>".$locale['413']."</b> ".$data['download_version']."</td>\n<td width='30%' class='tbl1'><b>".$locale['411']."</b> ".$data['download_license']."</td>\n";
               $kom = dbquery("SELECT count(comment_id) FROM ".$db_prefix."comments WHERE comment_type='D' AND comment_item_id='$id'");
               $kon = dbresult($kom, 0);
               if ($kon == 0) { $komentarai = 0; } else { $komentarai = $kon; }
               
               echo "<td width='40%' class='tbl2'><b>Komentarai:</b> $komentarai</td>\n</tr>\n<tr>\n<td width='30%' class='tbl2'><b>".$locale['412']."</b> ".$data['download_os']." </td>\n";
               echo "<td width='30%' class='tbl1'><b>".$locale['415']."</b> ".$data['download_count']."</td>\n<td width='40%' class='tbl2'><b>Dydis:</b> ".($data['download_filesize'] ? "".$data['download_filesize']."" : "N&#235;ra")."</td>\n</tr>\n";
               echo "</table>\n";
               
               if ($i != $numrows) { echo "<div align='center'><img src='".THEME."images/blank.gif' alt='' height='15' width='1'></div>\n"; $i++; }
            }
            
showcomments("D","downloads","download_id",$d_id,FUSION_SELF."?d_id=$d_id");

showratings("D",$d_id,FUSION_SELF."?d_id=$d_id");

} else {



if (!isset($cat_id)) {
   opentable($locale['400']);
   $result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE ".groupaccess('download_cat_access')." ORDER BY download_cat_name");
   $rows = dbrows($result);
   if ($rows != 0) {
      $counter = 0; $columns = 2;
      echo "<center><img src='".IMAGES."downloads.png' alt='' border='0'></center>";
      echo "<table class='tbl-border' style='margin-top: 10px;' cellpadding='0' cellspacing='1' width='100%' align='center'>";
      
      echo "<tr>
<td class='tbl1' colspan='2' align='center'>
<form name='searchform' method='post' action='search.php' style='display: inline;'>
      <b>Ie&#240;koti Siuntiniø:</b>&nbsp; <input name='stext' class='textbox' style='width: 200px;' type='text'>
      <input name='stype' value='d' type='hidden'><input name='search' value='Ie&#240;koti!' class='button' type='submit'>
      </form>
</td>
</tr>";
      
      while ($data = dbarray($result)) {
         
         $num = dbcount("(download_cat)", "downloads", "download_cat='".$data['download_cat_id']."'");
         echo "<tr>
<td class='tbl1' width='1%'><a class='small' href='".FUSION_SELF."?cat_id=".$data['download_cat_id']."' style='font-weight: bold;'><img src='images/dl_cats/".$data['download_cat_image']."' alt='".$data['download_cat_name']."' border='0'>
</a></td>
         <td class='tbl2' align='left' valign='center'><img src='".THEME."images/bullet.gif' alt='' border='0'>
         <a class='small' href='".FUSION_SELF."?cat_id=".$data['download_cat_id']."' style='font-weight: bold;'>".$data['download_cat_name']."</a> <span class='small2'>($num)</span><br>
         <span class='small'>".$data['download_cat_description']."</span></td>
</tr>";
         $counter++;
      }
      echo "<table class='tbl-border' style='margin-top: 10px;' cellpadding='0' cellspacing='1' width='100%'>
<tr>
   <td class='forum-caption' colspan='2' width='1%'>Statistika</td>

</tr>
<tr>
   <td class='tbl1' align='center' width='1%'><img src='images/dl_stats.png' alt='Siuntiniø statistika' border='0'></td>
   <td class='tbl2'>
<table border='0' cellpadding='0' cellspacing='1'>";

$dataq = dbarray(dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_id DESC LIMIT 0,1"));
echo "<tr><td>Naujausias siuntinys: </td>
<td> <a class='small' href='".FUSION_SELF."?d_id=".$dataq['download_id']."' title=''>".$dataq['download_title']."</a></td>
</tr>";

$datax = dbarray(dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,1"));
echo "<tr><td>Populiariausias: </td>
<td> <a class='small' href='".FUSION_SELF."?d_id=".$datax['download_id']."' title=''>".$datax['download_title']."</a></td>
</tr>";

$cats = dbresult(dbquery("SELECT count(download_cat_id) FROM ".$db_prefix."download_cats"), 0);
echo "<tr><td>Kategorijø: </td>
<td class='small2'> $cats</td></tr>";

$countd = dbresult(dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads"), 0);
echo "<tr>
   <td>Siuntiniø: </td>
<td class='small2'> $countd</td>
</tr>";

$counth = dbresult(dbquery("SELECT SUM(download_count) FROM ".$db_prefix."downloads"), 0);
echo "<tr><td>Atsisiøsta: </td>
<td class='small2'> $counth</td></tr>";

echo "</table>
</td>
</tr>
</table>";
      
      $result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_id DESC LIMIT 0,20");
if (dbrows($result)) {

echo "<table class='tbl-border' style='margin-top: 10px;' border='0' cellpadding='0' cellspacing='1' width='100%'>
<tr>
      <td class='forum-caption' style='white-space: nowrap;'>Naujausi siuntiniai</td>
      <td class='forum-caption' style='white-space: nowrap;' align='center' width='1%'>Data</td>

      <td class='forum-caption' style='white-space: nowrap;' align='center' width='1%'>Siuntimai</td>
</tr>";
while ($data = dbarray($result)) {
$time = $data['download_datestamp'];
$laikas = showdate( "%d.%m.%y", $time);
echo "<tr>
         <td class='tbl1'><img src='".THEME."images/bullet.gif' alt='' border='0'> <a class='small' href='downloads.php?d_id=".$data['download_id']."'>".$data['download_title']."</a></td>

         <td class='tbl1' align='center'>$laikas</td>

         <td class='tbl1' align='center'>".$data['download_count']."</td>

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

   } else {
      echo "<center><br>\n".$locale['430']."<br><br>\n</center>\n";
   }
   closetable();
} else {
   $res = 0;
   if (!isNum($cat_id)) fallback(FUSION_SELF);
   $result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE download_cat_id='$cat_id'");
   if (dbrows($result) != 0) {
      $cdata = dbarray($result);
      if (checkgroup($cdata['download_cat_access'])) {
         $res = 1;
         opentable($locale['400'].": ".$cdata['download_cat_name']);
         $rows = dbcount("(*)", "downloads", "download_cat='$cat_id'");
         if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0;
         if ($rows != 0) {
            $result = dbquery("SELECT * FROM ".$db_prefix."downloads WHERE download_cat='$cat_id' ORDER BY ".$cdata['download_cat_sorting']." LIMIT $rowstart,15");
            //s
            $catdata = dbarray(dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE download_cat_id='$cat_id'"));
            $count = dbresult(dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads WHERE download_cat='$cat_id'"), 0);
            echo "
            <table class='tbl-border' cellpadding='0' cellspacing='1' width='100%'>
<tr>
         <td class='tbl2' style='white-space: nowrap;' align='center' valign='middle' width='1%'><a class='small' href='downloads.php?cat_id=$cat_id' title='".$catdata['download_cat_name']."'><img src='images/dl_cats/".$catdata['download_cat_image']."' alt='".$catdata['download_cat_name']."' border='0'>
</a></td>
         <td class='tbl1' valign='top'><span><a class='small' href='downloads.php'>Siuntiniai</a> » ".$catdata['download_cat_name']."</span><br>
         ".$catdata['download_cat_description']."<br><br>Siuntimø kategorijoje: <span class='small2'>$count</span></td>
</tr>

</table>

<table cellpadding='0' cellspacing='0' width='100%'><tbody><tr>
<td height='8'>
</td>
</tr>
</tbody></table>";
            //e
            
            
            $numrows = dbrows($result); $i = 1;
            while ($data = dbarray($result)) {
            $id = $data['download_id'];
               if ($data['download_datestamp']+604800 > time()+($settings['timeoffset']*3600)) {
                  $new = " <span class='small'>".$locale['410']."</span>";
               } else {
                  $new = "";
               }
               $time = $data['download_datestamp'];
               $laikas = showdate( "%d.%m.%y", $time);
               echo "<table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'>\n";
               echo "<tr>
<td colspan='5' class='forum-caption'>
               <table style='border-collapse: collapse;' border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
               <td width='1%'><a class='small' href='".FUSION_SELF."?d_id=".$data['download_id']."' title='&#222;i&#251;r&#235;ti fail&#224;' style='font-weight: bold;'><img src='".IMAGES."down.png' alt='&#222;i&#251;r&#235;ti fail&#224;' border='0'></a></td>

               <td>&nbsp;<a class='small' href='".FUSION_SELF."?d_id=".$data['download_id']."' title='&#222;i&#251;r&#235;ti fail&#224;' style='font-weight: bold;'><b>".$data['download_title']."</b></a> </td>
               <td align='right'><span class='small2'><b>Prid&#235;tas:</b> $laikas</span></td>
               </tr></table></td>
</tr>\n";
               if ($data['download_description'] != "") echo "<tr>\n
               <td colspan='5' class='tbl1'>".nl2br(stripslashes($data['download_description']))."</td>\n</tr>\n";
               echo "<tr>\n
               
               <td rowspan='2' class='tbl1' align='center' valign='middle' width='1%'><a class='small' href='".FUSION_SELF."?cat_id=$cat_id&amp;download_id=".$data['download_id']."' title='Atsisiøsti Fail&#224;' style='font-weight: bold;'><img src='".IMAGES."download.png' alt='Atsisiøsti Fail&#224;' border='0'></a></td>
               
               <td width='30%' class='tbl2'><b>".$locale['413']."</b> ".$data['download_version']."</td>\n<td width='30%' class='tbl1'><b>".$locale['411']."</b> ".$data['download_license']."</td>\n";
               $kom = dbquery("SELECT count(comment_id) FROM ".$db_prefix."comments WHERE comment_type='D' AND comment_item_id='$id'");
               $kon = dbresult($kom, 0);
               if ($kon == 0) { $komentarai = 0; } else { $komentarai = $kon; }
               
               echo "<td width='40%' class='tbl2'><b>Komentarai:</b> $komentarai</td>
               <td class='tbl1' rowspan='2' colspan='1' align='right' valign='bottom' width='1%'>
               <a href='".FUSION_SELF."?d_id=".$data['download_id']."' title='&#222;i&#251;r&#235;ti failo komentarus'><img src='images/comments.png' alt='Komentuoti' border='0'></a><br>
               <a href='".FUSION_SELF."?d_id=".$data['download_id']."' title='&#222;i&#251;r&#235;ti failo reitingus'><img src='images/ratings.png' alt='Vertinti' border='0'></a>
               </td>\n</tr>\n<tr>\n<td width='30%' class='tbl2'><b>".$locale['412']."</b> ".$data['download_os']." </td>\n";
               echo "<td width='30%' class='tbl1'><b>".$locale['415']."</b> ".$data['download_count']."</td>\n<td width='40%' class='tbl2'><b>Dydis:</b> ".($data['download_filesize'] ? "".$data['download_filesize']."" : "N&#235;ra")."</td>\n</tr>\n";
               echo "</table>\n";
               
               if ($i != $numrows) { echo "<div align='center'><img src='".THEME."images/blank.gif' alt='' height='15' width='1'></div>\n"; $i++; }
            }
            closetable();
            if ($rows > 15) echo "<div align='center' style='margin-top:5px;'>\n".makePageNav($rowstart,15,$rows,3,FUSION_SELF."?cat_id=$cat_id&amp;")."\n</div>\n";
         } else {
            echo $locale['431']."\n";
            closetable();
         }
      }
   }
   if ($res == 0) redirect(FUSION_SELF);
}
}
require_once "side_right.php";
require_once "footer.php";
?>




Peršokti į forumą: