<?php get_header();?>
       
<?php while ( have_posts() ) : the_post(); ?>
    <table class="resume-table-blocks" width="800" align="center" cellspacing="0" cellpadding="40" border="0"
        border-collapse="collapse">
        <tr>
            <td>
                <table class="res-logo" width="100%" align="center" cellspacing="0" cellpadding="8" border="0"
                    border-collapse="collapse">
                    <tr>
                        <td width="30%" align="left"><img class="logo-showing" src="https://www.wildnettechnologies.com/wp-content/uploads/2024/05/sticky-logo-1.png" alt="logo"></td>
                        <td width="40%"></td>
                        <td width="30%" align="right">
                            <?php echo do_shortcode('[printfriendly]')?>
                        </td>
                    </tr>
                </table>
                <table class="res-head" width="100%" align="center" cellspacing="0" cellpadding="8" border="1"
                    border-collapse="collapse">
                    <tr>
                        <td align="center">
                            <h2><?php the_title(); ?></h2>
                            <?php
							$skills = get_field('skills');
							
							if( $skills ): ?>
							<p>
								<?php foreach( $skills as $skill ): ?>
									<b><?php echo $skill; ?> |</b> 
								<?php endforeach; ?>
							</p>
							<?php endif; ?>
                        </td>
                    </tr>
                </table>
                <table class="resume-table" width="100%" align="center" cellspacing="0" cellpadding="10" border="1"
                    border-collapse="collapse">
                    <tr class="heading" valign="top">
                        <td><b>About Me</b></td>
                        <td></td>
                    </tr>
                    <tr valign="top">
                        <td colspan="2">
                            <p style="text-indent: 80px;"><?php echo the_field('about');?></p>
                        </td>
                    </tr>
					<?php if( have_rows('education_information') ):?>
                    <tr class="heading" valign="top">
                        <td><b>Education<br />Information</b></td>
                        <td></td>
                    </tr>
					<?php while( have_rows('education_information') ) : the_row();?>
                    <tr valign="top">
                        <td class="time-line" width="200">
                            <p style="padding-left: 30px;"><b><?php echo get_sub_field('year_from');?>-<?php echo get_sub_field('year_to');?></b></p>
                            <p style="padding-left: 30px;"><b><span class="comp-name"><?php echo get_sub_field('institution_name');?></span></b></p>
                        </td>
                        <td>
                           <p><b><?php echo get_sub_field('course');?></b></p>
                           <?php echo get_sub_field('description');?>
                        </td>
                    </tr>
					<?php endwhile;?>
					<?php endif;?>
                    <tr class="heading" valign="top">
                        <td><b>Skills</b></td>
                        <td></td>
                    </tr>
                    <tr valign="top">
                        <td class="time-line" width="200">
                            <p style="margin: 0; padding-left: 30px;"><b><span class="comp-name">WordPress</span></b></p>
                        </td>
                        <td>
                            <p style="margin: 0;">
							<img src="<?php echo get_stylesheet_directory_uri();?>/assets/images/star-icon.png" alt="start">
							<img src="<?php echo get_stylesheet_directory_uri();?>/assets/images/star-icon.png" alt="start">
							<img src="<?php echo get_stylesheet_directory_uri();?>/assets/images/star-icon.png" alt="start">
							<img src="<?php echo get_stylesheet_directory_uri();?>/assets/images/star-icon-dis.png" alt="start">
							<img src="<?php echo get_stylesheet_directory_uri();?>/assets/images/star-icon-dis.png" alt="start"></p>
                        </td>
                    </tr>
                   
					<?php if( have_rows('experience_information') ):?>
                    <tr class="heading" valign="top">
                        <td><b>Professional<br />History</b></td>
                        <td></td>
                    </tr>
					<?php while( have_rows('experience_information') ) : the_row();?>					
                    <tr valign="top">
                        <td class="time-line" width="200">
                            <p style="padding-left: 30px;"><b><?php echo get_sub_field('year_from');?>-<?php echo get_sub_field('year_to');?></b></p>
                            <p style="padding-left: 30px;"><b><span class="comp-name"><?php echo get_sub_field('company_name');?></span></b></p>
                        </td>
                        <td>
							<p><b> <?php echo get_sub_field('designation');?></b></p>
                           <?php echo get_sub_field('description');?>
                        </td>
                    </tr>
					<?php endwhile;?>
					<?php endif;?>
					<?php if( have_rows('project_details') ):?>
                    <tr class="heading" valign="top">
                        <td><b>Project<br />History</b></td>
                        <td></td>
                    </tr>
					<?php while( have_rows('project_details') ) : the_row();?>
                    <tr valign="top">
                        <td class="time-line" width="200"><p style="padding-left: 30px;"><b>10 Months</b></p></td>
                        <td><p><b><?php echo get_sub_field('project_title');?></b></p>
                            <?php echo get_sub_field('project_description');?>
                        </td>
                    </tr>
					<?php endwhile;?>
					<?php endif;?>
                </table>
            </td>
        </tr>
    </table>
  <?php endwhile; ?>
  <?php get_footer();?>