webhostingtalk.nl
advertentie
advertentie

Evenementen voor de komende 60 Dag(en)

Resultaten 1 tot 5 van de 5
          

  1.  
    #1
    geregistreerd gebruiker
    276 Berichten
    Ingeschreven
    13/12/06

    Locatie
    Deventer

    0 Berichten zijn liked

    dark1990 is offline.


    Tournament script ORDER probleem

    Beste webhostingtalkers,

    Wij zijn op het moment bezig met cup hij is bijna afgelope alleen hij soteerd niet goed hij soteerd op EFF in %
    en hij moet soteren op Frags

    http://www.cup.nod-clan.nl/index.php...tats&view=team

    Kan iemand mij helpen

    script :

    <?php

    echo kml_line('T', msg('cls_stats'));
    if(count($stats)>0){
    ?>
    <table cellspacing="1" cellpadding="5" class="tab_brdr">
    <tr><td></td>
    <td class="tab_head2"><?php echo msg('team'); ?></td>
    <td class="tab_head3"><?php echo msg('eff'); ?></td>
    <td class="tab_head3"><?php echo msg('matches'); ?></td>
    <td class="tab_head3"><?php echo msg('maps'); ?></td>
    <td class="tab_head3"><?php echo msg('frags2'); ?></td>
    <td class="tab_head3"><?php echo msg('deaths2'); ?></td>
    <td class="tab_head3"><?php echo msg('net'); ?></td>
    <td class="tab_head2"><?php echo msg('m_frg2'); ?></td>
    <td class="tab_head2"><?php echo msg('m_dts2'); ?></td>
    <td class="tab_head2"><?php echo msg('details', 'c'); ?></td></tr>
    <?php
    $lk = 0;
    $eff = '';
    foreach($stats as $id_team=>$stat){
    ++$lk;
    ?>
    <tr class="content2"><td class="bold"><?php
    if($stat['eff']!=$eff) echo $lk;
    ?></td>
    <td class="content1">
    <?php echo kml_team($id_team, $stat); ?>

    </td>
    <td class="right"><?php echo round($stat['eff'],2); ?>%</td>
    <td class="right"><?php echo $stat['matches']; ?></td>
    <td class="right"><?php echo $stat['maps']; ?></td>
    <td class="right"><?php echo $stat['frags']; ?></td>
    <td class="right"><?php echo $stat['deaths']; ?></td>
    <td class="right"><?php echo $stat['fragDeath']; ?></td>
    <td class="right"><?php echo round($stat['fragMap']); ?></td>
    <td class="right"><?php echo round($stat['deathMap']); ?></td>
    <td class="content2"><a class="tab_link2" href="<?php echo KML_LINK_WEB; ?>&amp;mod=team&amp;view=details&amp;no=<?php echo $id_team; ?>&amp;act=stats">&raquo;</a></td></tr>
    <?php
    $eff = $stat['frags'];
    }
    ?>
    </table>
    <br/>
    <table cellspacing="1" cellpadding="5" class="tab_brdr">
    <tr><td></td><td class="tab_head3"><?php echo msg('most'); ?></td>
    <td class="tab_head3"><?php echo msg('least'); ?></td></tr>
    <tr class="content1"><td class="tab_head2"><?php echo msg('matches'); ?></td>
    <td class="content1"><?php echo kml_team($summary['matches_best'], $stats[$summary['matches_best']]); ?> (<?php echo round($stats[$summary['matches_best']]['matches']); ?>)</td>
    <td class="content1"><?php echo kml_team($summary['matches_worse'], $stats[$summary['matches_worse']]); ?> (<?php echo round($stats[$summary['matches_worse']]['matches']); ?>)</td></tr>
    <tr class="content1"><td class="tab_head2"><?php echo msg('maps'); ?></td>
    <td class="content1"><?php echo kml_team($summary['maps_best'], $stats[$summary['maps_best']]); ?> (<?php echo round($stats[$summary['matches_best']]['maps']); ?>)</td>
    <td class="content1"><?php echo kml_team($summary['maps_worse'], $stats[$summary['maps_worse']]); ?> (<?php echo round($stats[$summary['maps_worse']]['maps']); ?>)</td></tr>
    <tr class="content1"><td class="tab_head2"><?php echo msg('frags2'); ?></td>
    <td class="content1"><?php echo kml_team($summary['frags_best'], $stats[$summary['frags_best']]); ?> (<?php echo round($stats[$summary['frags_best']]['frags']); ?>)</td>
    <td class="content1"><?php echo kml_team($summary['frags_worse'], $stats[$summary['frags_worse']]); ?> (<?php echo round($stats[$summary['frags_worse']]['frags']); ?>)</td></tr>
    <tr class="content1"><td class="tab_head2"><?php echo msg('deaths2'); ?></td>
    <td class="content1"><?php echo kml_team($summary['deaths_best'], $stats[$summary['deaths_best']]); ?> (<?php echo round($stats[$summary['deaths_best']]['deaths']); ?>)</td>
    <td class="content1"><?php echo kml_team($summary['deaths_worse'], $stats[$summary['deaths_worse']]); ?> (<?php echo round($stats[$summary['deaths_worse']]['deaths']); ?>)</td></tr>
    <tr class="content1"><td class="tab_head2"><?php echo msg('net'); ?></td>
    <td class="content1"><?php echo kml_team($summary['fragDeath_best'], $stats[$summary['fragDeath_best']]); ?> (<?php echo round($stats[$summary['fragDeath_best']]['fragDeath']); ?>)</td>
    <td class="content1"><?php echo kml_team($summary['fragDeath_worse'], $stats[$summary['fragDeath_worse']]); ?> (<?php echo round($stats[$summary['fragDeath_worse']]['fragDeath']); ?>)</td></tr>
    <tr><td class="tab_head2"><?php echo msg('m_frg2'); ?></td>
    <td class="content1"><?php echo kml_team($summary['fragMap_best'], $stats[$summary['fragMap_best']]); ?> (<?php echo round($stats[$summary['fragMap_best']]['fragMap']); ?>)</td>
    <td class="content1"><?php echo kml_team($summary['fragMap_worse'], $stats[$summary['fragMap_worse']]); ?> (<?php echo round($stats[$summary['fragMap_worse']]['fragMap']); ?>)</td></tr>
    <tr><td class="tab_head2"><?php echo msg('m_dts2'); ?></td>
    <td class="content1"><?php echo kml_team($summary['deathMap_best'], $stats[$summary['deathMap_best']]); ?> (<?php echo round($stats[$summary['deathMap_best']]['deathMap']); ?>)</td>
    <td class="content1"><?php echo kml_team($summary['deathMap_worse'], $stats[$summary['deathMap_worse']]); ?> (<?php echo round($stats[$summary['deathMap_worse']]['deathMap']); ?>)</td></tr>
    </table>
    <?php
    }else{
    ?><div class="actionInfo"><?php echo msg('no_matches'); ?></div><?php
    }
    echo kml_line();

    ?>


  2.  
    #2
    geregistreerd gebruiker
    1.702 Berichten
    Ingeschreven
    03/01/07

    Locatie
    Winschoten / Groningen

    1 Berichten zijn liked

    ichosting is offline.

    Naam: Kobus Draijer
    Bedrijf: IC Hosting
    Registrar SIDN: ja
    KvK nummer: 02079831
    Ondernemingsnummer: nvt

    Zet die code even tussen [code] tags als je wilt. Dat leest wat makkelijker


  3.  
    #3
    geregistreerd gebruiker
    276 Berichten
    Ingeschreven
    13/12/06

    Locatie
    Deventer

    0 Berichten zijn liked

    dark1990 is offline.


    Code:
    <?php
    
            echo kml_line('T', msg('cls_stats'));
            if(count($stats)>0){
            ?>
            <table cellspacing="1" cellpadding="5" class="tab_brdr">
            <tr><td></td>
            <td class="tab_head2"><?php echo msg('team'); ?></td>
            <td class="tab_head3"><?php echo msg('eff'); ?></td>
            <td class="tab_head3"><?php echo msg('matches'); ?></td>
            <td class="tab_head3"><?php echo msg('maps'); ?></td>
            <td class="tab_head3"><?php echo msg('frags2'); ?></td>
            <td class="tab_head3"><?php echo msg('deaths2'); ?></td>
            <td class="tab_head3"><?php echo msg('net'); ?></td>
            <td class="tab_head2"><?php echo msg('m_frg2'); ?></td>
            <td class="tab_head2"><?php echo msg('m_dts2'); ?></td>
            <td class="tab_head2"><?php echo msg('details', 'c'); ?></td></tr>
            <?php
            $lk = 0;
            $eff = '';
            foreach($stats as $id_team=>$stat){
            ++$lk;
            ?>
            <tr class="content2"><td class="bold"><?php
            if($stat['eff']!=$eff) echo $lk;
            ?></td>
            <td class="content1">
            <?php echo kml_team($id_team, $stat); ?>
    
            </td>
            <td class="right"><?php echo round($stat['eff'],2); ?>%</td>
            <td class="right"><?php echo $stat['matches']; ?></td>
            <td class="right"><?php echo $stat['maps']; ?></td>
            <td class="right"><?php echo $stat['frags']; ?></td>
            <td class="right"><?php echo $stat['deaths']; ?></td>
            <td class="right"><?php echo $stat['fragDeath']; ?></td>
            <td class="right"><?php echo round($stat['fragMap']); ?></td>
            <td class="right"><?php echo round($stat['deathMap']); ?></td>
            <td class="content2"><a class="tab_link2" href="<?php echo KML_LINK_WEB; ?>&amp;mod=team&amp;view=details&amp;no=<?php echo $id_team; ?>&amp;act=stats">&raquo;</a></td></tr>
            <?php
            $eff = $stat['frags'];
            }
            ?>
            </table>
            <br/>
            <table cellspacing="1" cellpadding="5" class="tab_brdr">
            <tr><td></td><td class="tab_head3"><?php echo msg('most'); ?></td>
            <td class="tab_head3"><?php echo msg('least'); ?></td></tr>
            <tr class="content1"><td class="tab_head2"><?php echo msg('matches'); ?></td>
            <td class="content1"><?php echo kml_team($summary['matches_best'], $stats[$summary['matches_best']]); ?> (<?php echo round($stats[$summary['matches_best']]['matches']); ?>)</td>
            <td class="content1"><?php echo kml_team($summary['matches_worse'], $stats[$summary['matches_worse']]); ?> (<?php echo round($stats[$summary['matches_worse']]['matches']); ?>)</td></tr>
            <tr class="content1"><td class="tab_head2"><?php echo msg('maps'); ?></td>
            <td class="content1"><?php echo kml_team($summary['maps_best'], $stats[$summary['maps_best']]); ?> (<?php echo round($stats[$summary['matches_best']]['maps']); ?>)</td>
            <td class="content1"><?php echo kml_team($summary['maps_worse'], $stats[$summary['maps_worse']]); ?> (<?php echo round($stats[$summary['maps_worse']]['maps']); ?>)</td></tr>
            <tr class="content1"><td class="tab_head2"><?php echo msg('frags2'); ?></td>
            <td class="content1"><?php echo kml_team($summary['frags_best'], $stats[$summary['frags_best']]); ?> (<?php echo round($stats[$summary['frags_best']]['frags']); ?>)</td>
            <td class="content1"><?php echo kml_team($summary['frags_worse'], $stats[$summary['frags_worse']]); ?> (<?php echo round($stats[$summary['frags_worse']]['frags']); ?>)</td></tr>
            <tr class="content1"><td class="tab_head2"><?php echo msg('deaths2'); ?></td>
            <td class="content1"><?php echo kml_team($summary['deaths_best'], $stats[$summary['deaths_best']]); ?> (<?php echo round($stats[$summary['deaths_best']]['deaths']); ?>)</td>
            <td class="content1"><?php echo kml_team($summary['deaths_worse'], $stats[$summary['deaths_worse']]); ?> (<?php echo round($stats[$summary['deaths_worse']]['deaths']); ?>)</td></tr>
            <tr class="content1"><td class="tab_head2"><?php echo msg('net'); ?></td>
            <td class="content1"><?php echo kml_team($summary['fragDeath_best'], $stats[$summary['fragDeath_best']]); ?> (<?php echo round($stats[$summary['fragDeath_best']]['fragDeath']); ?>)</td>
            <td class="content1"><?php echo kml_team($summary['fragDeath_worse'], $stats[$summary['fragDeath_worse']]); ?> (<?php echo round($stats[$summary['fragDeath_worse']]['fragDeath']); ?>)</td></tr>
            <tr><td class="tab_head2"><?php echo msg('m_frg2'); ?></td>
            <td class="content1"><?php echo kml_team($summary['fragMap_best'], $stats[$summary['fragMap_best']]); ?> (<?php echo round($stats[$summary['fragMap_best']]['fragMap']); ?>)</td>
            <td class="content1"><?php echo kml_team($summary['fragMap_worse'], $stats[$summary['fragMap_worse']]); ?> (<?php echo round($stats[$summary['fragMap_worse']]['fragMap']); ?>)</td></tr>
            <tr><td class="tab_head2"><?php echo msg('m_dts2'); ?></td>
            <td class="content1"><?php echo kml_team($summary['deathMap_best'], $stats[$summary['deathMap_best']]); ?> (<?php echo round($stats[$summary['deathMap_best']]['deathMap']); ?>)</td>
            <td class="content1"><?php echo kml_team($summary['deathMap_worse'], $stats[$summary['deathMap_worse']]); ?> (<?php echo round($stats[$summary['deathMap_worse']]['deathMap']); ?>)</td></tr>
            </table>
            <?php
            }else{
            ?><div class="actionInfo"><?php echo msg('no_matches'); ?></div><?php
            }
            echo kml_line();
    
            ?>

  4. advertentie



  5.  
    #4
    geregistreerd gebruiker
    276 Berichten
    Ingeschreven
    13/12/06

    Locatie
    Deventer

    0 Berichten zijn liked

    dark1990 is offline.


    Misschien ander bestand

    misschien zit het ook wel in een ander bestand ik hoop hier verder te komen


  6.  
    #5
    geregistreerd gebruiker
    326 Berichten
    Ingeschreven
    15/02/04

    Locatie
    Buenos Aires

    19 Berichten zijn liked

    Paul Z. is offline.


    Er vanuit gaand dat je iets van MySQL gebruikt voor de data opslag, gaat het fout bij het ophalen van de data uit de database. (Meer precies, waar "$idteam" wordt gevuld met data)


Gelijkaardige Onderwerpen

  1. Unreal Tournament op linux
    Door WH-Tim in forum Gameservers Algemeen
    Reacties: 7
    Laatste Bericht: 09/10/07, 18:08
  2. Geautomatiseerd invoice, order, whois, etc script
    Door peppie in forum Techniek & Beveiliging
    Reacties: 3
    Laatste Bericht: 01/06/06, 00:03
  3. Gameserver Gezocht (Unreal Tournament (99))
    Door Anoniem in forum Aanbiedingen Gezocht
    Reacties: 2
    Laatste Bericht: 31/01/05, 15:23
  4. [PHP] Order-in-line script ?
    Door ikkepik in forum Scripting en programmeren
    Reacties: 2
    Laatste Bericht: 20/01/05, 06:19
  5. Unreal tournament
    Door Inge in forum Lounge
    Reacties: 5
    Laatste Bericht: 24/05/04, 20:09

Forum Rechten

  • Je mag geen nieuwe onderwerpen plaatsen
  • Je mag geen reacties plaatsen
  • Je mag geen bijlagen toevoegen
  • Je mag jouw berichten niet wijzigen
  •  



webhostingtalk.nl
Webhostingtalk.nl © copyright 2001-2013 Alle Rechten Gereserveerd.

Content Relevant URLs by vBSEO 3.6.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75