Размер файла: 3.63Kb
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<head>
<p align="center">
<title>ART стуле</title></head><body>
<Meta Http-equiv="Content-Type" Content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../js/cookie.js"></script>
<title></title>
<link rel='stylesheet' href='../style.css' type='text/css' />
<script type="text/javascript">
</script>
</head>
<div class="main">
<div class="logo">
<img src="../sp-s_logo.gif" alt=""/>
</div>
<div class="c">меню</div>
<div class="b">
<img src="../sp-s_dot.gif" alt=">"/> <a href="../forum">форум</a>
</div>
<div class="b">
<img src="../sp-s_dot.gif" alt=">"/> <a href="../gb">гостевая</a>
</div>
<hr class="b"> админка<hr class="b">
Очень полезная функция<br/>
-Поиковик можно преобразовать в ссылку<br/>
-Место большой ссылки пишем страницу поиска и в низу результат
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function unObfuscateURL(frm) {
strURL = unescape(frm.txtURL.value.replace(/\s/g,""));
strURLInitial = strURL;
numHTTP = strURL.toLowerCase().indexOf("http://");
numHTTPS = strURL.toLowerCase().indexOf("https://");
numFTP = strURL.toLowerCase().indexOf("ftp://");
if (numHTTP >= 0) numStart = numHTTP + 7;
else if (numHTTPS >= 0) numStart = numHTTPS + 8;
else if (numFTP >= 0) numStart = numFTP + 6;
else numStart = 0;
// ignore everything after the #
numPound = strURL.indexOf("#", numStart);
if (numPound >= 0) strURL = strURL.substring(0, numPound);
// if @ before a /, ignore everything up to the @
numAt = strURL.indexOf("@", numStart);
numSlash = strURL.indexOf("/", numStart);
if (numAt >= 0) {
strURL = strURL.substring(0, numStart)
+ strURL.substring(numAt+1, strURL.length);
}
}
frm.txtURLInitial.value = strURLInitial;
frm.txtURLFinal.innerText = strURL;
}
function clearURL(frm) {
frm.txtURL.value = "";
frm.txtURLInitial.value = "";
frm.txtURLFinal.value = "";
frm.txtURL.focus();
}
// End -->
</script>
</HEAD>
<center>
<table width=600 cellpadding=0 cellspacing=10>
<tr>
<td width=468 align=center>
</td>
<td width=120 align=center>
</td>
</tr>
</table>
<table BORDER=0 WIDTH=486 CELLPADDING=3 CELLSPACING=0>
<tr><td><font FACE="helvetica,arial,geneva">
</td></tr>
</table>
<center>
<form name=frmURL>
<table border=0 cellpadding=0 cellspacing=3>
<tr>
<td><textarea name=txtURL cols=50 rows=5 class="b">http://www.angelfire.com%40%77w%77%2e%63yb%65%72%67atew%61%79%2e%6e%65%74/s%70%61%6d%6d%65r/%69%6Ed%65%78.%68%74m%6C#3491382728/%32c%72%65%64%69%74c/%69%6Ed%65%78.%68%74m%6C</textarea></td>
</tr>
<tr>
<td>
<input type=button class="c" onClick="unObfuscateURL(this.form)" value="преобразовать">
<input type=button class="c" onClick="clearURL(this.form)" value="очистить">
<br>
</td>
</tr>
<tr>
<td><input name=txtURLInitial type=text class="b" size=65></td>
</tr>
<tr>
<td><input name=txtURLFinal type=text class="b" size=65></td>
</tr>
</table>
</form>
</center>
<hr class="b">
<div class="b">
<script type="text/javascript" src="../js/online.js"></script>
</div>
<hr class="b">
<div class="c">друзья</div>
<script type="text/javascript" src="../js/dok.js"></script>
<center>design by nabos</center></div>
</div>
<center>
<script type="text/javascript" src="../js/system.js"></script>
</p></body></html>