elitepvpers

elitepvpers (https://www.elitepvpers.com/forum/)
-   DarkOrbit (https://www.elitepvpers.com/forum/darkorbit/)
-   -   [Collection Thread] Private Server Info and Support Thread (https://www.elitepvpers.com/forum/darkorbit/2830133-private-server-info-support-thread.html)

steppdroid 11/03/2014 19:56

Quote:

Originally Posted by linkpad (Post 30077222)
I hope you at least let my credits there ;)

Some Linkpad! we are all grateful for this share :handsdown:

Quote:

Originally Posted by linkpad (Post 30077222)
I hope you at least let my credits there ;)

I have fix this :) also the section donate :)

[IMG=expandable: 1]http://i61.tinypic.com/2006mb.png[/IMG]

supraturbo92 11/04/2014 16:32

hi evey 1 how do i change orbit reborn logo i can find it anywhere when i inspect element it dosent come up whith any picture [Only registered and activated users can see links. Click Here To Register...] thanks for ur time ow and also in game it ses wellcome to rebourn in the chat

cosminbux 11/04/2014 17:58

Quote:

Originally Posted by linkpad (Post 30077222)
I hope you at least let my credits there ;)

how to start spaceball?

steppdroid 11/04/2014 18:03

Quote:

Originally Posted by cosminbux (Post 30086045)
how to start spaceball?

in chat /create_spaceball

bobn171 11/05/2014 00:09

Guys, i need some help..

i'm developing a server from 0, and i've a problem... I need to the exact position of each player to check if is in portal range, or atack range, whatever... I mean, i need to know the position every 0.5 sec (for example) while the player is flying..
There is a packet or something that returns to the server the posision of each player?

Requi 11/05/2014 05:33

Quote:

Originally Posted by bobn171 (Post 30090136)
Guys, i need some help..

i'm developing a server from 0, and i've a problem... I need to the exact position of each player to check if is in portal range, or atack range, whatever... I mean, i need to know the position every 0.5 sec (for example) while the player is flying..
There is a packet or something that returns to the server the posision of each player?

Add me on skype please. Will help you logical. Because there is no need to check it all the time.

bobn171 11/05/2014 10:13

Quote:

Originally Posted by Requi (Post 30090837)
Add me on skype please. Will help you logical. Because there is no need to check it all the time.

Thank you requi :D

YURI-ELIADE.ITALY 11/05/2014 21:28

please someone has code to set the maps on aurora cms oneultimate?

[Only registered and activated users can see links. Click Here To Register...]

Puma<3 11/06/2014 22:36

[Only registered and activated users can see links. Click Here To Register...]

shooteram 11/06/2014 22:43

Quote:

Originally Posted by Puma<3 (Post 30108579)
[Only registered and activated users can see links. Click Here To Register...]

The backlink to elitepvpers isn't set.
Your actual html code:
Code:

<a href="#"><div class="epvp_logo"></div></a>
The code that you should have to respect the rules of elitepvpers:
Code:

<a href="http://www.elitepvpers.com/forum" target="_blank"><div class="epvp_logo"></div></a>

MS-Colder 11/07/2014 03:56

link for statu server

Requi 11/07/2014 05:20

[Only registered and activated users can see links. Click Here To Register...]
If anybody needs an Vector class in Java. quickly threw that stuff in np++. Probably some things are wrong. If you're familiar with Java. Correct it :p

bobn171 11/07/2014 09:55

Quote:

Originally Posted by Requi (Post 30110103)
[Only registered and activated users can see links. Click Here To Register...]
If anybody needs an Vector class in Java. quickly threw that stuff in np++. Probably some things are wrong. If you're familiar with Java. Correct it :p

I think that i correct it right [Only registered and activated users can see links. Click Here To Register...]

Luffa 11/07/2014 10:24

I repost this here, cause the other so called thread about it should be closed:
[Only registered and activated users can see links. Click Here To Register...]

My last post about it:
Quote:

Originally Posted by Βau (Post 29557965)
To all the hard working developers.

I've ripped of all GG parts, and here is the result.

[Only registered and activated users can see links. Click Here To Register...]
If you don't know how to use them, then don't ask -.-

Best Regards Bau

Found here: [Only registered and activated users can see links. Click Here To Register...]

Simple Gate Script for making the parts look like the gate.
If you don't know how to use it or do php just don't copy it nor ask about it.

PHP Code:

<?php
header
('Content-Type: image/png');
if(isset(
$_GET['gate']) && !empty($_GET['gate'])){
    
$id $_GET['gate'];
}else{
    
$id 1;
}
if(isset(
$_GET['p']) && !empty($_GET['p'])){    
    
$a $_GET['p'];;
}else{
    
$a 0;
}
$width 235;
$height 290;


$img imagecreatetruecolor($width$height);
imagesavealpha($imgtrue);
$color imagecolorallocatealpha($img000127);
imagefill($img00$color);

for(
$i =1$i<$a$i++){        
    
$top_image imagecreatefrompng("gates/gate".$id."/gate_".$id."_".$i.".png"); // edit the url so it fits your image location
    
imagecopy($img$top_image0000$width$height);
}

imagepng($img);
imagedestroy($img);
?>


I nearly forgot all about this gg thing i had going.

Best Regards Bau

bobn171 11/07/2014 10:50

Thanks Bau, i seen that post before but i didn't tell you, good job, as always

steppdroid 11/07/2014 15:28

Add img Rank
 
How Add img Rank in hall of fame?

PHP Code:

<?php
                    $i 
0;
                    foreach (
$this->hall_of_fame as $key => $value) {
                        
$i++;
                        echo 
'<tr>';
                        echo 
'<td class="id">'.$i.'.</td>';
                        echo 
'<td class="username">'.$this->hall_of_fame[$key]['username'].'</td>';
                        echo 
'<td class="point">'.$this->hall_of_fame[$key]['user_kill'].'</td>';
                        echo 
'</tr>';
                    }

                
?>

the variable rank is "grade" .

ioryblood70 11/07/2014 17:25

alguno me ayudaria a montarlo en version latina lo e echo con otros tutos pero el pack viene con demaciados errores si alguien tiene los files mejor me comentan porfa [Only registered and activated users can see links. Click Here To Register...]

manulaiko3.0 11/07/2014 17:56

Quote:

Originally Posted by ioryblood70 (Post 30114580)
alguno me ayudaria a montarlo en version latina lo e echo con otros tutos pero el pack viene con demaciados errores si alguien tiene los files mejor me comentan porfa [Only registered and activated users can see links. Click Here To Register...]

Aprende a programar y corrige los errores por tu cuenta, nada es gratis

Quote:

Originally Posted by steppdroid (Post 30113319)
How Add img Rank in hall of fame?

PHP Code:

<?php
                    $i 
0;
                    foreach (
$this->hall_of_fame as $key => $value) {
                        
$i++;
                        echo 
'<tr>';
                        echo 
'<td class="id">'.$i.'.</td>';
                        echo 
'<td class="username">'.$this->hall_of_fame[$key]['username'].'</td>';
                        echo 
'<td class="point">'.$this->hall_of_fame[$key]['user_kill'].'</td>';
                        echo 
'</tr>';
                    }

                
?>

the variable rank is "grade" .

PHP Code:

<?php
                    $i 
0;
                    foreach (
$this->hall_of_fame as $key => $value) {
                        
$i++;
                        echo 
'<tr>';
                        echo 
'<td class="id">'.$i.'.</td>';
                        echo 
'<td class="username">'.$this->hall_of_fame[$key]['username'].'</td>';
                        echo 
'<td class="point">'.$this->hall_of_fame[$key]['user_kill'].'</td>';
                        echo 
'<td class="rank"><img src="do_img/global/ranks/rank_'.$this->hall_of_fame[$key]["grade"].'.gif" /></td>';
                        echo 
'</tr>';
                    }

                
?>

Isn't really hard -.-

steppdroid 11/07/2014 18:22

Quote:

Originally Posted by manulaiko3.0 (Post 30114952)
Aprende a programar y corrige los errores por tu cuenta, nada es gratis



PHP Code:

<?php
                    $i 
0;
                    foreach (
$this->hall_of_fame as $key => $value) {
                        
$i++;
                        echo 
'<tr>';
                        echo 
'<td class="id">'.$i.'.</td>';
                        echo 
'<td class="username">'.$this->hall_of_fame[$key]['username'].'</td>';
                        echo 
'<td class="point">'.$this->hall_of_fame[$key]['user_kill'].'</td>';
                        echo 
'<td class="rank"><img src="do_img/global/ranks/rank_'.$this->hall_of_fame[$key]["grade"].'.gif" /></td>';
                        echo 
'</tr>';
                    }

                
?>

Isn't really hard -.-

no work..
Notice: Undefined index: grade in C:\wamp\www\views\internalStart\index.php

manulaiko3.0 11/07/2014 18:29

Quote:

Originally Posted by steppdroid (Post 30115199)
no work..
Notice: Undefined index: grade in C:\wamp\www\views\internalStart\index.php

You should learn programming before making a private server
Change
PHP Code:

$this->hall_of_fame[$key]["grade"

with the name of the rank variable

steppdroid 11/07/2014 18:31

Quote:

Originally Posted by manulaiko3.0 (Post 30115296)
You should learn programming before making a private server
Change
PHP Code:

$this->hall_of_fame[$key]["grade"

with the name of the rank variable

The rank variable is "grade" !

manulaiko3.0 11/07/2014 18:32

Quote:

Originally Posted by steppdroid (Post 30115316)
The rank variable is "grade" !

So?
I don't know if it's $this->grade, $grade, $this->hall_of_fame->grade...
It's your work to edit it

steppdroid 11/07/2014 18:38

Quote:

Originally Posted by manulaiko3.0 (Post 30115340)
So?
I don't know if it's $this->grade, $grade, $this->hall_of_fame->grade...
It's your work to edit it

This is my index.php

Spoiler:
PHP Code:

    <?php
        
if (isset($this->js))
        {
            foreach (
$this->js as $js
            {
                echo 
'<script type="text/javascript" src="'.URL.'views/'.$js.'"></script>';
            }
        }
            
    
?>
    <script type="text/javascript" src="./public/js/jquery.colorbox.js"></script>
    <script src="//cdn.rawgit.com/hilios/jQuery.countdown/2.0.4/dist/jquery.countdown.min.js"></script>
    <link type="text/css" href="public/css/internalStart.css?id=1" rel="stylesheet" media="all" />
    <script>
    function openMiniMap()
    {
        console.log("works");
        window.open('<?php echo URL?>internalMap', '_blank', 'width=1280,height=900');
    }



        $(function()
        {
            var fullDate = new Date();
            var correctMonth = fullDate.getMonth()+1;
            var twoDigitMonth = correctMonth+"";if(twoDigitMonth.length==1)  twoDigitMonth="0" +twoDigitMonth;
            var twoDigitDate = fullDate.getDate()+"";if(twoDigitDate.length==1) twoDigitDate="0" +twoDigitDate;
            var currentDate = fullDate.getFullYear() + "/" + twoDigitMonth + "/" + twoDigitDate;

            $('#clock').countdown(currentDate + " 21:00:00", function(event) {
                var totalHours = event.offset.totalDays * 24 + event.offset.hours;
                $(this).html(event.strftime(totalHours + ' hr %M min %S sec'));
            });


        });



    </script>
        <div style="display: none">
        <div id="edit_account" style="padding: 10px 0 10px 0; height: 100px">
            <center>
            <p id="errorMessage"></p>
            <form id="edit_account_form" action="<?php echo URL.'internalStart/EditAccount'?>" method="post">
            <ul style="list-style: none;">
                <li>
                    <label for="">Username : </label><input name="username" type="text" value="<?php echo Auth::getUser('username'); ?>">
                </li>
                <br>
                <input type="submit" value="Edit username">
            </ul>
                
            </form>
            </center>
        </div>
        </div>

        <div id="left_start">
            
        </div>
        <div id="mainContentStart">
            <div id="breaking_news">
                <B>WELCOME TO ELITE\/SERVER!</B>
                <BR>
                <BR>
                1)BUY YOUR SHIP
                <BR>
                2)BUY YOU DESIGN
                <BR>
                3)CONFIG IT IN HANGAR
                <BR>
                4)START!
                <BR>
                <BR>
                NO EVENT  <span id="clock"></span></B><br><br>
                Problems? go to the HELP section
            </div>
            <div id="user_infos">
                <ul>
                    <li>
                        <label for="">Username :</label><span id="username"><?php echo Auth::getUser('username'); ?></span>
                    </li>
                    <li>
                        <label for="server">Server :</label><span id="server">ELITE\/SERVER</span>
                    </li>
                    <li>
                        <label for="rank">Rank :</label><span id="rank"><img src="http://do-test.a.bpcdn.net/do_img/global/ranks/rank_<?php echo Auth::getUser('grade'); ?>.png"></span>
                    </li>
                    <li>
                        <label for="premium">Premium :</label><span id="premium">Yes</span>
                    </li>
                    <li>
                        <label for="level">Level :</label><span id="level">10</span>
                    </li>
                    <li>
                        <label for="company">Company :</label><span id="company"><?php if (Auth::getUser('factionid') == 1) { echo 'MMO'; } else if (Auth::getUser('factionid') == 2) { echo 'EIC'; } else if (Auth::getUser('factionid') == 3) { echo 'VRU'; } ?></span>
                    </li>

                </ul>
                <span class="menu"><a id="edit_account_link" href="#">Edit Username</a></span>
            </div>
            <div id="hall_of_fame">
                <table>
<?php
                    $i 
0;
                    foreach (
$this->hall_of_fame as $key => $value) {
                        
$i++;
                        echo 
'<tr>';
                        echo 
'<td class="id">'.$i.'.</td>';
                        echo 
'<td class="username">'.$this->hall_of_fame[$key]['username'].'</td>';
                        echo 
'<td class="point">'.$this->hall_of_fame[$key]['user_kill'].'</td>';
                        echo 
'</tr>';
                    }

                
?>
                </table>
                 <span class="menu" style="font-size: 10px">You've killed <?php echo Auth::getUser('user_kill'); ?> players</span>
             
            </div>
            <div id="logbook">
                <div class="scroll-panel">
                    <p>
                        <?php
                            
foreach ($this->logbook as $key => $value
                            {
                                echo 
$this->logbook[$key]['timestamp'].'<br>'.$this->logbook[$key]['message'].'<br><br>';
                            }
                        
?>
                    </p>
                </div>
            </div>
        </div>


Chanhy 11/07/2014 19:51

PLS Download link in ELITE\/SERVER :) Thx

bobn171 11/07/2014 20:16

Quote:

Originally Posted by steppdroid (Post 30115399)
This is my index.php

Spoiler:
PHP Code:

    <?php
        
if (isset($this->js))
        {
            foreach (
$this->js as $js
            {
                echo 
'<script type="text/javascript" src="'.URL.'views/'.$js.'"></script>';
            }
        }
            
    
?>
    <script type="text/javascript" src="./public/js/jquery.colorbox.js"></script>
    <script src="//cdn.rawgit.com/hilios/jQuery.countdown/2.0.4/dist/jquery.countdown.min.js"></script>
    <link type="text/css" href="public/css/internalStart.css?id=1" rel="stylesheet" media="all" />
    <script>
    function openMiniMap()
    {
        console.log("works");
        window.open('<?php echo URL?>internalMap', '_blank', 'width=1280,height=900');
    }



        $(function()
        {
            var fullDate = new Date();
            var correctMonth = fullDate.getMonth()+1;
            var twoDigitMonth = correctMonth+"";if(twoDigitMonth.length==1)  twoDigitMonth="0" +twoDigitMonth;
            var twoDigitDate = fullDate.getDate()+"";if(twoDigitDate.length==1) twoDigitDate="0" +twoDigitDate;
            var currentDate = fullDate.getFullYear() + "/" + twoDigitMonth + "/" + twoDigitDate;

            $('#clock').countdown(currentDate + " 21:00:00", function(event) {
                var totalHours = event.offset.totalDays * 24 + event.offset.hours;
                $(this).html(event.strftime(totalHours + ' hr %M min %S sec'));
            });


        });



    </script>
        <div style="display: none">
        <div id="edit_account" style="padding: 10px 0 10px 0; height: 100px">
            <center>
            <p id="errorMessage"></p>
            <form id="edit_account_form" action="<?php echo URL.'internalStart/EditAccount'?>" method="post">
            <ul style="list-style: none;">
                <li>
                    <label for="">Username : </label><input name="username" type="text" value="<?php echo Auth::getUser('username'); ?>">
                </li>
                <br>
                <input type="submit" value="Edit username">
            </ul>
                
            </form>
            </center>
        </div>
        </div>

        <div id="left_start">
            
        </div>
        <div id="mainContentStart">
            <div id="breaking_news">
                <B>WELCOME TO ELITE\/SERVER!</B>
                <BR>
                <BR>
                1)BUY YOUR SHIP
                <BR>
                2)BUY YOU DESIGN
                <BR>
                3)CONFIG IT IN HANGAR
                <BR>
                4)START!
                <BR>
                <BR>
                NO EVENT  <span id="clock"></span></B><br><br>
                Problems? go to the HELP section
            </div>
            <div id="user_infos">
                <ul>
                    <li>
                        <label for="">Username :</label><span id="username"><?php echo Auth::getUser('username'); ?></span>
                    </li>
                    <li>
                        <label for="server">Server :</label><span id="server">ELITE\/SERVER</span>
                    </li>
                    <li>
                        <label for="rank">Rank :</label><span id="rank"><img src="http://do-test.a.bpcdn.net/do_img/global/ranks/rank_<?php echo Auth::getUser('grade'); ?>.png"></span>
                    </li>
                    <li>
                        <label for="premium">Premium :</label><span id="premium">Yes</span>
                    </li>
                    <li>
                        <label for="level">Level :</label><span id="level">10</span>
                    </li>
                    <li>
                        <label for="company">Company :</label><span id="company"><?php if (Auth::getUser('factionid') == 1) { echo 'MMO'; } else if (Auth::getUser('factionid') == 2) { echo 'EIC'; } else if (Auth::getUser('factionid') == 3) { echo 'VRU'; } ?></span>
                    </li>

                </ul>
                <span class="menu"><a id="edit_account_link" href="#">Edit Username</a></span>
            </div>
            <div id="hall_of_fame">
                <table>
