<?php if(!defined('InEmpireCMS')) { exit(); } ?><table width='100%' align=center cellpadding=3 cellspacing=1 bgcolor='#DBEAF5'><tr><td width='16%' height=25 bgcolor='ffffff'>标题</td><td bgcolor='ffffff'> <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#DBEAF5"> <tr> <td height="25" bgcolor="#FFFFFF"> <?=$tts?"<select name='ttid'><option value='0'>标题分类</option>$tts</select>":""?> <input type=text name=title value="<?=ehtmlspecialchars(stripSlashes($r[title]))?>" size="60"> <input type="button" name="button" value="图文" onclick="document.add.title.value=document.add.title.value+'(图文)';"> </td> </tr> <tr> <td height="25" bgcolor="#FFFFFF">属性: <input name="titlefont[b]" type="checkbox" value="b"<?=$titlefontb?>>粗体 <input name="titlefont[i]" type="checkbox" value="i"<?=$titlefonti?>>斜体 <input name="titlefont[s]" type="checkbox" value="s"<?=$titlefonts?>>删除线 颜色: <input name="titlecolor" type="text" value="<?=stripSlashes($r[titlecolor])?>" size="10"><a onclick="foreColor();"><img src="../data/images/color.gif" width="21" height="21" align="absbottom"></a> </td> </tr> </table> </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>特殊属性</td><td bgcolor='ffffff'> <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#DBEAF5"> <tr> <td height="25" bgcolor="#FFFFFF">信息属性: <input name="checked" type="checkbox" value="1"<?=$r[checked]?' checked':''?>> 审核 推荐 <select name="isgood" id="isgood"> <option value="0">不推荐</option> <?=$ftnr['igname']?> </select> 头条 <select name="firsttitle" id="firsttitle"> <option value="0">非头条</option> <?=$ftnr['ftname']?> </select></td> </tr> <tr> <td height="25" bgcolor="#FFFFFF">关键字 : <input name="keyboard" type="text" size="52" value="<?=stripSlashes($r[keyboard])?>"> <font color="#666666">(多个请用","隔开)</font></td> </tr> <tr> <td height="25" bgcolor="#FFFFFF">外部链接: <input name="titleurl" type="text" value="<?=stripSlashes($r[titleurl])?>" size="52"> <font color="#666666">(填写后信息连接地址将为此链接)</font></td> </tr> </table> </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>标题图片</td><td bgcolor='ffffff'> <input name="titlepic" type="text" id="titlepic" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[titlepic]))?>" size="45"> <a onclick="window.open('ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=titlepic','','width=700,height=550,scrollbars=yes');" title="选择已上传的图片"><img src="../data/images/changeimg.gif" border="0" align="absbottom"></a> </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>发布时间</td><td bgcolor='ffffff'> <input name="newstime" type="text" value="<?=$r[newstime]?>"><input type=button name=button value="设为当前时间" onclick="document.add.newstime.value='<?=$todaytime?>'"> </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>ttt</td><td bgcolor='ffffff'><script> function domvadd_ttt() { var i; var str=\\\'\\\'; var oldi=0; var j=0; var addnum=0; addnum=parseInt(document.add.mvaddnum_ttt.value); oldi=parseInt(document.add.mveditnum_ttt.value); for(i=1;i<=addnum;i++) { j=i+oldi; str=str+\\\'<tr><td align=\\\"center\\\"><input type=\\\"text\\\" name=\\\"ttt_1[]\\\" id=\\\"ttt_1_\\\'+j+\\\'\\\" value=\\\"\\\"></td></tr>\\\'; } document.getElementById(\\\"mvadd_ttt\\\").innerHTML=\\\"<table width=\\\'100%\\\' border=0 cellspacing=1 cellpadding=3>\\\"+str+\\\"</table>\\\"; } </script> <table width=\\\"100%\\\" border=\\\"0\\\" cellspacing=\\\"0\\\" cellpadding=\\\"0\\\"> <tr> <td> <table width=\\\"100%\\\" border=\\\"0\\\" cellpadding=\\\"3\\\" cellspacing=\\\"1\\\" bgcolor=\\\"#DBEAF5\\\"> <tr><td align=\\\"center\\\">设置1</td></tr> </table> </td> </tr> <tr> <td> <?php if($ecmsfirstpost==1) { ?> <table width=\\\'100%\\\' border=0 cellspacing=1 cellpadding=3> <?php $editnum=3; for($i=1;$i<=$editnum;$i++) { ?> <tr><td align=\\\"center\\\"><input type=\\\"text\\\" name=\\\"ttt_1[]\\\" id=\\\"ttt_1_<?=$i?>\\\" value=\\\"\\\"></td></tr> <?php } ?> </table> <?php } else { $editnum=0; if($r[\\\'ttt\\\']) { $r[\\\'ttt\\\']=stripSlashes($r[\\\'ttt\\\']); ?> <table width=\\\'100%\\\' border=0 cellspacing=1 cellpadding=3> <?php //录入项 $j=0; $mvf_record=explode(\\\'||||||\\\',$r[\\\'ttt\\\']); $mvf_count=count($mvf_record); for($i=0;$i<$mvf_count;$i++) { $j=$i+1; $mvf_field=explode(\\\"::::::\\\",$mvf_record[$i]); ?> <tr><td align=\\\"center\\\"><input type=\\\"text\\\" name=\\\"ttt_1[]\\\" id=\\\"ttt_1_<?=$j?>\\\" value=\\\"<?=$mvf_field[0]?>\\\"> <input type=\\\"hidden\\\" name=\\\"ttt_mvid[]\\\" id=\\\"ttt_mvid_<?=$j?>\\\" value=\\\"<?=$j?>\\\"><input type=\\\"checkbox\\\" name=\\\"ttt_mvdelid[]\\\" id=\\\"ttt_mvdelid_<?=$j?>\\\" value=\\\"<?=$j?>\\\">删</td></tr> <?php } ?> </table> <?php $editnum=$j; } } ?> </td> </tr> <tr> <td height=\\\"25\\\">扩展数量: <input name=\\\"mveditnum_ttt\\\" type=\\\"hidden\\\" id=\\\"mveditnum_ttt\\\" value=\\\"<?=$editnum?>\\\"> <input name=\\\"mvnum_ttt\\\" type=\\\"hidden\\\" id=\\\"mvnum_ttt\\\" value=\\\"1\\\"> <input name=\\\"mvmust_ttt\\\" type=\\\"hidden\\\" id=\\\"mvmust_ttt\\\" value=\\\"1\\\"> <input name=\\\"mvaddnum_ttt\\\" type=\\\"text\\\" id=\\\"mvaddnum_ttt\\\" value=\\\"1\\\" size=\\\"6\\\"> <input type=\\\"button\\\" name=\\\"Submit5\\\" value=\\\"输出\\\" onclick=\\\"javascript:domvadd_ttt();\\\"></td> </tr> <tr> <td id=\\\"mvadd_ttt\\\"></td> </tr> </table> </td></tr></table>
|