PDA

View Full Version : on air script



djultra89
09-28-2013, 11:17 PM
hi there does anyone have any sort of coding were
i can put a few DJ pictures in were it shows who's on air and whats playing?
html if possible

and has to work with sam broadcaster. and the page refreshes automatically

image attached

1204

Brutish Sailor
09-29-2013, 12:53 AM
I can, but Im not writing pal scripts.

SAM allready has this avalible somewhere.

djultra89
09-30-2013, 05:22 PM
yeah i know sam does but how would i do it please help.......


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Hyper-Radio - powered by SAM Broadcaster</title>
<link rel="shortcut icon" href="favicon.ico" />
<!-- General styles of the samPHPweb pages -->
<link rel="stylesheet" type="text/css" href="styles/style.css" />


<!-- Common Javascript functions -->
<script type="text/javascript" src="js/common.js"></script>
<!-- Javascript for request and songinfo actions -->
<script type="text/javascript">
/**
* Open a popup window to send a song request to SAM
*/
function request(songID)
{
var samhost = "192.168.0.3";
var samport = "1221";
requestAudioRealm(songID, samhost, samport);
}
</script>
<!-- AddThis javascript -->
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=spacialaudio"></script>
<!-- JQuery library to do cool Javascript stuff -->
<script type="text/javascript" src="js/jquery-1.4.2.js"></script>
<!-- JQuery plugin for Cross-Browser compatible rounding of corners -->
<script type="text/javascript" src="js/jquery.corner.js"></script>


</head>


<body>


<!-- BEGIN:PAGE -->
<div id="page">




<!-- BEGIN:LOGO -->
<div id="logo">
<a href="./">
<img src="http://techtonic.net46.net/image/hyperlogo.jpg"/>

</a>
<div id="listener_count">Users Listening: 0</div>
</div>
<!-- END:LOGO -->









<!-- BEGIN:TOP_REQUESTS -->









<!-- END:TOP_REQUESTS -->













<!-- BEGIN:CURRENTLY PLAYING -->
<div id="currently_playing_wrapper">
<div id="currently_playing">
<table cellpadding="0" cellspacing="0">
<thead>
<tr>
<th align="left" style="width: 170px;">
Currently Playing
</th>
<th align="center">
</th>
<th align="left">
</th>
<th align="right" style="width: 50px;">
Time
</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">
<a href="http://www.audiorealm.com/findcd.html?artist=&title=&album=" target="_blank">
<img id="cpPictureMainSong" onload="showPicture(this, true)" width="100" height="100" src="na.gif" alt="Buy CD!" title="Buy CD!" />
</a>
<br />


<a href="http://www.audiorealm.com/findcd.html?artist=&title=&album=" target="_blank">
<img src="images/buy.png" alt="Buy this CD now!" title="Buy this CD now!" />
</a>
<a href="http://www.audiorealm.com/findwebsite.html?artist=&title=&album=" target="_blank">
<img src="images/home.png" alt="Artist homepage" title="Artist homepage" />
</a>
<a href="javascript:songinfo()">
<img src="images/info.png" alt="Track information" title="Track information" />
</a>


</td>
<td colspan="2">
<span id="currently-playing-title"></span>
<br />by <span id="currently-playing-artist"><a href="http://www.audiorealm.com/findwebsite.html?artist=&title=&album=" target="_blank"></a></span>
<br />from <span id="currently-playing-artist"><a href="http://www.audiorealm.com/findcd.html?artist=&title=&album=" target="_blank"></a></span>
</td>
<td align="right">
<span id="currently-playing-duration"></span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- END:CURRENTLY PLAYING -->




<!-- BEGIN:COMING UP -->

<!-- END:COMING UP -->




<!-- BEGIN:RECENTLY PLAYED -->
<div id="recently_played_wrapper">
<div id="recently_played">
<table cellpadding="0" cellspacing="0">
<thead>
<tr>
<th colspan="2" align="left">
Recently Played
</th>
<th class="links" align="center">
Links
</th>
<th align="left">
Album
</th>
<th align="right">
Time
</th>
</tr>
</thead>
<tbody>


<tr>
<td>
<a href="http://www.audiorealm.com/findcd.html?artist=&title=radio%20promo&album=" target="_blank">
<img class="rpPicture" id="rpPicture1" onload="showPicture(this, true)" width="60" height="60" src="na.gif" alt="Buy CD!" title="Buy CD!" />
</a>
</td>