<?php
                    $i 
0;
                    foreach (
$this->hall_of_fame as $key => $value) {
                        
$i++;
                        echo 
'<tr>';
                        echo 
'<td class="id">'.$i.'.</td>';
                        echo 
'<td class="username">'.$this->hall_of_fame[$key]['username'].'</td>';
                        echo 
'<td class="point">'.$this->hall_of_fame[$key]['user_kill'].'</td>';
                        echo 
'</tr>';
                    }

                
?>
                </table>
                 <span class="menu" style="font-size: 10px">You've killed <?php echo Auth::getUser('user_kill'); ?> players</span>
             
            </div>
            <div id="logbook">
                <div class="scroll-panel">
                    <p>
                        <?php
                            
foreach ($this->logbook as $key => $value
                            {
                                echo 
$this->logbook[$key]['timestamp'].'<br>'.$this->logbook[$key]['message'].'<br><br>';
                            }
                        
?>
                    </p>
                </div>
            </div>
        </div>


LOL this guy xD

steppdroid 11/07/2014 21:09

Quote:

Originally Posted by bobn171 (Post 30116397)
LOL this guy xD

LOL ?
I solved it :P
[Only registered and activated users can see links. Click Here To Register...]

seppeduplasers 11/08/2014 03:23

Can someone tell me were i have to to put my IP in the htdocs folder? Using Linkpads htdocs

Diаmonds 11/08/2014 09:39

Quote:

Originally Posted by steppdroid (Post 30116964)
LOL ?
I solved it :P
[Only registered and activated users can see links. Click Here To Register...]

So nice to hear that.
Then you can maybe share the way you did this... You're using files you didn't coded, you're asking lots of questions about them, and when you find a solution you don't share it?
That's just a few lines of php, not a whole file, that's not hard to copy them and paste them into your post.
Some people might be wondering how to do this, help them, as some people helped you :p

Chanhy 11/08/2014 10:15

Warning: fsockopen(): in C:\xampp\dorps\sockets\Class.Emulator.Updater.php on line 20
what problem ?

UND3RW0RLD 11/08/2014 11:52

Quote:

Originally Posted by TheDarkDiamonds (Post 30120477)
So nice to hear that.
Then you can maybe share the way you did this... You're using files you didn't coded, you're asking lots of questions about them, and when you find a solution you don't share it?
That's just a few lines of php, not a whole file, that's not hard to copy them and paste them into your post.
Some people might be wondering how to do this, help them, as some people to helped you :p

101% agree with that. It's what a good community is about!

YURI-ELIADE.ITALY 11/08/2014 13:52

code to set the base on Aurora please

manulaiko3.0 11/08/2014 17:18

Quote:

Originally Posted by Chanhy (Post 30120676)
Warning: fsockopen(): in C:\xampp\dorps\sockets\Class.Emulator.Updater.php on line 20
what problem ?

That class was made to update the emulator stats throught socket instead of MySQL because once the emulator was started if an user registered the emulator wouldn't recognize that account and will give an error, you can just ignore it

Chanhy 11/08/2014 21:02

pls emulator is DarkOrbit Remix PS 3.0 [Beta Release] :)

