case "z":return ("213030202");
case "-":return ("212020303");
case ".":return ("312020302");
case " ":return ("213020302");
case "*":return ("212030302");
case "$":return ("212121202");
case "/":return ("212120212");
case "+":return ("212021212");
case "%":return ("202121212");
}
return ("212030302");
}
function display($code)//输出单个字符
{
$output="";
for ($i=0;$i<9;$i++)
$output.="<td height=".$this->height." bgcolor=".$this->patten[$code[$i]]->color." width=".$this->patten[$code[$i]]->width."></td>";
return $output;
}
function decode($code)//全部输出
{