<td>
- radio promo
</td>
<td align="center">
<a href="http://www.audiorealm.com/findcd.html?artist=&title=radio%20promo&album=" target="_blank">
<img src="images/buy.png" alt="Buy this CD now!" title="Buy this CD now!" />
</a>
<a href="http://www.audiorealm.com/findwebsite.html?artist=&title=radio%20promo&album=" target="_blank">
<img src="images/home.png" alt="Artist homepage" title="Artist homepage" />
</a>
</td>


<td>

</td>
<td align="right">
0:14
</td>
</tr>


<tr>
<td>
<a href="http://www.audiorealm.com/findcd.html?artist=Alicia%20Keys&title=Girl%20On%20Fire&album=Now%20That%27s%20What%20I%20Call%20Music%21% 2084%20(Pre-Release)%20OverDrive-RG" target="_blank">
<img class="rpPicture" id="rpPicture2" onload="showPicture(this, true)" width="60" height="60" src="az_1986_Now That's What I Call Music 84 (Pre-Release) OverDrive-RG_Alicia Keys.jpg" alt="Buy CD!" title="Buy CD!" />
</a>
</td>


<td>
Alicia Keys - Girl On Fire
</td>
<td align="center">
<a href="http://www.audiorealm.com/findcd.html?artist=Alicia%20Keys&title=Girl%20On%20Fire&album=Now%20That%27s%20What%20I%20Call%20Music%21% 2084%20(Pre-Release)%20OverDrive-RG" target="_blank">
<img src="images/buy.png" alt="Buy this CD now!" title="Buy this CD now!" />
</a>
<a href="http://www.audiorealm.com/findwebsite.html?artist=Alicia%20Keys&title=Girl%20On%20Fire&album=Now%20That%27s%20What%20I%20Call%20Music%21% 2084%20(Pre-Release)%20OverDrive-RG" target="_blank">
<img src="images/home.png" alt="Artist homepage" title="Artist homepage" />
</a>
</td>


<td>
Now That's What I Call Music! 84 (Pre-Release) OverDrive-RG
</td>
<td align="right">
3:45
</td>
</tr>


<tr>
<td>
<a href="http://www.audiorealm.com/findcd.html?artist=Avicii&title=Sweet%20Dreams%20(Cazzette%20Meet%20At%20Nig ht%20Mix)&album=Euphoria%20-%20Electronic%20Dance%20Music" target="_blank">
<img class="rpPicture" id="rpPicture3" onload="showPicture(this, true)" width="60" height="60" src="az_1912_Euphoria - Electronic Dance Music_Avicii.jpg" alt="Buy CD!" title="Buy CD!" />
</a>
</td>


<td>
Avicii - Sweet Dreams (Cazzette Meet At Night Mix)
</td>
<td align="center">
<a href="http://www.audiorealm.com/findcd.html?artist=Avicii&title=Sweet%20Dreams%20(Cazzette%20Meet%20At%20Nig ht%20Mix)&album=Euphoria%20-%20Electronic%20Dance%20Music" target="_blank">
<img src="images/buy.png" alt="Buy this CD now!" title="Buy this CD now!" />
</a>
<a href="http://www.audiorealm.com/findwebsite.html?artist=Avicii&title=Sweet%20Dreams%20(Cazzette%20Meet%20At%20Nig ht%20Mix)&album=Euphoria%20-%20Electronic%20Dance%20Music" target="_blank">
<img src="images/home.png" alt="Artist homepage" title="Artist homepage" />
</a>
</td>


<td>
Euphoria - Electronic Dance Music
</td>
<td align="right">
6:39
</td>
</tr>


<tr>
<td>
<a href="http://www.audiorealm.com/findcd.html?artist=The%20Justice%20Collective&title=He%20Ain%27t%20Heavy%2C%20He%27s%20My%20Brot her&album=Now%20That%27s%20What%20I%20Call%20Music%21% 2084%20(Pre-Release)%20OverDrive-RG" target="_blank">
<img class="rpPicture" id="rpPicture4" onload="showPicture(this, true)" width="60" height="60" src="az_2011_Now That's What I Call Music 84 (Pre-Release) OverDrive-RG_The Justice Collective.jpg" alt="Buy CD!" title="Buy CD!" />
</a>
</td>


