PHP-Fusion Mods
Navigacija
Apsauga
Apsauga Neleista registracija: 38943
Šiandien: 12
Prisijungę nariai
» Svečių: 7
» Narių: 0

» Viso narių: 10,235
» Naujausias: ruslanas tuk

Prisijungimų istorija:
tabux23:20:19
sanpernepamenu
Zbigniew@nepamenu
CepelinasXnepamenu
VV91DDnepamenu
Minusnepamenu
priezilviciunepamenu
EdvinasG1337nepamenu
rolandas94nepamenu
Edis2nepamenu
klubogerbejasnepamenu
Miskinisnepamenu
Pask. modai
Prisijungti
Vardas

Slaptažodis



Dar ne narys?
Registruotis.

Pamiršai slaptažodį?
Prašyk naujo!.

Naujausi prašymai
[L] testas
Narių apklausa
Ar dar kuriate tinklalapius?

Ne
Ne
0% [0 Balsai]

Taip
Taip
88% [7 Balsai]

Naudojuosi socialiniais tinklais
Naudojuosi socialiniais tinklais
13% [1 Balsas]

Balsai: 8
Kad galėtum balsuoti, turi prisijungti.
Pradėta: 2022-05-29 19:54
Shoutbox
You must login to post a message.

2026-03-21 19:07

2025-07-13 17:07
svx, smagu kad dar atsiranda naujų narių Šypsosi2

2024-03-07 22:13
Oj Tabux… apkabinčiau už tą moderatorių 😁

2024-02-22 17:40
Šypsosi2 jo buvo laikai.. Senukai jau mes. Bega laikas greiciau nei noretusi. Smagu matyti kad uzsuka seni nariai, ne as vienas Šypsosi

2024-02-20 22:18
Zodziu.. Nostalgija. Sorry Tabux uz spam’a, netelpa viskas i viena shout’a. 😁

Shoutbox Archive
Peržiūrėti temą
PHP-Fusion Mods :: PHP-Fusion modifikacijų forumas :: Taisymas
 Spausdinti temą
v7 Pritaikymas temai.
1dEo
#1 Spausdinti pranešimą
parašyta 2011-01-08 19:11
Pradinukas



Reputacija: 0

Pranešimai: 38
Įstojo: 2010-09-12

