BATOSAY Shell
Server IP : 170.10.162.208  /  Your IP : 216.73.216.38
Web Server : LiteSpeed
System : Linux altar19.supremepanel19.com 4.18.0-553.69.1.lve.el8.x86_64 #1 SMP Wed Aug 13 19:53:59 UTC 2025 x86_64
User : deltahospital ( 1806)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/proc/self/root/home/deltahospital/www/wp-content/themes/imedica/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /proc/self/root/proc/self/root/home/deltahospital/www/wp-content/themes/imedica/single-doctor.php
<?php
/**
 * The Template for displaying all single posts
 *
 */
global $imedica_opts, $post;
$top_margin_fix = redux_post_meta( "imedica_opts", $post->ID, "imedica-top-margin" );
$imedica_main_header_display = redux_post_meta( "imedica_opts", $post->ID, "imedica-main-header-display" );
$imedica_footer_display = redux_post_meta( "imedica_opts", $post->ID, "imedica-footer-display" );
$enable_related_posts = isset($imedica_opts['display-related-posts']) ? $imedica_opts['display-related-posts'] : '';
if($imedica_footer_display == null) {$imedica_footer_display = true;}
if($imedica_main_header_display == null) {$imedica_main_header_display = true;}
if($imedica_main_header_display){
	get_header();
} else {
	get_header('blank');
}
if (isset($top_margin_fix) && $top_margin_fix == true) {
	$margin_style = 'margin-top: 0;';
} else {$margin_style = '';}
?>
<div class="imedica-row">
	<div class="<?php echo esc_attr( $imedica_layout ); ?> imedica-container">
		<?php 
		$current_position = function_exists( 'fw_ext_sidebars_get_current_position' ) ? fw_ext_sidebars_get_current_position() : '';
		?>
		<?php
		$sidebar_pos = $current_position !== 'full' && $current_position !== 'left' ? 'right' : $current_position;

		$cls = 'with-sidebar col-xs-12 col-sm-7 col-md-8 col-lg-9 '.esc_attr( $sidebar_pos );  
		if($sidebar_pos == 'full'){
			$cls = 'col-xs-12 col-sm-12 col-md-12 col-lg-12 '. esc_attr( $sidebar_pos );
		} else {
			$cls = 'with-sidebar col-xs-12 col-sm-7 col-md-8 col-lg-9 '. esc_attr( $sidebar_pos );
		}
		if($current_position == "left"){
			get_sidebar();
		}
		?>
		<div id="primary" class="site-content <?php echo esc_attr( $cls ); ?>" style="<?php echo esc_attr( $margin_style ); ?>">
			<div id="content" role="main">
				<nav class="nav-single">
					<?php if( get_previous_post_link()): ?>
						<div class="nav-previous">
							<?php previous_post_link('%link','<i class="fa fa-angle-left"></i>',''); ?>
						</div>
					<?php endif; ?>

					<?php if( get_next_post_link()):?>
						<div class="nav-next">
							<?php next_post_link('%link','<i class="fa fa-angle-right"></i>', ''); ?>
						</div>
					<?php endif; ?>

				</nav> <!-- .nav-single -->
<?php

while(have_posts()){
	the_post();

?>
	<div class="col-md-8">
	<?php the_post_thumbnail('doctor', array(
		'class' =>'img-thumbnail'
	)); ?>
	<h2><?php the_title(); ?></h2>
	<?php the_field('qualification'); ?>
	<h5><b><?php the_field('designation'); ?></b></h5>
	<p>Department of
		<?php 
			$terms = get_the_terms(get_the_id(), 'department');
			
			foreach ($terms as $term){
				$link = get_term_link($term);
				echo $term->name;
			}
		?>
	</p>
	<!-- Custom Post Call Here -->
	
	<p style="line-height:5px"> Time: <?php the_field('time'); ?> (Regular Duty Closed Friday & Govt. Holiday)</p>
	
	<p style="line-height:8px"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
		<?php the_field('chamber_time'); ?></p>

	<a id="displayText" href="javascript:toggle();"><button>Call For Appoinment</button></a>
	<div id="toggleText" style="display: none">
	<h3><br>
		+8802-9029151 <br>

		+8802-9029152 <br>
		
		+8802-58050661 <br>

		+8802-58050663 <br>
		
		+8802-9022410<br>
	</h3>
	</div>
	
	</div>
<?php
}
?>

				<?php if ($enable_related_posts == 1) {
               		imedica_related_posts($post);// Related Posts
               	}  ?>

        
           </div><!-- #content -->

       </div><!-- #primary -->
       <?php 
       if($current_position == "right" || trim($current_position) == ''){
       	get_sidebar();
       }
       if($imedica_footer_display){
       	get_footer();
       } else {
       	get_footer('blank');
       }

Batosay - 2023
IDNSEO Team