<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<!– saved from url=(0032)http://www.ie-zone.com/index.php –>
<html>
<!– #begintemplate "/templates/js.dwt" –>
<head>
<!– #begineditable "doctitle" –>
<title>加密页面代码生成器 </title>
<!– #endeditable –>
<meta http-equiv=content-type content="text/html; charset=gb2312">
<link
href="/fav.ico" rel="shortcut icon">
<style type=text/css>body {
margin: 25px 25px 25px
}
#all td {
font-size: 12px; line-height: 15px; font-family: "verdana", "arial","新宋体", "宋体"
}
input {
font-size: 12px; line-height: 15px; font-family: "verdana", "arial","新宋体", "宋体"
}
select {
font-size: 12px; line-height: 15px; font-family: "verdana", "arial","新宋体", "宋体"
}
p {
font-size: 12px; line-height: 15px; font-family: "verdana", "arial","新宋体", "宋体"
}
textarea {
font-size: 12px; line-height: 15px; font-family: "verdana", "arial","新宋体", "宋体"
}
#all a:active {
color: #7d070c
}
#all a:visited {
color: #7d070c
}
#all a:hover {
color: #336699
}
#all a:link {
color: #7d070c
}
</style>
<script language=javascript>
<!–
function mm_gotourl() { //v3.0
var i, args=mm_gotourl.arguments; document.mm_returnvalue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location="+args[i+1]+"");
}
function jm_cc(ob){
var obj=mm_findobj(ob); if (obj) {
obj.select();js=obj.createtextrange();js.execcommand("copy");}
}
function mm_findobj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexof("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=mm_findobj(n,d.layers[i].document);
if(!x && document.getelementbyid) x=document.getelementbyid(n); return x;
}
//–>
</script>
<meta content="mshtml 5.50.4134.600" name=generator>
</head>
<body id=all text=#000000 bgcolor=#336699>
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tr bgcolor=#ffffff>
<td><img src="/images/sq_1.gif" width=11 height="14"></td>
<td width="100%"></td>
<td><img src="/images/sq_2.gif"
width=11 height="14"></td>
</tr>
</table>
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tr bgcolor=#ffffff>
<td><img src="/images/space.gif" width=11 height="1"></td>
<td width="100%">
<table width="100%" border="0" cellpadding="8">
<tr>
<td align="center">
<script language="javascript">
document.write("<font color=#7d070c style=\"font-size: 14px\">"+document.title+"</font>");
</script>
</td>
</tr>
<tr>
<td bgcolor="#f7f7f7"><!– #begineditable "example" –><font face="verdana">提示:</font>
把你想加密的文档的源代码拷贝到下面的文本框内,按下生成按钮就可以得到一段加密了的页面代码,把代码复制到新的页面就可以了. [注意:可重复加密啊!]
<script language=javascript>
<!–
//////////////////////////////////////////////////////////////////
// source code encrypter v1.0 //
//////////////////////////////////////////////////////////////////
// //
// this javascript can be freely used as long as this message //
// stays here in the header of the script. any modifications //
// and bugs found (and fixed) are appreciated. //
// script submitted/featured on dynamicdrive.com //
// visit http://www.dynamicdrive.com for source code //
// svetlin staev, thewebmonster@altavista.com //
//////////////////////////////////////////////////////////////////
var i=0;
var ie=(document.all)?1:0;
var ns=(document.layers)?1:0;
function initstyleelements() /* styles for buttons init */
{
var c = document.pad;
if (ie)
{
//c.text.style.backgroundcolor="#dddddd";
c.compileit.style.backgroundcolor="#c0c0a8";
c.compileit.style.cursor="hand";
c.select.style.backgroundcolor="#c0c0a8";
c.select.style.cursor="hand";
c.view.style.backgroundcolor="#c0c0a8";
c.view.style.cursor="hand";
c.retur.style.backgroundcolor="#c0c0a8";
c.retur.style.cursor="hand";
c.clear.style.backgroundcolor="#c0c0a8";
c.clear.style.cursor="hand";
}
else return;
}
/* buttons enlightment of "compilation" panel */
function lighton(what)
{
if (ie) what.style.backgroundcolor = #e0e0d0;
else return;
}
function focuson(what)
{
if (ie) what.style.backgroundcolor = #ebebeb;
else return;
}
function lightout(what)
{
if (ie) what.style.backgroundcolor = #c0c0a8;
else return;
}
function focusoff(what)
{
if (ie) what.style.backgroundcolor = #dddddd;
else return;
}
/* buttons enlightment of "compilation" panel */
function generate() /* generation of "compilation" */
{
code = document.pad.text.value;
if (code)
{
document.pad.text.value=正在生成加密代码,请稍后!;
settimeout("compile()",1000);
}
else alert(请输入源文件代码)
}
function compile() /* the "compilation" */
{
document.pad.text.value=;
compilation=escape(code);
document.pad.text.value="<script>\n<!–\ndocument.write(unescape(\""+compilation+"\"));\n//–>\n<\/script>";
i++;
alert("页面被加密了 "+i+" 次!");
}
function selectcode() /* selecting "compilation" for copying */
{
if(document.pad.text.value.length>0)
{
document.pad.text.focus();
document.pad.text.select();
}
else alert(没有可以选择的文本内容!)
}
function preview() /* preview for the "compilation" */
{
if(document.pad.text.value.length>0)
{
pr=window.open("","preview","scrollbars=1,menubar=1,status=1,width=700,height=320,left=50,top=110");
pr.document.write(document.pad.text.value);
}
else alert(没有可以预浏览的文本内容!)
}
function uncompile() /* decompiling a "compilation" */
{
if (document.pad.text.value.length>0)
{
source=unescape(document.pad.text.value);
document.pad.text.value=""+source+"";
}
else alert(你需要生成被加密的代码后才能取回源代码!)
}
// –>
</script>
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tbody>
<tr>
<td width="100%">
<form name=pad method=post align="center">
<textarea style="width: 100%; background-color: #ebebeb" name=text rows=21 cols=58></textarea>
<br>
<input onmouseover=lighton(this) onclick=generate() onmouseout=lightout(this) type=button value=加密代码 name=compileit>
<input onmouseover=lighton(this) onclick=selectcode() onmouseout=lightout(this) type=button value=全选代码 name=select>
<input onmouseover=lighton(this) onclick=preview() onmouseout=lightout(this) type=button value=预浏览页面 name=view>
<input onmouseover=lighton(this) onclick=uncompile() onmouseout=lightout(this) type=button value=原代码 name=retur>
<input onmouseover=lighton(this) onmouseout=lightout(this) type=reset value=清空 name=clear>
</form>
</td>
</tr>
</tbody>
</table>
<!– #endeditable –></td>
</tr>
<tr>
<td><!– #begineditable "code" –><br>
<form name="form1" method="post" action="">
</form>
<!– #endeditable –></td>
</tr>
</table>
</td>
<td><img src="/images/space.gif"
width=11 height="1"></td>
</tr>
</table>
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tr bgcolor=#ffffff>
<td><img src="/images/sq_3.gif" width=11 height="14"></td>
<td width="100%"></td>
<td><img src="/images/sq_4.gif"
width=11 height="14"></td>
</tr>
</table>
</body>
<!– #endtemplate –>
</html>
