Example #1
0
</span></li>
                    <li class="gain" title="Производство:<?php 
    echo number_format($production);
    ?>
" alt="Производство:<?php 
    echo number_format($production);
    ?>
">
                        <span class="textLabel">Вместимость: </span>
                        <div id="gainPoints">
                            <div id="resiconcontainer">
        <img id="resicon" src="<?php 
    echo $this->config->item('style_url');
    ?>
skin/resources/icon_<?php 
    echo resource_icon($this->Island_Model->island->trade_resource);
    ?>
.gif" width="25" height="20">
                            </div>
                        </div>
                        <div class="gainPerHour">
                            <span id="valueResource" >+<?php 
    echo number_format($production);
    ?>
</span> <span class="timeUnit">в час</span>
                        </div>
                    </li>
                    <li class="costs">
                        <span class="textLabel">Доход города: </span>
                        <span id="valueWorkCosts" class="negative"><?php 
    echo floor($this->Player_Model->saldo[$this->Player_Model->town_id]);
Example #2
0
</td>
                        <td><?php 
    echo $this->Player_Model->islands[$town->island]->name;
    ?>
 [<?php 
    echo $this->Player_Model->islands[$town->island]->x;
    ?>
:<?php 
    echo $this->Player_Model->islands[$town->island]->y;
    ?>
]</td>
                        <td><img src="<?php 
    echo $this->config->item('style_url');
    ?>
skin/resources/icon_<?php 
    echo resource_icon($this->Player_Model->islands[$town->island]->trade_resource);
    ?>
.gif"  title="<?php 
    echo $this->Data_Model->island_building_by_resource($this->Player_Model->islands[$town->island]->trade_resource);
    ?>
" alt="<?php 
    echo $this->Data_Model->island_building_by_resource($this->Player_Model->islands[$town->island]->trade_resource);
    ?>
"></td>
                    </tr>
<?php 
}
?>
                </tbody>
            </table>
        </div>
Example #3
0
        echo the_permalink();
        ?>
"><img src="<?php 
        the_field('resource_image');
        ?>
" class="img-responsive" alt="<?php 
        echo the_title();
        ?>
"></a>
							<h4 class="resource-title"><?php 
        echo the_title();
        ?>
</h4>
							<div class="resource-type">
								<img src="<?php 
        echo resource_icon(get_field('resource_type'));
        ?>
" height="31" width="28" alt="">
								<?php 
        echo the_field('resource_subtitle');
        ?>
							</div>
							<a href="<?php 
        echo the_permalink();
        ?>
" class="grey-btn pull-left details-btn">View Details <i class="fa fa-angle-double-right"></i></a>
							<a href="" class="red-btn pull-left"><i class="fa fa-arrow-down"></i></a>
						</div><!--/.resource-listing -->
					</div>

				<?php 
Example #4
0
?>
">
                    </span>
                    <span class="production">
                        <span class="textLabel"><?php 
echo $this->lang->line('produce');
?>
 </span>
                        <?php 
$plus_text = 'plus_' . $this->Data_Model->resource_class_by_type($this->Player_Model->now_island->trade_resource);
?>
                        <img src="<?php 
echo $this->config->item('style_url');
?>
skin/resources/icon_<?php 
echo resource_icon($this->Player_Model->now_island->trade_resource);
?>
.gif"> +<?php 
echo number_format($this->Player_Model->now_town->tradegood * (1 - $this->Player_Model->corruption[$this->Player_Model->town_id]) * $this->Player_Model->{$plus_text});
?>
                    </span> 
                </div>
                <div class="scientists" style="left:<?php 
echo $free_px + $workers_px + $special_px + 20;
?>
px;width:<?php 
echo $research_px;
?>
px">
                    <span class="type">
                        <span class="count"><?php 
Example #5
0
echo $trade_user->login;
?>
)</td>
                        <td><?php 
echo $port_level;
?>
</td>
                        <td><?php 
echo $trade_town->{$branch_count};
?>
</td>
                        <td><img src="<?php 
echo $this->config->item('style_url');
?>
skin/resources/icon_<?php 
echo resource_icon($this->Player_Model->now_town->branch_search_resource);
?>
.gif" alt="<?php 
echo $this->Data_Model->resource_name_by_type($this->Player_Model->now_town->branch_search_resource);
?>
" title="<?php 
echo $this->Data_Model->resource_name_by_type($this->Player_Model->now_town->branch_search_resource);
?>
"></td>
                        <td><?php 
echo $trade_town->{$branch_cost};
?>
 <img src="<?php 
echo $this->config->item('style_url');
?>
skin/resources/icon_gold.gif"> <?php 
Example #6
0
    the_field('resource_image');
    ?>
" class="img-responsive" alt="<?php 
    echo the_title();
    ?>
"></a>
        <?php 
}
?>
		<h4 class="resource-title"><?php 
echo the_title();
?>
</h4>
		<div class="resource-type">
			<img src="<?php 
echo resource_icon($type);
?>
" height="31" width="28" alt="">
			<?php 
echo the_field('resource_subtitle');
?>
		</div>
        <?php 
if (in_array($type, array('video'))) {
    ?>
            <?php 
    $url = '/fsi/sso/?campaign_code=' . urlencode(get_field('sso_code')) . '&activity=youtube&details=' . get_field('youtube_link');
    ?>
		    <a data-url="<?php 
    echo the_permalink();
    ?>