]> git.mxchange.org Git - city.git/blob - application/city/templates/code/block_persona_data.ctp
7a19a6ca51911371b8f9580b5774de6305cea447
[city.git] / application / city / templates / code / block_persona_data.ctp
1 <?php
2 // Import framework stuff
3 use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
4
5 // Get a helper instance for the profile link (and maybe later more!)
6 $helperInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper_class', array($this, 'profile'));
7
8 // Prefetch user instance
9 $helperInstance->prefetchValueInstance('user');
10
11 // Flush the content out
12 $helperInstance->flushContent();
13
14 // [EOC]
15 ?>
16 <div id="user_name_div" class="block_cell">
17         Spielername: <span id="user_name">{?block_username?}</span>
18 </div>
19 <div id="user_status_div" class="block_cell">
20         Spielerstatus: <span id="user_status">{?block_user_status?}</span>
21 </div>
22 <div id="user_points_div" class="block_cell">
23         Kontostand: <span id="user_points">{?block_points?} {?currency?}</span>
24 </div>
25 <div id="user_profile_div" class="block_cell">
26         {?profile?}
27 </div>
28 <div id="user_registered_div" class="block_cell">
29         Angemeldet seit: <span id="registered">{?block_registered?}</span>
30 </div>