【 tulaoshi.com - PHP 】
                             
                               <? 
  $size_small=5;//液晶宽度 
  $size_big=25;//液晶长度 
  $distance=10;//间距 
  $color_back="#DDDDDD"; 
  $color_dark="#CCCCCC"; 
  $color_light="#000000"; 
  $number=0; 
? 
<html 
<head 
<titleTimer</title 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" 
<script language="javascript" 
// ***************************************************************** 
//                   Written By Caocao 
//                   caocao@eastday.com 
//                   http://caocao.oso.com.cn 
// ***************************************************************** 
function swapcolor(obj,onoff)//改变颜色 
{ 
  if (onoff) 
  { 
    obj.style.background="<? echo $color_light;?"; 
  } 
  else 
  { 
    obj.style.background="<? echo $color_dark;?"; 
  } 
} 
function change(number,timer)//处理数字显示 
{ 
  switch (timer) 
  { 
    case 0: 
      swapcolor(eval("time"+number+"0"),1); 
      swapcolor(eval("time"+number+"1"),1); 
      swapcolor(eval("time"+number+"2"),1); 
      swapcolor(eval("time"+number+"3"),0); 
      swapcolor(eval("time"+number+"4"),1); 
      swapcolor(eval("time"+number+"5"),1); 
      swapcolor(eval("time"+number+"6"),1); 
      break; 
    case 1: 
      swapcolor(eval("time"+number+"0"),0); 
      swapcolor(eval("time"+number+"1"),0); 
      swapcolor(eval("time"+number+"2"),1); 
      swapcolor(eval("time"+number+"3"),0); 
      swapcolor(eval("time"+number+"4"),0); 
      swapcolor(eval("time"+number+"5"),1); 
      swapcolor(eval("time"+number+"6"),0); 
      break; 
    case 2: 
      swapcolor(eval("time"+number+"0"),1); 
      swapcolor(eval("time"+number+"1"),0); 
      swapcolor(eval("time"+number+"2"),1); 
      swapcolor(eval("time"+number+"3"),1); 
      swapcolor(eval("time"+number+"4"),1); 
      swapcolor(eval("time"+number+"5"),0); 
      swapcolor(eval("time"+number+"6"),1); 
      break; 
    case 3: 
      swapcolor(eval("time"+number+"0"),1); 
      swapcolor(eval("time"+number+&