hjkhghopjkertteerterterterertertrtoirh
bnmbertsurhetertertertertertertertpdf'tdfg
/
home
/
ubuntu
/
bmse.net
/
Upload FileeE
HOME
<?php ini_set('display_errors',1); include('includes/application_includes.php'); $staffpeople = array(); # Getting about us content $about_content = $db->getRow('SELECT * FROM `bmse_content_newsite` WHERE `content-page`="AboutScreen"'); $staffs = $db->getRows('SELECT * FROM `bmse_staff` WHERE status=1 AND people_label=1 AND remove_flag=1 order by `rank` ASC'); $pupil = array(); $about = array(); $header = array(); $container2 = array(); $container2['title'] = $about_content['container2-title']; $container2['container2Image'] = SITE_PATH.'admin/images/'.$about_content['body-image3']; $container2['sections'][] = $about_content['container2-sections-1']; $container2['sections'][] = $about_content['container2-sections-2']; $about['title'] = $about_content['container1-title']; $about['content'] = $about_content['container1-content']; $header['headerImage'] = SITE_PATH.'admin/images/'.$about_content['header-image']; $header['headerImageTitle'] = $about_content['header-image-title']; $header['headerImageText'] = $about_content['header-image-text']; $about['container1Image1'] = SITE_PATH.'admin/images/'.$about_content['body-image1']; $about['container1Image2'] = SITE_PATH.'admin/images/'.$about_content['body-image2']; //$about['bodyImage3Text'] = $about_content['body-image3-text']; $pupil['header'] = $header; $pupil['container1'] = $about; if (!empty($staffs)) { $puopil = array(); foreach ($staffs as $staff) { $people['id'] = $staff['id']; $people['name'] = $staff['firstname'] . ' ' . $staff['lastname']; $people['picture'] = SITE_PATH . 'admin/images/staffimages/' . $staff['staff_image']; $people['title'] = $staff['title']; $people['description'] = $staff['description']; $puopil[] = $people; } } //ArrayDisplay($puopil); $pupil['container2'] = $container2; $pupil['people'] = $puopil; $smarty->assign('STAFF',$puopil); $smarty->assign('HEADER', $header); $smarty->assign('CONTAINER1', $about); $smarty->assign('CONTAINER2', $container2); $smarty->assign('CONTAINER2TEXT0', $container2['sections'][0]); $smarty->assign('CONTAINER2TEXT1', $container2['sections'][1]); $smarty->display(TEMPLATE_DOCROOT_PATH.'default/aboutusn.tpl'); ?>