Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch ($input['page']) {
- case 'achievements':
- $content_stylesheet = $stylesheets[$input['section']];
- $content = 'content_pages/'. $input['section'] .'/achievements.php';
- $page_title = $titles[$input['section']];
- $teaser_img = $teasers[$input['section']];
- break;
- case 'references':
- $content_stylesheet = $stylesheets[$input['section']];
- $content = 'content_pages/'. $input['section'] .'/references.php';
- $page_title = $titles[$input['section']];
- $teaser_img = $teasers[$input['section']];
- $references = true;
- break;
- case 'partners':
- $content_stylesheet = $stylesheets[$input['section']];
- $content = 'content_pages/'. $input['section'] .'/partners.php';
- $page_title = $titles[$input['section']];
- $teaser_img = $teasers[$input['section']];
- break;
- case 'contact':
- $content_stylesheet = $stylesheets[$input['section']];
- $content = 'content_pages/'. $input['section'] .'/contact.php';
- $page_title = $titles['contact'];
- $contact = true;
- $teaser_img = $teasers['eservice'];
- break;
- case 'about':
- $content_stylesheet = $stylesheets[$input['section']];
- $content = 'content_pages/'. $input['section'] .'/about.php';
- $page_title = $titles['about'];
- $contact = true;
- $teaser_img = $teasers['eservice'];
- break;
- default:
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement