<% function getEstrelas(numero_estrelas, nome_hidden_estrelas) retorno = "" i=0 if (nome_hidden_estrelas = "") then for i = 0 to 4 if (numero_estrelas<=i) then retorno = "" else retorno = "" end if next else if (numero_estrelas = 0) then retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" elseif (numero_estrelas = 1) then retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" elseif (numero_estrelas = 2) then retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" elseif (numero_estrelas = 3) then retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" elseif (numero_estrelas = 4) then retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" elseif (numero_estrelas = 5) then retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" retorno = retorno & "" end if end if retorno = retorno & "" getEstrelas = retorno end function %> Exemplo ESTRELAS - RoccoFroes.com Exemplo de utilização do STAR

<% = getEstrelas(0, "estrelas") %>