case 'edit' :
global $login_status,$join_err;
$edits_pc_base = $_SESSION['edits_pc_base'];
$edits_pc_extra = $_SESSION['edits_pc_extra'];
UF_CHECKuserid();
//ページタイトル
$now_page_title = 'データ編集';
//ページ内容
$details .= '
<div id="soroe">
<form action="./join_edit.php" method="post" enctype="MULTIPART/FORM-DATA">
<input type="hidden" name="THIS_URL" value="'.$_SERVER['REQUEST_URI'].'">
<input type="hidden" name="edit_mode" value="edit">';
$details .= '
<input type="hidden" name="edits_pc_base[3]" value="'.$now_time.'">
<h3>基本設定</h3>
<table>
<tr>
<th>名前:'.$inserts_pc_base[4].'<input type="hidden" name="edits_pc_base[4]" value="'.edits_pc_base[4].'">
<input type="hidden" name="edits_pc_base[2]" value="'.$CAHR_SIDE[$type].'"></td></tr>
<tr>
<th>種族:</th>
<td><select name="edits_pc_base[7]" size="1">
<option value="人間">人間</option>
<option value="エルフ">エルフ</option>
<option value="ハーフエルフ">ハーフエルフ</option>
<option value="クウォーターエルフ">クウォーターエルフ</option>
<option value="ドワーフ">ドワーフ</option>
<option value="ピクシー">ピクシー</option>
<option value="ケット・シー">ケット・シー</option>
<option value="ライカンスロープ">ライカンスロープ</option>
</select></td></tr>
<tr>
<th>性別:</th>
<td><select name="edits_pc_base[6]" size="1">
<option value="男性">男性</option>
<option value="女性">女性</option>
</select></td></tr>
<tr>
<th>年齢:</th>
<td><input type="text" name="edits_pc_base[5]" size="6" value="'.$edits_pc_base[5].'"></td></tr>
<tr>
<th>職業:</th>
<td><input type="text" name="edits_pc_base[8]" size="50" value="'.$edits_pc_base[8].'"></td></tr>
</table>
<h3>ステータス</h3>
<table>
<tr>
<th>腕力:<input type="text" name="edits_pc_base[9]" size="4" value="'.$edits_pc_base[9].'"></th>
<th>器用:<input type="text" name="edits_pc_base[10]" size="4" value="'.$edits_pc_base[10].'"></th>
<th>敏捷:<input type="text" name="edits_pc_base[11]" size="4" value="'.$edits_pc_base[11].'"></th>
<th>知力:<input type="text" name="edits_pc_base[12]" size="4" value="'.$edits_pc_base[12].'"></th></tr>
</table>
<table>
<th>最大HP:<input type="text" name="edits_pc_base[13]" size="6" value="'.$edits_pc_base[13].'"></th>
<th>最大MP:<input type="text" name="edits_pc_base[14]" size="6" value="'.$edits_pc_base[14].'"></th></tr>
</table>
<table>
<tr>
<th>スキル:</th>
<td><textarea name="edits_pc_base[15]" rows="6" cols="65">'.$edits_pc_base[15].'</textarea></td></tr>
<tr>
<th>欠点:</th>
<td><textarea name="edits_pc_base[16]" rows="6" cols="65">'.$edits_pc_base[16].'</textarea></td></tr>
</table>
<h3>その他設定</h3>
<table>
<tr>
<th>装備・<br>所持品<br>など:</th>
<td><textarea name="edits_pc_base[17]" rows="6" cols="65">'.$edits_pc_base[17].'</textarea></td></tr>
<tr>
<th>経歴・<br>外見・<br>その他:</th>
<td><textarea name="edits_pc_base[18]" rows="6" cols="65">'.$edits_pc_base[18].'</textarea></td></tr>
</table>
<table>
<tr>
//■■■■■■■■■■■■ここまで編集済み■■■■■■■■■■■■
<th>画像:</th>
<td><input type=file name="upimg" size="30"><td></tr>
</table>
<p>縦横が160×160サイズの、gifかjpgかpng画像しかアップできません。ファイルサイズは1000000 Byte 以下にしてください。</p>
//■■■■■■■■■■■■ここから編集済み■■■■■■■■■■■■
<h3>履歴</h3>
<table>';
for( $ = 0 ; $i < count($title_nor_extra) ; $i++){
dedails .= '<tr>
<th>'.$title_nor_extra[$i].':</th>
<td><textarea name="edits_nor_extra['.$i.']" rows="6" cols="65">'.$edits_nor_extra[$i].'</textarea></td></tr>
';
}
dedails .= '</table>
<h3>イベント履歴</h3>
<table>';
for( $ = 0 ; $i < count($title_extra_eve) ; $i++){
dedails .= '<tr>
<th>'.$title_eve_extra[$i].':</th>
<td><textarea name="edits_extra_eve['.$i.']" rows="6" cols="65">'.$result_eve_extra[$i].'</textarea></td></tr>
<tr><td rowspan="2"><input type="checkbox" name="offset_eve_extra['.$i.']">'.$title_eve_extra[$i].'に参加していない(以後、履歴記入欄が表示されません)</td></tr>
';
}
dedails .= '</table>
<h3>PL領域</h3>
<table>
<tr>
<th>PLメモ:</th>
<td><textarea name="edits_pc_base[19]" rows="6" cols="65">'.$edits_pc_base[19].'</textarea></td></tr>
</table>
</div>
<input type="hidden" name="insert_type" value="'.$type.'">
<input type="submit" value=" 編集 ">
</form>
<ul class="modori" style="clear:right;">
<li><a href="#PAGETOP">TOP</a></li>
</ul>
';
break;
最終更新:2010年05月25日 17:48