/uploads/member/templets/article_edit.htm
HTML | 129 lines | 107 code | 0 blank | 22 comment | 0 complexity | d2a880dccd5a975400d99c74b4fdb653 MD5 | raw file
Possible License(s): LGPL-2.1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>????:<?php echo $row['title']?></title>
- <?php include(DEDEMEMBER."/templets/head_inc.htm"); ?>
- <script language="javascript" type="text/javascript" src='js/main.js'></script>
- <script language="javascript" type="text/javascript">
- <!--
- function checkSubmit()
- {
-
- if(document.form1.title.value==""){
- alert("?????????");
- document.form1.title.focus();
- return false;
- }
-
- if(document.form1.typeid.value==0){
- alert("???????????");
- return false;
- }
-
- if(document.form1.typeid.options[document.form1.typeid.selectedIndex].className!='option3')
- {
- alert("??????????????????");
- return false;
- }
- }
- -->
- </script>
- </head>
- <body>
- <?php include(DEDEMEMBER."/templets/head.htm"); ?>
- <div class="wrapper lineT">
- <div class="mainBox">
- <div class="main">
- <?php include(DEDEMEMBER."/templets/menu.php"); ?>
- <div class="dedeMain">
- <div class="location"><span class="titEditChannel1 icon">????</span></div>
- <form class="mTB10 mL10 mR10" name="form1" id="form1" action="article_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
- <input type="hidden" name="dopost" value="save" />
- <input type="hidden" name="aid" value="<?php echo $row['id']; ?>" />
- <input type="hidden" name="idhash" value="<?php echo md5($row['id'].$cfg_cookie_encode); ?>" />
- <input type="hidden" name="channelid" value="<?php echo $row['channel']; ?>" />
- <input type="hidden" name="oldlitpic" value="<?php echo $row['litpic']; ?>" />
- <input type="hidden" name="sortrank" value="<?php echo $row['sortrank']; ?>" />
- <table cellspacing="1" class="submit">
- <thead>
- <tr>
- <th colspan="2" ><strong>????</strong></th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td width="15%" align="right" valign="top">???</td>
- <td><input name="title" type="text" id="title" value="<?php echo $row['title']?>" size="30" class="text" style="width:400px;"/></td>
- </tr>
- <tr>
- <td align="right" valign="top">??TAG?</td>
- <td><input name="tags" type="text" id="tags" size="30" class="text" value="<?php echo $row['keywords']; ?>" style="width:400px;"/>
- (?????) </td>
- </tr>
- <tr>
- <td align="right" valign="top">???</td>
- <td><input type="text" name="writer" id="writer" size="30" class="text" value="<?php echo $cfg_ml->M_UserName?>" /></td>
- </tr>
- <tr>
- <td align="right" valign="top">?????</td>
- <td><?php
- $typeOptions = GetOptionList($row["typeid"],$row["channel"]);
- echo "<select name='typeid' size='1'>\r\n";
- echo $typeOptions;
- echo "</select>";
- ?><font color="#FF0000">*</font>(??????????)
- </td>
- </tr>
- <tr>
- <td align="right" valign="top">?????</td>
- <td><?php
- $typeOptions = classification($cfg_ml->M_ID, $row['mtypeid'], $channelid);
- echo "<select name='mtypesid' size='1'>\r\n";
- echo "<option value='0' selected>?????...</option>\r\n";
- echo $typeOptions;
- echo "</select>";
- ?></td>
- </tr>
- <tr>
- <td align="right" valign="top">?????</td>
- <td><textarea name="description" id="description" style="height:50px"><?php echo $row["description"]; ?></textarea>
- (???????) </td>
- </tr>
- <tr>
- <td align="right" valign="top">????</td>
- <td><input class="file" name="litpic" type="file" id="litpic" style="width:408px" onchange="SeePicNew('divpicview',this);" />
- <div id='divpicview' class='divpre'></div></td>
- </tr>
- <?php if($row['litpic']!=''){ ?>
- <tr>
- <td align="right" valign="top">???????</td>
- <td><div id='divpicview' class='divpre mTB10 litPic'> <img name="nlitpic" id="nlitpic" src='<?php echo $row['litpic']; ?>' /></div></td>
- </tr>
- <?php
- }
- //?????
- PrintAutoFieldsEdit($row['fieldset'],$addRow,'autofield');
- ?>
- <tr>
- <td align="left" valign="top"><strong>?????</strong></td>
- <td><?php GetEditor("body",$addRow['body'],350,"Member"); ?></td>
- </tr>
- </tbody>
- <tfoot>
- <tr>
- <td height="45" valign="top"> </td>
- <td height="45"><button class="button2" type="submit">??</button>
- <button class="button2 mL10" type="reset" onclick="location.reload();">??</button></td>
- </tr>
- </tfoot>
- </table>
- </form>
- </div>
- <div class="clear"></div>
- </div>
- <div class="clear"></div>
- </div>
- </div>
- <?php include(DEDEMEMBER."/templets/foot.htm"); ?>
- </body>
- </html>