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

📄 username-password database for tclhttpd.mht

📁 TCL的数据库处理支撑库及一些示例
💻 MHT
📖 第 1 页 / 共 3 页
字号:
DIV.whitespacediff {
	BACKGROUND: #f0f0ff; MARGIN: 0px
}
DIV.whitespacediff PRE {
	BACKGROUND: #f0f0ff; MARGIN: 0px
}
SPAN.oldwikiline {
	BACKGROUND: #ffa0a0; MARGIN: 0px
}
SPAN.oldwikiline PRE {
	BACKGROUND: #ffa0a0; MARGIN: 0px
}
SPAN.newwikiline {
	BACKGROUND: #80ff80; MARGIN: 0px
}
SPAN.newwikiline PRE {
	BACKGROUND: #80ff80; MARGIN: 0px
}
SPAN.whitespacediff {
	BACKGROUND: #f0f0ff; MARGIN: 0px
}
SPAN.whitespacediff PRE {
	BACKGROUND: #f0f0ff; MARGIN: 0px
}
SPAN.nick {
	FONT-SIZE: 90%; MARGIN: 0px 0px 2px 2em; COLOR: #666
}
SPAN.day {
	FONT-SIZE: 90%; MARGIN: 0px 0px 2px 2em; COLOR: #666
}
SPAN.day {
	MARGIN-LEFT: 0.5em
}
SPAN.dots {
	DISPLAY: none
}
A.delta {
	FONT-SIZE: 70%; MARGIN-LEFT: 0.5em; COLOR: #a3a3a3
}
SPAN.delta {
	FONT-SIZE: 70%; COLOR: #d3d3d3
}
INS {
	BACKGROUND: #80ff80
}
DEL {
	BACKGROUND: #ffa0a0
}
DIV.edit {
	BACKGROUND: #ddd; OVERFLOW: auto
}
DIV.editcontents {
	MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px
}
FORM#edit BUTTON {
	MARGIN: 0px 1em; WIDTH: 5em
}
A.button {
	COLOR: black
}
A.backreflink {
	COLOR: green
}

@media Print   =20
{
DIV#menu_area {
	DISPLAY: none
}
DIV.footer {
	DISPLAY: none
}
    }
TABLE.rctable {
	BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 100%; =
BORDER-BOTTOM-WIDTH: 0px; MARGIN: 0px; WIDTH: 100%; BORDER-RIGHT-WIDTH: =
0px
}
TABLE.rctable TR.odd {
	BACKGROUND-COLOR: white
}
TABLE.rctable TBODY TD {
	BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: =
0px; VERTICAL-ALIGN: top; BORDER-RIGHT-WIDTH: 0px
}
TD.rc1 {
	PADDING-LEFT: 2em; WIDTH: 30em
}
TD.rc2 {
	FONT-SIZE: 90%; COLOR: #666
}
TD.rc3 {
	FONT-SIZE: 90%; COLOR: #666
}
TD.rc2 {
	WIDTH: 15em
}
TD.rc3 {
	WIDTH: 10em
}
A.cleared {
	PADDING-LEFT: 2em
}
LI.result {
	MARGIN-TOP: 1.5em; LIST-STYLE-TYPE: none
}
P.result {
	MARGIN: 0.5em 1.5em 0px 2em
}
IMG.branding {
	BORDER-TOP-WIDTH: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; =
BORDER-BOTTOM-WIDTH: 0px; MARGIN-BOTTOM: -0.5em; MARGIN-LEFT: 0px; =
BORDER-RIGHT-WIDTH: 0px
}
DIV.toc1 {
	FONT-SIZE: 90%; PADDING-BOTTOM: 1em; COLOR: #666
}
DIV.toc2 {
	PADDING-LEFT: 16pt; VERTICAL-ALIGN: middle; OVERFLOW: hidden; WIDTH: =
400pt; COLOR: black; PADDING-TOP: 2pt
}
DIV.toc3 {
	PADDING-LEFT: 16pt; VERTICAL-ALIGN: middle; OVERFLOW: hidden; WIDTH: =
400pt; COLOR: black; PADDING-TOP: 2pt
}
DIV.toc2 {
	BACKGROUND: url(join.gif) no-repeat left top
}
DIV.toc3 {
	BACKGROUND: url(joinbottom.gif) no-repeat left top
}
A.toc {
	FONT-SIZE: 90%; COLOR: black
}
A:active {
	COLOR: blue
}
A:hover {
	COLOR: blue
}

------=_NextPart_000_0081_01C87A6A.A0310BB0
Content-Type: text/css;
	charset="gb2312"
Content-Transfer-Encoding: 7bit
Content-Location: http://wiki.tcl.tk/ie7.css

DIV#menu_area UL {
	MARGIN: 1em 5px 1em 3px
}
INPUT#searchtxt {
	FONT-SIZE: 9pt
}
HR {
	MARGIN-TOP: -1em; MARGIN-BOTTOM: 0px
}

------=_NextPart_000_0081_01C87A6A.A0310BB0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wiki.tcl.tk/search.js

function clearSearch() {=0A=
	var txt =3D document.getElementById('searchtxt');=0A=
	txt.style.color =3D 'black';=0A=
	if (txt.value =3D=3D 'Search in titles') {=0A=
	    txt.value =3D '';=0A=
	}=0A=
}=0A=
=0A=
function setSearch() {=0A=
	var txt =3D document.getElementById('searchtxt');=0A=
	txt.style.color =3D 'gray';=0A=
	if (txt.value =3D=3D '') {=0A=
		txt.value =3D 'Search in titles';=0A=
	}=0A=
}=0A=
=0A=
function clearGoogle() {=0A=
	var txt =3D document.getElementById('googletxt');=0A=
	txt.style.color =3D 'black';=0A=
	if (txt.value =3D=3D 'Search in pages') {=0A=
	    txt.value =3D '';=0A=
	}=0A=
}=0A=
=0A=
function setGoogle() {=0A=
	var txt =3D document.getElementById('googletxt');=0A=
	txt.style.color =3D 'gray';=0A=
	if (txt.value =3D=3D '') {=0A=
		txt.value =3D 'Search in pages';=0A=
	}=0A=
}=0A=
=0A=
function URLencode(sStr) {=0A=
    return escape(sStr)=0A=
	.replace(/\+/g, '%2B')=0A=
	.replace(/\"/g,'%22')=0A=
	.replace(/\'/g, '%27');=0A=
}=0A=
=0A=
function App(query) {=0A=
    this.query =3D query;=0A=
    this.resultCount =3D 0;=0A=
    this.siteSearch =3D new GwebSearch();=0A=
    this.siteSearch.setUserDefinedLabel("Tcler's wiki");=0A=
    this.siteSearch.setUserDefinedClassSuffix("siteSearch");=0A=
    this.siteSearch.setSiteRestriction("http://wiki.tcl.tk");=0A=
    this.siteSearch.setResultSetSize(GSearch.LARGE_RESULTSET);=0A=
    this.siteSearch.setSearchCompleteCallback(this, =
App.prototype.OnSearchComplete);=0A=
    document.getElementById("content").innerHTML =3D "<p><div =
id=3D'searchprogress'>Searching for &quot;<b>" + query + =
"</b>&quot;...</div></p>";=0A=
    this.siteSearch.execute(query);=0A=
}=0A=
=0A=
App.prototype.OnSearchComplete =3D function() {=0A=
    var eos =3D 0;=0A=
    if (this.siteSearch.results && this.siteSearch.results.length > 0) {=0A=
	document.getElementById("content").innerHTML +=3D "<ul>";=0A=
	for (var i =3D 0; i < this.siteSearch.results.length; i++) {=0A=
            var result =3D this.siteSearch.results[i];=0A=
	    try {=0A=
		var idx =3D result.url.lastIndexOf("/");=0A=
		var page =3D "";=0A=
		if (idx >=3D 0)=0A=
		    page =3D result.url.substr(idx);=0A=
		if (page !=3D "/4") {=0A=
		    var h =3D "<li class=3D'result'><a href=3D'" + result.url + "'>" + =
result.title + "</a><p class=3D'result'>" + result.content + "</p></li>";=0A=
		    document.getElementById("content").innerHTML +=3D h;=0A=
		    this.resultCount++;=0A=
		}=0A=
	    }=0A=
	    catch(err) {=0A=
	    }=0A=
	}	=0A=
	document.getElementById("content").innerHTML +=3D "</ul>";=0A=
	var cursor =3D this.siteSearch.cursor;=0A=
	if (cursor && cursor.currentPageIndex < cursor.pages.length - 1) {=0A=
	    this.siteSearch.gotoPage(cursor.currentPageIndex + 1);=0A=
	}=0A=
	else=0A=
	    eos =3D 1;=0A=
    }=0A=
    else=0A=
	eos =3D 1;=0A=
    =0A=
    if (eos) {=0A=
	var googleQuery =3D this.query + " site:http://wiki.tcl.tk";=0A=
	if (this.resultCount > 0) {=0A=
	    document.getElementById("searchprogress").innerHTML =3D "Search =
results for &quot;<b>" + this.query + "</b>&quot;";=0A=
	    document.getElementById("content").innerHTML +=3D "<p><a =
class=3D'googlesearch' target=3D'_blank' =
href=3D'http://www.google.com/search?q=3D" + URLencode(googleQuery) + =
"'>Click here to see all matches on Google Web Search</a></p>"=0A=
	}=0A=
	else {=0A=
	    document.getElementById("searchprogress").innerHTML =3D "No search =
results for &quot;<b>" + this.query + "</b>&quot;";=0A=
	}=0A=
    }=0A=
}=0A=
=0A=
function googleQuery() {=0A=
    var app =3D new App(document.getElementById("googletxt").value);=0A=
    return false;=0A=
}=0A=

------=_NextPart_000_0081_01C87A6A.A0310BB0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wiki.tcl.tk/backrefs.js

/***********************************************=0A=
 * Dynamic Ajax Content- =C2=A9 Dynamic Drive DHTML code library =
(www.dynamicdrive.com)=0A=
 * This notice MUST stay intact for legal use=0A=
 * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source =
code=0A=
 * Based on functions taken from Dynamic Ajax Content:=0A=
 *    ajaxpage=0A=
 *    loadpage=0A=
 ***********************************************/=0A=
    =0A=
function ajaxbackrefspage(url, containerid){=0A=
    var page_request =3D false=0A=
    if (window.XMLHttpRequest) // if Mozilla, Safari etc=0A=
        page_request =3D new XMLHttpRequest()=0A=
    else if (window.ActiveXObject){ // if IE=0A=
	try {=0A=
	    page_request =3D new ActiveXObject("Msxml2.XMLHTTP")=0A=
	} 	=0A=
	catch (e){=0A=
	    try{=0A=
		page_request =3D new ActiveXObject("Microsoft.XMLHTTP")=0A=
	    }=0A=
	    catch (e){}=0A=
	}=0A=
    }=0A=
    else=0A=
        return false=0A=
    page_request.onreadystatechange=3Dfunction(){=0A=
	loadbackrefspage(page_request, containerid)=0A=
    }=0A=
    page_request.open('GET', url, true)=0A=
    page_request.send(null)=0A=
}=0A=
=0A=
function loadbackrefspage(page_request, containerid){=0A=
    if (page_request.readyState =3D=3D 4 && =
(page_request.status=3D=3D200 || =
window.location.href.indexOf("http")=3D=3D-1)) {=0A=
	if (page_request.responseText.length) {=0A=
	    document.getElementById(containerid).innerHTML =3D =
page_request.responseText;=0A=
	}=0A=
    }=0A=
}=0A=
=0A=
function getBackRefs(page,containerid)=0A=
{=0A=
    ajaxbackrefspage("/_ref/" + page + "?A=3D1", containerid)=0A=
}=0A=

------=_NextPart_000_0081_01C87A6A.A0310BB0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wiki.tcl.tk/_toc/toc.js

function inittocpages(){=0A=
    document.getElementById('wrapper').style.marginLeft =3D '-160px';=0A=
    document.getElementById('content').style.marginLeft =3D '160px';=0A=
    document.getElementById('menu_area').style.display =3D 'inline';=0A=
    document.getElementById('searchform').style.display =3D 'inline';=0A=
}=0A=
=0A=
function tocpages(){=0A=
    document.getElementById('wiki_menu').style.display=3D'inline';=0A=
    document.getElementById('page_toc').style.display=3D'inline';=0A=
    document.getElementById('wiki_toc').style.display=3D'inline';=0A=
    document.getElementById('wrapper').style.marginLeft =3D '-160px';=0A=
    document.getElementById('content').style.marginLeft =3D '160px';=0A=
    document.getElementById('menu_area').style.display=3D'inline';=0A=
}=0A=
=0A=
function notocpages(){=0A=
    document.getElementById('wiki_menu').style.display=3D'none';=0A=
    document.getElementById('page_toc').style.display=3D'none';=0A=
    document.getElementById('wiki_toc').style.display=3D'none';=0A=
    document.getElementById('wrapper').style.marginLeft =3D '0';=0A=
    document.getElementById('wrapper').style.marginRight =3D '-5px';=0A=
    document.getElementById('content').style.marginLeft =3D '5px';=0A=
    document.getElementById('menu_area').style.display=3D'none';=0A=
}=0A=
=0A=
function setCookie( name, value, expires, path, domain, secure ) =0A=
{=0A=
  // set time, it's in milliseconds=0A=
  var today =3D new Date();=0A=
  today.setTime( today.getTime() );=0A=
  =0A=
  /*=0A=
    if the expires variable is set, make the correct =0A=
    expires time, the current script below will set =0A=
    it for x number of days, to make it for hours, =0A=
    delete * 24, for minutes, delete * 60 * 24=0A=
  */=0A=
  if ( expires ) {=0A=
    expires =3D expires * 1000 * 60 * 60 * 24;=0A=
  }=0A=
  var expires_date =3D new Date( today.getTime() + (expires) );=0A=
  =0A=
  document.cookie =3D name + "=3D" +escape( value ) +=0A=
    ( ( expires ) ? ";expires=3D" + expires_date.toGMTString() : "" ) + =0A=
    ( ( path ) ? ";path=3D" + path : "" ) + =0A=
    ( ( domain ) ? ";domain=3D" + domain : "" ) +=0A=
    ( ( secure ) ? ";secure" : "" );=0A=
}=0A=
=0A=
// [Cookie] Clears a cookie=0A=
function clearCookie(name, path) {=0A=
  var now =3D new Date();=0A=
  var yesterday =3D new Date(now.getTime() - 1000 * 60 * 60 * 24);=0A=
  setCookie(name, 'cookieValue', yesterday, path);=0A=
};=0A=
=0A=
// this fixes an issue with the old method, ambiguous values =0A=
// with this test document.cookie.indexOf( name + "=3D" );=0A=
function getCookie( check_name ) {=0A=
  // first we'll split this cookie up into name/value pairs=0A=
  // note: document.cookie only returns name=3Dvalue, not the other =
components=0A=
  var a_all_cookies =3D document.cookie.split( ';' );=0A=
  var a_temp_cookie =3D '';=0A=
  var cookie_name =3D '';=0A=
  var cookie_value =3D '';=0A=
  var b_cookie_found =3D false; // set boolean t/f default f=0A=
  =0A=
  for ( i =3D 0; i < a_all_cookies.length; i++ )=0A=
    {=0A=
      // now we'll split apart each name=3Dvalue pair=0A=
      a_temp_cookie =3D a_all_cookies[i].split( '=3D' );=0A=
      =0A=
      =0A=
      // and trim left/right whitespace while we're at it=0A=
      cookie_name =3D a_temp_cookie[0].replace(/^\s+|\s+$/g, '');=0A=
      =0A=
      // if the extracted name matches passed check_name=0A=
      if ( cookie_name =3D=3D check_name )=0A=
	{=0A=
	  b_cookie_found =3D true;=0A=
	  // we need to handle case where cookie has no value but exists (no =
=3D sign, that is):=0A=
	  if ( a_temp_cookie.length > 1 )=0A=
	    {=0A=
	      cookie_value =3D unescape( a_temp_cookie[1].replace(/^\s+|\s+$/g, =
'') );=0A=
	    }=0A=
	  // note that in cases where cookie is initialized but no value, null =
is returned=0A=
	  return cookie_value;=0A=
	  break;=0A=
	}=0A=
      a_temp_cookie =3D null;=0A=
      cookie_name =3D '';=0A=
    }=0A=
  if ( !b_cookie_found )=0A=
    {=0A=
      return null;=0A=
    }=0A=
}				=0A=
=0A=
function checkTOC()=0A=
{=0A=
    inittocpages();=0A=
=0A=
    needs_toc=3DgetCookie('wiki_toc');=0A=
    if (needs_toc=3D=3Dnull || needs_toc=3D=3D"" || needs_toc=3D=3D"1") {=0A=
	tocpages();=0A=
    }=0A=
    else {=0A=
	notocpages();=0A=
    }=0A=
    try {=0A=
	document.getElementById("googletxt").value;=0A=
	googleQuery();=0A=
    }=0A=
    catch (e){}=0A=
}=0A=
=0A=
function toggleTOC()=0A=
{=0A=
    needs_toc=3DgetCookie('wiki_toc')=0A=
    if (needs_toc=3D=3Dnull || needs_toc=3D=3D"" || needs_toc=3D=3D"1") {=0A=
	notocpages();=0A=
	setCookie('wiki_toc', 0, 30, "/_toc/");=0A=
    } else {=0A=
	tocpages();=0A=
	setCookie('wiki_toc', 1, 30, "/_toc/");=0A=
    }=0A=
}=0A=

------=_NextPart_000_0081_01C87A6A.A0310BB0--

⌨️ 快捷键说明

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