Requi 11/08/2014 22:28

Quote:

Originally Posted by manulaiko3.0 (Post 30124689)
That class was made to update the emulator stats throught socket instead of MySQL because once the emulator was started if an user registered the emulator wouldn't recognize that account and will give an error, you can just ignore it

Just asking. Why do you load everything at the start of the emulator and work with that, instead of using this query, if a user logs in:
SELECT ´name´ FROM ´accounts´ WHERE ´userid´= packetParser.getInt() AND ´sessionid` = packetParser.getString()

If you understand what I mean. If you do it with everything, which has to be initialized when the user logs in or has to be updated directly, no ammo can get lost, no error while logging in and so on.

YURI-ELIADE.ITALY 11/08/2014 22:38

help me plz

Puma<3 11/08/2014 23:13

I have yet the vps server but i dont know what i must change on emulator anyone can help me :/ ?

steppdroid 11/09/2014 14:21

At the end of the shift signature remains stuck at a blank page localhost/changeFirm/Update.
how do I get it back to localhost/changeFirm. ?

PHP Code:

<?php

$currentFirm 
Auth::getUser('factionid');
$array_faction = array(=> 'Mars Mining Operations (MMO)'=> 'Earth Industries Corporation (EIC)'=> 'Venus Resources Unlimited (VRU)');

?>
    <link type="text/css" href="public/css/changeFirm.css" rel="stylesheet" media="all" />
    <script>
    function openMiniMap()
    {
        console.log("works");
        window.open('<?php echo URL?>internalMap', '_blank', 'width=1280,height=900');
    }
    </script>
        <div id="left_start">
            
        </div>
        <div id="mainContentFirm">
            <div class="title"></div>
            <div class="currentFirm">
            <img src="<?php echo URL;?>public/images/faction<?php echo $currentFirm ?>.jpg">
            <span class="name"><?php echo $array_faction[$currentFirm]; unset($array_faction[$currentFirm]); ?></span>
            </div>
            <div class="infosFirm">
            <?php
                $members_count 
0;
                
$kill_count 0;
                foreach (
$this->FirmInfos as $key => $value) {
                    
$members_count += 1;
                    
$kill_count += $this->FirmInfos[$key]['user_kill'];
                }
            
?>
            <span>Members: <?php echo $members_count?></span><br>
            <span>Ships destroyed: <?php echo $kill_count?></span>
            </div>
            <div class="changeFirm">
            <?php
                $first 
0;
                foreach (
$array_faction as $key => $value
                {
                    if (
$first == 0)
                    {
                        echo 
'<form action="'.URL.'changeFirm/Update" method="post">';
                        echo 
'<input type="hidden" name="factionid" value="'.$key.'">';
                        echo 
'<input type="submit" class="faction'.$key.'" value="">';
                        echo 
'</form>';
                        echo 
'<span>Switch FIRM</span>';
                        
$first 1;
                    }
                    else
                    {
                        echo 
'<form action="'.URL.'changeFirm/Update" method="post">';
                        echo 
'<input type="hidden" name="factionid" value="'.$key.'">';
                        echo 
'<input type="submit" class="faction'.$key.'" value="" style="float: right;">';
                        echo 
'</form>';
                    }
                }
                
?>
            </div>
        </div>


cryz35 11/09/2014 16:02

Quote:

Originally Posted by steppdroid (Post 30133069)
At the end of the shift signature remains stuck at a blank page localhost/changeFirm/Update.
how do I get it back to localhost/changeFirm. ?

PHP Code:

<?php

$currentFirm 
Auth::getUser('factionid');
$array_faction = array(=> 'Mars Mining Operations (MMO)'=> 'Earth Industries Corporation (EIC)'=> 'Venus Resources Unlimited (VRU)');

?>
    <link type="text/css" href="public/css/changeFirm.css" rel="stylesheet" media="all" />
    <script>
    function openMiniMap()
    {
        console.log("works");
        window.open('<?php echo URL?>internalMap', '_blank', 'width=1280,height=900');
    }
    </script>
        <div id="left_start">
            
        </div>
        <div id="mainContentFirm">
            <div class="title"></div>
            <div class="currentFirm">
            <img src="<?php echo URL;?>public/images/faction<?php echo $currentFirm ?>.jpg">
            <span class="name"><?php echo $array_faction[$currentFirm]; unset($array_faction[$currentFirm]); ?></span>
            </div>
            <div class="infosFirm">
            <?php
                $members_count 
0;
                
$kill_count 0;
                foreach (
$this->FirmInfos as $key => $value) {
                    
$members_count += 1;
                    
$kill_count += $this->FirmInfos[$key]['user_kill'];
                }
            
?>
            <span>Members: <?php echo $members_count?></span><br>
            <span>Ships destroyed: <?php echo $kill_count?></span>
            </div>
            <div class="changeFirm">
            <?php
                $first 
0;
                foreach (
$array_faction as $key => $value
                {
                    if (
$first == 0)
                    {
                        echo 
'<form action="'.URL.'changeFirm/Update" method="post">';
                        echo 
'<input type="hidden" name="factionid" value="'.$key.'">';
                        echo 
'<input type="submit" class="faction'.$key.'" value="">';
                        echo 
'</form>';
                        echo 
'<span>Switch FIRM</span>';
                        
$first 1;
                    }
                    else
                    {
                        echo 
'<form action="'.URL.'changeFirm/Update" method="post">';
                        echo 
'<input type="hidden" name="factionid" value="'.$key.'">';
                        echo 
'<input type="submit" class="faction'.$key.'" value="" style="float: right;">';
                        echo 
'</form>';
                    }
                }
                
?>
            </div>
        </div>


[Only registered and activated users can see links. Click Here To Register...]
Or js history.back(-1)
Dude cmon, if you don't know the basics of html why do you even work on it, it's like writing "how do I write?" < (not troll)

UND3RW0RLD 11/09/2014 16:45

I just wait for the question: How can I make color of texts red in the news. lol

steppdroid 11/09/2014 19:16

Quote:

Originally Posted by cryz35 (Post 30134133)
[Only registered and activated users can see links. Click Here To Register...]
Or js history.back(-1)
Dude cmon, if you don't know the basics of html why do you even work on it, it's like writing "how do I write?" < (not troll)

I do not understand why you answered here too .. (16:02)
saw that you had read that I had solved. ;)

H 15:17 pm [Only registered and activated users can see links. Click Here To Register...] with your answer at H 15:51 pm

[Only registered and activated users can see links. Click Here To Register...]


All times are GMT +2. The time now is 02:17.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.