document.save.submit(); } </script> <form name="save" method="post" action="?ac=edit&do=save&fileurl=book"> <input type="hidden" name="savetype" value="edit" /> <input type="hidden" name="id" value="<?php echo $blog['id']; ?> " /> <table class="TableBlock" border="0" width="90%" align="center" style="border-bottom:#4686c6 solid 0px;"> <tr> <td nowrap class="TableData" width="15%"> 图书类目:</td> <td class="TableData"> <select class="BigStatic" name="booktype"> <?php get_book_type(0, $blog['booktype']); ?> </select> </td> </tr> <tr> <td nowrap class="TableData"> 图书编号:<?php get_helps(); ?> </td> <td class="TableData"> <input name="bookumber" type="text" value="<?php echo $blog['bookumber']; ?> " class="BigInput" id="bookumber" style="width: 200px;" maxlength="100" /> </td> </tr> <tr>
} function sendForm() { if(CheckForm()) document.save.submit(); } </script> <form name="save" method="post" action="?ac=add&do=save&fileurl=book"> <input type="hidden" name="savetype" value="add" /> <table class="TableBlock" border="0" width="90%" align="center" style="border-bottom:#4686c6 solid 0px;"> <tr> <td nowrap class="TableData" width="15%"> 图书类目:</td> <td class="TableData"> <select class="BigStatic" name="booktype"> <?php get_book_type(); ?> </select> 还没有类别? <a href="admin.php?ac=file_type_add&fileurl=book">点击添加类别>> </a></td> </tr> <tr> <td nowrap class="TableData"> 图书编号:<?php get_helps(); ?> </td> <td class="TableData"> <input name="bookumber" type="text" class="BigInput" id="bookumber" style="width: 200px;" maxlength="100" value="<?php echo get_date('YmdHis', PHP_TIME); ?> " /> </td> </tr> <tr>
<label class="ui-form-label" for="J-start">创建时间:</label> <div class="ui-form-content"> <input type="text" value="<?php echo $vstartdate; ?> " class="ui-input i-date" readonly="readonly" onClick="WdatePicker();" name='vstartdate' > - <input type="text" value="<?php echo $venddate; ?> " class="ui-input i-date" readonly="readonly" onClick="WdatePicker();" name='venddate' > </div> <label class="ui-form-label" for="J-start">所属类目:</label> <div class="ui-form-content"> <select class="BigStatic" name="filetype"> <option value="" selected="selected">请选择</option> <?php get_book_type(0, $filetype); ?> </select> </div> <div class="submit-time-container "> <div class="submit-time ui-button ui-button-sorange"> <input type="submit" class="ui-button-text"id="J-submit-time" value="查 找"/> </div> </div> </div> </div> </div> </div><!-- .record-search --> </form>