<select name="select2" onchange="document.add.filetype.value=this.value"> <option value="">类型</option> <option value=".zip">.zip</option> <option value=".rar">.rar</option> <option value=".exe">.exe</option> </select>,文件大小:<input name="filesize" type="text" size=10 id="filesize" value="<?php echo $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'filesize', stripSlashes($r[filesize])); ?> "> <select name="select" onchange="document.add.filesize.value+=this.value"> <option value="">单位</option> <option value=" MB">MB</option> <option value=" KB">KB</option> <option value=" GB">GB</option> <option value=" BYTES">BYTES</option> </select></td> </tr> <tr> <td width=16% height=25 bgcolor=ffffff>上传软件(*)</td> <td bgcolor=ffffff><input type="file" name="downpathfile" size="45"> </td> </tr> <tr> <td width=16% height=25 bgcolor=ffffff>软件简介(*)</td> <td bgcolor=ffffff><textarea name="softsay" cols="60" rows="10" id="softsay"><?php echo $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'softsay', stripSlashes($r[softsay])); ?> </textarea> </td> </tr> </table>
if (!defined('InEmpireCMS')) { exit; } ?> <table width=100% align=center cellpadding=3 cellspacing=1 class="tableborder"><tr><td width='16%' height=25 bgcolor='ffffff'>标题(*)</td><td bgcolor='ffffff'><input name="title" type="text" size="42" value="<?php echo $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'title', stripSlashes($r[title])); ?> "></td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>副标题</td><td bgcolor='ffffff'><input name="ftitle" type="text" size=42 id="ftitle" value="<?php echo $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'ftitle', stripSlashes($r[ftitle])); ?> "> </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>关键字</td><td bgcolor='ffffff'><input name="keyboard" type="text" size=42 value="<?php echo stripSlashes($r[keyboard]); ?> "> <font color="#666666">(多个请用","隔开)</font></td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>标题图片</td><td bgcolor='ffffff'><input type="file" name="titlepicfile" size="45"></td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>内容简介</td><td bgcolor='ffffff'><textarea name="smalltext" cols="60" rows="10" id="smalltext"><?php echo $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'smalltext', stripSlashes($r[smalltext])); ?> </textarea> </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>作者</td><td bgcolor='ffffff'><input name="writer" type="text" id="writer" value="<?php echo $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'writer', stripSlashes($r[writer])); ?> " size=""> </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>信息来源</td><td bgcolor='ffffff'><input name="befrom" type="text" id="befrom" value="<?php echo $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'befrom', stripSlashes($r[befrom])); ?> " size=""> </td></tr><tr><td height=25 colspan=2 bgcolor='ffffff'><div align=left>新闻正文(*)</div></td></tr></table><div style="background-color:#D0D0D0"><?php echo ECMS_ShowEditorVar("newstext", $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'newstext', stripSlashes($r[newstext])), "Default", "", "300", "100%"); ?> </div>
<script type="text/javascript" src="/e/extend/ueditor/ueditor.config.js"></script> <script type="text/javascript" src="/e/extend/ueditor/ueditor.all.min.js"></script> <?php } /** * UEditor for ECMS编辑器字段配置 * User: pkkgu 910111100@qq.com */ $Field = 'newstext'; //*字段名称 $FieldVal = $ecmsfirstpost == 1 ? "" : stripSlashes($r[$Field]); $isadmin = 0; if ($enews == 'AddNews' || $enews == 'EditNews') { $isadmin = 1; } else { $FieldVal = empty($ecmsfirstpost) ? DoReqValue($mid, $Field, $FieldVal) : $r[$Field]; } ?> <script id="<?php echo $Field; ?> " name="<?php echo $Field; ?> " type="text/plain"><?php echo $FieldVal; ?> </script> <script type="text/javascript"> var ue = UE.getEditor('<?php echo $Field;
?> >丰台区</option><option value="石景山区"<?php echo $r[myarea] == "石景山区" ? ' selected' : ''; ?> >石景山区</option><option value="通州区"<?php echo $r[myarea] == "通州区" ? ' selected' : ''; ?> >通州区</option><option value="昌平区"<?php echo $r[myarea] == "昌平区" ? ' selected' : ''; ?> >昌平区</option><option value="大兴区"<?php echo $r[myarea] == "大兴区" ? ' selected' : ''; ?> >大兴区</option><option value="其它"<?php echo $r[myarea] == "其它" ? ' selected' : ''; ?> >其它</option></select></td></tr><tr> <td width=16% height=25 bgcolor=ffffff>联系邮箱(*)</td> <td bgcolor=ffffff><input name="email" type="text" id="email" value="<?php echo $ecmsfirstpost == 1 ? $memberinfor[$user_email] : DoReqValue($mid, 'email', stripSlashes($r[email])); ?> " size="46"> </td></tr><tr><td width=16% height=25 bgcolor=ffffff>联系方式</td><td bgcolor=ffffff><input name="mycontact" type="text" size=46 id="mycontact" value="<?php echo $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'mycontact', stripSlashes($r[mycontact])); ?> "> </td></tr><tr><td width=16% height=25 bgcolor=ffffff>联系地址</td><td bgcolor=ffffff><input name="address" type="text" id="address" value="<?php echo $ecmsfirstpost == 1 ? $memberinfor[address] : DoReqValue($mid, 'address', stripSlashes($r[address])); ?> " size="46"> </td></tr></table>
<font color="#666666">(多个请用","隔开)</font> </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>标题图片</td><td bgcolor='ffffff'><input type="file" name="titlepicfile" size="45"> </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>栏目1</td><td bgcolor='ffffff'><input name="classpath1" type="text" id="classpath1" value="<?php echo $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'classpath1', stripSlashes($r[classpath1])); ?> " size=""> </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>栏目2</td><td bgcolor='ffffff'><input name="classpath2" type="text" id="classpath2" value="<?php echo $ecmsfirstpost == 1 ? "<?{$explode}=explode('/', {$class_r[$classid]}['classpath']); if(count({$explode}) != 1) echo end({$explode}); ?>" : DoReqValue($mid, 'classpath2', stripSlashes($r[classpath2])); ?> " size=""> </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>内容简介</td><td bgcolor='ffffff'><textarea name="smalltext" cols="80" rows="10" id="smalltext"><?php echo $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'smalltext', stripSlashes($r[smalltext])); ?> </textarea> </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>作者</td><td bgcolor='ffffff'><input name="writer" type="text" id="writer" value="<?php echo $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'writer', stripSlashes($r[writer])); ?> " size=""> </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>信息来源</td><td bgcolor='ffffff'><input name="befrom" type="text" id="befrom" value="<?php echo $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'befrom', stripSlashes($r[befrom])); ?> " size=""> </td></tr><tr><td height=25 colspan=2 bgcolor='ffffff'><div align=left>新闻正文</div></td></tr></table><div style='background-color:#D0D0D0'><?php echo ECMS_ShowEditorVar("newstext", $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'newstext', stripSlashes($r[newstext])), "Default", "", "300", "100%"); ?> </div><table width='100%' align=center cellpadding=3 cellspacing=1 bgcolor='#DBEAF5'><tr><td width='16%' height=25 bgcolor='ffffff'>顶</td><td bgcolor='ffffff'> <input name="diggtop" type="text" id="diggtop" value="<?php echo $ecmsfirstpost == 1 ? "" : DoReqValue($mid, 'diggtop', stripSlashes($r[diggtop])); ?> " size=""> </td></tr></table>