<< 掲示板に戻る



投稿者: えふ
タイトル: Re: photo.cgi について
日付: 2019/9/5(Thu) 19:09:29
E-mail:
URL:
photo01.cgiの
27行の
$restmppl='lib/restmp.pl';
の下などに
$html='skin01.html';
と追加して
skin01.html
の24行の
     <form method="POST" name="f" action="photo.cgi" enctype="multipart/form-data" onsubmit="return Check()">
     <input type="hidden" name="mode" value="regist">
     <!--num-->
     <table id="table_fo">
          <tr>
               <th>お名前 <span class="hissu">*</span></th>
               <td>
                    <input type="text" name="name" id="name" size="40" value="#name"><div id="e_name">お名前が入力されていません。</div>
               </td>
          </tr>
          <tr>
               <th>タイトル:</th>
               <td>
                    <input type="text" name="subject" id="subject" size="40" value="#subject">
               </td>
          </tr>
          <tr>
               <th>MAIL:</th>
               <td>
                    <input type="text" name="email" id="email" size="40" value="#email">
               </td>
          </tr>
          <tr>
               <th>URL:</th>
               <td>
                    <input type="text" name="home" id="home" size="40" value="http://#home">
               </td>
          </tr>
          <tr>
               <th>メッセージ: <span class="hissu">*</span></th>
               <td>
                    <textarea name="message" id="message" rows="8" cols="45" wrap="soft">#message</textarea><div id="e_message">メッセージが入力されていません。</div>
               </td>
          </tr>
          <tr>
               <th>文字色:</th>
               <td>
                    <!--color-->
               </td>
          </tr>
          <tr>
               <th>アイコン:</th>
               <td>
                    <select name="icon">
                    <option value="./img/kuma15.gif">くま1</option>
                    <option value="./img/kuma16.gif">くま2</option>
                    <option value="./img/kuma12.gif">くま3</option>
                    <option value="./img/kuma13.gif">くま4</option>
                    </select>
                    [<a href="javascript:void(0)" onClick="IconView(event)" style="text-decoration:underline">サンプル画像</a>]
                    <div id="iconwin" style="visibility:hidden;"></div>
               </td>
          </tr>
          <tr>
               <th>画像:</th>
               <td>
                    <input name="upfile" type="file" size="30">
               </td>
          </tr>
          <!--capt-->
          <tr>
               <th>画像認証: <span class="hissu">*</span></th>
               <td>
                    下に
                    <!--auth-->
                    を入力してください。<a href="javascript:void(0);" onClick="Change('#mode');">別の文字</a><br>
                    <input type="text" name="ans" id="ans"><input type="hidden" name="md5sum" value="#md5sum"><div id="e_ans">認証文字が入力されていません。</div>
               </td>
          </tr>
          <!--/capt-->
          <tr>
               <th>削除キー:</th>
               <td>
                    <input size="6" type="password" name="pass" maxlength="8" value="#pass">
                    クッキー:
                    <input type="checkbox" name="cookie" value="on" checked>
               </td>
          </tr>
     </table>
     <div id="btn">
          <input type="submit" class="bt" value="書き込む">
     </div>
     </form>



133行の
          <form method="POST" action="photo.cgi">
          <input type="hidden" name="mode" value="usrdel"> No <input size="4" type="text" name="no" maxlength="8">
          Pass
          <input size="8" type="password" name="pass" maxlength="8">
          <select name="function">
          <option value="del">del</option>
          <option value="edit">edit</option>
          </select>
          <input type="submit" value="send" class="bt">
          </form>
を削除してください。



※この記事に返信を書く (元記事は必要な部分のみ残してください。)
おなまえ:
タイトル:
メール:
ホーム:     
メッセージ:
削除パス: クッキー: