コード例 #1
0
ファイル: change_character.php プロジェクト: renlok/PhaosRPG
            } else {
                print "<option value=\"{$class_name}\">{$class_name}</option>";
            }
        } while ($row = mysql_fetch_array($result));
    }
    ?>
		</select>
		</font></b>
	</td>
	</tr>
	<tr> 
	<td width="50%"><b><font color="#FFFFFF">Image</font></b></td>
	<td width="50%">
		<select name="image_path" id="image_path" onChange="javascript: LoadAppearance('current_appearance');">
			<?php 
    echo GetAppearanceList("../images/icons/characters/", $image_path);
    ?>
		</select>
		<img id="current_appearance" name="current_appearance" src="../<?php 
    echo $image_path;
    ?>
" />
		
	</td>
	</tr>
	<tr>
	<td colspan="2"><center><b>ATTRIBUTES</b></center></td>
	</tr>
	<tr> 
	<td width="50%"><b><font color="#FFFFFF">Strength</font></b></td>
	<td width="50%"> <b><font color="#FFFFFF">
コード例 #2
0
ファイル: create_character.php プロジェクト: renlok/PhaosRPG
                print "<option value=\"{$class_name}\">{$class_name}</option>";
            } while ($row = mysql_fetch_array($classes));
        }
        ?>
</select></td>
</tr>
<tr>
<td align="right">
<?php 
        echo $lang_crt["sel_char_img"];
        ?>
:</td>
<td align="left">
<select name="image_path" id="image_path" onchange="javascript: LoadAppearance('current_appearance');">
<?php 
        echo GetAppearanceList("images/icons/characters/");
        ?>
</select>

</td>
</tr>

<tr>
<td align="center" colspan="2">
<?php 
        echo $lang_crt["sel_char_img"];
        ?>
<br />
<img id="current_appearance" name="current_appearance" src="images/icons/characters/character_1.gif" />
</td>
</tr>