📄 font.php
字号:
<?php
include( "../../config.inc.php" );
include( "../language/".$aLan."_".$charset.".php" );
include( "../../includes/version.php" );
include( "../../includes/pro.php" );
echo "<html>\r\n<head >\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=";
echo $charset;
echo "\">\r\n<link rel=stylesheet type=text/css href=style.css>\r\n<title>";
echo $strHtmlFont;
echo "</title>\r\n\r\n\r\n";
echo "<s";
echo "cript>\r\nvar sInitColor;\r\n\r\nfunction callColorDlg (src,vvv){\r\n\tif(sInitColor == null)\r\n \t\tvar sColor = dlgHelper.ChooseColorDlg();\r\n \telse\r\n \t\tvar sColor = dlgHelper.ChooseColorDlg(sInitColor);\r\n\r\n \tsColor = sColor.toString(16);\r\n \tif (sColor.length < 6) {\r\n \t\tvar sTempString = \"000000\".substring(0,6-sColor.length);\r\n \t\tsColor = sTempString.concat(sColor);\r\n \t}\r\n\r\n \tsrc.style.background";
echo "Color = '#' + sColor;\r\n \tdocument.all[vvv].value = \"#\" + sColor;\r\n \tsInitColor = sColor;\r\n}\r\n\r\n\r\n\r\n\r\n//返回值\r\nfunction returnvalue () {\r\n\twindow.returnValue = font_family.value + \"*\" + font_size.value + \"*\" + font_color.value + \"*\" + font_bgcolor.value ;\r\n\twindow.close ();\r\n}\r\n</script>\r\n</head>\r\n\r\n<body leftmargin=\"0\" topmargin=\"0\" class=\"bodybackground\">\r\n<center>\r\n <table width=\"20\" border=\"0\" c";
echo "ellspacing=\"0\" cellpadding=\"0\">\r\n <tr> \r\n <td><img src=\"dot.gif\" height=\"7\" width=\"1\"></td>\r\n </tr>\r\n </table>\r\n <table width=\"100%\" border=\"0\" cellspacing=\"3\" cellpadding=\"3\">\r\n <tr> \r\n <td valign=\"top\">\r\n \r\n \r\n <table width=\"100%\" border=\"0\" cellspacing=\"3\" cellpadding=\"3\">\r\n <tr> \r\n <td align=\"right\" height=\"26\">";
echo $strHtmlFontType;
echo "</td>\r\n <td height=\"26\"> \r\n ";
echo "<s";
echo "elect name=\"font_family\">\r\n \r\n<option value=\"\">";
echo $strHtmlFontTypeDefault;
echo "</option>\r\n<option value=\"arial\">Arial</option>\r\n<option value=\"arial black\">Arial Black</option>\r\n<option value=\"";
echo $strHtmlFontValue1;
echo "\">";
echo $strHtmlFontType1;
echo "</option>\r\n<option value=\"";
echo $strHtmlFontValue2;
echo "\">";
echo $strHtmlFontType2;
echo " </option>\r\n<option value=\"";
echo $strHtmlFontValue3;
echo "\">";
echo $strHtmlFontType3;
echo "</option>\r\n<option value=\"";
echo $strHtmlFontValue4;
echo "\">";
echo $strHtmlFontType4;
echo "</option>\r\n </select>\r\n </td>\r\n <td align=\"right\" height=\"26\">";
echo $strHtmlFontSize;
echo "</td>\r\n <td height=\"26\"> \r\n ";
echo "<s";
echo "elect name=\"font_size\">\r\n <option>";
echo $strHtmlFontSize1;
echo "</option>\r\n <option value=\"1\">1</option>\r\n <option value=\"2\">2</option>\r\n <option value=\"3\">3</option>\r\n <option value=\"4\">4</option>\r\n <option value=\"5\">5</option>\r\n <option value=\"6\">6</option>\r\n <option value=\"7\">7</option>\r\n </select>\r\n </td>\r\n </tr>\r\n <tr> \r\n ";
echo " <td align=\"right\" height=\"26\">";
echo $strHtmlFontColor;
echo "</td>\r\n <td height=\"26\"> \r\n <table border=\"0\" cellspacing=\"1\" cellpadding=\"0\">\r\n <tr> \r\n <td width=\"16\"><img src=\"images/btcolor.gif\" id=\"fontcolor\" onClick=\"callColorDlg(this,'font_color')\" width=\"18\" height=\"17\"></td>\r\n <td width=\"45\" align=\"center\"> \r\n <input name=\"font_color\" type=\"text\" size=\"6\">\r\n ";
echo " </td>\r\n </tr>\r\n </table>\r\n </td>\r\n <td align=\"right\" height=\"26\">";
echo $strHtmlFontBack;
echo "</td>\r\n <td height=\"26\"> \r\n <table border=\"0\" cellspacing=\"1\" cellpadding=\"0\">\r\n <tr> \r\n <td width=\"15\"><img src=\"images/btcolor.gif\" id=\"fontbgcolor\" onClick=\"callColorDlg(this,'font_bgcolor')\"></td>\r\n <td width=\"45\" align=\"center\"> \r\n <input name=\"font_bgcolor\" type=\"text\" size=\"6\">\r\n </td>\r\n ";
echo " </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n \r\n </table>\r\n \r\n \r\n </td> \r\n <td width=\"2\"><img src=\"images/separator.gif\" width=\"2\" height=\"70\"></td>\r\n <td valign=\"top\"> \r\n <table width=\"100%\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\">\r\n <tr> \r\n <td height=\"25\" align=\"center\"> \r\n <input type=\"butt";
echo "on\" name=\"Submit\" value=\"";
echo $strConfirm;
echo "\" style=\"width:55;\" onClick=\"returnvalue ();\"></td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\" align=\"center\"> \r\n <input type=\"button\" name=\"Submit2\" value=\"";
echo $strCancel;
echo "\" style=\"width:55;\" onClick=\"window.close ();\"></td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n </table>\r\n <object id=dlgHelper classid=\"clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b\" width=\"0px\" height=\"0px\">\r\n </object>\r\n</center>\r\n</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -