");
}
?>
$typess = explode(",", $prods[$i]["type"]);
print(" | \n");
?>
if(strlen($prods[$i]["groupn1"])): ?>
">
print(strtolower($prods[$i]["groupn1"])); ?>
else: ?>
endif; ?>
if(strlen($prods[$i]["groupn2"])): ?>
::
">
print(strtolower($prods[$i]["groupn2"])); ?>
endif; ?>
if(strlen($prods[$i]["groupn3"])): ?>
::
">
print(strtolower($prods[$i]["groupn3"])); ?>
endif; ?>
|
if(($prods[$i]["partyname"])&&!($prods[$i]["party"]==1024))
{
$placeadj="";
if($prods[$i]["party_place"])
{
switch($prods[$i]["party_place"]) {
case 1:
case 21:
case 31:
case 41:
case 51:
case 61:
case 71:
case 81:
case 91: $placeadj="st";
print("".$prods[$i]["party_place"].$placeadj." at ".$prods[$i]["partyname"]."
| \n");
break;
case 2:
case 22:
case 32:
case 42:
case 52:
case 62:
case 72:
case 82:
case 92: $placeadj="nd";
print("".$prods[$i]["party_place"].$placeadj." at ".$prods[$i]["partyname"]."
| \n");
break;
case 3:
case 23:
case 33:
case 43:
case 53:
case 63:
case 73:
case 83:
case 93: $placeadj="rd";
print("".$prods[$i]["party_place"].$placeadj." at ".$prods[$i]["partyname"]."
| \n");
break;
case 97: print("disqualified at ".$prods[$i]["partyname"]."
| \n");
break;
case 98: print("for ".$prods[$i]["partyname"]."
| \n");
break;
case 99: print("not shown at ".$prods[$i]["partyname"]."
| \n");
break;
default: $placeadj="th";
print("".$prods[$i]["party_place"].$placeadj." at ".$prods[$i]["partyname"]."
| \n");
break;
}
} else
{
$placeadj = "??";
print("".$prods[$i]["party_place"].$placeadj." at ".$prods[$i]["partyname"]."
| \n");
}
} else {
print(" 
| \n");
} ?>
$nbmonth=substr($prods[$i]["date"],5,2);
$month=$months[sprintf("%d",$nbmonth)];
$year=substr($prods[$i]["date"],0,4);
?>
print($month." ".$year); ?>
|
$nbmonth=substr($prods[$i]["quand"],5,2);
$month=$months[sprintf("%d",$nbmonth)];
$year=substr($prods[$i]["quand"],0,4);
?>
print($month." ".$year); ?>
|
if ($prods[$i]["voteup"])
{ print("\n".$prods[$i]["voteup"]." | \n");
}
else
{print("\n0 | \n");
}
if ($prods[$i]["votepig"])
{ print("\n".$prods[$i]["votepig"]." | \n");
}
else
{print("\n0 | \n");
}
if ($prods[$i]["votedown"])
{ print("\n".$prods[$i]["votedown"]." | \n");
}
else
{print("\n0 | \n");
}
/*if($prods[$i]["voteavg"]>0)
$thumbgfx="gfx/rulez.gif";
elseif($prods[$i]["voteavg"]==0)
$thumbgfx="gfx/isok.gif";
else
$thumbgfx="gfx/sucks.gif";*/
printf("%.2f | ",$prods[$i]["voteavg"]);
?>
DoBar(floor($prods[$i]["views"]*100/$max_views)); ?>
|
}
?>