<dt>Social:</dt> <?php foreach ($data->socials as $social) { ?> <dd><?php echo ViewHelper::link($social['link'], $social['name']); ?> </dd> <?php } ?> <dt>Releases:</dt> <?php foreach ($data->games as $game) { ?> <dd><?php echo ViewHelper::linkProject($game->directory, $game->title); ?> </dd> <?php } ?> <dt>Phone:</dt> <dd><?php echo ViewHelper::callto($data->phone); ?> </dd> </dl> </div>
if (isset($game->listed) && $game->listed == 0) { continue; } ?> <li> <?php $image = ''; if ($game->images != null) { $image = 'style="background-image: url(' . reset($game->images) . ');"'; } $style = 'four columns '; if ($firstWide) { $style = 'eight columns alpha omega tall'; $firstWide = false; } else { $style .= ViewHelper::alphaomega($index++); } echo ViewHelper::linkProject($game->directory . '/', $game->title, 'class="' . $style . '"' . $image); ?> </li> <?php } ?> </ul> </div> <?php } ?> </div> <hr class="twelve columns" />