Ignore:
Timestamp:
Dec 23, 2007, 2:55:36 PM (17 years ago)
Author:
george
Message:

Minimanager 0.1.6b

File:
1 edited

Legend:

Unmodified
Added
Removed
  • minimanager/game_object.php

    r142 r178  
    211211  <ul class=\"jtabs\">
    212212    <li><a href=\"#\" onclick=\"return showPane('pane1', this)\" id=\"tab1\">{$lang_game_object['general']}</a></li>
    213     <li><a href=\"#\" onclick=\"return showPane('pane2', this)\">{$lang_game_object['sounds']}</a></li>
     213    <li><a href=\"#\" onclick=\"return showPane('pane2', this)\">{$lang_game_object['datas']}</a></li>
    214214  </ul>
    215215  <div class=\"jtab-panes\">";
     
    248248</tr>
    249249
    250 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object['sound']}:</td></tr>
    251 <tr>
    252  <td>".makeinfocell($lang_game_object['sound']." 0",$lang_game_object['sound_desc'])."</td>
    253  <td><input type=\"text\" name=\"sound0\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    254  
    255  <td>".makeinfocell($lang_game_object['sound']." 1",$lang_game_object['sound_desc'])."</td>
    256  <td><input type=\"text\" name=\"sound1\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    257  
    258  <td>".makeinfocell($lang_game_object['sound']." 2",$lang_game_object['sound_desc'])."</td>
    259  <td><input type=\"text\" name=\"sound2\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     250<tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object['data']}:</td></tr>
     251<tr>
     252 <td>".makeinfocell($lang_game_object['data']." 0",$lang_game_object['data_desc'])."</td>
     253 <td><input type=\"text\" name=\"data0\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     254 
     255 <td>".makeinfocell($lang_game_object['data']." 1",$lang_game_object['data_desc'])."</td>
     256 <td><input type=\"text\" name=\"data1\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     257 
     258 <td>".makeinfocell($lang_game_object['data']." 2",$lang_game_object['data_desc'])."</td>
     259 <td><input type=\"text\" name=\"data2\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    260260</tr>
    261261<tr>
    262  <td>".makeinfocell($lang_game_object['sound']." 3",$lang_game_object['sound_desc'])."</td>
    263  <td><input type=\"text\" name=\"sound3\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    264  
    265  <td>".makeinfocell($lang_game_object['sound']." 4",$lang_game_object['sound_desc'])."</td>
    266  <td><input type=\"text\" name=\"sound4\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    267  
    268  <td>".makeinfocell($lang_game_object['sound']." 5",$lang_game_object['sound_desc'])."</td>
    269  <td><input type=\"text\" name=\"sound5\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     262 <td>".makeinfocell($lang_game_object['data']." 3",$lang_game_object['data_desc'])."</td>
     263 <td><input type=\"text\" name=\"data3\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     264 
     265 <td>".makeinfocell($lang_game_object['data']." 4",$lang_game_object['data_desc'])."</td>
     266 <td><input type=\"text\" name=\"data4\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     267 
     268 <td>".makeinfocell($lang_game_object['data']." 5",$lang_game_object['data_desc'])."</td>
     269 <td><input type=\"text\" name=\"data5\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    270270</tr>
    271271</table>
     
    276276        <br /><br /><table class=\"lined\" style=\"width: 720px;\">
    277277
    278 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object['sound']}:</td></tr>
    279 <tr>
    280  <td>".makeinfocell($lang_game_object['sound']." 6",$lang_game_object['sound_desc'])."</td>
    281  <td><input type=\"text\" name=\"sound6\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    282  
    283  <td>".makeinfocell($lang_game_object['sound']." 7",$lang_game_object['sound_desc'])."</td>
    284  <td><input type=\"text\" name=\"sound7\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    285  
    286  <td>".makeinfocell($lang_game_object['sound']." 8",$lang_game_object['sound_desc'])."</td>
    287  <td><input type=\"text\" name=\"sound8\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     278<tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object['data']}:</td></tr>
     279<tr>
     280 <td>".makeinfocell($lang_game_object['data']." 6",$lang_game_object['data_desc'])."</td>
     281 <td><input type=\"text\" name=\"data6\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     282 
     283 <td>".makeinfocell($lang_game_object['data']." 7",$lang_game_object['data_desc'])."</td>
     284 <td><input type=\"text\" name=\"data7\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     285 
     286 <td>".makeinfocell($lang_game_object['data']." 8",$lang_game_object['data_desc'])."</td>
     287 <td><input type=\"text\" name=\"data8\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    288288</tr>
    289289<tr>
    290  <td>".makeinfocell($lang_game_object['sound']." 9",$lang_game_object['sound_desc'])."</td>
    291  <td><input type=\"text\" name=\"sound9\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    292  
    293  <td>".makeinfocell($lang_game_object['sound']." 10",$lang_game_object['sound_desc'])."</td>
    294  <td><input type=\"text\" name=\"sound10\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    295  
    296  <td>".makeinfocell($lang_game_object['sound']." 11",$lang_game_object['sound_desc'])."</td>
    297  <td><input type=\"text\" name=\"sound11\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     290 <td>".makeinfocell($lang_game_object['data']." 9",$lang_game_object['data_desc'])."</td>
     291 <td><input type=\"text\" name=\"data9\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     292 
     293 <td>".makeinfocell($lang_game_object['data']." 10",$lang_game_object['data_desc'])."</td>
     294 <td><input type=\"text\" name=\"data10\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     295 
     296 <td>".makeinfocell($lang_game_object['data']." 11",$lang_game_object['data_desc'])."</td>
     297 <td><input type=\"text\" name=\"data11\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    298298</tr>
    299299<tr>
    300  <td>".makeinfocell($lang_game_object['sound']." 12",$lang_game_object['sound_desc'])."</td>
    301  <td><input type=\"text\" name=\"sound12\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    302  
    303  <td>".makeinfocell($lang_game_object['sound']." 13",$lang_game_object['sound_desc'])."</td>
    304  <td><input type=\"text\" name=\"sound13\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    305  
    306  <td>".makeinfocell($lang_game_object['sound']." 14",$lang_game_object['sound_desc'])."</td>
    307  <td><input type=\"text\" name=\"sound14\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    308 </tr>
    309 <tr>
    310  <td>".makeinfocell($lang_game_object['sound']." 15",$lang_game_object['sound_desc'])."</td>
    311  <td><input type=\"text\" name=\"sound15\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    312  
    313  <td>".makeinfocell($lang_game_object['sound']." 16",$lang_game_object['sound_desc'])."</td>
    314  <td><input type=\"text\" name=\"sound16\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    315  
    316  <td>".makeinfocell($lang_game_object['sound']." 17",$lang_game_object['sound_desc'])."</td>
    317  <td><input type=\"text\" name=\"sound17\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    318 </tr>
    319 <tr>
    320  <td>".makeinfocell($lang_game_object['sound']." 18",$lang_game_object['sound_desc'])."</td>
    321  <td><input type=\"text\" name=\"sound18\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    322  
    323  <td>".makeinfocell($lang_game_object['sound']." 19",$lang_game_object['sound_desc'])."</td>
    324  <td><input type=\"text\" name=\"sound19\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    325  
    326  <td>".makeinfocell($lang_game_object['sound']." 20",$lang_game_object['sound_desc'])."</td>
    327  <td><input type=\"text\" name=\"sound20\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    328 </tr>
    329 <tr>
    330  <td>".makeinfocell($lang_game_object['sound']." 21",$lang_game_object['sound_desc'])."</td>
    331  <td><input type=\"text\" name=\"sound21\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    332  
    333  <td>".makeinfocell($lang_game_object['sound']." 22",$lang_game_object['sound_desc'])."</td>
    334  <td><input type=\"text\" name=\"sound22\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    335  
    336  <td>".makeinfocell($lang_game_object['sound']." 23",$lang_game_object['sound_desc'])."</td>
    337  <td><input type=\"text\" name=\"sound23\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     300 <td>".makeinfocell($lang_game_object['data']." 12",$lang_game_object['data_desc'])."</td>
     301 <td><input type=\"text\" name=\"data12\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     302 
     303 <td>".makeinfocell($lang_game_object['data']." 13",$lang_game_object['data_desc'])."</td>
     304 <td><input type=\"text\" name=\"data13\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     305 
     306 <td>".makeinfocell($lang_game_object['data']." 14",$lang_game_object['data_desc'])."</td>
     307 <td><input type=\"text\" name=\"data14\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     308</tr>
     309<tr>
     310 <td>".makeinfocell($lang_game_object['data']." 15",$lang_game_object['data_desc'])."</td>
     311 <td><input type=\"text\" name=\"data15\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     312 
     313 <td>".makeinfocell($lang_game_object['data']." 16",$lang_game_object['data_desc'])."</td>
     314 <td><input type=\"text\" name=\"data16\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     315 
     316 <td>".makeinfocell($lang_game_object['data']." 17",$lang_game_object['data_desc'])."</td>
     317 <td><input type=\"text\" name=\"data17\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     318</tr>
     319<tr>
     320 <td>".makeinfocell($lang_game_object['data']." 18",$lang_game_object['data_desc'])."</td>
     321 <td><input type=\"text\" name=\"data18\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     322 
     323 <td>".makeinfocell($lang_game_object['data']." 19",$lang_game_object['data_desc'])."</td>
     324 <td><input type=\"text\" name=\"data19\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     325 
     326 <td>".makeinfocell($lang_game_object['data']." 20",$lang_game_object['data_desc'])."</td>
     327 <td><input type=\"text\" name=\"data20\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     328</tr>
     329<tr>
     330 <td>".makeinfocell($lang_game_object['data']." 21",$lang_game_object['data_desc'])."</td>
     331 <td><input type=\"text\" name=\"data21\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     332 
     333 <td>".makeinfocell($lang_game_object['data']." 22",$lang_game_object['data_desc'])."</td>
     334 <td><input type=\"text\" name=\"data22\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
     335 
     336 <td>".makeinfocell($lang_game_object['data']." 23",$lang_game_object['data_desc'])."</td>
     337 <td><input type=\"text\" name=\"data23\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>
    338338</tr>
    339339</table><br /><br />
     
    383383  <ul class=\"jtabs\">
    384384    <li><a href=\"#\" onclick=\"return showPane('pane1', this)\" id=\"tab1\">{$lang_game_object['general']}</a></li>
    385     <li><a href=\"#\" onclick=\"return showPane('pane2', this)\">{$lang_game_object['sounds']}</a></li>";
     385    <li><a href=\"#\" onclick=\"return showPane('pane2', this)\">{$lang_game_object['datas']}</a></li>";
    386386if ($go['type'] == 3) $output .= "<li><a href=\"#\" onclick=\"return showPane('pane3', this)\">{$lang_game_object['loot']}</a></li>";
    387387  $output .= "<li><a href=\"#\" onclick=\"return showPane('pane4', this)\">{$lang_game_object['quests']}</a></li>
     
    426426</tr>
    427427
    428 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object['sound']}:</td></tr>
    429 <tr>
    430  <td>".makeinfocell($lang_game_object['sound']." 0",$lang_game_object['sound_desc'])."</td>
    431  <td><input type=\"text\" name=\"sound0\" size=\"10\" maxlength=\"11\" value=\"{$go['sound0']}\" /></td>
    432  
    433  <td>".makeinfocell($lang_game_object['sound']." 1",$lang_game_object['sound_desc'])."</td>
    434  <td><input type=\"text\" name=\"sound1\" size=\"10\" maxlength=\"11\" value=\"{$go['sound1']}\" /></td>
    435  
    436  <td>".makeinfocell($lang_game_object['sound']." 2",$lang_game_object['sound_desc'])."</td>
    437  <td><input type=\"text\" name=\"sound2\" size=\"10\" maxlength=\"11\" value=\"{$go['sound2']}\" /></td>
     428<tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object['data']}:</td></tr>
     429<tr>
     430 <td>".makeinfocell($lang_game_object['data']." 0",$lang_game_object['data_desc'])."</td>
     431 <td><input type=\"text\" name=\"data0\" size=\"10\" maxlength=\"11\" value=\"{$go['data0']}\" /></td>
     432 
     433 <td>".makeinfocell($lang_game_object['data']." 1",$lang_game_object['data_desc'])."</td>
     434 <td><input type=\"text\" name=\"data1\" size=\"10\" maxlength=\"11\" value=\"{$go['data1']}\" /></td>
     435 
     436 <td>".makeinfocell($lang_game_object['data']." 2",$lang_game_object['data_desc'])."</td>
     437 <td><input type=\"text\" name=\"data2\" size=\"10\" maxlength=\"11\" value=\"{$go['data2']}\" /></td>
    438438</tr>
    439439<tr>
    440  <td>".makeinfocell($lang_game_object['sound']." 3",$lang_game_object['sound_desc'])."</td>
    441  <td><input type=\"text\" name=\"sound3\" size=\"10\" maxlength=\"11\" value=\"{$go['sound3']}\" /></td>
    442  
    443  <td>".makeinfocell($lang_game_object['sound']." 4",$lang_game_object['sound_desc'])."</td>
    444  <td><input type=\"text\" name=\"sound4\" size=\"10\" maxlength=\"11\" value=\"{$go['sound4']}\" /></td>
    445  
    446  <td>".makeinfocell($lang_game_object['sound']." 5",$lang_game_object['sound_desc'])."</td>
    447  <td><input type=\"text\" name=\"sound5\" size=\"10\" maxlength=\"11\" value=\"{$go['sound5']}\" /></td>
     440 <td>".makeinfocell($lang_game_object['data']." 3",$lang_game_object['data_desc'])."</td>
     441 <td><input type=\"text\" name=\"data3\" size=\"10\" maxlength=\"11\" value=\"{$go['data3']}\" /></td>
     442 
     443 <td>".makeinfocell($lang_game_object['data']." 4",$lang_game_object['data_desc'])."</td>
     444 <td><input type=\"text\" name=\"data4\" size=\"10\" maxlength=\"11\" value=\"{$go['data4']}\" /></td>
     445 
     446 <td>".makeinfocell($lang_game_object['data']." 5",$lang_game_object['data_desc'])."</td>
     447 <td><input type=\"text\" name=\"data5\" size=\"10\" maxlength=\"11\" value=\"{$go['data5']}\" /></td>
    448448</tr>
    449449</table><br />";
     
    458458        <br /><br /><table class=\"lined\" style=\"width: 720px;\">
    459459
    460 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object['sound']}:</td></tr>
    461 <tr>
    462  <td>".makeinfocell($lang_game_object['sound']." 6",$lang_game_object['sound_desc'])."</td>
    463  <td><input type=\"text\" name=\"sound6\" size=\"10\" maxlength=\"11\" value=\"{$go['sound6']}\" /></td>
    464  
    465  <td>".makeinfocell($lang_game_object['sound']." 7",$lang_game_object['sound_desc'])."</td>
    466  <td><input type=\"text\" name=\"sound7\" size=\"10\" maxlength=\"11\" value=\"{$go['sound7']}\" /></td>
    467  
    468  <td>".makeinfocell($lang_game_object['sound']." 8",$lang_game_object['sound_desc'])."</td>
    469  <td><input type=\"text\" name=\"sound8\" size=\"10\" maxlength=\"11\" value=\"{$go['sound8']}\" /></td>
     460<tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object['data']}:</td></tr>
     461<tr>
     462 <td>".makeinfocell($lang_game_object['data']." 6",$lang_game_object['data_desc'])."</td>
     463 <td><input type=\"text\" name=\"data6\" size=\"10\" maxlength=\"11\" value=\"{$go['data6']}\" /></td>
     464 
     465 <td>".makeinfocell($lang_game_object['data']." 7",$lang_game_object['data_desc'])."</td>
     466 <td><input type=\"text\" name=\"data7\" size=\"10\" maxlength=\"11\" value=\"{$go['data7']}\" /></td>
     467 
     468 <td>".makeinfocell($lang_game_object['data']." 8",$lang_game_object['data_desc'])."</td>
     469 <td><input type=\"text\" name=\"data8\" size=\"10\" maxlength=\"11\" value=\"{$go['data8']}\" /></td>
    470470</tr>
    471471<tr>
    472  <td>".makeinfocell($lang_game_object['sound']." 9",$lang_game_object['sound_desc'])."</td>
    473  <td><input type=\"text\" name=\"sound9\" size=\"10\" maxlength=\"11\" value=\"{$go['sound9']}\" /></td>
    474  
    475  <td>".makeinfocell($lang_game_object['sound']." 10",$lang_game_object['sound_desc'])."</td>
    476  <td><input type=\"text\" name=\"sound10\" size=\"10\" maxlength=\"11\" value=\"{$go['sound10']}\" /></td>
    477  
    478  <td>".makeinfocell($lang_game_object['sound']." 11",$lang_game_object['sound_desc'])."</td>
    479  <td><input type=\"text\" name=\"sound11\" size=\"10\" maxlength=\"11\" value=\"{$go['sound11']}\" /></td>
     472 <td>".makeinfocell($lang_game_object['data']." 9",$lang_game_object['data_desc'])."</td>
     473 <td><input type=\"text\" name=\"data9\" size=\"10\" maxlength=\"11\" value=\"{$go['data9']}\" /></td>
     474 
     475 <td>".makeinfocell($lang_game_object['data']." 10",$lang_game_object['data_desc'])."</td>
     476 <td><input type=\"text\" name=\"data10\" size=\"10\" maxlength=\"11\" value=\"{$go['data10']}\" /></td>
     477 
     478 <td>".makeinfocell($lang_game_object['data']." 11",$lang_game_object['data_desc'])."</td>
     479 <td><input type=\"text\" name=\"data11\" size=\"10\" maxlength=\"11\" value=\"{$go['data11']}\" /></td>
    480480</tr>
    481481<tr>
    482  <td>".makeinfocell($lang_game_object['sound']." 12",$lang_game_object['sound_desc'])."</td>
    483  <td><input type=\"text\" name=\"sound12\" size=\"10\" maxlength=\"11\" value=\"{$go['sound12']}\" /></td>
    484  
    485  <td>".makeinfocell($lang_game_object['sound']." 13",$lang_game_object['sound_desc'])."</td>
    486  <td><input type=\"text\" name=\"sound13\" size=\"10\" maxlength=\"11\" value=\"{$go['sound13']}\" /></td>
    487  
    488  <td>".makeinfocell($lang_game_object['sound']." 14",$lang_game_object['sound_desc'])."</td>
    489  <td><input type=\"text\" name=\"sound14\" size=\"10\" maxlength=\"11\" value=\"{$go['sound14']}\" /></td>
    490 </tr>
    491 <tr>
    492  <td>".makeinfocell($lang_game_object['sound']." 15",$lang_game_object['sound_desc'])."</td>
    493  <td><input type=\"text\" name=\"sound15\" size=\"10\" maxlength=\"11\" value=\"{$go['sound15']}\" /></td>
    494  
    495  <td>".makeinfocell($lang_game_object['sound']." 16",$lang_game_object['sound_desc'])."</td>
    496  <td><input type=\"text\" name=\"sound16\" size=\"10\" maxlength=\"11\" value=\"{$go['sound16']}\" /></td>
    497  
    498  <td>".makeinfocell($lang_game_object['sound']." 17",$lang_game_object['sound_desc'])."</td>
    499  <td><input type=\"text\" name=\"sound17\" size=\"10\" maxlength=\"11\" value=\"{$go['sound17']}\" /></td>
    500 </tr>
    501 <tr>
    502  <td>".makeinfocell($lang_game_object['sound']." 18",$lang_game_object['sound_desc'])."</td>
    503  <td><input type=\"text\" name=\"sound18\" size=\"10\" maxlength=\"11\" value=\"{$go['sound18']}\" /></td>
    504  
    505  <td>".makeinfocell($lang_game_object['sound']." 19",$lang_game_object['sound_desc'])."</td>
    506  <td><input type=\"text\" name=\"sound19\" size=\"10\" maxlength=\"11\" value=\"{$go['sound19']}\" /></td>
    507  
    508  <td>".makeinfocell($lang_game_object['sound']." 20",$lang_game_object['sound_desc'])."</td>
    509  <td><input type=\"text\" name=\"sound20\" size=\"10\" maxlength=\"11\" value=\"{$go['sound20']}\" /></td>
    510 </tr>
    511 <tr>
    512  <td>".makeinfocell($lang_game_object['sound']." 21",$lang_game_object['sound_desc'])."</td>
    513  <td><input type=\"text\" name=\"sound21\" size=\"10\" maxlength=\"11\" value=\"{$go['sound21']}\" /></td>
    514  
    515  <td>".makeinfocell($lang_game_object['sound']." 22",$lang_game_object['sound_desc'])."</td>
    516  <td><input type=\"text\" name=\"sound22\" size=\"10\" maxlength=\"11\" value=\"{$go['sound22']}\" /></td>
    517  
    518  <td>".makeinfocell($lang_game_object['sound']." 23",$lang_game_object['sound_desc'])."</td>
    519  <td><input type=\"text\" name=\"sound23\" size=\"10\" maxlength=\"11\" value=\"{$go['sound23']}\" /></td>
     482 <td>".makeinfocell($lang_game_object['data']." 12",$lang_game_object['data_desc'])."</td>
     483 <td><input type=\"text\" name=\"data12\" size=\"10\" maxlength=\"11\" value=\"{$go['data12']}\" /></td>
     484 
     485 <td>".makeinfocell($lang_game_object['data']." 13",$lang_game_object['data_desc'])."</td>
     486 <td><input type=\"text\" name=\"data13\" size=\"10\" maxlength=\"11\" value=\"{$go['data13']}\" /></td>
     487 
     488 <td>".makeinfocell($lang_game_object['data']." 14",$lang_game_object['data_desc'])."</td>
     489 <td><input type=\"text\" name=\"data14\" size=\"10\" maxlength=\"11\" value=\"{$go['data14']}\" /></td>
     490</tr>
     491<tr>
     492 <td>".makeinfocell($lang_game_object['data']." 15",$lang_game_object['data_desc'])."</td>
     493 <td><input type=\"text\" name=\"data15\" size=\"10\" maxlength=\"11\" value=\"{$go['data15']}\" /></td>
     494 
     495 <td>".makeinfocell($lang_game_object['data']." 16",$lang_game_object['data_desc'])."</td>
     496 <td><input type=\"text\" name=\"data16\" size=\"10\" maxlength=\"11\" value=\"{$go['data16']}\" /></td>
     497 
     498 <td>".makeinfocell($lang_game_object['data']." 17",$lang_game_object['data_desc'])."</td>
     499 <td><input type=\"text\" name=\"data17\" size=\"10\" maxlength=\"11\" value=\"{$go['data17']}\" /></td>
     500</tr>
     501<tr>
     502 <td>".makeinfocell($lang_game_object['data']." 18",$lang_game_object['data_desc'])."</td>
     503 <td><input type=\"text\" name=\"data18\" size=\"10\" maxlength=\"11\" value=\"{$go['data18']}\" /></td>
     504 
     505 <td>".makeinfocell($lang_game_object['data']." 19",$lang_game_object['data_desc'])."</td>
     506 <td><input type=\"text\" name=\"data19\" size=\"10\" maxlength=\"11\" value=\"{$go['data19']}\" /></td>
     507 
     508 <td>".makeinfocell($lang_game_object['data']." 20",$lang_game_object['data_desc'])."</td>
     509 <td><input type=\"text\" name=\"data20\" size=\"10\" maxlength=\"11\" value=\"{$go['data20']}\" /></td>
     510</tr>
     511<tr>
     512 <td>".makeinfocell($lang_game_object['data']." 21",$lang_game_object['data_desc'])."</td>
     513 <td><input type=\"text\" name=\"data21\" size=\"10\" maxlength=\"11\" value=\"{$go['data21']}\" /></td>
     514 
     515 <td>".makeinfocell($lang_game_object['data']." 22",$lang_game_object['data_desc'])."</td>
     516 <td><input type=\"text\" name=\"data22\" size=\"10\" maxlength=\"11\" value=\"{$go['data22']}\" /></td>
     517 
     518 <td>".makeinfocell($lang_game_object['data']." 23",$lang_game_object['data_desc'])."</td>
     519 <td><input type=\"text\" name=\"data23\" size=\"10\" maxlength=\"11\" value=\"{$go['data23']}\" /></td>
    520520</tr>
    521521</table>
     
    670670 if (isset($_POST['ScriptName']) && $_POST['ScriptName'] != '') $ScriptName = $sql->quote_smart($_POST['ScriptName']);
    671671        else $ScriptName = "";
    672  if (isset($_POST['sound0']) && $_POST['sound0'] != '') $sound0 = $sql->quote_smart($_POST['sound0']);
    673         else $sound0 = 0;
    674  if (isset($_POST['sound1']) && $_POST['sound1'] != '') $sound1 = $sql->quote_smart($_POST['sound1']);
    675         else $sound1 = 0;
    676  if (isset($_POST['sound2']) && $_POST['sound2'] != '') $sound2 = $sql->quote_smart($_POST['sound2']);
    677         else $sound2 = 0;
    678  if (isset($_POST['sound3']) && $_POST['sound3'] != '') $sound3 = $sql->quote_smart($_POST['sound3']);
    679         else $sound3 = 0;
    680  if (isset($_POST['sound4']) && $_POST['sound4'] != '') $sound4 = $sql->quote_smart($_POST['sound4']);
    681         else $sound4 = 0;
    682  if (isset($_POST['sound5']) && $_POST['sound5'] != '') $sound5 = $sql->quote_smart($_POST['sound5']);
    683         else $sound5 = 0;
    684  if (isset($_POST['sound6']) && $_POST['sound6'] != '') $sound6 = $sql->quote_smart($_POST['sound6']);
    685         else $sound6 = 0;
    686  if (isset($_POST['sound7']) && $_POST['sound7'] != '') $sound7 = $sql->quote_smart($_POST['sound7']);
    687         else $sound7 = 0;
    688  if (isset($_POST['sound8']) && $_POST['sound8'] != '') $sound8 = $sql->quote_smart($_POST['sound8']);
    689         else $sound8 = 0;
    690  if (isset($_POST['sound9']) && $_POST['sound9'] != '') $sound9 = $sql->quote_smart($_POST['sound9']);
    691         else $sound9 = 0;
    692  if (isset($_POST['sound10']) && $_POST['sound10'] != '') $sound10 = $sql->quote_smart($_POST['sound10']);
    693         else $sound10 = 0;
    694  if (isset($_POST['sound11']) && $_POST['sound11'] != '') $sound11 = $sql->quote_smart($_POST['sound11']);
    695         else $sound11 = 0;
    696  if (isset($_POST['sound12']) && $_POST['sound12'] != '') $sound12 = $sql->quote_smart($_POST['sound12']);
    697         else $sound12 = 0;
    698  if (isset($_POST['sound13']) && $_POST['sound13'] != '') $sound13 = $sql->quote_smart($_POST['sound13']);
    699         else $sound13 = 0;
    700  if (isset($_POST['sound14']) && $_POST['sound14'] != '') $sound14 = $sql->quote_smart($_POST['sound14']);
    701         else $sound14 = 0;
    702  if (isset($_POST['sound15']) && $_POST['sound15'] != '') $sound15 = $sql->quote_smart($_POST['sound15']);
    703         else $sound15 = 0;
    704  if (isset($_POST['sound16']) && $_POST['sound16'] != '') $sound16 = $sql->quote_smart($_POST['sound16']);
    705         else $sound16 = 0;
    706  if (isset($_POST['sound17']) && $_POST['sound17'] != '') $sound17 = $sql->quote_smart($_POST['sound17']);
    707         else $sound17 = 0;
    708  if (isset($_POST['sound18']) && $_POST['sound18'] != '') $sound18 = $sql->quote_smart($_POST['sound18']);
    709         else $sound18 = 0;
    710  if (isset($_POST['sound19']) && $_POST['sound19'] != '') $sound19 = $sql->quote_smart($_POST['sound19']);
    711         else $sound19 = 0;
    712  if (isset($_POST['sound20']) && $_POST['sound20'] != '') $sound20 = $sql->quote_smart($_POST['sound20']);
    713         else $sound20 = 0;
    714  if (isset($_POST['sound21']) && $_POST['sound21'] != '') $sound21 = $sql->quote_smart($_POST['sound21']);
    715         else $sound21 = 0;
    716  if (isset($_POST['sound22']) && $_POST['sound22'] != '') $sound22 = $sql->quote_smart($_POST['sound22']);
    717         else $sound22 = 0;
    718  if (isset($_POST['sound23']) && $_POST['sound23'] != '') $sound23 = $sql->quote_smart($_POST['sound23']);
    719         else $sound23 = 0;
     672 if (isset($_POST['data0']) && $_POST['data0'] != '') $data0 = $sql->quote_smart($_POST['data0']);
     673        else $data0 = 0;
     674 if (isset($_POST['data1']) && $_POST['data1'] != '') $data1 = $sql->quote_smart($_POST['data1']);
     675        else $data1 = 0;
     676 if (isset($_POST['data2']) && $_POST['data2'] != '') $data2 = $sql->quote_smart($_POST['data2']);
     677        else $data2 = 0;
     678 if (isset($_POST['data3']) && $_POST['data3'] != '') $data3 = $sql->quote_smart($_POST['data3']);
     679        else $data3 = 0;
     680 if (isset($_POST['data4']) && $_POST['data4'] != '') $data4 = $sql->quote_smart($_POST['data4']);
     681        else $data4 = 0;
     682 if (isset($_POST['data5']) && $_POST['data5'] != '') $data5 = $sql->quote_smart($_POST['data5']);
     683        else $data5 = 0;
     684 if (isset($_POST['data6']) && $_POST['data6'] != '') $data6 = $sql->quote_smart($_POST['data6']);
     685        else $data6 = 0;
     686 if (isset($_POST['data7']) && $_POST['data7'] != '') $data7 = $sql->quote_smart($_POST['data7']);
     687        else $data7 = 0;
     688 if (isset($_POST['data8']) && $_POST['data8'] != '') $data8 = $sql->quote_smart($_POST['data8']);
     689        else $data8 = 0;
     690 if (isset($_POST['data9']) && $_POST['data9'] != '') $data9 = $sql->quote_smart($_POST['data9']);
     691        else $data9 = 0;
     692 if (isset($_POST['data10']) && $_POST['data10'] != '') $data10 = $sql->quote_smart($_POST['data10']);
     693        else $data10 = 0;
     694 if (isset($_POST['data11']) && $_POST['data11'] != '') $data11 = $sql->quote_smart($_POST['data11']);
     695        else $data11 = 0;
     696 if (isset($_POST['data12']) && $_POST['data12'] != '') $data12 = $sql->quote_smart($_POST['data12']);
     697        else $data12 = 0;
     698 if (isset($_POST['data13']) && $_POST['data13'] != '') $data13 = $sql->quote_smart($_POST['data13']);
     699        else $data13 = 0;
     700 if (isset($_POST['data14']) && $_POST['data14'] != '') $data14 = $sql->quote_smart($_POST['data14']);
     701        else $data14 = 0;
     702 if (isset($_POST['data15']) && $_POST['data15'] != '') $data15 = $sql->quote_smart($_POST['data15']);
     703        else $data15 = 0;
     704 if (isset($_POST['data16']) && $_POST['data16'] != '') $data16 = $sql->quote_smart($_POST['data16']);
     705        else $data16 = 0;
     706 if (isset($_POST['data17']) && $_POST['data17'] != '') $data17 = $sql->quote_smart($_POST['data17']);
     707        else $data17 = 0;
     708 if (isset($_POST['data18']) && $_POST['data18'] != '') $data18 = $sql->quote_smart($_POST['data18']);
     709        else $data18 = 0;
     710 if (isset($_POST['data19']) && $_POST['data19'] != '') $data19 = $sql->quote_smart($_POST['data19']);
     711        else $data19 = 0;
     712 if (isset($_POST['data20']) && $_POST['data20'] != '') $data20 = $sql->quote_smart($_POST['data20']);
     713        else $data20 = 0;
     714 if (isset($_POST['data21']) && $_POST['data21'] != '') $data21 = $sql->quote_smart($_POST['data21']);
     715        else $data21 = 0;
     716 if (isset($_POST['data22']) && $_POST['data22'] != '') $data22 = $sql->quote_smart($_POST['data22']);
     717        else $data22 = 0;
     718 if (isset($_POST['data23']) && $_POST['data23'] != '') $data23 = $sql->quote_smart($_POST['data23']);
     719        else $data23 = 0;
    720720
    721721        if (isset($_POST['ChanceOrRef']) && $_POST['ChanceOrRef'] != '') $ChanceOrRef = $sql->quote_smart($_POST['ChanceOrRef']);
     
    750750       
    751751  if ($_POST['opp_type'] == "add_new"){
    752         $sql_query = "INSERT INTO gameobject_template ( entry, type, displayId, name, faction, flags, size, sound0, sound1,
    753         sound2, sound3, sound4, sound5, sound6, sound7, sound8, sound9, sound10, sound11, sound12, sound13,
    754         sound14, sound15, sound16, sound17, sound18, sound19, sound20, sound21, sound22, sound23, ScriptName )
    755         VALUES ( '$entry', '$type', '$displayId', '$name', '$faction', '$flags', '$size', '$sound0', '$sound1',
    756         '$sound2', '$sound3', '$sound4', '$sound5', '$sound6', '$sound7', '$sound8', '$sound9', '$sound10', '$sound11',
    757         '$sound12', '$sound13', '$sound14', '$sound15', '$sound16', '$sound17', '$sound18', '$sound19', '$sound20',
    758         '$sound21', '$sound22', '$sound23', '$ScriptName' )";
     752        $sql_query = "INSERT INTO gameobject_template ( entry, type, displayId, name, faction, flags, size, data0, data1,
     753        data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13,
     754        data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, ScriptName )
     755        VALUES ( '$entry', '$type', '$displayId', '$name', '$faction', '$flags', '$size', '$data0', '$data1',
     756        '$data2', '$data3', '$data4', '$data5', '$data6', '$data7', '$data8', '$data9', '$data10', '$data11',
     757        '$data12', '$data13', '$data14', '$data15', '$data16', '$data17', '$data18', '$data19', '$data20',
     758        '$data21', '$data22', '$data23', '$ScriptName' )";
    759759
    760760 } elseif ($_POST['opp_type'] == "edit"){
     
    770770                if ($go_templ['flags'] != $flags) $sql_query .= "flags='$flags',";
    771771                if ($go_templ['size'] != $size) $sql_query .= "size='$size',";
    772                 if ($go_templ['sound0'] != $sound0) $sql_query .= "sound0='$sound0',";
    773                 if ($go_templ['sound1'] != $sound1) $sql_query .= "sound1='$sound1',";
    774                 if ($go_templ['sound2'] != $sound2) $sql_query .= "sound2='$sound2',";
    775                 if ($go_templ['sound3'] != $sound3) $sql_query .= "sound3='$sound3',";
    776                 if ($go_templ['sound4'] != $sound4) $sql_query .= "sound4='$sound4',";
    777                 if ($go_templ['sound5'] != $sound5) $sql_query .= "sound5='$sound5',";
    778                 if ($go_templ['sound6'] != $sound6) $sql_query .= "sound6='$sound6',";
    779                 if ($go_templ['sound7'] != $sound7) $sql_query .= "sound7='$sound7',";
    780                 if ($go_templ['sound8'] != $sound8) $sql_query .= "sound8='$sound8',";
    781                 if ($go_templ['sound9'] != $sound9) $sql_query .= "sound9='$sound9',";
    782                 if ($go_templ['sound10'] != $sound10) $sql_query .= "sound10='$sound10',";
    783                 if ($go_templ['sound11'] != $sound11) $sql_query .= "sound11='$sound11',";
    784                 if ($go_templ['sound12'] != $sound12) $sql_query .= "sound12='$sound12',";
    785                 if ($go_templ['sound13'] != $sound13) $sql_query .= "sound13='$sound13',";
    786                 if ($go_templ['sound14'] != $sound14) $sql_query .= "sound14='$sound14',";
    787                 if ($go_templ['sound15'] != $sound15) $sql_query .= "sound15='$sound15',";
    788                 if ($go_templ['sound16'] != $sound16) $sql_query .= "sound16='$sound16',";
    789                 if ($go_templ['sound17'] != $sound17) $sql_query .= "sound17='$sound17',";
    790                 if ($go_templ['sound18'] != $sound18) $sql_query .= "sound18='$sound18',";
    791                 if ($go_templ['sound19'] != $sound19) $sql_query .= "sound19='$sound19',";
    792                 if ($go_templ['sound20'] != $sound20) $sql_query .= "sound20='$sound20',";
    793                 if ($go_templ['sound21'] != $sound21) $sql_query .= "sound21='$sound21',";
    794                 if ($go_templ['sound22'] != $sound22) $sql_query .= "sound22='$sound22',";
    795                 if ($go_templ['sound23'] != $sound23) $sql_query .= "sound23='$sound23',";
     772                if ($go_templ['data0'] != $data0) $sql_query .= "data0='$data0',";
     773                if ($go_templ['data1'] != $data1) $sql_query .= "data1='$data1',";
     774                if ($go_templ['data2'] != $data2) $sql_query .= "data2='$data2',";
     775                if ($go_templ['data3'] != $data3) $sql_query .= "data3='$data3',";
     776                if ($go_templ['data4'] != $data4) $sql_query .= "data4='$data4',";
     777                if ($go_templ['data5'] != $data5) $sql_query .= "data5='$data5',";
     778                if ($go_templ['data6'] != $data6) $sql_query .= "data6='$data6',";
     779                if ($go_templ['data7'] != $data7) $sql_query .= "data7='$data7',";
     780                if ($go_templ['data8'] != $data8) $sql_query .= "data8='$data8',";
     781                if ($go_templ['data9'] != $data9) $sql_query .= "data9='$data9',";
     782                if ($go_templ['data10'] != $data10) $sql_query .= "data10='$data10',";
     783                if ($go_templ['data11'] != $data11) $sql_query .= "data11='$data11',";
     784                if ($go_templ['data12'] != $data12) $sql_query .= "data12='$data12',";
     785                if ($go_templ['data13'] != $data13) $sql_query .= "data13='$data13',";
     786                if ($go_templ['data14'] != $data14) $sql_query .= "data14='$data14',";
     787                if ($go_templ['data15'] != $data15) $sql_query .= "data15='$data15',";
     788                if ($go_templ['data16'] != $data16) $sql_query .= "data16='$data16',";
     789                if ($go_templ['data17'] != $data17) $sql_query .= "data17='$data17',";
     790                if ($go_templ['data18'] != $data18) $sql_query .= "data18='$data18',";
     791                if ($go_templ['data19'] != $data19) $sql_query .= "data19='$data19',";
     792                if ($go_templ['data20'] != $data20) $sql_query .= "data20='$data20',";
     793                if ($go_templ['data21'] != $data21) $sql_query .= "data21='$data21',";
     794                if ($go_templ['data22'] != $data22) $sql_query .= "data22='$data22',";
     795                if ($go_templ['data23'] != $data23) $sql_query .= "data23='$data23',";
    796796                if ($go_templ['ScriptName'] != $ScriptName) $sql_query .= "ScriptName='$ScriptName',";
    797797
Note: See TracChangeset for help on using the changeset viewer.