<?php
	// Assets::add( 'workbook.min.js' );
	Assets::add( 'certificate.css' );
	// Assets::add( 'momentjs' );
	// AMIB::add_js_translation( trans( 'workbook.js-msgs' ) );
?>


<?php $__env->stopSection(); ?>

<?php $__env->startSection( 'content' ); ?>
	<div class="cc" id="main-content">
		<div id="print-btn-container" class="no-print" style="color:red">
		    
		    
		    توجه : گواهینامه  شما مورد تایید سازمان  نخواهد بود ، در صورتی که اطلاعات فردی  ستاره دار خود را از بخش 
<strong>
( پروفایل داوطلبی )
</strong>
 تکمیل نکرده باشید. گواهینامه با اطلاعات نادرست فاقد اعتبار خواهد بود.</br>
توجه :  زمان چاپ گواهینامه ، تنظیمات چاپگر خود را در حالت landscape  بگذارید.

		    
		    
		    <a href="#" class="button" onclick="window.print(); return false;">چاپ گواهینامه...</a></div>
		

		<div id="certificate">
			<img src="img/cert-bg.jpg" id="cert-bg">
			<div class="pure-g">
				<div class="center pure-u-5-24" style="margin-top:-15px" >
					<?php
						if( $user->Company && $attachment = $user->Company->get_attachment_by_type( 'logo' ) ) {
							echo HTML::image( $attachment->url, 'certificate-logoo', array( 'id' => 'certificate-logo' ) );
						}
				
					?>
						<!--<div>   <img src='http://www.gotest.ir/img/logo_tazirat.jpg' style='height:110px;width:80px;margin-right:0px;margin-top:-25px'></div>-->
				</div>
				<!--<div class="center pure-u-14-24" style="font-size:27px;width:340px">«-->
				<!--گواهینامه پایان دوره آموزشی کوتاه مدت-->
				<!--»</div>-->
				
					<div class="center pure-u-14-24" style="	width:340px">
				     <h1  style=" font-family: IranNastaliq;font-size:18px;"	 >      
				  گواهینامه پایان دوره آموزشی 
				     </h1>
				 
	</div>
				
					
				
					
					
				<div class="small pure-u-5-24">
					
						
							<div>شماره: <?php echo en2fa( $exam->extra_data_obj->certificate_number ); ?></div>
					<div>تاریخ: <?php echo en2fa( $exam->extra_data_obj->certificate_date ); ?></div>
					<!--<div>تاریخ: <?php echo unix_to_pdate_time( time(), false ); ?></div>-->
					
						<div>   <img src='http://newsad24.ir/img/logo_newsad.png' style='height:90px;width:70px;margin-right:140px;margin-top:-65px'></div>
						
						
						
					
				</div>
			</div>

			<div id="certificate-text" style="font-size:19px">
			    <label >    گواهی می شود :  </label>
	<br>
				آقای / خانم 
			  &nbsp;&nbsp;
				<strong><?php echo $user->full_name; ?></strong>



				دارنده کد ملی   <strong><?php echo en2fa( $user->national_code ); ?></strong>

			  &nbsp;&nbsp;
				
					 فرزند   &nbsp;&nbsp;  <strong><?php echo en2fa( $user->father_name ); ?></strong>
					   &nbsp;&nbsp;
					   
					   محل صدور
					    <strong><?php echo en2fa($user->City->name ); ?></strong>
					   
					   
					    &nbsp;&nbsp;
				  شاغل در     &nbsp;&nbsp; <strong><?php echo $exam->extra_data_obj->certificate_company; ?></strong>
				    &nbsp;&nbsp;
				
				       &nbsp;&nbsp;
				<!--  	<?php if( $user->City && $user->City->name !== 'تهران - ستاد مرکزی' ): ?>-->
				<!--  	  استان-->
				<!--	<strong><?php echo $user->Province->name; ?></strong>-->
				<!--	  &nbsp;&nbsp;-->
				<!--<?php endif; ?>-->
				  دوره آموزشی    &nbsp;&nbsp; <strong><?php echo $exam->extra_data_obj->certificate_course; ?></strong>
				    &nbsp;&nbsp;
				  <?php echo en2fa( $exam->extra_data_obj->certificate_license ); ?>

				  <!--سازمان اداری استخدامی کشور-->
				  <!--و مصوبه شماره -->
	 &nbsp;
				 <?php echo en2fa( $exam->extra_data_obj->certificate_from_date ); ?>

				 &nbsp;
				  <?php echo en2fa( $exam->extra_data_obj->certificate_to_date ); ?>

				
				 <!--کمیته سرمایه انسانی سازمان تعزیرات حکومتی -->
				 <!--به مدت -->
			
				 
				  <strong><?php echo en2fa( $exam->extra_data_obj->certificate_hours ); ?></strong> 
			
				   
				  <!--<?php echo unix_to_pdate_time( time(), false ); ?>-->
				  
				  
				  
				  
				  	 
			
	<?php if(( $exam->id != 579)&&	( $exam->id != 5799999)&&	( $exam->id != 724) &&	( $exam->id != 897)): ?>
				  
			با کسب امتیاز
				 &nbsp;&nbsp;
				 <strong><?php echo en2fa( $exam_user->mark ); ?></strong>
				  &nbsp;&nbsp;
				با موفقیت به پایان رسانیده است.
		

<?php else: ?>

	با موفقیت به پایان رسانیده است.
	
	<?php endif; ?>
	
	
	
				  
			<!--با کسب امتیاز-->
			<!--	 &nbsp;&nbsp;-->
			<!--	 <strong><?php echo en2fa( $exam_user->mark ); ?></strong>-->
			<!--	  &nbsp;&nbsp;-->
			<!--	با موفقیت به پایان رسانیده است.-->
			<!--</div>-->



<br>
			<div class="pure-g">
				<div class="center pure-u-4-24"  style="width:23% ; margin-right:80px;margin-top:10px" >
					<?php
						if( $user->Company && $attachment = $user->Company->get_attachment_by_type( 'sig2' ) ) {
							echo HTML::image( $attachment->url );
						}
					?>
				</div>
				<div class="pure-u-16-24"style="width:25%" ></div>
				
				<div class="center pure-u-4-24" style="width:23%;;margin-top:10px;margin-right:70px" >
					<?php
						if( $user->Company && $attachment = $user->Company->get_attachment_by_type( 'sig1' ) ) {
							echo HTML::image( $attachment->url );
						}
					?>
				</div>
			</div>
		</div>
	</div>
<?php $__env->stopSection(); ?>