".$typ."->".$platf."->".$order."<-
"); //session_start(); //if ($_SESSION['ourtype'] && !$typ) $typ=$_SESSION['ourtype']; //if ($_SESSION['ourplatform'] && !$platf) $platf=$_SESSION['ourplatform']; //if ($_SESSION['ourorder'] && !$order) $order=$_SESSION['ourorder']; //print("->".$typ[0]."->".count($platf)."->".$order."<-
"); /* if ($type) $typ[0]=$type; if ($type2) $typ[1]=$type2; if ($type3) $typ[2]=$type3; if ($platform) $platf[0]=$platform; if ($platform2) $platf[1]=$platform2; if ($platform3) $platf[2]=$platform3; */ //print("->".count($typ)."->".count($platf)."->".$order."<-
"); $result = mysql_query("DESC prods type"); $row = mysql_fetch_row($result); $typeslist = explode("'",$row[1]); // get list of all platforms $query="select * from platforms order by name asc"; $result = mysql_query($query); while($tmp = mysql_fetch_array($result)) { $platforms[]=$tmp; } ?>
selection
type:
platform:
" type="hidden"/>

fleche = arrow $fleche = "fleche1"; if ($_GET["reverse"] && $wanted==$current) $fleche = "fleche2"; if($wanted==$current) { $fleche.="a"; } else { $fleche.="b"; } return $fleche; } $query="SELECT distinct prods.id,prods.name,prods.group1,prods.group2,prods.group3,prods.type,prods.views,prods.date,prods.party,prods.party_year,prods.party_place,prods.quand,prods.voteup,prods.votepig,prods.votedown,prods.voteavg,platforms.name as platform,parties1.name as partyname,GROUP_CONCAT(platforms.name) as allplatforms FROM prods "; $query.="LEFT JOIN parties as parties1 ON parties1.id=prods.party "; unset($platfcheck); for($i=0;$i".$query."<-"); while($tmp = mysql_fetch_array($result)) { $prods[]=$tmp; } for($i=0;$i27): if (strlen($prods[$i]["groupn1"])>10 && $prods[$i]["groupacron1"]) $prods[$i]["groupn1"]=$prods[$i]["groupacron1"]; if (strlen($prods[$i]["groupn2"])>10 && $prods[$i]["groupacron2"]) $prods[$i]["groupn2"]=$prods[$i]["groupacron2"]; if (strlen($prods[$i]["groupn3"])>10 && $prods[$i]["groupacron3"]) $prods[$i]["groupn3"]=$prods[$i]["groupacron3"]; endif; $result=mysql_query("SELECT * from sceneorgrecommended where prodid=".$prods[$i]["id"]." ORDER BY type"); while($tmp=mysql_fetch_array($result)) { $sceneorgrecommends[]=$tmp; } } $result=mysql_query("SELECT MAX(views) FROM prods"); $max_views=mysql_result($result,0); $query="SELECT count(distinct prods.id) FROM prods"; $query.=", prods_platforms, platforms WHERE prods_platforms.platform=platforms.id AND prods_platforms.prod=prods.id AND "; if($typecheck) $query.="(".$typequery."0) AND "; if($platfcheck) $query.="(".$platfquery."0) AND "; $query.="1"; $result=mysql_query($query); $nbprods=mysql_result($result,0); //$nbprods = count($prods); if($typecheck) { //unset($_SESSION['ourtype']); //unset($GLOBALS[_SESSION]['ourtype']); $_SESSION['ourtype']=$_GET["type"]; } if($platfcheck) { //unset($_SESSION['ourplatform']); //unset($GLOBALS[_SESSION]['ourtype']); $_SESSION['ourplatform']=$_GET["platform"]; } ?> \n"); ?> ".$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("\n"); break; case 3: case 23: case 33: case 43: case 53: case 63: case 73: case 83: case 93: $placeadj="rd"; print("\n"); break; case 97: print("\n"); break; case 98: print("\n"); break; case 99: print("\n"); break; default: $placeadj="th"; print("\n"); break; } } else { $placeadj = "??"; print("\n"); } } else { print("\n"); } ?> \n".$prods[$i]["voteup"]."\n"); } else {print("\n"); } if ($prods[$i]["votepig"]) { print("\n"); } else {print("\n"); } if ($prods[$i]["votedown"]) { print("\n"); } else {print("\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("",$prods[$i]["voteavg"]); ?>
"); } else { print(""); } ?>
".$sortlink."<-"); function printSortlink($ord) { global $sortlink; $s = $sortlink; if ($_GET["order"] == $ord && !$_GET["reverse"]) $s .= "reverse=1&"; $s .="order=".rawurlencode($ord); echo $s; } if ($_GET["reverse"]) $pagelink.="reverse=1&"; if ($_GET["order"]) $pagelink.="order=".rawurlencode($_GET["order"])."&"; ?>
">.gif" width="13" height="12" border="0">
">type
">.gif" width="13" height="12" border="0">
">name
">.gif" width="13" height="12" border="0">
">platform
">.gif" width="13" height="12" border="0">
">group
">.gif" width="13" height="12" border="0">
">release party
">.gif" width="13" height="12" border="0">
">released
">.gif" width="13" height="12" border="0">
">added
">rulez ">piggie ">sucks
">.gif" width="13" height="12" border="0">
">µ
">.gif" width="13" height="12" border="0">
">popularity
"); if(count($sceneorgrecommends)): print(""); endif; if($prods[$i]["cdc"]): print(""); endif; print(""); $platforms = explode(",", $prods[$i]["allplatforms"]); for($kkk=0;$kkk
"); for($k=0;$k"); } print("

"); ?> ">  "); for($k=0;$k"); } print("
"); cdcstack($prods[$i]["cdc"]); //for($ii=0;$ii<$prods[$i]["cdc"];$ii++): print("\"cdc\""); //endfor; print("
 
">   :: "> :: "> ".$prods[$i]["party_place"].$placeadj." at ".$prods[$i]["partyname"]."
".$prods[$i]["party_place"].$placeadj." at ".$prods[$i]["partyname"]."
disqualified at ".$prods[$i]["partyname"]."
for ".$prods[$i]["partyname"]."
not shown at ".$prods[$i]["partyname"]."
".$prods[$i]["party_place"].$placeadj." at ".$prods[$i]["partyname"]."
".$prods[$i]["party_place"].$placeadj." at ".$prods[$i]["partyname"]."
 


\n0\n".$prods[$i]["votepig"]."\n0\n".$prods[$i]["votedown"]."\n0%.2f
=2): ?>

  previous page

  " type="hidden"/>
next page