⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 affix_pm.js

📁 功能介绍: 支持站长管理(删除、修改、回复) 支持邮件发送 支持数据库加密码 留言含邮箱、主页、QQ、MSN、来自、邮件提示、IP获取、回复等功能 初始用户:admin 密码:admin
💻 JS
字号:
<!-- hide
function insertsmilie(smilieface)
	{
		pm.M_MESSAGE.value+=" "+smilieface;
	}
function txtbold()
	{
		txt=prompt("文字加粗     如 壹号工作室","文字");     
		if (txt!=null) 
		{           
			pm.M_MESSAGE.value+=" [b]" + txt + "[/b]";
		}
	}
function italicize()
	{
		txt=prompt("文字变斜体     如 壹号工作室","文字");     
		if (txt!=null) 
		{           
			pm.M_MESSAGE.value+=" [i]" + txt + "[/i]";
		}
	}
function underline()
	{
		txt=prompt("文字加下划线     如 壹号工作室","文字");     
		if (txt!=null) 
		{           
			pm.M_MESSAGE.value+=" [u]" + txt + "[/u]";
		}
	}
function left()
	{
		txt=prompt("文字居左     如 壹号工作室","文字");     
		if (txt!=null) 
		{           
			pm.M_MESSAGE.value+=" [left]" + txt + "[/left]";
		}
	}
function center()
	{
		txt=prompt("文字居中     如 壹号工作室","文字");     
		if (txt!=null) 
		{           
			pm.M_MESSAGE.value+=" [center]" + txt + "[/center]";
		}
	}
function right()
	{
		txt=prompt("文字居右     如 壹号工作室","文字");     
		if (txt!=null) 
		{           
			pm.M_MESSAGE.value+=" [right]" + txt + "[/right]";
		}
	}
function hyperlink()
	{
		txt=prompt("链接文字显示\n如果为空,那么只显示超级链接地址",""); 
		if (txt!=null) 
		{           
			txt2=prompt("链接地址URL     如 http://www.1studio.net","http://"); 
			if (txt2!=null) 
			{   
				if (txt=="")
				{
					pm.M_MESSAGE.value+=" [url]" + txt2 + "[/url]";
				}
				else
				{
					pm.M_MESSAGE.value+=" [url=" + txt2 + "]" + txt + "[/url]";
				}
			}
		}
	}
function email() 
	{
		txt=prompt("链接文字显示\n如果为空,那么只显示你的Email地址",""); 
		if (txt!=null) 
		{           
			txt2=prompt("Email地址     如 yourname@domain.com","yourname@domain.com"); 
			if (txt2!=null) 
			{   
				if (txt=="")
				{
					pm.M_MESSAGE.value+=" [email]" + txt2 + "[/email]";
				}
				else
				{
					pm.M_MESSAGE.value+=" [email=" + txt2 + "]" + txt + "[/email]";
				}
			}
		}
	}
function image()
	{
		txt=prompt("图片文件的URL     如 test.gif","http://");     
		if (txt!=null) 
		{           
			pm.M_MESSAGE.value+=" [img]" + txt + "[/img]";
		}
	}
function flash()
	{
		txt=prompt("Flash文件的地址     如 test.swf","http://");     
		if (txt!=null) 
		{           
			pm.M_MESSAGE.value+=" [swf]" + txt + "[/swf]";
		}
	}
function showcode()
	{
		txt=prompt("插入Code     如 壹号工作室","文字");     
		if (txt!=null) 
		{           
			pm.M_MESSAGE.value+=" [code]" + txt + "[/code]";
		}
	}
function quote()
	{
		txt=prompt("插入引用文字     如 你在吗?","文字");     
		if (txt!=null) 
		{           
			pm.M_MESSAGE.value+=" [quote]" + txt + "[/quote]";
		}
	}
function list()
	{
		txt=prompt("列表标记:建造一个文字或则数字列表\n如 [list] [*]项目一[/*] [*]项目二[/*] [*]项目三[/*] [/list]","项目一"); 
		if (txt!=null) 
		{           
			txt2=prompt("列表标记·项目二     如 项目二","项目二"); 
			if (txt2!=null) 
			{   
				txt3=prompt("列表标记·项目三     如 项目三","项目三"); 
				if (txt3!=null) 
				{   
					pm.M_MESSAGE.value+=" [list][*]" + txt + "[/*][*]" + txt2 + "[/*][*]" + txt3 + "[/*][/list]";
				}
			}
		}
		
	}
function hr()
	{
		pm.M_MESSAGE.value+="[hr]";
	}
function iframe()
	{
		txt=prompt("插入Iframe插入针\n如 [iframe]http://www.1studio.net[/iframe]","http://"); 
//		txt=prompt("插入Iframe插入针\n如 [iframe=800×600]http://www.1studio.net[/iframe]","http://"); 
		if (txt!=null) 
		{           
//			txt2=prompt("插入针·宽度     如 400,为空则默认",""); 
//			if (txt2!=null) 
//			{   
//				txt3=prompt("插入针·高度      如 300,为空则默认",""); 
//				if (txt3!=null) 
//				{   
//					if (txt2=="" && txt3=="")
//					{
						pm.M_MESSAGE.value+=" [iframe]" + txt + "[/iframe]";
//					}
//					else
//					{
//						pm.M_MESSAGE.value+=" [iframe=" + txt2 + "×" + txt3 +"]" + txt + "[/iframe]";
//					}
//				}
//			}
		}
	}
function showcolor(color) // 显示文字颜色
	{
     	txt=prompt("选择的颜色是:"+color,"文字");
		if(txt!=null)
 		{           
			pm.M_MESSAGE.value+=" [" + color + "]" + txt + "[/"+color+"]";
		}
	}
function showsize(size) // 显示文字大小
	{
     	txt=prompt("文字大小是: H"+size,"文字");
		if(txt!=null)
 		{           
			pm.M_MESSAGE.value+=" [h"+size+"]" + txt + "[/h"+size+"]";
		}
	}
// -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -