?
Path : /home/admin/public_html/old/promice/ |
Current File : /home/admin/public_html/old/promice/editwebboard.php |
<? include("header.php");?> <table width="89%" border="0" align="center" cellpadding="1" cellspacing="1"> <tr> <td width="100%" colspan="2"><table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#E9E9E6"> <tr> <td><div align="center"> <table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td><div align="center"><br> <table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td><div align="center"> <?php $sql_1="select * from webboard where id = '$_GET[id]'"; $db_query=mysql_db_query($db,$sql_1); $result1=mysql_fetch_array($db_query); $idx =$result1['id']; $productsname =$result1['topic']; $productsdetail =$result1['message']; $productsphoto =$result1['productsphoto']; ?> <table width="763" border="0" align="center" cellpadding="1" cellspacing="1"> <form method="post" action="editarticlesave.php" enctype="multipart/form-data"> <tr bgcolor="#FFFFFF"> <td width="149" valign="top"> <div align="right">Topic :</div></td> <td width="415"> <input name="productsname" type="text" class="input" id="productsname3" value='<? echo $productsname; ?>' size="40"> <input type="hidden" name="idx" value=<? echo "$idx"; ?>> </td> </tr> <tr bgcolor="#FFFFFF"> <td valign="top"> <div align="right">Detail :</div></td> <td> <textarea name="detail" cols="70" rows="10" class="input" id="txtDescription1"><? echo "$productsdetail"; ?></textarea> </td> </tr> <tr bgcolor="#FFFFFF"> <td valign="top"> <div align="right">Images :</div></td> <td> <? if ($productsphoto != "") { echo "<img src=IMG/$productsphoto width=150><br><a href=CancelPhoto.php?PrdID=$_GET[id]&PhotoField=productsphoto&PhotoName=$productsphoto>Delete Image/a>"; echo "<input type=hidden name=productsphotosend value='$productsphoto'>"; }else{ echo "<input type=file name=productsphoto size=50 class=input>"; } ?> </td> </tr> <tr bgcolor="#FFFFFF"> <td valign="top"> </td> <td> <input name="submit" type="submit" class="submit" value="Edit Webboard!" onClick="return confirm ('당신은 제품을 수정해야합니까? ') "> </td> </tr> </form> </table> </div></td> </tr> </table> <br> <br> </div></td> </tr> </table> </div></td> </tr> </table></td> </tr> <tr> <td colspan="2"><div align="center"><br> <? echo "$buttomtxt"; ?> </div></td> </tr> </table> </div> </body> </html>