Changeset 109 for db/include/creep.php


Ignore:
Timestamp:
Oct 14, 2007, 1:35:47 PM (17 years ago)
Author:
hosiplan
Message:

+ možnost přihlásit se jako v minimanageru tzn. na herní ACC
+ jednoduchá administrace
+ správa bugů z bugreporter
+ export characteru
+ hledání creepů + jejich drop
+ úprava databáze

File:
1 edited

Legend:

Unmodified
Added
Removed
  • db/include/creep.php

    r84 r109  
    22if($vlozeni_souboru == "OK"){
    33?>
     4
     5  <script type="text/javascript">
     6    function Show_drop_drop(){
     7      document.getElementById('item_drop').style.display='table';
     8      document.getElementById('item_pickpocket').style.display='none';
     9      document.getElementById('item_skin').style.display='none';
     10      };
     11    function Show_drop_pickpocket(){
     12      document.getElementById('item_drop').style.display='none';
     13      document.getElementById('item_pickpocket').style.display='table';
     14      document.getElementById('item_skin').style.display='none';
     15      };
     16    function Show_drop_skin(){
     17      document.getElementById('item_drop').style.display='none';
     18      document.getElementById('item_pickpocket').style.display='none';
     19      document.getElementById('item_skin').style.display='table';
     20      };
     21  </script>
    422
    523<?php if( empty($sql_select['error']) ){ ?>
     
    725    <tr><td width="20%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
    826      <tr><td>ID Creepa: <?php echo $sql_select['creature']['entry']; ?></td></tr>
     27<?php if( $sql_select['creature']['rank'] != 3 ){ ?>
    928      <tr><td><?php echo "Level od ".$sql_select['creature']['minlevel']." do ".$sql_select['creature']['maxlevel']; ?></td></tr>
     29<?php }; ?>
     30      <tr><td>Typ: <?php echo $Database['creep']['type'][$sql_select['creature']['type']]; ?></td></tr>
     31      <tr><td style="padding-left: 15px;"><?php echo $sql_select['other']['creature_type']; ?></td></tr>
     32      <tr><td><?php echo $sql_select['creature']['maxhealth']; ?> HP</td></tr>
     33<?php if( !empty($sql_select['creature']['maxmana']) AND $sql_select['creature']['maxmana'] != 0 ){ ?>
     34      <tr><td><?php echo $sql_select['creature']['maxmana']; ?> Many</td></tr>
     35<?php }; ?>
    1036      <tr><td>Rychlost: <?php echo $sql_select['creature']['speed']."x"; ?></td></tr>
    1137<?php if( !empty($sql_select['other']['creature_quests']) ){ ?>
     
    1440<?php }; ?>
    1541    </table></td><td width="80%" style="padding-bottom:20px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
    16       <p>Zde se bude zobrazovat brázek s lokací.</p>
    17     </table></td></tr><tr><td colspan='2'>
    18       <p>Zde se bude zobrazovat seznam dropú.</p>
    19     </td></tr>
     42      <p>Zde se bude zobrazovat brázek s lokací a screen creepa.</p>
     43    </table></td></tr><tr><td colspan='2'><table width="90%" id="drop" border="0" cellspacing="0" cellpadding="0">
     44        <tr><td colspan='2'><input type="radio" name="item_set_drop" onclick="Show_drop_drop();" id="item_set_drop_drop" value="item_drop" checked="true"> &nbsp; <label for="item_set_drop_drop"> Drop </label> &nbsp;
     45        <input type="radio" name="item_set_drop" onclick="Show_drop_pickpocket();" id="item_set_drop_pickpocket" value="item_pickpocket"> &nbsp; <label for="item_set_drop_pickpocket"> Pickpocket </label> &nbsp;
     46        <input type="radio" name="item_set_drop" onclick="Show_drop_skin();" id="item_set_drop_skin" value="item_skin"> &nbsp; <label for="item_set_drop_skin"> Skinning </label></td></tr>
     47        <tr><td colspan='2'><table style="width:90%;border-left:2px solid white;" id="item_drop" border="0" cellspacing="0" cellpadding="2">
     48        <thead><tr><td>Item</td><td>Šance na drop</td></tr></thead>
     49<?php echo $sql_select['other']['creature_drop']; ?>
     50        </table><noscript></td</tr><tr><td colspan='2' style="padding-top:20px;"><b>Pickpocket:</b> </td></tr><tr><td colspan='2'></noscript>
     51        <table style="width:90%;border-left:2px solid white;" id="item_pickpocket" border="0" cellspacing="0" cellpadding="2">
     52        <thead><tr><td>Item</td><td>Šance na drop</td></tr></thead>
     53<?php echo $sql_select['other']['creature_pickpocket']; ?>
     54        </table><noscript></td</tr><tr><td colspan='2' style="padding-top:20px;"><b>Skinning:</b> </td></tr><tr><td colspan='2'></noscript>
     55        <table style="width:90%;border-left:2px solid white;" id="item_skin" border="0" cellspacing="0" cellpadding="2">
     56        <thead><tr><td>Item</td><td>Šance na drop</td></tr></thead>
     57<?php echo $sql_select['other']['creature_skin']; ?>
     58        </table></td></tr>
     59    </table></td></tr>
    2060  </table>
    2161<?php } elseif( !empty($sql_select['error']) ){ ?>
     
    2363<?php }; ?>
    2464
     65<script type="text/javascript">
     66  document.getElementById('item_pickpocket').style.display='none';
     67  document.getElementById('item_skin').style.display='none';
     68</script>
    2569
    2670<?php
Note: See TracChangeset for help on using the changeset viewer.