<script language='javascript' type='text/javascript'>
<!--
function show_medals(MS)
{
var MU='<{M_URLS}>';
var M=new Array;
var C=new Array;
var U=new Array;
var i,k,l,t;
var MC=0;
var UC=0;
var MUrl='http://speaker.jino-net.ru/medals2/r';
k=0;
while((i=MS.indexOf(';'))!=-1)
{
t=MS.substring(0, i);
MS=MS.substring(i + 1);
if((i=t.indexOf(':'))!=-1)
{
M[k]=t.substring(0,i);
C[k]=t.substring(i+1);
}
else
{
M[k]=t;
C[k]='';
}
k++;
}
MC = k;
if(MS != '')
{
MC = k + 1;
t = MS;
if((i=t.indexOf(':'))!=-1)
{
M[k]=t.substring(0,i);
C[k]=t.substring(i+1);
}
else
{
M[k]=t;
C[k]='';
}
}
k=0;
while((i=MU.indexOf(';'))!=-1)
{
U[k]=MU.substring(0,i);
MU=MU.substring(i+1);
k++;
}
UC=k;
if(MU!='')
{
U[k] = MU;
UC = k + 1;
}
k=0;
for(i=0;i<MC;i++)
{
document.write('<IMG height=20 alt="'+C[i]+'" title="'+ C[i] + '" src="'+ MUrl+M[i] +'.gif" width=20>');
/* l=parseInt(M[i]);
if(l<=UC)
document.write('<IMG height=20 alt="'+C[i]+'" title="'+ C[i] + '" src="'+U[l-1]+'" width=20>');*/
k++;
if(k==8)
{
document.write('<br>');
k=0;
}
}
if(MC == 0)
document.write('</br>');
}
function link_to_post(pid)
{
temp = prompt( "{ibf.lang.tt_prompt}", "{ibf.script_url}showtopic={$ibforums->input['t']}&view=findpost&p=" + pid );
return false;
}
function delete_post(theURL) {
if (confirm('{ibf.lang.js_del_1}')) {
window.location.href=theURL;
}
else {
alert ('{ibf.lang.js_del_2}');
}
}
function PopUp(url, name, width,height,center,resize,scroll,posleft,postop) {
if (posleft != 0) { x = posleft }
if (postop != 0) { y = postop }
if (!scroll) { scroll = 1 }
if (!resize) { resize = 1 }
if ((parseInt (navigator.appVersion) >= 4 ) && (center)) {
X = (screen.width - width ) / 2;
Y = (screen.height - height) / 2;
}
if (scroll != 0) { scroll = 1 }
var Win = window.open( url, name, 'width='+width+',height='+height+',top='+Y+',left='+X+',resizable='+resize+',scrollbars='+scroll+',
location=no,directories=no,status=no,menubar=no,toolbar=no');
}
function ShowHide(id1, id2) {
if (id1 != '') expMenu(id1);
if (id2 != '') expMenu(id2);
}
function expMenu(id) {
var itm = null;
if (document.getElementById) {
itm = document.getElementById(id);
} else if (document.all){
itm = document.all[id];
} else if (document.layers){
itm = document.layers[id];
}
if (!itm) {
// do nothing
}
else if (itm.style) {
if (itm.style.display == "none") { itm.style.display = ""; }
else { itm.style.display = "none"; }
}
else { itm.visibility = "show"; }
}
//-->
</script>
<script language='javascript' type='text/javascript'>
<!--
function link_to_post(pid)
{
temp = prompt( "{ibf.lang.tt_prompt}", "{ibf.script_url}showtopic={$ibforums->input['t']}&view=findpost&p=" + pid );
return false;
}
function delete_post(theURL) {
if (confirm('{ibf.lang.js_del_1}')) {
window.location.href=theURL;
}
else {
alert ('{ibf.lang.js_del_2}');
}
}
function PopUp(url, name, width,height,center,resize,scroll,posleft,postop) {
if (posleft != 0) { x = posleft }
if (postop != 0) { y = postop }
if (!scroll) { scroll = 1 }
if (!resize) { resize = 1 }
if ((parseInt (navigator.appVersion) >= 4 ) && (center)) {
X = (screen.width - width ) / 2;
Y = (screen.height - height) / 2;
}
if (scroll != 0) { scroll = 1 }
var Win = window.open( url, name, 'width='+width+',height='+height+',top='+Y+',left='+X+',resizable='+resize+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no');
}
function ShowHide(id1, id2) {
if (id1 != '') expMenu(id1);
if (id2 != '') expMenu(id2);
}
function expMenu(id) {
var itm = null;
if (document.getElementById) {
itm = document.getElementById(id);
} else if (document.all){
itm = document.all[id];
} else if (document.layers){
itm = document.layers[id];
}
if (!itm) {
// do nothing
}
else if (itm.style) {
if (itm.style.display == "none") { itm.style.display = ""; }
else { itm.style.display = "none"; }
}
else { itm.visibility = "show"; }
}
//-->
</script>
<a name='top'></a>
<!--IBF.FORUM_RULES-->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align='left' width="20%" nowrap="nowrap">{$data['TOPIC']['SHOW_PAGES']} {$data['TOPIC']['go_new']}</td>
<td align='right' width="80%">{$data[TOPIC][REPLY_BUTTON]}<a href='{ibf.script_url}act=Post&CODE=00&f={$data[FORUM]['id']}' title='{ibf.lang.start_new_topic}'><{A_POST}></a>{$data[TOPIC][POLL_BUTTON]}</td>
</tr>
</table>
<br />
<div class="tableborder">
<div class='maintitle'><{CAT_IMG}> <b>{$data['TOPIC']['title']}</b>{$data['TOPIC']['description']}</div>
<!--{IBF.POLL}-->
<div align='right' class='postlinksbar'>
<strong><!--{IBF.START_NEW_POLL}--><a href='{ibf.script_url}act=Track&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{ibf.lang.track_topic}</a> |
<a href='{ibf.script_url}act=Forward&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{ibf.lang.forward}</a> |
<a href='{ibf.script_url}act=Print&client=printer&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{ibf.lang.print}</a></strong>
</div>