Taigi sveiki turiu prasyma gal kas mokesit taigi yra theme.php
Download source  Code
  /*------------------------------------------------------------------
Theme by wildformovies .
(www.wildformovies.com)
-------------------------------------------------------------------*/
if (!defined(\"IN_FUSION\")) { header(\"Location: ../../index.php\"); exit; }
require_once INCLUDES.\"theme_functions_include.php\";

define(\"THEME_WIDTH\", \"1000\");
define(\"THEME_BULLET\", \"\");

function render_page($license=false) {
global $settings, $main_style;

//Header
echo \"





'\".$settings['sitename'].\"'\";
echo \"
\n\";

   //Header
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n
\".showsublinks(\"\", \"white\").\"
\n\";
   
//Content
   echo \"\n\n\";
   if (LEFT) { echo \"\"; }
   echo \"\";
   if (RIGHT) { echo \"\"; }
   echo \"\n
\".LEFT.\"\".U_CENTER.CONTENT.L_CENTER.\"\".RIGHT.\"
\n\";



//Footer
echo \"




\".showcopyright().\"
Theme By >Wildformovies




\n\";
}


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

   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n
\".$subject.\"
\n\";
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n
\".$news.\"
\n\";

}

function render_article($subject, $article, $info) {
   
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n
\".$subject.\"
\n\";
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
  echo \"\n\";
  echo \"\n
\".($info['article_breaks'] == \"y\" ? nl2br($article) : $article).\"
\n\";
   echo articleposter($info,\" \").articleopts($info,\"\").itemoptions(\"A\",$info['article_id']);
   echo \"
\n\";

}

function opentable($title) {

   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n
\".$title.\"
\n\";
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n
\n\";

}

function closetable() {

   echo \"
\n\";

}

function openside($title, $collapse = false, $state = \"on\") {

   global $panel_collapse; $panel_collapse = $collapse;
   
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
   if ($collapse == true) {
      $boxname = str_replace(\" \", \"\", $title);
      echo \"\n\";
   }
   echo \"\n\";
    echo \"\n
$title\".panelbutton($state, $boxname).\"
\n\";
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
  echo \"\n\";
  echo \"\n\";
  echo \"\n\";
   echo \"\n\";
  echo \"
\n\";   
   if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside() {
   
   global $panel_collapse;

   if ($panel_collapse == true) { echo \"\n\"; }   
   echo \"
\n\";

}
?>





Ir noreciau, kad eteris.php butu headeryje :
Download source  Code
error_reporting(0);
$scdef = \"Siuo metu radija yra.\"; // Default station name to display when server or stream is down
$scip = \"http://mms.skynet.lt/PHR.asx\"; // ip or url of shoutcast server (DO NOT ADD HTTP:// don't include the port)
$scport = \"8000\"; // port of shoutcast server
$scpass = \"fiestafm159\"; // 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(\".*\", \"\", $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.'
';
$y++;
}
//end intro xml elements
######################################################################################################################
######################################################################################################################
/////////////////////////part 2\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//get song info and history
$pageed = ereg_replace(\".*\", \"\", $page);
$pageed = ereg_replace(\".*\", \"\", $pageed);
$songatime = explode(\"\", $pageed);
$r=1;
while (isset($songatime[$r])) {
$t=$r-1;
$playedat[$t] = ereg_replace(\".*\", \"\", $songatime[$r]);
$playedat[$t] = ereg_replace(\"
.*\", \"\", $playedat[$t]);
$song[$t] = ereg_replace(\".*\", \"\", $songatime[$r]);<br /> $song[$t] = ereg_replace(\".*\", \"\", $song[$t]);
$song[$t] = urldecode($song[$t]);
$AIM[$t] = ereg_replace(\".*\", \"\", $page);
$AIM[$t] = ereg_replace(\"
.*\", \"\", $pageed);
$r++;
}
$daina = str_replace('_',' ',substr ($song[0],0,90));
//end song info

fclose($scfp);
}

//Eterio Foto
if($streamstatus == \"1\"){
switch ($aim) {
case 'Rudis': $aimlogo = \"Rudis\"; break;
case 'Arvydas': $aimlogo = \"Arvydas\"; break;
case 'Mantas': $aimlogo = \"Mantas\"; break;
case 'Leila': $aimlogo = \"Leila\"; break;
case 'Shine': $aimlogo = \"Shine\"; break;
case 'Serveris': $aimlogo = \"Serveris\"; break;
default: $aimlogo = \"dj\";
}
$_SESSION['djus'] = $aim;
echo'


















Dabar eteryje:
'.$aim.'






Eteryje Groja:

>'.$daina.'











';
}
if($streamstatus == \"0\")
{
echo'Šiuo metu radija yra išjungta.';
}
?>




Taigi gal kas galetumet pasakyt kaip theme.php prsegti eteris.php kurioj vietoj koki diva prirasyti ar kazka.

Aciu uz pagalba
 
PM
avice
#2 Spausdinti pranešimą
parašyta 2011-01-08 19:42
Savekas



Reputacija: 0

Pranešimai: 110
Įstojo: 2008-02-07

tai bandyk kaip nors taip:
Download source  GeSHi: PHP
  1. //Header
  2. echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'><tr><td>
  3.  
  4.  
  5. <table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' style='border: 0px; margin: 0px auto'>
  6. <tr><td style=background:".THEME."images/header.gif>";
  7. include "eteris.php";
  8. echo "</td></tr></table>\n";
Parsed in 0.022 seconds, using GeSHi 1.0.8.10

tik susitvarkyk styliu background
 
PM
1dEo
#3 Spausdinti pranešimą
parašyta 2011-01-08 20:14
Pradinukas



Reputacija: 0

Pranešimai: 38
Įstojo: 2010-09-12

Bet labai durnai gavosi nuorodos nusoko i virsu is apacios :S.
 
PM
avice
#4 Spausdinti pranešimą
parašyta 2011-01-08 20:57
Savekas



Reputacija: 0

Pranešimai: 110
Įstojo: 2008-02-07

tai daryk pagal save tik pasidaudok include funkcija arba tiesiog dek visa koda i ta vieta i kuria nori ir su css nusistatysi jo pozicija...
 
PM
1dEo
#5 Spausdinti pranešimą
parašyta 2011-01-09 18:58
Pradinukas



Reputacija: 0

Pranešimai: 38
Įstojo: 2010-09-12

O taip netiktu ?
Download source  Code
//Header
   echo \"\n\n\";
   include \"eteris.php\";
   echo \"\n\";
   echo \"\n
\n\";



 
PM
snes
#6 Spausdinti pranešimą
parašyta 2011-01-09 19:09
Vartotojo avataras

Geradarys



Reputacija: 0

Pranešimai: 684
Įstojo: 2009-09-24

1dEo para?:
O taip netiktu ?
Download source  Code
//Header
   echo \"\n\n\";
   include \"eteris.php\";
   echo \"\n\";
   echo \"\n
\n\";




Nu tai bandyk ir pasiziurek
Modai.in
 
PM
Peršokti į forumą: