Changeset 109 for db/include/creep.php
- Timestamp:
- Oct 14, 2007, 1:35:47 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
db/include/creep.php
r84 r109 2 2 if($vlozeni_souboru == "OK"){ 3 3 ?> 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> 4 22 5 23 <?php if( empty($sql_select['error']) ){ ?> … … 7 25 <tr><td width="20%"><table width="100%" border="0" cellspacing="0" cellpadding="0"> 8 26 <tr><td>ID Creepa: <?php echo $sql_select['creature']['entry']; ?></td></tr> 27 <?php if( $sql_select['creature']['rank'] != 3 ){ ?> 9 28 <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 }; ?> 10 36 <tr><td>Rychlost: <?php echo $sql_select['creature']['speed']."x"; ?></td></tr> 11 37 <?php if( !empty($sql_select['other']['creature_quests']) ){ ?> … … 14 40 <?php }; ?> 15 41 </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"> <label for="item_set_drop_drop"> Drop </label> 45 <input type="radio" name="item_set_drop" onclick="Show_drop_pickpocket();" id="item_set_drop_pickpocket" value="item_pickpocket"> <label for="item_set_drop_pickpocket"> Pickpocket </label> 46 <input type="radio" name="item_set_drop" onclick="Show_drop_skin();" id="item_set_drop_skin" value="item_skin"> <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> 20 60 </table> 21 61 <?php } elseif( !empty($sql_select['error']) ){ ?> … … 23 63 <?php }; ?> 24 64 65 <script type="text/javascript"> 66 document.getElementById('item_pickpocket').style.display='none'; 67 document.getElementById('item_skin').style.display='none'; 68 </script> 25 69 26 70 <?php
Note:
See TracChangeset
for help on using the changeset viewer.