Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Radio panele

Parašė arnas120· 2010 Bir. 3 21:06:26
#1

Sveiki as dar ant php as esu biski zalias todel turiu klausimas kaip uzdeti radio panele ant headerio kad rodytu buciau labai dekingas.

kodas:
openside("Radija");
?>
<html>
<center><img src="http://img389.imageshack.us/img389/7830/iconklausykfd6.gif" alt="" width=120 />
<br><a href='http://84.46.205.13:8000/zipfm.mp3.m3u' target='_blank'>Zip FM</a></br>
<br=1><a href='http://84.46.205.13:8000/rc.mp3.m3u' target='_blank'>Radio centras</a></br>
<br=1><a href='http://radija.tusas.lt:8000/listen.pls' target='_blank'>Tuso radijas</a></br=1>
<br><a href='http://radio.m-1.lt:8000/listen.pls' target='_blank'>M-1</a>
<br><a href='http://www.escradio.com/p
layer/player_settings.asp' target='_blank'>Eurovision radio</a></br>
<br=1><a href='http://www.icefm.lt/listen.pls' target='_blank'>Ice FM</a></center></br=1>
</html>
<?
closeside();


Dekoju is anksto :)

Redagavo arnas120· 2010 Bir. 3 21:06:05

Parašė flapas· 2010 Bir. 3 21:06:23
#2

arnas120 parašė:
Sveiki as dar ant php as esu biski zalias todel turiu klausimas kaip uzdeti radio panele ant headerio kad rodytu buciau labai dekingas.

kodas:
openside("<center>Radijas internete</center>");
?>

</p>
<br>
<center><img src="http://www.prienugrozis.xz.lt/images/articles/radijas.gif" alt="radijas.gif" width=120 /></center>
<form action="" method="get" name="radio">
<select name="music" size="1 style="background-color: #FFFF00" onChange="displaydesc(document.radio.music.selectedIndex)">
<option selected>Pasirink stotį</option>

<option value="http://84.46.205.13:8000/RELAXFM.m3u">Relax FM</option>
<option value="http://82.135.234.195/VoxmarisClub.wax">WoxmarisClub</option>
<option VALUE="http://radija.tusas.lt:8000/listen.pls">Tuso Radijas</option>
<option VALUE="http://84.46.205.13:8000/ZIPFM.m3u">Zip Fm</option>
<option VALUE="http://84.46.205.13:8000/RC.m3u">Radiocentras</option>
<option value="http://82.135.234.195/Pulsas.wax">Pulsas</option>
<option value="http://82.135.234.195/VoxmarisRelax.wax">Woxmaris Relax</option>
<option value="http://82.135.234.195/VoxmarisRock.wax">Woxmaris Rock</option>
<option VALUE="http://84.46.205.13:8000/RELAXFM.m3u">Relax Fm</option>
<option VALUE="http://195.151.242.137:8000/listen.pls">Stars Radio</option>
<option VALUE="http://lafesta.lt:8000/listen.pls">LaFesta</option>
<option VALUE="http://82.135.234.195/GerasFM.wax">Geras FM</option>
<option VALUE="http://82.135.234.195/ExtraFM.wax">Extra FM</option>

</select><center><input type="button" value="Klausyti" class="button"
onClick="location=document.radio.music.options[document.radio.music.selectedIndex].value"><br></center>
</form>
<span id="descriptions" style="font: 10px Verdana">
</span>
<?
closeside();

Dekoju is anksto :)


Išjunk smailus, įdėk į code tagus arba citatos.

Parašė AceN· 2010 Bir. 3 22:06:23
#3

Tai tu dizaino theme.php numesk :?

Parašė arnas120· 2010 Bir. 3 22:06:37
#4

<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }

$font_mode = TRUE;
define("THEME_WIDTH", "934px");
define("THEME_BULLET", "<img src='".THEME."images/bullet.png' alt='' style='border:0' />");

require_once INCLUDES."theme_functions_include.php";
require_once THEME."core.php";

function render_page($license=false) {

if(TRUE & FALSE){ echo "neki";}

global $settings, $userdata, $main_style, $font_mode, $aidlink;
//main frame
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'><tr><td>";
//header
echo "<table align='center' id='Table_01' width='934' height='298' border='0' cellpadding='0' cellspacing='0' align='center' >
<tr>
<td colspan='10'>
<img src='".THEME."images/header_01.png' width='934' height='14' alt=''></td>
</tr>
<tr>
<td colspan='3'>
<img src='".THEME."images/header_02.png' width='404' height='183' alt=''></td>
<td colspan='3' background='".THEME."images/header_03.png' width='219' height='183' alt=''><div align='center'>TOP muzika</div></td>
";
echo "<td colspan='3' background='".THEME."images/header_04.png' width='218' height='183'><div align='center'>Naujausia muzika</div></td>
";
echo "<td>
<img src='".THEME."images/header_05.png' width='93' height='183' alt=''></td>
</tr>
<tr>
<td colspan='10'>
<img src='".THEME."images/header_06.png' width='934' height='32' alt=''></td>
</tr>
<tr>
<td>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_07.png' width='158' height='68' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_08.png' width='142' height='68' border='0' alt=''></a></td>
<td colspan='2'>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_09.png' width='118' height='68' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_10.png' width='98' height='68' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_11.png' width='107' height='68' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_12.png' width='111' height='68' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_13.png' width='76' height='68' border='0' alt=''></a></td>
<td colspan='2'>
<a href='".BASEDIR."index.php'><img src='".THEME."images/header_14.png' width='124' height='68' border='0' alt=''></a></td>
</tr>
<tr>
<td>
<img src='spacer.gif' width='158' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='142' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='104' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='14' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='98' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='107' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='111' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='76' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='31' height='1' alt=''></td>
<td>
<img src='spacer.gif' width='93' height='1' alt=''></td>
</tr>
</table><br>";
//Content
echo "<table cellpadding='0' cellspacing='0' width='100%' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
echo "
</table>";

echo newline(10);
//footer
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='foot_l'></td>
<td class='foot_copyright' align='center'>Kodavimas: <a href='http://pramogos.gardusmaistas.lt/phpfusion/'>Mindaugas</a><br>".showcopyright()."<br>".showcounter()."</td>
<td class='foot_r'></td>
</tr>
</table>";
//main frame
echo "</td>\n</tr>\n</table>\n";

}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='news'>".$subject."</td>\n";
echo "<td class='newsr' align='right'>".avtornovice($info)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body' colspan='2'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer' colspan='2'>\n";
echo opcijenovice($info).dodatno("N",$info['news_id']);
echo "</td>\n</tr>\n</table>\n";

}

function render_article($subject, $article, $info) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='news'>".$subject."</td>\n";
echo "<td class='newsr'></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer' colspan='2'>\n";
echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
echo "</td>\n</tr>\n</table>\n";

}

function opentable($title) {

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

}

function closetable() {

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

}

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

global $panel_collapse; $panel_collapse = $collapse;

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='scapmain'>".$title."</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmainr' align='right'>".panelbutton($state,$boxname)."</td>\n";
}else { echo "<td class='scapmainr' align='right'></td>\n"; }
echo "</tr>\n<tr>\n";
echo "<td colspan='2' class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside($collapse = false) {

global $panel_collapse;

if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n</tr>\n</table>\n";

}
?>

Redagavo arnas120· 2010 Bir. 3 22:06:53

Parašė .Vaidas.· 2010 Bir. 3 23:06:20
#5

Mėgink įterpti į kokią vieną, ir gal tau pavyks, šiaip šito pats nežinau.