type == "projects") { $project[$i]['type'] = "project"; $project[$i]['name'] = $rij->project_name; $project[$i]['id'] = $rij->id; $project[$i]['image'] = $rij->image; } /* elseif($rij->type == "file") { $project[$i]['type'] = "file"; $data = explode(";",$rij->image); $project[$i]['name'] = $data[0]; $project[$i]['color'] = $data[1]; $project[$i]['id'] = $rij->tileid; }*/ else { $project[$i]['type'] = "filled block"; $project[$i]['name'] = ""; $project[$i]['color'] = $rij->image; } $i++; } for($i=0; $i
"; break; } case "project" : { echo "

".$project[$i]['name']."

"; break; } /* case "file" : { echo "

".$project[$i]['name']."

"; break; }*/ } } ?>

Content you want the user to see goes here.