| Server IP : 195.130.67.5 / Your IP : 216.73.217.127 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/icd/components/com_staffmaster/views/all/tmpl/ |
Upload File : |
<?php
/**
* File: default.php
* Actual HTML Output
*
* Staff Master 0_7_5_5
*
* Staff Master - Staff Members and Departments Manager
*
* @version 0.7.5.5
* @package StaffMaster_0_7_5_5
* @subpackage: view_all
* @copyright (C) 2007-2008 Travis Hubbard
* @license http://www.gnu.org/licenses/ GNU/GPL v3
* @link http://www.systemsunited.net/
**/
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<div id="staff_container">
<div id="staff_header">
<h1 <?php echo $this->page_title_color_html ?> > <?php echo $this->params->page_title ?> </h1>
<?php if( !empty( $this->params->header_text ) ) :?>
<div class="staff_header_text" >
<p>
<?php echo $this->params->header_text ?>
</p>
</div>
<?php endif; ?>
</div>
<?php
foreach($this->departments_list as $department):
$departmentid = $department->id;
if( isset( $this->staff_list[ $departmentid ] ) ):
?>
<div class="department_header">
<?php
echo $this->dept_html['name'][ $department->alias ];
if( !empty( $this->dept_html['desc'][ $department->alias ] ) ):
?>
<div class="department_description">
<?php echo $this->dept_html['desc'][ $department->alias ] ?>
</div>
<?php endif; ?>
</div>
<?php
if( !empty( $this->staff_list[ $departmentid ] ) ):
foreach( $this->staff_list[ $departmentid ] as $staff ):
?>
<a name="staff_<?php echo $staff->alias?>" ></a>
<div class="staff_wrapper" id="staff_wrapper_<?php echo $staff->id ?>">
<div class="staff_member"> <!-- begin staff_member content -->
<div class="<?php echo $this->staff_image_class ?>">
<?php echo $this->staff_html['image'][ $staff->alias ] ?>
</div>
<div class="<?php echo $this->staff_name_class ?>" >
<?php
echo '<p ' . $this->staff_name_color_html . '>';
echo $this->staff_html['name'][ $staff->alias ];
if( !$this->params->title_in_bio ) { echo ' - ' . $this->staff_html['title'][ $staff->alias ]; }
?>
</p>
<div class="contact_div" id="contact_<?php echo $staff->id ?>" <?php echo $this->contact_details_html ?> >
<?php
if( !empty( $this->staff_html['contact'][ $staff->alias ] ) && $this->params->use_js_frontend && $this->params->use_js_contact ) {
echo $this->staff_html['contact'][ $staff->alias ];
}
?>
</div>
<?php
if( !empty( $this->staff_html['contact'][ $staff->alias ] ) && $this->params->linkable_contact_details ) :
if( $this->params->use_js_frontend ) {
$link_html = '<a href="#staff_' . $staff->alias . '" class="'. $this->read_contact_class .'" alt="contact_' . $staff->id . '" ' . $this->contact_details_link_html . ' >' . $this->read_contact_label . '</a>';
} else {
$link = JRoute::_( 'index.php?option=' . $option . '&view=staff&name=' . $staff->alias );
$link_html = '<a href="' . $link . '" class="'. $this->read_contact_class .'" alt="contact_' . $staff->id . '" ' . $this->contact_details_link_html . ' >' . $this->read_contact_label . '</a>';
}
echo $link_html;
endif;
?>
</div>
<div class="<?php echo $this->staff_bio_class ?>" >
<?php
if( $this->params->title_in_bio ) {
echo '<p>' . $this->staff_html['title'][ $staff->alias ] . '</p>';
}
echo '<p ' . $this->staff_bio_color_html . ' >';
echo $this->staff_html['bio'][ $staff->alias ];
?>
</p>
</div>
</div> <!-- End staff_member -->
</div>
<?php
endforeach; // END FOREACH STAFF_LIST AS ROW
endif; // ENDIF if( !empty(staff list)&&( !empty( staff list[ $departmentid ] )
/**** Department Footer Setup ****/
if( $this->params->show_dept_footer ):
$output_footer = false;
$department_footer_output = '';
if( !empty( $department->footer_text ) ) {
$department_footer_output .= '<p class="department_footer_main" >'.$department->footer_text.'</p>';
$output_footer = true;
}
if( $this->params->show_dept_footer_text1 && !empty( $this->params->job_text1 ) ) {
$department_footer_output .= '<p class="department_footer_text1" >'.$this->params->job_text1.'</p>';
$output_footer = true;
}
if( $this->params->show_dept_footer_text2 && !empty( $this->params->job_text2 ) ) {
$department_footer_output .= '<p class="department_footer_text2" >'.$this->params->job_text2.'</p>';
$output_footer = true;
}
if( $this->params->show_dept_footer_text3 && !empty( $this->params->job_text3 ) ) {
$department_footer_output .= '<p class="department_footer_text3" >'.$this->params->job_text3.'</p>';
$output_footer = true;
}
if( $output_footer ) {
echo '<div class="department_footer">' . $department_footer_output . '</div>';
}
else {
echo '<div class="dept_break"><br /></div>';
}
endif; // end if( show department footer )
endif;
endforeach; // end foreach departments_list as department
?>
<?php if( $this->show_sm_link ): ?>
<div id="staff_master_link">Powered By: <a href="http://www.systemsunited.net/" target="_blank">Staff Master</a> v<?php echo $this->params->version ?></div>
<?php endif; ?>
</div>