function add_markup(id, name, color, type, desc) { currentlyMarked[id] = {'id': id, 'color': color, 'name': name, 'type': type}; var tr = $('<tr>'); $('#markupTable').append(tr); tr.attr('id', 'markup_' + id); tr.append( $('<td>').css('background-color', color).text(' '), $('<td>').text(desc + ': ' + name), $('<td>').html('<?php echo ui_ficon('cross'); ?> ').css('cursor', 'pointer').click( (function(killID) { return function() { remove_markup(killID) } })(id) ) ); } function remove_markup(id) { currentlyMarked[id] = undefined; $('#markup_' + id).remove(); } function create_markup(type, desc)
" /> <h3><?php echo lang('attack_note'); ?> </h3> <?php echo form_textarea('note'); ?> <h3></h3> <button id="addBtn"> <?php echo ui_ficon('add'); ?> <?php echo lang('attack_tab_add'); ?> </button> <?php echo ui_button('addBtn'); ?> <?php echo form_close(); ?> </div>
?> (<?php echo anchor('usercp/change_world', lang('general_change')); ?> )</p> <a id="link_add" href="<?php echo Tw_import::get_tw_base_host($this->User->selected_world); ?> external_auth.php?sid=<?php echo $this->User->selected_world; ?> |<?php echo $this->User->api_hash; ?> &client=dsconn"> <?php echo ui_ficon('link_add', lang('accounts_connect_new_account')); ?> <?php echo lang('accounts_connect_new_account'); ?> </a> <?php echo ui_button("link_add"); ?> </div> <?php $this->load->view("basic/footer");
" id="new_status" name="post" /> <button id="new_status_btn"> <?php echo ui_ficon('newspaper_go', lang('messageboard_post')); ?> <?php echo lang('messageboard_post'); ?> <?php echo ui_loadicon(); ?> </button> <br /> <div id="visability"> <?php echo ui_ficon('eye', lang('messageboard_visible_for')); ?> <?php echo lang("messageboard_visible_all", 'vall'); ?> <input type="radio" name="visible" value="all" id="vall" /> <?php echo lang("messageboard_visible_world", 'vworld'); ?> <input type="radio" name="visible" value="world" id="vworld" checked="checked" /> <?php echo lang("messageboard_visible_ally", 'vally'); ?> <input type="radio" name="visible" value="ally" id="vally" /> <?php echo lang("messageboard_visible_me", 'vme');
<h2><?php echo lang('general_search'); ?> </h2> <?php echo ui_msgbox(lang('search_info')); ?> <?php echo form_open(''); ?> <input class="ui-widget ui-state-default ui-corner-all" style="width:400px;" type="text" value="" name="search" /> <button id="new_search"> <?php echo ui_ficon('magnifier', lang('general_search')); ?> <?php echo lang('general_search'); ?> <?php echo ui_loadicon(); ?> </button> <?php echo form_close(); ?> <div id="search_results" style="margin-top:30px;display:none;"> <h2><?php echo lang('search_results');
} $prev_lang = $curr_lang; echo '<h3><a href="#">' . $curr_lang . '</a></h3><div> <ul class="world_select">'; } ?> <li title="<?php echo $world; ?> " class="ui-state-default <?php if ($world == $this->User->selected_world) { echo 'ui-selected'; } ?> "> <?php echo ui_ficon("world", lang("general_world")); ?> <?php echo $world; ?> </li> <?php } ?> </div> </div> <?php $this->load->view("basic/footer");
<th colspan="2">Position auf der Karte</th> </tr> <tr> <td colspan="2" style="text-align:center;"> <canvas id="minimap" width="300" height="300"> Dein Browser unterstützt diese Karte leider nicht. Probiere es mit Google Chrome oder Firefox! ;-) </canvas> <br /> <a href="<?php echo site_url('tools/map/show/' . $map['center']['x'] . '/' . $map['center']['y'] . '/' . $map['scale']); ?> "> <?php echo ui_ficon('map_magnify'); ?> <?php echo lang('profile_view_big_map'); ?> </a> </td> </tr> </table> </div></div> </div> <script type="text/javascript"> $(function() {
"><?php echo lang('general_home'); ?> </a> <?php } else { ?> <a href="<?php echo site_url('usercp/login'); ?> "><?php echo lang('general_login'); ?> <?php echo ui_ficon('door_in'); ?> </a> <a href="<?php echo site_url('usercp/signup'); ?> "><?php echo lang('general_signup'); ?> </a> <a href="<?php echo site_url('home'); ?> "><?php echo lang('general_home');
echo site_url('tools/attack/edit/' . $plan['id']); ?> "> <?php echo htmlspecialchars($plan['desc']); ?> </a> </td> <td><?php echo date('d.m.Y', $plan['created_at']); ?> </td> <td> <a href="<?php echo site_url('tools/attack/delete/' . $plan['id']); ?> "> <?php echo ui_ficon('bin'); ?> </a> </td> </tr> <?php } ?> </table> </div> <?php $this->load->view("basic/footer");
function ui_iconbutton($name, $desc, $url) { return '<a href="' . $url . '" class="ui-state-default ui-corner-all ui-link-text">' . ui_ficon($name, $desc, true) . '</a>'; }