View Single Post
  #225  
Old 03-24-2006, 03:52 PM
mpadc mpadc is offline
 
Join Date: Apr 2003
Location: Year 4512
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is in forumhome_shoutcast templates

but i dont see the variables being displayed i.;e most listenrs and all it dont show up

what im doing wrong?

<script type="text/javascript">
function scastmp(){
scastmpWindow = window.open("index.php?do=mp","mp","width=360,heig ht=75");
}
function scastrp(){
scastrpWindow = window.open("index.php?do=rp","rp","width=420,heig ht=160");
}
function scastqt(){
scastqtWindow = window.open("index.php?do=qt","qt","width=330,heig ht=50");
}
</script>
<tbody>
<tr >
<td class="thead" width="100%" colspan="6"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_shoutcast')">
<img id="collapseimg_forumhome_shoutcast" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_shoutcast].gif" alt="" border="0" /></a>
<div ><b>$scdef: $servertitle ($currentlisteners/$maxlisteners @ $bitrate kbs)</b></div>
</td>
</tr>
</tbody>
<td rowspan="3" class="alt2" align="center"><img src="$stylevar[imgdir_misc]/radio.gif" alt="$scdef: $servertitle ($currentlisteners/$maxlisteners @ $bitrate kbs)" /></td>
<td valign="top" align="left" class="alt1">
<table border="0" cellpadding="1" cellspacing="0" width="100%">
<tr >
<td class="alt2" ><b>Tune-In:</b></td>
<td width="5" > </td>
<td width="50%" class="alt2" ><b>Now Playing:</b></td>
</tr>
<tr >
<td width="50%" style="padding-left: 5px><a href=" colspan="2" class="smallfont">
<img src="$stylevar[imgdir_misc]/im_winamp.gif" alt="Listen w/ Winamp" border="0" hspace="2" /><a href="$listenamp">Winamp</a>
<img src="$stylevar[imgdir_misc]/im_real.gif" alt="Listen w/ Realplayer" border="0" hspace="2" /><a href="javascript:scastrp()">Real</a>
<img src="$stylevar[imgdir_misc]/im_winmp.gif" alt="Listen w/ Media Player" border="0" hspace="2" /><a href="javascript:scastmp()">Media</a>
<a href="javascript:scastqt()"><img src="$stylevar[imgdir_misc]/im_qt.gif" alt="Listen w/ Quicktime" border="0" hspace="2" /></a>
<a href="javascript:scastqt()">Quicktime</a>
</td>
<td width="50%" style="padding-left: 5px" class="smallfont"><tt><marquee width="98%" scrolldelay="100" scrollamount="5">+ $song[0]</marquee></tt></td>
</tr>

<tbody id="collapseobj_forumhome_shoutcast" style="display: none;">
<tr>
<td width="100%" colspan="3"> </td>
</tr>
<tr >
<td class="alt2" ><b>Stream Info:</b></td>
<td width="5"></td>
<td width="50%" class="alt2" align="left"><b>Last 19 Songs:</b>
</td>
</tr>
<tr >
<td valign="top" rowspan="4" style="padding-left: 5px" colspan="2" class="smallfont">
<div >Most Ever: <b>$peaklisteners</b><br />Current Listening: <b>$currentlisteners/$maxlisteners</b><br />Speed: <b>$bitrate</b> kbs<br />Media Type: <b>$content</b><br />Hit Count: <b>$streamhits</b><br />Avj. Time: <b>$averagemin</b></div>
<br /><hr width="90%" size="1">
<img src="$stylevar[imgdir_misc]/im_genre.gif" alt="Genre" /> $servergenre<br /><img src="$stylevar[imgdir_misc]/im_icq.gif" alt="ICQ the DJ" /> $icq<br /><img src="$stylevar[imgdir_misc]/im_aim.gif" alt="AIM the DJ" /> $aim<br /><img src="$stylevar[imgdir_misc]/im_mirc.gif" alt="IRC Chat with the DJ" /> <a href="$irclink">$ircsite</a> : #$irc<br />
</td>
</tr>
<tr >
<td valign="top" rowspan="5" style="padding-left: 5px" class="smallfont"><div ><tt>+ $song[1]<br />+ $song[2]<br />+ $song[3]<br />+ $song[4]<br />+ $song[5]<br />+ $song[6]<br />+ $song[7]<br />+ $song[8]<br />+ $song[9]<br />+ $song[10]<br />+ $song[11]<br />+ $song[12]<br />+ $song[13]<br />+ $song[14]<br />+ $song[15]<br />+ $song[16]<br />+ $song[17]<br />+ $song[18]<br />+ $song[19]</tt></div>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01856 seconds
  • Memory Usage 1,783KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete