📄 create_news_form.php
字号:
</select>
<input type="button" name="Submit72" value="选择模板" onClick=openwin("select_modle.php?id=2") class="input1">
<br>
专题二
<select name="column3" class="input1">
<option value='0'>选择专题</option>
<?
$sqldo="select spec_id,spec_name from basespec where spec_layer=2";
$result_array=$cla->db_query($sqldo);
$i=0;
$old=$result_array[$i][0];
while($result_array[$i][0]){
$temp1=$result_array[$i][0];
$temp1_name=strip_tags($result_array[$i]["SPEC_NAME"]);
$sqldo_in="select spec_id,spec_name from basespec where spec_father='$temp1'";
$result_array_in=$cla->db_query($sqldo_in);
$j=0;
$flg1=0;
if($result_array_in[$j][0]==""){//如果是空,也显示一次,即将第二级专题显示出来
$flg1=1;
}
while($result_array_in[$j][0] or $flg1){
$temp2=$result_array_in[$j][0];
$temp2_name=strip_tags($result_array_in[$j]["SPEC_NAME"]);
$sqldo_in_in="select spec_id,spec_name from basespec where spec_father='$temp2'";
$result_array_in_in=$cla->db_query($sqldo_in_in);
$k=0;
$flg2=0;
if($result_array_in_in[$k][0]==""){//如果是空,也显示一次,即将第三级专题显示出来
$flg2=1;
}
while(($result_array_in_in[$k][0]<>"") or ($flg2<>0) or ($flg1<>0)){
$temp3=$result_array_in_in[$k]['SPEC_ID'];
$temp3_name=strip_tags($result_array_in_in[$k]['SPEC_NAME']);
echo "<option value=";
if($temp3){echo $temp3;}elseif($temp2){echo $temp2;}elseif($temp1){echo $temp1;}
echo "> ";
echo "$temp1_name";
if($temp2_name){ echo ".$temp2_name";if($temp3_name) echo".$temp3_name";}
echo " </option>";
$flg1=0; $flg2=0; $k++;
}//第四级
$j++;
}//第三级
$old=$result_array[$i][0];
$i++;
echo "<option value=''>*********************************************</option>";
}//第二级
?>
</select>
<input name="Submit73" type="button" class="input1" onClick=openwin("select_modle.php?id=3") value="选择模板">
<input type="hidden" name="newlinkid">
<? $fp=fopen("../list.txt","r");
$buffer = fgets($fp, 4096);
$modle_default=trim($buffer);
fclose($fp);
?>
<input name="modle" type="hidden" value="<? echo $modle_default;?>">
<input name="modle1" type="hidden" value="<? echo $modle_default;?>">
<input name="modle2" type="hidden" value="<? echo $modle_default;?>">
</td>
</tr>
<tr bgcolor="#efefef">
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="73%" bgcolor="#efefef"> <textarea name="newtext" cols="86" rows="30" class="input1"></textarea></td>
<td width="27%" valign="top" bgcolor="#efefef" bordercolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="791">链接文本
<input name="linktext" type="text" class="input1" size="30"></td>
</tr>
<tr>
<td>新的地址
<input name="newlink" type="text" class="input1" value="http://" size="30"></td>
</tr>
<tr>
<td>原链接地址
<input name="oldlink" type="text" class="input1" value="http://" size="30"></td>
</tr>
<tr>
<td><input name="Submit3" type="button" class="input1" onClick=addlink() value="加连接" >
<input name="Submit4" type="button" class="input1" onClick=modilink() value="修改链接" ></td>
</tr>
<tr>
<td height="60"> </td>
</tr>
<tr>
<td>修饰文本
<input name="moditext" type="text" class="input1" size="30"></td>
</tr>
<tr>
<td>新色
<select name="newcolor" class="input1">
<option style="color: #9999ff"value="#9999ff" >██</option>
<option style="color: #ff3333"value="#ff3333">██</option>
<option style="color: #000000" value="#000000"selected>██
</option>
<option style="color: #000088"value="#000088">██ </option>
<option style="color: #0000ff"value="#0000ff">██ </option>
<option style="color: #008800"value="#008800">██ </option>
<option style="color: #008888"value="#008888">██ </option>
<option style="color: #0088ff"value="#0088ff">██ </option>
<option style="color: #880000"value="#880000">██ </option>
<option style="color: #aa00cc"value="#aa00cc">██ </option>
<option style="color: #8800ff"value="#8800ff">██ </option>
<option style="color: #888800"value="#888800">██ </option>
<option style="color: #888888"value="#888888">██ </option>
<option style="color: #ccaa00"value="#ccaa00">██ </option>
<option style="color: #8888ff"value="#8888ff">██ </option>
<option style="color: #ff0000"value="#ff0000">██ </option>
<option style="color: #ff0088"value="#ff0088">██ </option>
<option style="color: #ff00ff"value="#ff00ff">██ </option>
<option style="color: #ff8800"value="#ff8800">██ </option>
<option style="color: #ff0000"value="#ff0000">██ </option>
<option style="color: #ff88ff"value="#ff88ff">██ </option>
<option style="color: #3388aa"value="#3388aa">██ </option>
</select>
原色
<select name="oldcolor" class="input1">
<option style="color: #9999ff"value="#9999ff" >██</option>
<option style="color: #ff3333"value="#ff3333">██</option>
<option style="color: #000000" value="#000000"selected>██
</option>
<option style="color: #000088"value="#000088">██ </option>
<option style="color: #0000ff"value="#0000ff">██ </option>
<option style="color: #008800"value="#008800">██ </option>
<option style="color: #008888"value="#008888">██ </option>
<option style="color: #0088ff"value="#0088ff">██ </option>
<option style="color: #880000"value="#880000">██ </option>
<option style="color: #aa00cc"value="#aa00cc">██ </option>
<option style="color: #8800ff"value="#8800ff">██ </option>
<option style="color: #888800"value="#888800">██ </option>
<option style="color: #888888"value="#888888">██ </option>
<option style="color: #ccaa00"value="#ccaa00">██ </option>
<option style="color: #8888ff"value="#8888ff">██ </option>
<option style="color: #ff0000"value="#ff0000">██ </option>
<option style="color: #ff0088"value="#ff0088">██ </option>
<option style="color: #ff00ff"value="#ff00ff">██ </option>
<option style="color: #ff8800"value="#ff8800">██ </option>
<option style="color: #ff0000"value="#ff0000">██ </option>
<option style="color: #ff88ff"value="#ff88ff">██ </option>
<option style="color: #3388aa"value="#3388aa">██ </option>
</select> </td>
</tr>
<tr>
<td><input name="Submit5" type="button" class="input1" onClick=addcolor() value="加修饰">
<input name="Submit6" type="button" class="input1" onClick=modicolor() value="改修饰"></td>
</tr>
</table>
<p> </p>
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top" bgcolor="#efefef">
<td width="165" height="35">来源: </td>
<td width="605" height="35">
<textarea name="newsource" cols="95" rows="2" class="input1"></textarea>
</td>
</tr>
<tr bgcolor="#efefef">
<td width="165" height="47">来源说明:</td>
<td width="605" height="47">
<textarea name="newsourcestr" cols="95" rows="6" class="input1"></textarea>
</td>
</tr>
<tr bgcolor="#efefef">
<td height="20" colspan="2"> <input name="file1" type="file" class="input1">
<input name="pic1" type="text" class="input1" value="" size="80">
<input name="Button" type="button" class="input1" onclick=preview(document.form1.file1.value) value="预览"> </td>
</tr>
<tr bgcolor="#efefef">
<td colspan="2"> <input name="file2" type="file" class="input1">
<input name="pic2" type="text" class="input1" size="80">
<input name="Button3" type="button" class="input1" onclick=preview(document.form1.file2.value) value="预览"> </td>
</tr>
<tr bgcolor="#efefef">
<td colspan="2">
<input name="file3" type="file" class="input1">
<input name="pic3" type="text" class="input1" size="80">
<input name="Button4" type="button" class="input1" onclick=preview(document.form1.file3.value) value="预览"> </td>
</tr>
<tr bgcolor="#efefef">
<td colspan="2">
<input name="file4" type="file" class="input1">
<input name="pic4" type="text" class="input1" size="80">
<input name="Button5" type="button" class="input1" onclick=preview(document.form1.file4.value) value="预览"> </td>
</tr>
<tr bgcolor="#efefef">
<td colspan="2">
<input name="file5" type="file" class="input1">
<input name="pic5" type="text" class="input1" size="80">
<input name="Button6" type="button" class="input1" onclick=preview(document.form1.file5.value) value="预览"> </td>
</tr>
<tr bgcolor="#efefef">
<td height="21" colspan="2" > <div align="center">
<input type="button" name="Button" value=" 提 交 " class="input1" onclick=check()>
<input type="button" name="Submit2" value=" 取 消 " class="input1">
</div></td>
</tr>
<tr bgcolor="#efefef">
<td colspan="2"> </td>
</tr>
</table>
</form>
</body>
</html>
<?$cla->db_logoff();
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -