Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

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

Informacija:


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

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



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

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

MaFetas
2024 Lap. 13 22:11:57
hey how, geras dar veikiantis saitas?

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

And2s
2024 Lie. 17 19:07:04
2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

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

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

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

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

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
Ideti i headeri radio info panel
Forumas | Kita | Off-Topic diskusijos

Autorius: Apocal Peržiūrų: 1248      Spausdinti temą
2008 Spa. 8 22:10:52          1 žinutė iš 3
Spausdinti pranešimą
Sveiki, jau daugiau negu 1h knisuosi ir niekaip nesugebu ideti i headeri radio info panele, gal galetumet ideti kas nors, kam nesunku :|

Foto kur reikia ideti ta radio info panel http://pliusas.net/files/img/unt...

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

// theme settings
$body_text = "#444444";
$body_bg = "#ffffff";
$theme_width = "767";
$theme_width_l = "210";
$theme_width_r = "210";

function render_header($header_content) {

global $theme_width;

echo "<table colspan='3' align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table width='755' height='279' border='0' cellpadding='0' cellspacing='0'>
   <tr>
      <td colspan='4'>
         <img src='".THEME."images/header_01.jpg' width='755' height='9' alt=''></td>
   </tr>
   <tr>
      <td colspan='3'>
         <img src='".THEME."images/header_02.jpg' width='513' height='72' alt=''></td>
      <td>
         <img src='".THEME."images/header_03.jpg' width='242' height='72' alt=''></td>
   </tr>
   <tr>
      <td rowspan='7'>
         <img src='".THEME."images/header_04.jpg' width='50' height='197' alt=''></td>
      <td>
         <img src='".THEME."images/header_05.jpg' width='186' height='36' alt=''></td>
      <td colspan='2' rowspan='7'>
         <img src='".THEME."images/header_06.jpg' width='519' height='197' alt=''></td>
   </tr>
   <tr>
      <td>
         <img src='".THEME."images/header_07.jpg' width='186' height='25' alt=''></td>
   </tr>
   <tr>
      <td>
         <img src='".THEME."images/header_08.jpg' width='186' height='28' alt=''></td>
   </tr>
   <tr>
      <td>
         <img src='".THEME."images/header_09.jpg' width='186' height='27' alt=''></td>
   </tr>
   <tr>
      <td>
         <img src='".THEME."images/header_10.jpg' width='186' height='27' alt=''></td>
   </tr>
   <tr>
      <td>
         <img src='".THEME."images/header_11.jpg' width='186' height='28' alt=''></td>
   </tr>
   <tr>
      <td>
         <img src='".THEME."images/header_12.jpg' width='186' height='26' alt=''></td>
   </tr>
   <tr>
      <td>
         <img src='".THEME."images/spacer.gif' width='50' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='186' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='277' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='242' height='1' alt=''></td>
   </tr>
</table>\n";


tablebreak();

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";
tablebreak();
echo "<table colspan='3' cellpadding='0' cellspacing='0' width='100%'>
<tr><td><img src='".THEME."images/footer.gif' alt='' width='764' height='8'></td></tr>
<tr><td class='footer' width='100%' align='center'><br><a href='".BASEDIR."index.php' class='side'>Pradinis</a>  &nbsp;|&nbsp;  <a href='".BASEDIR."downloads.php' class='side'>Muzika</a>  &nbsp;|&nbsp;  <a href='".BASEDIR."forum/' class='side'>Forumas</a>  &nbsp;|&nbsp;  <a href='".BASEDIR."about.php' class='side'>Apie mus</a>  &nbsp;|  &nbsp;<a href='".BASEDIR."contact.php' class='side'>Kontaktai</a>  &nbsp;|  &nbsp;<a href='".BASEDIR."friends.php' class='side'>Draugai</a>  &nbsp;|  &nbsp;<a href='".BASEDIR."advertisiment.php' class='side'>Reklama</a><br><br>
Dizainas: <a href='skype:mantiz_14?chat'>frix</a> | Sistema: <a href='http://php-fusion.co.uk'>PHP-Fusion</a><br></td></tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><img src='".THEME."images/table_01.png'></td>
<td class='capmain' height='3' align='left' valign='middle' width='100%'>$subject</td>
<td><img src='".THEME."images/table_03.png' ></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/table_04.png'></td>
<td class='main-body'>
$news
</td>
<td background='".THEME."images/table_05.png'></td>
</tr>
<tr>
<td background='".THEME."images/table_04.png'></td>
<td align='right' class='news-footer'>\n";
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>Skaityti daugiau</a>";
echo "</td>
<td background='".THEME."images/table_05.png'></td>
</tr>
<tr><td><img src='".THEME."images/table_06.png'></td><td background='".THEME."images/table_07.png' width='100%'></td><td><img src='".THEME."images/table_08.png'></td></tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='".THEME."images/table_01.png'></td>
<td class='capmain' height='3' align='left' valign='middle' width='100%'>$subject</td>
<td><img src='".THEME."images/table_03.png' ></td>
</tr>
<tr>
<td background='".THEME."images/table_04.png'></td>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
<td background='".THEME."images/table_05.png'></td>
</tr>
<tr>
<td background='".THEME."images/table_04.png'></td>
<td width='100%' align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
<td background='".THEME."images/table_05.png'></td>
</tr>
<tr><td><img src='".THEME."images/table_06.png'></td><td background='".THEME."images/table_07.png' width='100%'></td><td><img src='".THEME."images/table_08.png'></td></tr>
</table>
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><img src='".THEME."images/table_01.png'></td>
<td class='capmain' height='3' align='left' valign='middle' width='100%'>$title</td>
<td><img src='".THEME."images/table_03.png' ></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td background='".THEME."images/table_04.png'></td>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
<td background='".THEME."images/table_05.png'></td>
</tr>
<tr>
<td><img src='".THEME."images/table_06.png'></td>
<td background='".THEME."images/table_07.png' width='100%'></td>
<td><img src='".THEME."images/table_08.png'></td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><img src='".THEME."images/table_1.png'></td>
<td class='scapmain' height='37' align='left' valign='middle' width='100%'>$title</td>
<td><img src='".THEME."images/table_3.png' ></td>
</tr>
<tr>
<td background='".THEME."images/table_04.png'></td>
<td class='side-body'>
\n";

}

function closeside() {

echo "
</td>
<td background='".THEME."images/table_05.png'></td>
</tr>
<tr>
<td><img src='".THEME."images/table_06.png'></td>
<td background='".THEME."images/table_07.png' width='100%'></td>
<td><img src='".THEME."images/table_08.png'></td>
</tr>
</table>\n";

}


function tablebreak() {

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

}
?>




Radio info panel

openside("Upo Radio");
error_reporting(0);
$scdef = "Šiuo metu radija yra."; // Default station name to display when server or stream is down
$scip = "83.170.93.xxx"; // ip or url of shoutcast server (DO NOT ADD HTTP:// don't include the port)
$scport = "8030"; // port of shoutcast server
$scpass = "xxxx"; // password to shoutcast server
//End configuration
error_reporting(0);
$scsuccs = NULL;
$page = NULL;
include('config_radio.php'); //you may edit this path to fit your server environment otherwise leave it alone
$scfp = @fsockopen("$scip", $scport, &$errno, &$errstr, 30);
if(!$scfp) {
$scsuccs=1;
echo''.$scdef.'išjungta';
}
if ($scsuccs != 1) {
fputs($scfp,"GET /admin.cgi?pass=$scpass&mode=viewxml HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n");
while(!feof($scfp)) {
$page .= fgets($scfp, 1000);
}
######################################################################################################################
/////////////////////////part 1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//define xml elements
$loop = array("STREAMSTATUS", "BITRATE", "SERVERTITLE", "CURRENTLISTENERS", "AIM");
$y=0;
while (isset($loop[$y])) {
$pageed = ereg_replace(".*<$loop[$y]>", "", $page);
$scphp = strtolower($loop[$y]);
$$scphp = ereg_replace("</$loop[$y]>.*", "", $pageed);
if (($loop[$y] == "SERVERGENRE") || ($loop[$y] == "SERVERTITLE") || ($loop[$y] == "SONGTITLE") || ($loop[$y] == "SERVERTITLE") || ($loop[$y] == "AIM"))
$$scphp = urldecode($$scphp);

// uncomment the next line to see all variables
// echo'$'.$scphp.' = '.$$scphp.'<br>';
$y++;
}
//end intro xml elements
######################################################################################################################
######################################################################################################################
/////////////////////////part 2\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//get song info and history
$pageed = ereg_replace(".*<SONGHISTORY>", "", $page);
$pageed = ereg_replace("<SONGHISTORY>.*", "", $pageed);
$songatime = explode("<SONG>", $pageed);
$r=1;
while (isset($songatime[$r])) {
$t=$r-1;
$playedat[$t] = ereg_replace(".*<PLAYEDAT>", "", $songatime[$r]);
$playedat[$t] = ereg_replace("</PLAYEDAT>.*", "", $playedat[$t]);
$song[$t] = ereg_replace(".*<TITLE>", "", $songatime[$r]);
$song[$t] = ereg_replace("</TITLE>.*", "", $song[$t]);
$song[$t] = urldecode($song[$t]);
$dj[$t] = ereg_replace(".*<SERVERTITLE>", "", $page);
$dj[$t] = ereg_replace("</SERVERTITLE>.*", "", $pageed);
$r++;
}
$daina = str_replace('_',' ',substr ($song[0],0,90));
//end song info

fclose($scfp);
}

//Eterio Foto
if($streamstatus == "1"){
switch ($aim) {
case 'Dj Dede': $aimlogo = "Dede"; break;
case 'dJ BaNgIs': $aimlogo = "BaNgIs"; break;
case 'Dj Montis': $aimlogo = "Montis"; break;
case 'Dj': $aimlogo = "foto pavadinimas"; break;
case 'Dj': $aimlogo = "foto pavadinimas"; break;
case 'Dj': $aimlogo = "foto pavadinimas"; break;
default: $aimlogo = "dj";
}
$_SESSION['djus'] = $aim;
echo'<div align="center">
<table cellpadding="0" cellspacing="0" width="1">
<!-- MSTaašype="nolayout" -->
<tr>
<td height="36" bgcolor="">
<p align="center">
<a href="http://upofm.xz.lt/infusions/suggestion_box/suggestion_box.php"><img border="0" src="http://upofm.xz.lt/dj/'.$aimlogo.'.jpg" width="140" heigth="100"></a></td>
</tr>
<tr>
<td height="17" valign="bottom" bgcolor="">
<div align="center">
<table cellpadding="0" cellspacing="0" width="111">
<tr>
<td height="17">
<p align="center">
<font face="Tahoma" style="font-size: 8pt" color="#3E1710"><b>Eteryje:</b></font>
<font face="Tahoma" style="font-size: 8pt" color="#000000">'.$aim.'</font></td>
</tr>
<tr>
<tr>
<td height="17">
<p align="center">
<font face="Tahoma" style="font-size: 8pt" color="#3E1710"><b>Klauso:</b></font>
<font face="Arial" style="font-size: 7pt" color="#000000">'.$currentlisteners.'</font> </tr>
<tr>
<td height="17">
<p align="center">
<font face="Tahoma" style="font-size: 8pt" color="#3E1710"><b>Groja:</b></font>
<font face="Arial" style="font-size: 7pt" color="#000000">'.$daina.'</font></td>


</tr>
</tr>
</table>
<html><center>
<a href="http://78.62.120.222:8002/listen.pls"><img src="http://host.ogline.net/upload/winamp.gif" border="0" alt="WINAMP" /></a>
<a href="http://upofm.xz.lt/listen.m3u"><img src="http://host.ogline.net/upload/wmp.gif" border="0" alt="WMP" /></a></br>
<a href="http://upofm.xz.lt/listen.m3u"><img src="http://host.ogline.net/upload/realone.gif" border="0" alt="REALONE" /></a>
<a href="http://upofm.xz.lt/listen.m3u"><img src="http://host.ogline.net/upload/itunes.gif" border="0" alt="iTUNES" /></a></br>
<a href="http://upofm.xz.lt/infusions/suggestion_box/suggestion_box.php"><img src="http://host.ogline.net/upload/pageidauk.gif" border="0" alt="Pageidauk" /></td></br>
</div>
</td>
</tr>
<tr>
<td>
</td>
</tr>
</table>
</div>';
}
if($streamstatus == "0")
{
echo'<font size="2" face="tahoma" color="#6C6D7B">Šiuo metu radija yra išjungta.</font>';
}
closetable();




www.Skanumas.lt - Receptai, Kulinarija, konditerija
www.syntax.lt
2008 Spa. 8 23:10:34          2 žinutė iš 3
Spausdinti pranešimą
jau buvo tokia tema as sukures buvau ir off bet niekas nepadejo

2008 Spa. 9 13:10:33          3 žinutė iš 3
Spausdinti pranešimą
ir neisidejai?

www.Skanumas.lt - Receptai, Kulinarija, konditerija
www.syntax.lt
Redagavo Apocal 2008 Spa. 9 13:10:50
Peršokti į forumą: