Location: PHPKode > scripts > OekakiPoteto > oekakipoteto/paintBBS.php
<?
$timestart=1;
include('header.php');
include('flagchk.php');
if (!check_flag('D')) {
	$axcord = 0;
	$aycord = 0;
	$xcord = 0;
	$ycord = 0;
}



if (($xcord > $xCanvas) ||  ($ycord > $yCanvas)) {
	$xcord = $xCanvas; 
	$ycord = $yCanvas;
}
?>

<p></p>
<div align="center"><br>
  <br>
</div>
<table width="<?=$hWidth?>" cellpadding="<?=$hCellPadding?>" align="center" cellspacing="2" class="infotable">
  <tr> 
    <td> 
      <p align="center">&nbsp;</p>
      <center>
        <p><applet code="pbbs.PaintBBS.class" 
		align="baseline" width="<?=$axcord?>" 
		height="<?=$aycord?>" 
		archive="PaintBBS.jar" 
		name="paintbbs" 
		MAYSCRIPT>
            <param name="image_width" value="<?=$xcord?>">
            <param name="image_height" value="<?=$ycord?>">
            <param name="image_size" value="65">
            <param name="image_bkcolor" value="#ffffff">
            <param name="compress_level" value="4">
            <param name="undo" value="60">
            <param name="undo_in_mg" value="12">
            <param name="color_text"value="#505078">
            <param name="color_bk" value="#9999bb">
            <param name="color_bk2" value="#8888aa">
            <param name="color_icon" value="#ccccff">
            <param name="url_save" value="functions.php?username=<?=urlencode($OekakiU)?>&mode=picsave&edittimes=<?=time()?>&datatype=0">
            <param name="url_exit" value="index.php?mode=res_msg&edittimes=<?=time()?>&datatype=0">
            <param name="url_target" value="_self">
            <param name="tool_advance" value="true">
            <param name="send_advance" value="true">
            <param name="poo" value="true">
            <param name="thumbnail_width" value="100%">
            <param name="thumbnail_height" value="100%">
            <param name="security_click" value="0">
            <param name="security_timer" value="0">
            <param name="security_url" value="http://www.npa.go.jp/">
            <param name="security_post" value="false">
          </applet>
        
        </p>  
        <?
if (check_flag('D')) {
?>

        <form name="form1" method="get" action="paintBBS.php">
          <table width="50%" border="0" cellspacing="0" cellpadding="2" align="center" class="infotable">
            <tr> 
              <td colspan="2" height="11"> <table width="<?=$hWidth?>" cellpadding="<?=$hCellPadding?>" align="center" class="header">
                  <tr> 
                    <td> <div align="center"><font size="-2"> 
                        <?=$langop_applet_modify?>
                        (<?=$langop_applet_max?> 
                        <?=$xCanvas?>
                        x 
                        <?=$yCanvas?>
                        )</font></div></td>
                  </tr>
                </table></td>
            </tr>
            <tr> 
              <td width="28%"> <div align="right"><font size="-2">X</font>:</div></td>
              <td width="72%"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"> 
                <input type="text" name="xcord" value="<?=$xcord?>" class="txtinput">
                </font></td>
            </tr>
            <tr> 
              <td width="28%"> <div align="right"><font size="-2">Y:</font></div></td>
              <td width="72%"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"> 
                <input type="text" name="ycord" value="<?=$ycord?>" class="txtinput">
                </font></td>
            </tr>
            <tr> 
              <td colspan="2"> <table width="<?=$hWidth?>" cellpadding="<?=$hCellPadding?>" align="center" class="header">
                  <tr> 
                    <td> <div align="center"><font size="-2"><?=$langop_applet_size?> 
                        </font></div></td>
                  </tr>
                </table></td>
            </tr>
            <tr> 
              <td> <div align="right"><font size="-2">X:</font></div></td>
              <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"> 
                <input type="text" name="axcord" value="<?=$axcord?>" class="txtinput">
                (</font><font size="-2">+100 <?=$langop_applet_x?>)</font></td>
            </tr>
            <tr> 
              <td> <div align="right"><font size="-2">Y:</font></div></td>
              <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"> 
                <input type="text" name="aycord" value="<?=$aycord?>" class="txtinput">
                </font><font size="-2">(+96 <?=$langop_applet_y?>)</font></td>
            </tr>
            <tr> 
              <td width="28%"> <div align="right"></div></td>
              <td width="72%"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"> 
                <input type="submit" name="Submit" value="Modify" class="submit">
                </font></td>
            </tr>
          </table>
        </form>
      </center>
      <? } else { echo "<b>You do not have draw access. Ask an administrator on details for recieving access.</b>"; }?>
    </td>
  </tr>
</table>
<br>
<br>
<? include('footer.php'); ?>
</body>
Return current item: OekakiPoteto