123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- <?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" class="color">
- </td>
- </tr>
- </table></td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>副标题</td><td bgcolor='ffffff'><input name="ftitle" type="text" size=60 id="ftitle" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[ftitle]))?>">
- </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="newstime" type="text" value="<?=$r[newstime]?>" size="28" class="Wdate" onClick="WdatePicker({skin:'default',dateFmt:'yyyy-MM-dd HH:mm:ss'})"><input type=button name=button value="设为当前时间" onclick="document.add.newstime.value='<?=$todaytime?>'"></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<?=$ecms_hashur[ehref]?>','','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'><textarea name="smalltext" cols="80" rows="10" id="smalltext"><?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[smalltext]))?></textarea>
- </td></tr><tr><td height=25 colspan=2 bgcolor='ffffff'><div align=left>新闻正文</div></td></tr></table><div style='background-color:#D0D0D0'><?=ECMS_ShowEditorVar("newstext",$ecmsfirstpost==1?"":stripSlashes($r[newstext]),"Default","","300","100%")?>
- <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
- <tr>
- <td bgcolor="#FFFFFF"> <input name="dokey" type="checkbox" value="1"<?=$r[dokey]==1?' checked':''?>>
- 关键字替换 <input name="copyimg" type="checkbox" id="copyimg" value="1">
- 远程保存图片(
- <input name="mark" type="checkbox" id="mark" value="1">
- <a href="SetEnews.php<?=$ecms_hashur[whehref]?>" target="_blank">加水印</a>)
- <input name="copyflash" type="checkbox" id="copyflash" value="1">
- 远程保存FLASH(地址前缀:
- <input name="qz_url" type="text" id="qz_url" size="">
- )</td>
- </tr>
- <tr>
-
- <td bgcolor="#FFFFFF"><input name="repimgnexturl" type="checkbox" id="repimgnexturl" value="1"> 图片链接转为下一页 <input name="autopage" type="checkbox" id="autopage" value="1">自动分页
- ,每
- <input name="autosize" type="text" id="autosize" value="5000" size="5">
- 个字节为一页 取第
- <input name="getfirsttitlepic" type="text" id="getfirsttitlepic" value="" size="1">
- 张上传图为标题图片(
- <input name="getfirsttitlespic" type="checkbox" id="getfirsttitlespic" value="1">
- 缩略图: 宽
- <input name="getfirsttitlespicw" type="text" id="getfirsttitlespicw" size="3" value="<?=$public_r[spicwidth]?>">
- *高
- <input name="getfirsttitlespich" type="text" id="getfirsttitlespich" size="3" value="<?=$public_r[spicheight]?>">
- )</td>
- </tr>
- </table>
- </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="zd" type="text" id="zd" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[zd]))?>" size="80">
- </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>客队</td><td bgcolor='ffffff'>
- <input name="kd" type="text" id="kd" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[kd]))?>" size="">
- </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>类别</td><td bgcolor='ffffff'><input name="typename" type="text" id="typename" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[typename]))?>" size="">
- </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>视频地址</td><td bgcolor='ffffff'>
- <script>
- function domvadd_jijin()
- {
- var i;
- var str='';
- var oldi=0;
- var j=0;
- var addnum=0;
- addnum=parseInt(document.add.mvaddnum_jijin.value);
- oldi=parseInt(document.add.mveditnum_jijin.value);
- for(i=1;i<=addnum;i++)
- {
- j=i+oldi;
- str=str+'<tr><td align="center"><input type="text" name="jijin_1[]" id="jijin_1_'+j+'" value=""></td><td align="center"><input type="text" name="jijin_2[]" id="jijin_2_'+j+'" value=""></td></tr>';
- }
- document.getElementById("mvadd_jijin").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><td align="center">设置2</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="jijin_1[]" id="jijin_1_<?=$i?>" value=""></td><td align="center"><input type="text" name="jijin_2[]" id="jijin_2_<?=$i?>" value=""></td></tr>
- <?php
- }
- ?>
- </table>
- <?php
- }
- else
- {
- $editnum=0;
- if($r['jijin'])
- {
- $r['jijin']=stripSlashes($r['jijin']);
- ?>
- <table width='100%' border=0 cellspacing=1 cellpadding=3>
- <?php
- //录入项
- $j=0;
- $mvf_record=explode('||||||',$r['jijin']);
- $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="jijin_1[]" id="jijin_1_<?=$j?>" value="<?=$mvf_field[0]?>"> <input type="hidden" name="jijin_mvid[]" id="jijin_mvid_<?=$j?>" value="<?=$j?>"><input type="checkbox" name="jijin_mvdelid[]" id="jijin_mvdelid_<?=$j?>" value="<?=$j?>">删</td><td align="center"><input type="text" name="jijin_2[]" id="jijin_2_<?=$j?>" value="<?=$mvf_field[1]?>"></td></tr>
- <?php
- }
- ?>
- </table>
- <?php
- $editnum=$j;
- }
- }
- ?>
- </td>
- </tr>
- <tr>
- <td height="25">扩展数量: <input name="mveditnum_jijin" type="hidden" id="mveditnum_jijin" value="<?=$editnum?>">
- <input name="mvnum_jijin" type="hidden" id="mvnum_jijin" value="2">
- <input name="mvmust_jijin" type="hidden" id="mvmust_jijin" value="1">
- <input name="mvaddnum_jijin" type="text" id="mvaddnum_jijin" value="1" size="6"> <input type="button" name="Submit5" value="输出" onclick="javascript:domvadd_jijin();"></td>
- </tr>
- <tr>
- <td id="mvadd_jijin"></td>
- </tr>
- </table>
- </td></tr><tr><td width='16%' height=25 bgcolor='ffffff'>采集地址</td><td bgcolor='ffffff'>
- <input name="cjurl" type="text" id="cjurl" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($r[cjurl]))?>" size="">
- </td></tr></table>
|