예제 #1
0
파일: map.php 프로젝트: Lokke/dsconnect
        
        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)
예제 #2
0
파일: edit.php 프로젝트: Lokke/dsconnect
" />
            
            <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>
        
예제 #3
0
?>
 (<?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");
예제 #4
0
" 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');
예제 #5
0
파일: search.php 프로젝트: Lokke/dsconnect
    <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');
예제 #6
0
        }
        $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");
예제 #7
0
파일: generic.php 프로젝트: Lokke/dsconnect
                <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() {
예제 #8
0
파일: header.php 프로젝트: Lokke/dsconnect
"><?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');
예제 #9
0
    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");
예제 #10
0
 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>';
 }