$structprojects = getStructuredProjects($row['project_original_parent'], '-1'); } } else { $st_projects_arr[0][1] = 0; } $tmpProject = new CProject(); foreach ($st_projects_arr as $st_project) { $multiproject_id = 0; $project = $st_project[0]; $project_id = $project['project_id']; $level = $st_project[1]; if ($project_id) { if ($is_tabbed) { $row = $all_projects[getProjectIndex($all_projects, $project_id)]; } else { $row = $projects[getProjectIndex($projects, $project_id)]; } } $none = false; $start_date = intval($row['project_start_date']) ? new CDate($row['project_start_date']) : null; $end_date = intval($row['project_end_date']) ? new CDate($row['project_end_date']) : null; $actual_end_date = intval($row['project_actual_end_date']) ? new CDate($row['project_actual_end_date']) : null; $style = $actual_end_date > $end_date && !empty($end_date) ? 'style="color:red; font-weight:bold"' : ''; $s = ''; if ($level) { $s .= '<tr style="display:none" id="multiproject_tr_' . $row['project_original_parent'] . '_' . $row['project_id'] . '_">'; $s .= '<div id="multiproject_' . $row['project_original_parent'] . '_' . $row['project_id'] . '">'; } else { $s .= '<tr>'; } $s .= '<td width="65" align="right" style="border: outset #eeeeee 1px;background-color:#' . $row['project_color_identifier'] . '">';
<pre> May 2013 - June 2013 <i>(1 months)</i></pre> </div> <div> MIRA is a God Game experience, where you can combine elements to terraform a playground;<br/> This project was designed to be played inside a cylinder, where the screen is displayed with 4 projectors around the player.<br/> As it was <b>based on a custom engine I made</b>, i mostly had to: <ul class="dash"> <li>Optimize the terrain generation & terraforming</li> <li>Integrates a sound engine (FMOD)</li> <li>Create gameplay interfaces</li> <li>Load data from Lua</li> </ul> </div> </div> <div class="col-md-6 project-separation-<?php echo getProjectIndex(); ?> "> <div class="col-md-12 projects-header"> <img src="/resume/logo_enjmin.png"/> <kbd>Fakteur<a href="http://louis-schnellbach.com/projects/enjmin/fakteur" target="_blank" class="glyphicon glyphicon-new-window glyphicon-padding" aria-hidden="true"></a></kbd> <pre> June 2013 - September 2013 <i>(4 months)</i></pre> </div> <div> You play a mysterious postman who has the ability to modify the mail he delivers.<br/> Initially supposed to be a first year project, and then cancelled, we decided to realize it during our free time.<br/> What i did on it was: <ul> <li>In-game cut-scene</li> <li>Player & NPC Interactions</li> <li>Global performance optimization</li>
/** * Tests getting index of project in an array */ public function testGetProjectIndex() { $array = array(0 => array('project_id' => 1), 1 => array('project_id' => 2), 2 => array('project_id' => 3)); $project_index = getProjectIndex($array, 2); $this->assertEquals(1, $project_index); }
} else { $st_projects_arr[0][1] = 0; } if (!is_array($st_projects_arr)) { continue; } $htmlHelper = new w2p_Output_HTMLHelper($AppUI); foreach ($st_projects_arr as $st_project) { $multiproject_id = 0; $project_id = isset($st_project[0]) ? $st_project[0]['project_id'] : 0; $level = $st_project[1]; if ($project_id) { if ($is_tabbed) { $row = $all_projects[getProjectIndex($all_projects, $project_id)]; } else { $row = $items[getProjectIndex($items, $project_id)]; } } $none = false; $end_date = intval($row['project_end_date']) ? new w2p_Utilities_Date($row['project_end_date']) : null; $actual_end_date = intval($row['project_actual_end_date']) ? new w2p_Utilities_Date($row['project_actual_end_date']) : null; $style = $actual_end_date > $end_date && !empty($end_date) ? 'style="color:red; font-weight:bold"' : ''; $s = ''; if ($level) { $s .= '<tr style="display:none" id="multiproject_tr_' . $row['project_original_parent'] . '_' . $row['project_id'] . '_">'; $s .= '<div id="multiproject_' . $row['project_original_parent'] . '_' . $row['project_id'] . '">'; } else { $s .= '<tr>'; } $htmlHelper->stageRowData($row); foreach ($fieldList as $field) {