<td>
The Justice Collective - He Ain't Heavy, He's My Brother
</td>
<td align="center">
<a href="http://www.audiorealm.com/findcd.html?artist=The%20Justice%20Collective&title=He%20Ain%27t%20Heavy%2C%20He%27s%20My%20Brot her&album=Now%20That%27s%20What%20I%20Call%20Music%21% 2084%20(Pre-Release)%20OverDrive-RG" target="_blank">
<img src="images/buy.png" alt="Buy this CD now!" title="Buy this CD now!" />
</a>
<a href="http://www.audiorealm.com/findwebsite.html?artist=The%20Justice%20Collective&title=He%20Ain%27t%20Heavy%2C%20He%27s%20My%20Brot her&album=Now%20That%27s%20What%20I%20Call%20Music%21% 2084%20(Pre-Release)%20OverDrive-RG" target="_blank">
<img src="images/home.png" alt="Artist homepage" title="Artist homepage" />
</a>
</td>


<td>
Now That's What I Call Music! 84 (Pre-Release) OverDrive-RG
</td>
<td align="right">
4:36
</td>
</tr>


<tr>
<td>
<a href="http://www.audiorealm.com/findcd.html?artist=VA&title=Euphoric%20Clubland%202013%20%5BDisc%201%5D&album=Euphoric%20Clubland%20%5BDisc%201%5D" target="_blank">
<img class="rpPicture" id="rpPicture5" onload="showPicture(this, true)" width="60" height="60" src="az_1966_Euphoric Clubland [Disc 1]_VA.jpg" alt="Buy CD!" title="Buy CD!" />
</a>
</td>


<td>
VA - Euphoric Clubland 2013 [Disc 1]
</td>
<td align="center">
<a href="http://www.audiorealm.com/findcd.html?artist=VA&title=Euphoric%20Clubland%202013%20%5BDisc%201%5D&album=Euphoric%20Clubland%20%5BDisc%201%5D" target="_blank">
<img src="images/buy.png" alt="Buy this CD now!" title="Buy this CD now!" />
</a>
<a href="http://www.audiorealm.com/findwebsite.html?artist=VA&title=Euphoric%20Clubland%202013%20%5BDisc%201%5D&album=Euphoric%20Clubland%20%5BDisc%201%5D" target="_blank">
<img src="images/home.png" alt="Artist homepage" title="Artist homepage" />
</a>
</td>


<td>
Euphoric Clubland [Disc 1]
</td>
<td align="right">
77:44
</td>
</tr>

</tbody>
</table>
</div>
</div>
<!-- END:RECENTLY PLAYED -->



<script type="text/javascript">
//<=!=[=C=D=A=T=A=[
var refreshID = "";
refreshID = setTimeout("DoRefresh()", 90000);


function DoRefresh()
{
var buster = Math.random();
document.location.href = 'playing.html?buster='+buster;
}
//]=]=>
</script>


<!-- JQuery to round corners some of the HTML items on the page -->
<script type="text/javascript">
//<=!=[=C=D=A=T=A=[
// Make sure the DOM is ready
$(document).ready(function() {
// Rounding of corners (Cross-browser compatible)
// See http://jquery.malsup.com/corner/ for different Styles.


// Rounds the page corners
$('#page').corner();


// Rounds the Navigation Menu Corners
$('#navigation dl').corner();


// Rounds the Currently Playing Table Corners
$('#currently_playing').corner();


// Rounds the Coming Up Corners
$('#coming-up').corner();


// Rounds the Recently Played Table Corners
$('#recently_played').corner();
// Style odd and even rows in Currently Playing Table (Cross-browser compatible)
$('#recently_played table tbody tr:nth-child(odd)').addClass('recently_played_odd');
$('#recently_played table tbody tr:nth-child(even)').addClass('recently_played_even');


// Round the Dedication Corners
$('#dedication dl').corner('tl tr').corner();


// Round the Top Request Corners
$('#top_requests dl').corner();
});
//]=]=>
</script>


<!-- BEGIN:FOOTER -->
<div id="footer">
<!-- Please leave at a minimum one link back to AudioRealm.com or SpacialAudio.com if you appreciate our hard work! - The SpacialAudio Team -->
<p>
This station is part of the <a href="http://audiorealm.com">AudioRealm</a> and <a href="http://www.spacialnet.com">SpacialNet</a> networks.<br />
This page was produced using <a target="_blank" href="http://spacial.com/sam-broadcaster">SAM Broadcaster</a>. &copy; Copyright
<a target="_blank" href="http://spacial.com">Spacial Audio Solutions, LLC</a> 1999 - 2011.
</p>
</div>
<!-- END:FOOTER -->




</div>
<!-- END:PAGE -->




</body>
</html>
<!-- Hosting24 Analytics Code -->
<script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
<!-- End Of Analytics Code -->

djaubs89
10-24-2017, 06:12 PM
that photo i posted is a pic from 106themix now how did they upload there images?