Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,969
Naujausias narys: finxlt

Naujausi straipsniai

Paskutiniai nariai

Žmogus 1 diena
finxlt 3 dienos
Reikalas 5 savaitės
tanos 8 savaitės
LnKnPrK113 savaitės
inti15 savaitės
kileedyg22 savaitės
Kižas28 savaitės
Bruksnys29 savaitės
laleceylan5031 savaitės
minimukas31 savaitės
N-2034 savaitės
Rytis35 savaitės
DjArtas36 savaitės
WolfHammer36 savaitės
Nostesi46 savaitės
Wisedocs46 savaitės
asdasdddz50 savaitės
Paslapties K...51 savaitės
Audrius_1754 savaitės

Informacija:


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

Žmogus
2026 Rugs. 27 11:09:17
Įstojimo data: 2006 gruodžio 8 17:12:08 Tai laikas bėga. O dar pamenu pačia pradžia kaip buvo smagu su phpsfusion kurtis tuos puslapius akinanti šypsen

Žmogus
2026 Rugs. 26 10:09:53
Ar dar yra gyvu? akinanti šypsen

LnKnPrK1
2026 Bir. 21 09:06:52
Sveiki, gal kas is administracijos gali parasyti man PM,aciu

minimukas
2026 Vas. 21 08:02:25
oi oi akinanti šypsen yra dar cia gyvu? akinanti šypsen

N-20
2026 Vas. 6 21:02:05
O mes dar gyvi šypsosi)

Š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
Dėl naujausių ir populiariausių
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Mods, Panels & Infusions

Autorius: H2O Peržiūrų: 1262      Spausdinti temą
2010 Geg. 2 20:05:48          1 žinutė iš 3
Spausdinti pranešimą
Sveiki,

Man reikia kad kaip paspaudi ant dainos neiškarto nukreiptu į zippyshare.com o kad nukreiptu į siuntinio laukeli, kad galėtum daina pakomentuoti.

theme.php

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

// theme settings
$body_text = "#ffffff";
$body_text = "#ffffff";
$body_bg = "#1f1515";
$theme_width = "960";
$theme_width_l = "223";
$theme_width_r = "223";

function render_header($header_content) {

global $theme_width, $result, $db_prefix, $settings, $data, $userdata,$aidlink, $locale, $aidlink, $msg_count;

if(FUSION_SELF == 'news.php') { $img[1] = "Mp3Place_07.gif"; } else { $img[1] = "off_Mp3Place_06.gif"; }
if(FUSION_SELF == 'downloads.php') { $img[] = "Mp3Place_08.gif"; } else { $img[2] = "off_Mp3Place_07.gif"; }
if($_SERVER['REQUEST_URI'] == '/articles.php?cat_id=2') { $img[3] = "Mp3Place_09.gif"; } else { $img[3] = "off_Mp3Place_08.gif"; }
if(FUSION_SELF == 'http://muzikalus.lt/news_cats.php?cat_id=17') { $img[4] = "Mp3Place_10.gif"; } else { $img[4] = "off_Mp3Place_09.gif"; }
if($_SERVER['REQUEST_URI'] == 'articles.php?cat_id=1') { $img[5] = "Mp3Place_11.gif"; } else { $img[5] = "off_Mp3Place_10.gif"; }
if(FUSION_SELF == 'search.php') { $img[6] = "Mp3Place_12.gif"; } else { $img[6] = "off_Mp3Place_11.gif"; }
if($_SERVER['PHP_SELF'] == 'forum/index.php' or $_SERVER['PHP_SELF'] == 'forum/viewthread.php' or $_SERVER['PHP_SELF'] == 'forum/viewforum.php' or $_SERVER['PHP_SELF'] == 'forum/post.php' or $_SERVER['PHP_SELF'] == 'forum/postify.php') { $img[7] = "Mp3Place_13.gif"; } else { $img[7] = "off_Mp3Place_12.gif"; }
if(FUSION_SELF == 'photogallery.php') { $img[8] = "Mp3Place_14.gif"; } else { $img[8] = "off_Mp3Place_13.gif"; }
if($_SERVER['REQUEST_URI'] == '/viewpage.php?page_id=2') { $img[9] = "Mp3Place_15.gif"; } else { $img[9] = "off_Mp3Place_14.gif"; }
if(FUSION_SELF == 'contact.php') { $img[10] = "Mp3Place_16.gif"; } else { $img[10] = "off_Mp3Place_15.gif"; }
if($_SERVER['REQUEST_URI'] == '/viewpage.php?page_id=1') { $img[11] = "Mp3Place_17.gif"; } else { $img[11] = "off_Mp3Place_16.gif"; }
if(FUSION_SELF == 'search.php') { $img[12] = "Mp3Place_18.gif"; } else { $img[12] = "off_Mp3Place_17.gif"; }


echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='header'>
<table border='0' cellpadding='0' cellspacing='0' width='960' height='73'>
  <tr>
    <td width='10%'><img border='0' src='".THEME."images/Mp3Place_06.gif' width='34' height='73'></td>
    <td width='10%'><a href='".BASEDIR."news.php' title=''><img border='0' src='".THEME."images/".$img[1]."' width='53' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_07.gif'\" onmouseout=\"this.src='".THEME."images/".$img[1]."'\" ></a></td>
    <td width='10%'><a href='".BASEDIR."downloads.php' title=''><img border='0' src='".THEME."images/".$img[2]."' width='67' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_08.gif'\" onmouseout=\"this.src='".THEME."images/".$img[2]."'\" ></a></td>
    <td width='10%'><a href='".BASEDIR."news_cats.php?cat_id=9.php' title=''><img border='0' src='".THEME."images/".$img[3]."' width='71' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_09.gif'\" onmouseout=\"this.src='".THEME."images/".$img[3]."'\" ></a></td>
    <td width='10%'><a href='".BASEDIR."viewpage.php?page_id=1' title=''><img border='0' src='".THEME."images/".$img[4]."' width='58' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_10.gif'\"  onmouseout=\"this.src='".THEME."images/".$img[4]."'\" ></a></td>
    <td width='10%'><a href='".BASEDIR."viewpage.php?page_id=2' title=''><img border='0' src='".THEME."images/".$img[5]."' width='95' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_11.gif'\" onmouseout=\"this.src='".THEME."images/".$img[5]."'\" ></a></td>
    <td width='10%'><a href='".BASEDIR."search.php' title=''><img border='0' src='".THEME."images/".$img[6]."' width='72' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_12.gif'\" onmouseout=\"this.src='".THEME."images/".$img[6]."'\" ></a></td>
    <td width='10%'><a href='".FORUM."index.php' title=''><img border='0' src='".THEME."images/".$img[7]."' width='74' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_13.gif'\" onmouseout=\"this.src='".THEME."images/".$img[7]."'\" ></a></td>
    <td width='10%'><a href='".BASEDIR."photogallery.php' title=''><img border='0' src='".THEME."images/".$img[8]."' width='93' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_14.gif'\" onmouseout=\"this.src='".THEME."images/".$img[8]."'\" ></a></td>
    <td width='2%'><a href='".BASEDIR."viewpage.php?page_id=3'  title=''><img border='0' src='".THEME."images/".$img[9]."' width='76' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_15.gif'\"  onmouseout=\"this.src='".THEME."images/".$img[9]."'\" ></a></td>
    <td width='2%'><a href='".BASEDIR."contact.php'  title=''><img border='0' src='".THEME."images/".$img[10]."' width='78' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_16.gif'\"  onmouseout=\"this.src='".THEME."images/".$img[10]."'\" ></a></td>
    <td width='2%'><a href='".BASEDIR."viewpage.php?page_id=4' title=''><img border='0' src='".THEME."images/".$img[11]."' width='80' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_17.gif'\"  onmouseout=\"this.src='".THEME."images/".$img[11]."'\" ></a></td>
    <td width='2%'><a href='".BASEDIR."viewpage.php?page_id=5'  title=''><img border='0' src='".THEME."images/".$img[12]."' width='62' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_18.gif'\"  onmouseout=\"this.src='".THEME."images/".$img[12]."'\" ></a></td>
    <td width='2%'><img border='0' src='".THEME."images/off_Mp3Place_18.gif' width='47' height='73'></td>
  </tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
  <tr>
  <td height='27'>
  </td>
  </tr>
<tr>
<td height='63' style='padding-left: 720px;'  valign='top'>         
    <form name='searchform' method='post' action='".BASEDIR."search.php?stype=d'>
    <input type='text' name='stext' class='search' value='Paie&#0353;kos &#0382;odis...'>
   <input type='submit' name='search' value='Ok' class='ok'></form>
</td>
</tr>
<tr>
<td>
<table align='center' cellspacing='0' cellpadding='0' height='120'>
<tr>
<td width='460'></td>
<td width='230'>";
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
   $result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,7");
   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='sub'>".trimlink($data['download_title'], 31)."</a>
            </td>
            <td align='right'>[".$data['download_count']."]</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "<div style='text-align:center'>".$locale['004']."</div>\n";
   }
echo"</td>
<td width='25'></td>
<td width='230'>";
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,7");
if (dbrows($result) != 0) {
   echo "<table width='100%' cellpadding='0' cellspacing='0'>";
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['download_title'], 31);
      echo "<tr>\n<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='sub'>$itemsubject</a></td>\n
      <td align='right'>[".$data['download_count']."]</td>\n</tr>\n";
   }
   echo "</table>";
} else {
   echo "<center>".$locale['004']."</center>\n";
}
echo"</td>
<td width='25'></td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='nariai' width='225' align='center'>";
if (file_exists(INFUSIONS."last_seen_users_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."last_seen_users_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."last_seen_users_panel/locale/English.php";
}
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,5");
echo "<table cellpadding='0' cellspacing='0' width='200'>";
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= '<font color="#a7fe00">[Online]</font>';
      } elseif ($lastseen < 360){
         $lastseen= '<font color="c4248d">[Offline]</font>';
      } elseif ($iW > 0){
         if ($iW == 1) { $text = $locale['lsup003']; } else { $text = $locale['lsup004']; }
         $lastseen = '<font color="c4248d">[Offline]</font>';
      } elseif ($iD > 0){
         if ($iD == 1) { $text = $locale['lsup005']; } else { $text = $locale['lsup006']; }
         $lastseen = '<font color="c4248d">[Offline]</font>';
      } else {
         $lastseen = '<font color="c4248d">[Offline]</font>';
      }
      echo "<tr>\n<td class='small' align='left'><img src='".THEME."images/bullet.gif' alt=''>\n";
      echo "<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".$data['user_name']."' class='small'>\n";
      echo trimlink($data['user_name'], 15)."</a></td><td class='small' align='right'>".$lastseen."</td>\n</tr>\n";
   }
}
echo "</table>";
echo"</td>
<td class='zona' align='center' style='padding-bottom: 6px;' valign='bottom'>
<table cellpadding='0' cellspacing='0' width='390' height='60'>
<tr>
<td>";
if (iMEMBER) {
   echo ($data['user_avatar'] ? "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['u017']."' height='60'>" : "")."<img src='".THEME."images/nera-avataro.jpg'></td>";}
        echo "<td><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
        echo "<td class='sub-header'><table width='100%' border='0' cellpadding='0' cellspacing='0' ><tr>";
if (iMEMBER) {
echo"<td>
<span class='small'><b>Sveikas:</b></span> <span style='color: #a7fe00; font-size: 10px;'>".$userdata['user_name']."</span><br>
<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='small'>Mano profilis</a><br>
<a href='".BASEDIR."edit_profile.php' class='small'>Redaguoti apra&#0353;ym&#0261</a><br>
<a href='".BASEDIR."messages.php'  class='small'>&#0381;inut&#0279s</a><br>
<a href='".BASEDIR."members.php' class='small'>Nariai</a>";
echo"</td>
<td width='5'></td>
<td>

<a href='/infusions/pateikti_daina/pateikti_daina.php' class='small'>Pateikti daina</a><br>
<a href='/submit.php?stype=n' class='small'>Pateikti albuma</a><br>
<a href='/submit.php?stype=l' class='small'>Pateikti klipa</a><br>
<a href='#' class='small'>Pateikti lyrika</a>
</td>
<td>
<br>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<a href='".ADMIN."index.php".$aidlink."' class='small'>&nbsp;&nbsp;&nbsp;&nbsp;Admin Panel</a>";
   }
echo"<br><br><br><a href='".BASEDIR."setuser.php?logout=yes' target='_blank' class='small'>&nbsp;&nbsp;&nbsp;&nbsp;Atsijungti<span style='color: #a7fe00;'>[x]</span></a><br>
</td>";
} else {
echo" <td style='padding-top:1px;' align='center'>
    <form name='loginform' method='post' action='".FUSION_SELF."'>
    Slapyvardis: <input type='text' name='user_name' class='laukelis' style='filter:alpha(opacity=70)'>
    Slaptazodis: <input type='password' name='user_pass' class='laukelis' style='filter:alpha(opacity=70)'><br>


<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."' style='vertical-align:middle;'> Prisiminti &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type='submit' name='login' value='' class='jungtis'>";
      echo " <br><a href='".BASEDIR."register.php' style='padding-left: 25px;'>Registruotis</a> | <a href=".BASEDIR."lostpassword.php>Priminti slaptazodi</a></form>";
   echo"</div>";
}
echo "</td></tr></table></td></tr></table>";


echo"
</td>
</tr>
</table>
</td>
<td class='pranforum'>";
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
$result = dbquery(
   "SELECT tf.*, tt.*, tu.user_id,user_name, MAX(tp.post_id) as last_id, COUNT(tp.post_id) as count_posts FROM ".$db_prefix."forums tf
   INNER JOIN ".$db_prefix."threads tt USING(forum_id)
   INNER JOIN ".$db_prefix."posts tp USING(thread_id)
   INNER JOIN ".$db_prefix."users tu ON tt.thread_lastuser=tu.user_id
   WHERE ".groupaccess('forum_access')." GROUP BY thread_id ORDER BY thread_lastpost DESC LIMIT 0,5"
);
if (dbrows($result) != 0) {
   $i = 0;
   echo "<table cellpadding='0' cellspacing='1' width='100%'>\n";
   while ($data = dbarray($result)) {
      echo "<tr>\n";
         echo "<td></td><td width='200'><span class='sub'><img src='".THEME."images/bullet.gif'> <a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&amp;thread_id=".$data['thread_id']."&amp;pid=".$data['last_id']."#post_".$data['last_id']."' title='".$data['thread_subject']." (".$data['forum_name'].")' class='small'>".trimlink($data['thread_subject'], 30)."</a></span></td>\n";
      echo "<td align='center' width='20' style='white-space:nowrap'><span class='small'>".$data['thread_views']."</span></td>
      <td width='45'></td>
      <td align='center' width='20' style='white-space:nowrap'><span class='small'>".($data['count_posts']-1)."</span></td>
      <td width='25'></td>
</tr>\n";
      $i++;
   }
   echo "</table>\n";
}
echo"</td>
</tr>
</table>\n";

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

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footer'>
<tr>
<td align='left' style='font-size: 10px; padding-top: 3px;'>
Sistema: PHP-Fusion &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;(c)2009-2010.
Visos teises saugomos.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Dizainas:</td><td><a href='http://daco.lt' alt=''><img src='".THEME."images/daco.png' alt='' border='0'></a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table cellpadding='0' cellspacing='0' width='494'>
<tr>
<td class='capmain'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td style='font-weight: bold; font-size: 12px;' width='404'>$subject</td>
<td style='color: #373737; font-size: 10px; padding-top: 3px;' width='90'>Skait&#0279;: ".$info['news_reads']."<br>Komentar&#0371;: ".$info['news_comments']."</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class='main-body'>$news<p><a href='".BASEDIR."news.php?readmore=".$info['news_id']."' alt=''><center style='color: #00BFFF;'>Skaityti pla&#0269;iau.</center></a></td>
</tr>
<tr>
<td align='center' class='news-footer'></td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='494' 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'></td>
</tr>
</table>\n";

}

function opentable($title) {

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

}

function closetable() {

echo "</td>
</tr>
<tr>
<td align='center' class='news-footer'></td>
</tr>
</table>\n";

}

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

}

function closeside() {

echo "</td>
</tr>
<tr>
<td class='side-footer'></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";

}
?>



2010 Geg. 2 20:05:32          2 žinutė iš 3
Spausdinti pranešimą
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#ffffff";
$body_text = "#ffffff";
$body_bg = "#1f1515";
$theme_width = "960";
$theme_width_l = "223";
$theme_width_r = "223";

function render_header($header_content) {

global $theme_width, $result, $db_prefix, $settings, $data, $userdata,$aidlink, $locale, $aidlink, $msg_count;

if(FUSION_SELF == 'news.php') { $img[1] = "Mp3Place_07.gif"; } else { $img[1] = "off_Mp3Place_06.gif"; }
if(FUSION_SELF == 'downloads.php') { $img[] = "Mp3Place_08.gif"; } else { $img[2] = "off_Mp3Place_07.gif"; }
if($_SERVER['REQUEST_URI'] == '/articles.php?cat_id=2') { $img[3] = "Mp3Place_09.gif"; } else { $img[3] = "off_Mp3Place_08.gif"; }
if(FUSION_SELF == 'http://muzikalus.lt/news_cats.php?cat_id=17') { $img[4] = "Mp3Place_10.gif"; } else { $img[4] = "off_Mp3Place_09.gif"; }
if($_SERVER['REQUEST_URI'] == 'articles.php?cat_id=1') { $img[5] = "Mp3Place_11.gif"; } else { $img[5] = "off_Mp3Place_10.gif"; }
if(FUSION_SELF == 'search.php') { $img[6] = "Mp3Place_12.gif"; } else { $img[6] = "off_Mp3Place_11.gif"; }
if($_SERVER['PHP_SELF'] == 'forum/index.php' or $_SERVER['PHP_SELF'] == 'forum/viewthread.php' or $_SERVER['PHP_SELF'] == 'forum/viewforum.php' or $_SERVER['PHP_SELF'] == 'forum/post.php' or $_SERVER['PHP_SELF'] == 'forum/postify.php') { $img[7] = "Mp3Place_13.gif"; } else { $img[7] = "off_Mp3Place_12.gif"; }
if(FUSION_SELF == 'photogallery.php') { $img[8] = "Mp3Place_14.gif"; } else { $img[8] = "off_Mp3Place_13.gif"; }
if($_SERVER['REQUEST_URI'] == '/viewpage.php?page_id=2') { $img[9] = "Mp3Place_15.gif"; } else { $img[9] = "off_Mp3Place_14.gif"; }
if(FUSION_SELF == 'contact.php') { $img[10] = "Mp3Place_16.gif"; } else { $img[10] = "off_Mp3Place_15.gif"; }
if($_SERVER['REQUEST_URI'] == '/viewpage.php?page_id=1') { $img[11] = "Mp3Place_17.gif"; } else { $img[11] = "off_Mp3Place_16.gif"; }
if(FUSION_SELF == 'search.php') { $img[12] = "Mp3Place_18.gif"; } else { $img[12] = "off_Mp3Place_17.gif"; }


echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='header'>
<table border='0' cellpadding='0' cellspacing='0' width='960' height='73'>
  <tr>
    <td width='10%'><img border='0' src='".THEME."images/Mp3Place_06.gif' width='34' height='73'></td>
    <td width='10%'><a href='".BASEDIR."news.php' title=''><img border='0' src='".THEME."images/".$img[1]."' width='53' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_07.gif'\" onmouseout=\"this.src='".THEME."images/".$img[1]."'\" ></a></td>
    <td width='10%'><a href='".BASEDIR."downloads.php' title=''><img border='0' src='".THEME."images/".$img[2]."' width='67' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_08.gif'\" onmouseout=\"this.src='".THEME."images/".$img[2]."'\" ></a></td>
    <td width='10%'><a href='".BASEDIR."news_cats.php?cat_id=9.php' title=''><img border='0' src='".THEME."images/".$img[3]."' width='71' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_09.gif'\" onmouseout=\"this.src='".THEME."images/".$img[3]."'\" ></a></td>
    <td width='10%'><a href='".BASEDIR."viewpage.php?page_id=1' title=''><img border='0' src='".THEME."images/".$img[4]."' width='58' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_10.gif'\"  onmouseout=\"this.src='".THEME."images/".$img[4]."'\" ></a></td>
    <td width='10%'><a href='".BASEDIR."viewpage.php?page_id=2' title=''><img border='0' src='".THEME."images/".$img[5]."' width='95' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_11.gif'\" onmouseout=\"this.src='".THEME."images/".$img[5]."'\" ></a></td>
    <td width='10%'><a href='".BASEDIR."search.php' title=''><img border='0' src='".THEME."images/".$img[6]."' width='72' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_12.gif'\" onmouseout=\"this.src='".THEME."images/".$img[6]."'\" ></a></td>
    <td width='10%'><a href='".FORUM."index.php' title=''><img border='0' src='".THEME."images/".$img[7]."' width='74' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_13.gif'\" onmouseout=\"this.src='".THEME."images/".$img[7]."'\" ></a></td>
    <td width='10%'><a href='".BASEDIR."photogallery.php' title=''><img border='0' src='".THEME."images/".$img[8]."' width='93' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_14.gif'\" onmouseout=\"this.src='".THEME."images/".$img[8]."'\" ></a></td>
    <td width='2%'><a href='".BASEDIR."viewpage.php?page_id=3'  title=''><img border='0' src='".THEME."images/".$img[9]."' width='76' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_15.gif'\"  onmouseout=\"this.src='".THEME."images/".$img[9]."'\" ></a></td>
    <td width='2%'><a href='".BASEDIR."contact.php'  title=''><img border='0' src='".THEME."images/".$img[10]."' width='78' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_16.gif'\"  onmouseout=\"this.src='".THEME."images/".$img[10]."'\" ></a></td>
    <td width='2%'><a href='".BASEDIR."viewpage.php?page_id=4' title=''><img border='0' src='".THEME."images/".$img[11]."' width='80' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_17.gif'\"  onmouseout=\"this.src='".THEME."images/".$img[11]."'\" ></a></td>
    <td width='2%'><a href='".BASEDIR."viewpage.php?page_id=5'  title=''><img border='0' src='".THEME."images/".$img[12]."' width='62' height='73' onmouseover=\"this.src='".THEME."images/Mp3Place_18.gif'\"  onmouseout=\"this.src='".THEME."images/".$img[12]."'\" ></a></td>
    <td width='2%'><img border='0' src='".THEME."images/off_Mp3Place_18.gif' width='47' height='73'></td>
  </tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
  <tr>
  <td height='27'>
  </td>
  </tr>
<tr>
<td height='63' style='padding-left: 720px;'  valign='top'>         
    <form name='searchform' method='post' action='".BASEDIR."search.php?stype=d'>
    <input type='text' name='stext' class='search' value='Paie&#0353;kos &#0382;odis...'>
   <input type='submit' name='search' value='Ok' class='ok'></form>
</td>
</tr>
<tr>
<td>
<table align='center' cellspacing='0' cellpadding='0' height='120'>
<tr>
<td width='460'></td>
<td width='230'>";
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
   $result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,7");
   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='sub'>".trimlink($data['download_title'], 31)."</a>
            </td>
            <td align='right'>[".$data['download_count']."]</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "<div style='text-align:center'>".$locale['004']."</div>\n";
   }
echo"</td>
<td width='25'></td>
<td width='230'>";
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,7");
if (dbrows($result) != 0) {
   echo "<table width='100%' cellpadding='0' cellspacing='0'>";
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['download_title'], 31);
      echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?d_id=".$data['download_id']."' title='".$data['download_title']."' class='sub'>$itemsubject</a></td>\n
      <td align='right'>[".$data['download_count']."]</td>\n</tr>\n";
   }
   echo "</table>";
} else {
   echo "<center>".$locale['004']."</center>\n";
}
echo"</td>
<td width='25'></td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='nariai' width='225' align='center'>";
if (file_exists(INFUSIONS."last_seen_users_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."last_seen_users_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."last_seen_users_panel/locale/English.php";
}
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,5");
echo "<table cellpadding='0' cellspacing='0' width='200'>";
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= '<font color="#a7fe00">[Online]</font>';
      } elseif ($lastseen < 360){
         $lastseen= '<font color="c4248d">[Offline]</font>';
      } elseif ($iW > 0){
         if ($iW == 1) { $text = $locale['lsup003']; } else { $text = $locale['lsup004']; }
         $lastseen = '<font color="c4248d">[Offline]</font>';
      } elseif ($iD > 0){
         if ($iD == 1) { $text = $locale['lsup005']; } else { $text = $locale['lsup006']; }
         $lastseen = '<font color="c4248d">[Offline]</font>';
      } else {
         $lastseen = '<font color="c4248d">[Offline]</font>';
      }
      echo "<tr>\n<td class='small' align='left'><img src='".THEME."images/bullet.gif' alt=''>\n";
      echo "<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".$data['user_name']."' class='small'>\n";
      echo trimlink($data['user_name'], 15)."</a></td><td class='small' align='right'>".$lastseen."</td>\n</tr>\n";
   }
}
echo "</table>";
echo"</td>
<td class='zona' align='center' style='padding-bottom: 6px;' valign='bottom'>
<table cellpadding='0' cellspacing='0' width='390' height='60'>
<tr>
<td>";
if (iMEMBER) {
   echo ($data['user_avatar'] ? "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['u017']."' height='60'>" : "")."<img src='".THEME."images/nera-avataro.jpg'></td>";}
        echo "<td><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
        echo "<td class='sub-header'><table width='100%' border='0' cellpadding='0' cellspacing='0' ><tr>";
if (iMEMBER) {
echo"<td>
<span class='small'><b>Sveikas:</b></span> <span style='color: #a7fe00; font-size: 10px;'>".$userdata['user_name']."</span><br>
<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='small'>Mano profilis</a><br>
<a href='".BASEDIR."edit_profile.php' class='small'>Redaguoti apra&#0353;ym&#0261</a><br>
<a href='".BASEDIR."messages.php'  class='small'>&#0381;inut&#0279s</a><br>
<a href='".BASEDIR."members.php' class='small'>Nariai</a>";
echo"</td>
<td width='5'></td>
<td>

<a href='/infusions/pateikti_daina/pateikti_daina.php' class='small'>Pateikti daina</a><br>
<a href='/submit.php?stype=n' class='small'>Pateikti albuma</a><br>
<a href='/submit.php?stype=l' class='small'>Pateikti klipa</a><br>
<a href='#' class='small'>Pateikti lyrika</a>
</td>
<td>
<br>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<a href='".ADMIN."index.php".$aidlink."' class='small'>&nbsp;&nbsp;&nbsp;&nbsp;Admin Panel</a>";
   }
echo"<br><br><br><a href='".BASEDIR."setuser.php?logout=yes' target='_blank' class='small'>&nbsp;&nbsp;&nbsp;&nbsp;Atsijungti<span style='color: #a7fe00;'>[x]</span></a><br>
</td>";
} else {
echo" <td style='padding-top:1px;' align='center'>
    <form name='loginform' method='post' action='".FUSION_SELF."'>
    Slapyvardis: <input type='text' name='user_name' class='laukelis' style='filter:alpha(opacity=70)'>
    Slaptazodis: <input type='password' name='user_pass' class='laukelis' style='filter:alpha(opacity=70)'><br>


<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."' style='vertical-align:middle;'> Prisiminti &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type='submit' name='login' value='' class='jungtis'>";
      echo " <br><a href='".BASEDIR."register.php' style='padding-left: 25px;'>Registruotis</a> | <a href=".BASEDIR."lostpassword.php>Priminti slaptazodi</a></form>";
   echo"</div>";
}
echo "</td></tr></table></td></tr></table>";


echo"
</td>
</tr>
</table>
</td>
<td class='pranforum'>";
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
$result = dbquery(
   "SELECT tf.*, tt.*, tu.user_id,user_name, MAX(tp.post_id) as last_id, COUNT(tp.post_id) as count_posts FROM ".$db_prefix."forums tf
   INNER JOIN ".$db_prefix."threads tt USING(forum_id)
   INNER JOIN ".$db_prefix."posts tp USING(thread_id)
   INNER JOIN ".$db_prefix."users tu ON tt.thread_lastuser=tu.user_id
   WHERE ".groupaccess('forum_access')." GROUP BY thread_id ORDER BY thread_lastpost DESC LIMIT 0,5"
);
if (dbrows($result) != 0) {
   $i = 0;
   echo "<table cellpadding='0' cellspacing='1' width='100%'>\n";
   while ($data = dbarray($result)) {
      echo "<tr>\n";
         echo "<td></td><td width='200'><span class='sub'><img src='".THEME."images/bullet.gif'> <a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&amp;thread_id=".$data['thread_id']."&amp;pid=".$data['last_id']."#post_".$data['last_id']."' title='".$data['thread_subject']." (".$data['forum_name'].")' class='small'>".trimlink($data['thread_subject'], 30)."</a></span></td>\n";
      echo "<td align='center' width='20' style='white-space:nowrap'><span class='small'>".$data['thread_views']."</span></td>
      <td width='45'></td>
      <td align='center' width='20' style='white-space:nowrap'><span class='small'>".($data['count_posts']-1)."</span></td>
      <td width='25'></td>
</tr>\n";
      $i++;
   }
   echo "</table>\n";
}
echo"</td>
</tr>
</table>\n";

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

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footer'>
<tr>
<td align='left' style='font-size: 10px; padding-top: 3px;'>
Sistema: PHP-Fusion &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;(c)2009-2010.
Visos teises saugomos.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Dizainas:</td><td><a href='http://daco.lt' alt=''><img src='".THEME."images/daco.png' alt='' border='0'></a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table cellpadding='0' cellspacing='0' width='494'>
<tr>
<td class='capmain'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td style='font-weight: bold; font-size: 12px;' width='404'>$subject</td>
<td style='color: #373737; font-size: 10px; padding-top: 3px;' width='90'>Skait&#0279;: ".$info['news_reads']."<br>Komentar&#0371;: ".$info['news_comments']."</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class='main-body'>$news<p><a href='".BASEDIR."news.php?readmore=".$info['news_id']."' alt=''><center style='color: #00BFFF;'>Skaityti pla&#0269;iau.</center></a></td>
</tr>
<tr>
<td align='center' class='news-footer'></td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='494' 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'></td>
</tr>
</table>\n";

}

function opentable($title) {

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

}

function closetable() {

echo "</td>
</tr>
<tr>
<td align='center' class='news-footer'></td>
</tr>
</table>\n";

}

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

}

function closeside() {

echo "</td>
</tr>
<tr>
<td class='side-footer'></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";

}
?>





turi snapso downloads.php naudot

www.thesport.sx | www.themusiclt.com | www.zippymusic.lt |
2010 Geg. 2 21:05:55          3 žinutė iš 3
Spausdinti pranešimą
Ačiū Rolandai. +10 šypsosi Gal gali padaryti ir prie kito stulpelio, tu padarei prie populiariausiu man dar reikia kad padarytum ir prie naujausiu. šypsosi Tikriausiai nepastebėjai. šypsosi

Peršokti į forumą: