📄 tempedit.php
字号:
<?php
include( "../config.inc.php" );
include( "../includes/SysGlobal.php" );
include( "language/".$aLan."_".$charset.".php" );
include( "../includes/version.php" );
include( "../includes/pro.php" );
include( "func/adm.inc.php" );
include( "func/common.inc.php" );
include( "func/plus.inc.php" );
include( "func/db.inc.php" );
include( "func/nocatch.php" );
needauth( 0 );
$step = $_REQUEST['step'];
$plustype = $_REQUEST['plustype'];
$pluslocat = $_REQUEST['pluslocat'];
$tempfile = $_REQUEST['tempfile'];
echo "<html>\r\n<head >\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=";
echo $charset;
echo "\">\r\n<link id=\"style_sheet\" href=\"css/commonstyle.css\" type=\"text/css\" rel=\"stylesheet\">\r\n<title>";
echo $strAdminTitle;
echo "</title>\r\n\r\n</head>\r\n\r\n<body class=\"NormalPage\" >\r\n<br>\r\n<table width=98% border=0 cellspacing=0 cellpadding=0 align=center height=22>\r\n <tr> \r\n <td align=center height=22 width=10 valign=top> </td>\r\n <td align=left height=22 width=3 class=con valign=top><img src=images/menubg10.gif width=3></td>\r\n <td align=center height=22 width=130 class=con><a href='plusedit.php?plustype=";
echo $plustype;
echo "&pluslocat=";
echo $pluslocat;
echo "&tempfile=";
echo $tempfile;
echo "' style=\"color:#333333\">";
echo $strPlusMod;
echo "</a></td>\r\n <td align=center height=22 width=1 class=con><img src=images/menubg11.gif width=3 height=22></td>\r\n <td align=left height=22 width=3 class=title valign=top><img src=images/menubg10.gif width=3></td>\r\n <td align=center height=22 width=130 class=title><a href='tempedit.php?plustype=";
echo $plustype;
echo "&pluslocat=";
echo $pluslocat;
echo "&tempfile=";
echo $tempfile;
echo "' style=\"color:#ffffff\">";
echo $strPlusTempMod;
echo "</a></td>\r\n <td align=center height=22 width=1 class=title><img src=images/menubg11.gif width=3 height=22></td>\r\n <td align=right height=22> </td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';format('Copy')\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this.className='outBorder'\" (Ctrl + Z)\"><img src=\"edithtml/images/copy.gif\" width=\"20\" height=\"20";
echo "\"></td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';format('Cut')\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this.className='outBorder'\" ><img src=\"edithtml/images/cut.gif\" width=\"20\" height=\"20\"></td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';format('Paste')\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this";
echo ".className='outBorder'\" ><img src=\"edithtml/images/paste.gif\" width=\"20\" height=\"20\"></td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';format('Undo')\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this.className='outBorder'\" (Ctrl + Z)\"><img src=\"edithtml/images/undo.gif\" width=\"20\" height=\"20\" (Ctrl + Z)\"></td>\r\n <td width=\"22\" align=\"center\" onClick=\"thi";
echo "s.className='tooldonwBorder';format('Redo')\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this.className='outBorder'\" ><img src=\"edithtml/images/redo.gif\" width=\"20\" height=\"20\" alt=></td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';format('delete')\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this.className='outBorder'\" ><img src=\"edithtml/im";
echo "ages/delete.gif\" width=\"20\" height=\"20\"></td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';format('selectall')\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this.className='outBorder'\" ><img src=\"edithtml/images/selectall.gif\" width=\"20\" height=\"20\"></td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';FindReplace()\" onMouseOver=\"t";
echo "his.className='tooloverBorder'\" onMouseOut=\"this.className='outBorder'\" ><img src=\"edithtml/images/findreplace.gif\" width=\"20\" height=\"20\"></td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';format ('bold');\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this.className='outBorder'\" ><img src=\"edithtml/images/bold.gif\" width=\"20\" height=\"20\"></td>\r\n <td width=";
echo "\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';format ('italic');\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this.className='outBorder'\" ><img src=\"edithtml/images/italic.gif\" width=\"20\" height=\"20\"></td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';format ('underline');\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this.classN";
echo "ame='outBorder'\" ><img src=\"edithtml/images/underline.gif\" width=\"20\" height=\"20\"></td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';format ('strikethrough');\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this.className='outBorder'\" ><img src=\"edithtml/images/del.gif\" width=\"20\" height=\"20\"></td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tool";
echo "donwBorder';Font();\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this.className='outBorder'\" ><img src=\"edithtml/images/font.gif\" width=\"20\" height=\"20\"></td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';format ('CreateLink');\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this.className='outBorder'\" ><img src=\"edithtml/images/link.gif\" width=\"1";
echo "6\" height=\"16\"></td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';format ('Unlink');\" onMouseOver=\"this.className='tooloverBorder'\" onMouseOut=\"this.className='outBorder'\" ><img src=\"edithtml/images/dellink.gif\" width=\"16\" height=\"16\"></td>\r\n <td width=\"22\" align=\"center\" onClick=\"this.className='tooldonwBorder';ShowBorder();\" onMouseOver=\"this.className='tooloverBorde";
echo "r'\" onMouseOut=\"this.className='outBorder'\" ><img src=\"edithtml/images/guide.gif\" width=\"15\" height=\"15\"></td>\r\n </tr>\r\n</table>\r\n<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" align=\"center\" width=\"98%\" bgcolor=\"#0068c3\" style=\"border-top:5px #0068c3 solid\" height=\"390\">\r\n <tr bgcolor=\"#FFFFFF\"> \r\n <td valign=\"top\">";
if ( $step == "modify" )
{
moditemp( $tempfile );
}
$oldbody = gettemp( $tempfile );
echo " \r\n <table width=\"100%\" cellpadding=\"0\" align=\"center\" border=\"0\" cellspacing=\"0\" height=\"100%\">\r\n <form name=\"form\" action=\"tempedit.php\" method=\"post\" enctype=\"multipart/form-data\">\r\n <tr valign=\"top\"> \r\n <td> \r\n <input name=body type=hidden>\r\n ";
include( "edithtml/index3.php" );
echo " </td>\r\n </tr>\r\n <tr> \r\n <td align=\"center\" colspan=\"2\" height=\"26\" class=title> \r\n <input type=\"submit\" name=\"submit\" onClick=\"save();\" value=\" 保 存 \" class=button>\r\n <input type=\"hidden\" name=\"step\" value=\"modify\">\r\n <input type=\"hidden\" name=\"tempfile\" value=\"";
echo $tempfile;
echo "\">\r\n <input type=\"hidden\" name=\"plustype\" value=\"";
echo $plustype;
echo "\">\r\n <input type=\"hidden\" name=\"pluslocat\" value=\"";
echo $pluslocat;
echo "\">\r\n </td>\r\n </tr>\r\n </form>\r\n </table>\r\n </td>\r\n </tr>\r\n</table>\r\n</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -