<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<STYLE>
a:link		{ color: #ffff00 ;TEXT-DECORATION: none}
a:visited	{ color: #ffff00 ;TEXT-DECORATION: none}
a:hover		{ color: #ffff00 ;TEXT-DECORATION: none}
a:active	{ color: #ffff00 ;TEXT-DECORATION: none}
</STYLE>
<link rel="stylesheet" href="../css.css" type="text/css">

<script> 

function change_page(page){
  switch(page){
    case 1:
      if (top.online_header.form1.limit.value != 0){
        top.online_header.form1.limit.value = 0;
	top.online_header.form1.first.value = 0;
        get_sec = 46;
      }
    break;
    case 2:
      if (top.online_header.form1.limit.value != 15){
        top.online_header.form1.limit.value = 15;
	top.online_header.form1.first.value = 0;
        get_sec = 46;
      }
    break;
    case 3:
      if (top.online_header.form1.limit.value != 30){
        top.online_header.form1.limit.value = 30;
	top.online_header.form1.first.value = 0;
        get_sec = 46;
      }
    break;
    case 4:
      if (top.online_header.form1.limit.value != 45){
        top.online_header.form1.limit.value = 45;
	top.online_header.form1.first.value = 0;
        get_sec = 46;
      }
    break;
    case 5:
      if (top.online_header.form1.limit.value != 60){
        top.online_header.form1.limit.value = 60;
	top.online_header.form1.first.value = 0;
        get_sec = 46;
      }
    break;
    case 6:
      if (top.online_header.form1.limit.value != 75){
        top.online_header.form1.limit.value = 75;
	top.online_header.form1.first.value = 0;
        get_sec = 46;
      }
    break;
    case 7:
      if (top.online_header.form1.limit.value != 90){
        top.online_header.form1.limit.value = 90;
	top.online_header.form1.first.value = 0;
        get_sec = 46;
      }
    break;
  }
  
  for(i=1;i<=7;i++){
    var obj = eval("form2.b"+i);
    if (i == page){ 
      obj.style.color = "#ffff00";
    }
    else{
      obj.style.color = "#000000";
    }
  }
}
</script>
</head>
<body leftmargin="5" topmargin="5" background="../images/botton.jpg">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bordercolor="#000000">
  <form name=form1 action=/internal/online/teamscore.php method=post>
  <tr bgcolor="#CC3366"> 
    <td bgcolor="#314152" colspan="7">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" background="../images/bar_06.jpg">
        <tr> 
            <td width="9%"><img src="../images/bar_01.jpg" width=19 height=26 alt=""><img src="../images/bar_02.jpg" width=75 height=26 alt=""><img src="../images/bar_03.jpg" width=5 height=26 alt=""></td>
          <td width="12%" background="../images/bar_04.jpg"> 
            <table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">
              <tr> 
                <td> 
                  <div align="center">
                      <input type=text name=nowtime style="height:15;color:000000;font-size:10pt;BORDER-WIDTH:0;border=0;background="../images/bar_04.jpg;text-align:right;" size="20" value="2004-01-10 17:23:59">
                    </div>
                </td>
              </tr>
            </table>
          </td>
            <td width="62%"><img src="../images/bar_05.jpg" width=6 height=26 alt="" align="absmiddle"> 
              <input type=text name=nowState style="height:15;color:000000;font-size:10pt;BORDER-WIDTH:0;border=0;background="../images/bar_04.jpg;text-align:right;" size="20">
               <a href=/internal/online/teamscore.php?game=&type=1><font color=#ff0000>׌</font></a> | <a href=/internal/online/teamscore.php?game=&type=1st><font color=#0000ff>ߵ</font></a> | <a href=/internal/online/teamscore.php?game=&type=2><font color=#0000ff>С</font></a> | <a href=/internal/online/teamscore.php?game=&type=3><font color=#0000ff>p</font></a> | <a href=/internal/online/teamscore.php?game=&type=4><font color=#0000ff>A</font></a> | <a href=/internal/online/teamscore.php?game=&type=5><font color=#0000ff></font></a> | <a href=/internal/online/teamscore.php?game=&type=6><font color=#0000ff>đ</font></a> |</a></td>          
        </tr>
      </table>      
    </td>
  </tr> 
  </form>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td><img src="../images/p-01.gif" width="5" height="5"></td>
  </tr>
</table>
      <table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" height="0%">
        <tr> 
          <td> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="2%"><img src="../images/mid_01.gif" width=26 height=25 alt=""></td>
                <td width="95%"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td background="../images/mid_02.gif"><img src="../images/mid_02.gif" width=358 height=1 alt=""></td>
                    </tr>
                    <tr> 
                      <td background="../images/mid_04.gif"> 
                        
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
		    <form name=form2>
                    <tr> 
                      <td width="1%"><img src="../images/mid_04.gif" width=3 height=20 alt=""></td>
                      <td width="50%" valign="bottom"><font size="2"><font color="#990000" class="bbig">׌Ѷ</font> 
                        </font></td>
                        <td width="50%" valign="bottom">
			<input type="button" name="b1" value="1" style="font-size:10pt;width:30;height:16;border-width=1;color:#ffff00;" onClick="change_page(1)";>
                        <input type="button" name="b2" value="2" style="font-size:10pt;width:30;height:16;border-width=1" onClick="change_page(2)"; >
                        <input type="button" name="b3" value="3" style="font-size:10pt;width:30;height:16;border-width=1" onClick="change_page(3)"; >
                        <input type="button" name="b4" value="4" style="font-size:10pt;width:30;height:16;border-width=1" onClick="change_page(4)"; >
                        <input type="button" name="b5" value="5" style="font-size:10pt;width:30;height:16;border-width=1" onClick="change_page(5)"; >
                        <input type="button" name="b6" value="6" style="font-size:10pt;width:30;height:16;border-width=1" onClick="change_page(6)"; >
                        <input type="button" name="b7" value="7" style="font-size:10pt;width:30;height:16;border-width=1" onClick="change_page(7)"; >&nbsp; </td>
                    </tr>
		    </form>
                  </table>
                      </td>
                    </tr>
                    <tr> 
                      <td background="../images/mid_05.gif"><img src="../images/mid_05.gif" width=358 height=4 alt=""></td>
                    </tr>
                  </table>
                </td>
                <td width="3%" ><img src="../images/mid_03.gif" width=209 height=25 alt=""></td>
              </tr>
            </table>	   
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td background="../images/mid_06.gif" valign="top"> 
                  <div align="left"><img src="../images/mid_06.gif" width=5 height=9 alt=""></div>
                </td>
                <td width="100%" valign="top" bgcolor="#FFFFFF"> 
		<div id=DataTable>
                  
		  </div>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><img src="../images/p-02.jpg" width="5" height="5"></td>
                    </tr>
                  </table>
                </td>
                <td background="../images/mid_08.gif" valign="top"> 
                  <div align="right"><img src="../images/mid_08.gif" width=6 height=11 alt=""></div>
                </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="5%"><img src="../images/mid_09.gif" width=209 height=22 alt=""></td>
                
          <td width="94%" background="../images/mid_10.gif"> 
            <div id=ltime align="center"> 
              
            </div>
          </td>
                <td width="1%"><img src="../images/mid_11.gif" width=6 height=22 alt=""></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>

      <hr noshade width="98%" size="1" color="#C8C8C8">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr> 
          <td> 
            <div align="center" class="samil">ƽͶע޹˾ Ȩ Ʊؾ Copyright 
              &copy; 2002 GoldBall.tv Incorporation.</div>
          </td>
        </tr>
      </table>
</body>
</html>
<script>
<!--
window.onerror = myerror;

var foot_1 = "";
var foot_info = 0;
var new_line = new Array;
var document_str = "";
var get_sec = 46;

var time = "";
var state = "";
top.online_header.form1.limit.value = 0;
top.online_header.form1.first.value = 0;

setTimeout("listen()",0);

function listen(){    
  if (foot_info == 1){
    var nowmsg = foot_1.split("``");  
    new_line = new Array;
    for(i=0;i<nowmsg.length;i++){            
      new_line[i] = nowmsg[i].split("|");	
    }   
    
    writeHtml();      
    DataTable.innerHTML=document_str;
    foot_info = 0;
  }

  form1.nowtime.value = time;
  get_sec ++;

  if (get_sec > 45){   
    top.online_header.form1.type.value = "1";
    top.online_header.form1.submit();
    get_sec = 0;
   
  }

  if ((get_sec%14) == 0){
    state = "";
  }

  state += "*";

  form1.nowState.value = state;
  
  setTimeout("listen()",300);
}

function myerror(){  
  setTimeout("listen()",2000);
}

function writeHtml(){
  document_str = "";
  document_str += "<table width='100%' border='0' cellspacing='0' cellpadding='0' align='center' bgcolor='#333333'>";
  document_str += "<tr>";
  document_str += "  <td>";                        
  document_str += "  <table width='100%' border='0' cellspacing='1' cellpadding='2' align='center'>";
  document_str += "    <tr bgcolor='#BFBDBD'>";
  document_str += "      <td width='8%' class='big' height='2'> ";
  document_str += "        <div align='center'><font color='#003399'> </font></div>";
  document_str += "      </td>";
  document_str += "      <td width='14%' class='big' height='2'>";
  document_str += "        <div align='center'> <font color='#003399'>ʱ </font></div>";
  document_str += "      </td>";
  document_str += "      <td width='14%' class='big' height='2'>";
  document_str += "        <div align='center'><font color='#003399'> </font></div>";
  document_str += "      </td>";
  document_str += "      <td width='5%' class='big' height='2'> ";
  document_str += "        <div align='center'><font color='#003399'> </font></div>";
  document_str += "      </td>";
  document_str += "      <td width='14%' class='big' height='2'> ";
  document_str += "        <div align='center'> <font color='#003399'> () ";
  document_str += "          </font></div>";
  document_str += "      </td>";
  document_str += "      <td width='5%' class='big' height='2'> ";
  document_str += "        <div align='center'><font color='#003399'> </font></div>";
  document_str += "      </td>";
  document_str += "      <td width='14%' class='big' height='2'> ";
  document_str += "        <div align='center'><font color='#003399'> </font></div>";
  document_str += "      </td>";  
  document_str += "      <td width='10%' class='big' height='2'> ";
  document_str += "        <div align='center'><font size='2' color='#003399'> ";
  document_str += "          ע</font></div>";
  document_str += "      </td>";
  document_str += "    </tr>";
  
  for (i=0;i<new_line.length-1;i++){
    var id = new_line[i][0];
    var date = new_line[i][1];
    var time = new_line[i][2];
    var name1 = new_line[i][3];
    var name2 = new_line[i][4];
    var rate1 = new_line[i][5];
    var rate2 = new_line[i][6];
    var difscore1 = new_line[i][7];
    var note1 = new_line[i][8];
    var team_color1 = new_line[i][9];
    var team_color2 = new_line[i][10];
    var team_color3 = new_line[i][11];
    var team_color4 = new_line[i][12];
    var team_color5 = new_line[i][13];
    var new_image = new_line[i][14];
	var tt_name = new_line[i][15];

    if (rate1 != 0 && rate1 != "" && rate2 != 0 && rate2 != "" && rate2 != null && rate2 != null){      
      rate1 = "<a href=# onclick='window.open(\"../order.php?id="+id+"&position=1&type=1\",\"left_order\")' ><font color=red>"+rate1+"</a>";
      rate2 = "<a href=# onclick='window.open(\"../order.php?id="+id+"&position=2&type=1\",\"left_order\")' ><font color=red>"+rate2+"</a>";     
	  name1 = "<a href=# onclick='window.open(\"../order.php?id="+id+"&position=1&type=1\",\"left_order\")' >"+name1+"</a>";
      name2 = "<a href=# onclick='window.open(\"../order.php?id="+id+"&position=2&type=1\",\"left_order\")' >"+name2+"</a>";  
    }
    else{
      rate1 = ""
      rate2 = "";
    }

	if (i%2==0) team_color5 = "#E5F2b1";
	else team_color5 = "#F3FDDA";


    document_str += "<tr bgcolor='"+team_color5+"'>";
	document_str += "      <td width='8%' class='general'> ";
    document_str += "        <div align='center'><font size=2 color="+team_color1+">"+tt_name+"</font></div>";
    document_str += "      </td>";
    document_str += "  <td width='14%' class='general'> ";
    document_str += "    <div align='center'> ";
    document_str += "      <table border='0' cellspacing='0' cellpadding='0' width=100%>";
    document_str += "            <tr> ";
    document_str += "              <td width=30 align=center>"+new_image+"</td>";
    document_str += "              <td> <font size=2 color='"+team_color1+"' face='Arial, Arial Black'>"+date+" "+time+"</font> </td>";
    document_str += "            </tr>";
    document_str += "          </table>";
    document_str += "        </div>";
    document_str += "      </td>";
    document_str += "      <td width='14%' class='general'> ";
    document_str += "        <div align='center'><font size=2 color="+team_color2+">"+name1+"</font></div>";
    document_str += "      </td>";
    document_str += "      <td width='5%' class='general'> ";
    document_str += "        <div align='center'><font size=2 color="+team_color3+" face='Arial, Arial Black'>"+rate1+"</font></div>";
    document_str += "      </td>";
    document_str += "      <td width='14%' class='general'> ";
    document_str += "        <div align='center'><font size=2 color="+team_color4+">"+difscore1+"</font></div>";
    document_str += "      </td>";
    document_str += "      <td width='5%' class='general'> ";
    document_str += "        <div align='center'><font size=2 color="+team_color3+" face='Arial, Arial Black'>"+rate2+"</font></div>";
    document_str += "      </td>";
    document_str += "      <td width='14%' class='general'> ";
    document_str += "        <div align='center'><font size=2 color="+team_color2+">"+name2+"</font></div>";
    document_str += "      </td>";
    document_str += "      <td width='10%' class='general'> ";
    document_str += "        <div align='center'><font size=2 color="+team_color1+">"+note1+"</font></div>";
    document_str += "      </td>";
    document_str += "    </tr>";

  }

  document_str += "</table></td></tr></table>";
}
-->
</script>