<?php
// source: C:\wamp64\www\hra1\app\presenters/templates/Second/outcome.latte

class Template33002174f816ee9db8e0a1b1d10e5200 extends Latte\Template {
function render() {
foreach ($this->params as $__k => $__v) $$__k = $__v; unset($__k, $__v);
// prolog Latte\Macros\CoreMacros
list($_b, $_g, $_l) = $template->initialize('bad0991783', 'html')
;
// prolog Latte\Macros\BlockMacros
//
// block content
//
if (!function_exists($_b->blocks['content'][] = '_lb9f4717a476_content')) { function _lb9f4717a476_content($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?><div id="first">
<table class="outcome">
<thead>

<tr class="required">

	<th>Issues and Projects - Stage 1</th>
	<th>Invested</th>
	<th class="leftie">Gained</th>
	
</tr>


</thead>

<tbody>
<tr class="required">
	<th>Issue 10 - Economic Espionage</label></th>

	<td><?php echo Latte\Runtime\Filters::escapeHtml($vals->ESPIONAGE, ENT_NOQUOTES) ?></td>
	<td class="<?php if ($outcome->ESPIONAGE) { ?> green <?php } else { ?> red <?php } ?>
" ><?php echo Latte\Runtime\Filters::escapeHtml($results->ESPIONAGE, ENT_NOQUOTES) ?></td>
	
	
</tr>
<tr class="required">
	<th>Issue 11 - Imitation, Lawsuit </label></th>

	<td><?php echo Latte\Runtime\Filters::escapeHtml($vals->IMITATION, ENT_NOQUOTES) ?></td>
	<td class="<?php if ($outcome->IMITATION) { ?> green <?php } else { ?> red <?php } ?>
" ><?php echo Latte\Runtime\Filters::escapeHtml($results->IMITATION, ENT_NOQUOTES) ?></td>
	
</tr>

<tr class="required">
	<th>Issue 12 - Community </label></th>

	<td><?php echo Latte\Runtime\Filters::escapeHtml($vals->COMMUNITY, ENT_NOQUOTES) ?></td>
	<td class="<?php if ($outcome->COMMUNITY) { ?> green <?php } else { ?> red <?php } ?>
" ><?php echo Latte\Runtime\Filters::escapeHtml($results->COMMUNITY, ENT_NOQUOTES) ?></td>
	
	
</tr>
<tr class="required">
	<th>Issue 13 - Hiring New Employees</label></th>

	<td><?php echo Latte\Runtime\Filters::escapeHtml($vals->HIRING, ENT_NOQUOTES) ?></td>
	<td class="<?php if ($outcome->HIRING) { ?> green <?php } else { ?> red <?php } ?>
" ><?php echo Latte\Runtime\Filters::escapeHtml($results->HIRING, ENT_NOQUOTES) ?></td>
	
</tr>
<tr class="required">
	<th>Issue 14 - Warehouses</label></th>

	<td><?php echo Latte\Runtime\Filters::escapeHtml($vals->WAREHOUSES, ENT_NOQUOTES) ?></td>
	<td class="<?php if ($outcome->WAREHOUSES) { ?> green <?php } else { ?> red <?php } ?>
" ><?php echo Latte\Runtime\Filters::escapeHtml($results->WAREHOUSES, ENT_NOQUOTES) ?></td>
	
</tr>


<tr>
	<th>Total</th>
	<td> <?php echo Latte\Runtime\Filters::escapeHtml($total_vals, ENT_NOQUOTES) ?> </td>
	<td> <?php echo Latte\Runtime\Filters::escapeHtml($total_res, ENT_NOQUOTES) ?> </td>
</tr>

</tbody></table>
</div>

<div id="hint" style="height: 213px;">
<span></span>
<span>		<?php if ($outcome->ESPIONAGE) { ?>

			Now you know about their plans, you will reap the fruits of their effort.
<?php } else { ?>
			Badly funded or not funded at all! You have not gained any advantage.
		<?php } ?></span>
    
		<span><?php if ($outcome->IMITATION) { ?>

			Your lawyers have crushed your competition and they have to pay fines as well, well done!
<?php } else { ?>
			Your lawyers have failed or done nothing at all.
		<?php } ?></span>
        
		<span><?php if ($outcome->COMMUNITY) { ?>

			Your community is strong, they help you in every possible way, and they love and worship &ldquo;The Product&rdquo;
<?php } else { ?>
			Some people talk about &ldquo;The Product&rdquo; but not many, R&D teams have to do all the troubleshooting themselves.
		<?php } ?></span>
    
		<span><?php if ($outcome->HIRING) { ?>

			You have hired some new experts that will help you; what is more, your competition has lost them!
<?php } else { ?>
			You have hired some promising graduates but no big names.
		<?php } ?></span>
    
		<span><?php if ($outcome->WAREHOUSES) { ?>

			Your warehouses have been repaired; on top of that, shipping of goods is much faster than before.
<?php } else { ?>
			One of your warehouses has collapsed. No one was hurt but the financial loss is significant.
		<?php } ?></span>
		
		<div id="hint2">	
		  <span></span>	
		  <span>You can hire skilled agents and hackers for economic espionage so you can have interesting insights in the plans of your competition; it is not completely legal but...
		  </span>		
		  <span>Competition is trying to imitate some really unique features of &ldquo;The Product&rdquo;. Will you hire lawyers to put an end to that?
		  </span>		
		  <span>You need to build a strong community of people using your product. They might be the best advertisement and they can give you valuable feedback and report bugs.
		  </span>		
		  <span>Is it time to go headhunting for IT experts, scientists and sales managers? They might help you in the future…
		  </span>
		  <span>
		  Your warehouses are in a bad state, will you repair them?
		  </span>
		</div>
		
</div>




<br>
You have started Stage 2 with <?php echo Latte\Runtime\Filters::escapeHtml($start_res, ENT_NOQUOTES) ?>
 resources and you have ended the stage with <?php echo Latte\Runtime\Filters::escapeHtml($end_res, ENT_NOQUOTES) ?> resources.

<br><br>
<a class="btn" href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("Third:default"), ENT_COMPAT) ?>
"> Continue </a>

<?php
}}

//
// end of blocks
//

// template extending

$_l->extends = empty($_g->extended) && isset($_control) && $_control instanceof Nette\Application\UI\Presenter ? $_control->findLayoutTemplateFile() : NULL; $_g->extended = TRUE;

if ($_l->extends) { ob_start();}

// prolog Nette\Bridges\ApplicationLatte\UIMacros

// snippets support
if (empty($_l->extends) && !empty($_control->snippetMode)) {
	return Nette\Bridges\ApplicationLatte\UIRuntime::renderSnippets($_control, $_b, get_defined_vars());
}

//
// main template
//
?>

<?php if ($_l->extends) { ob_end_clean(); return $template->renderChildTemplate($_l->extends, get_defined_vars()); }
call_user_func(reset($_b->blocks['content']), $_b, get_defined_vars())  ?>


<?php
}}