Хранилища Subversion www_nix-files

Сравнить редакции

Не учитывать пробелы Редакция 184 → Редакция 185

/branches/dicts/nix-files.css
Новый файл
0,0 → 1,70
body {
}
 
h1 {
font: 72pt/72pt Georgia;
margin: 10px 0 10px 0;
}
 
h2 {
font: 12pt/12pt;
margin: 35px 0 0px 0;
}
 
h3 {
font: 12pt/12pt;
margin: 0px 0 35px 0;
}
 
table {
margin: 0 auto;
border-spacing: 0;
white-space: nowrap;
}
 
 
table#topmenu {
border: 0px;
}
 
#topmenu td {
border: 0px;
}
 
a img {
border: 0;
color: blue;
}
 
a {
color: blue;
}
 
p#info {
margin-top: 50px;
}
 
p#design {
display: none;
color: #a9a9a9;
}
 
p#design a {
text-decoration: none;
color: #a9a9a9;
}
 
input {
border: 1px solid black;
padding-right:4px;
padding-left:4px;
}
td {
font-size:8pt;
font-family: tahoma;
}
pre {
font-size: 8pt;
font-family: tahoma;
{
/branches/dicts/dict.php
Новый файл
0,0 → 1,96
<script type="text/javascript">
function processLink(s)
{
s = s.replace(/\s+/g," ");
location.href=self.name + "?query=" + escape(s);
}
</script>
<div align=center>
<img src=logo.png alt="">
<br><br>
<form name="form1" action="">
<input value="<?php
$query = $_REQUEST['query'];
# clean up passed value
$query = preg_replace("/^\s+/","",$query);
$query = preg_replace("/\s+$/","",$query);
$query = preg_replace("/\s+/"," ",$query);
$query = ereg_replace("--","&#150;&#150;",$query);
# $query = ereg_replace("-","&ndash;",$query);
$value = preg_replace("/\"/","&quot;",$query);
echo "$value"
?>" type="text" name="query" onChange="submit()">
<input type="submit" id="edit-submit" value="Поиск" class="form-submit">
<p>
</form></div>
<?php
if($query != "") {
exec("/usr/bin/dict -h localhost $query 2>&1",$output,$error);
$output = implode("\n",$output);
$output = ereg_replace ("definition found","совпадение найдено",$output);
$output = ereg_replace ("No definitions found for","Ничего не найдено для запроса",$output);
$output = ereg_replace ("definitions found","совпадений найдено",$output);
$output = ereg_replace ("perhaps you mean","возможно вы искали",$output);
$output = ereg_replace("1000pbio:","<b><b>1000+ биографий</b>:",$output);
$output = ereg_replace("abr1w:","<b>Словарь синонимов Н.Абрамова</b>:" ,$output);
$output = ereg_replace("biology:","<b>Русско-английский биологический словарь</b>:", $output);
$output = ereg_replace("bokarjoveoru:","<b>Эсперанто-русский</b>:", $output);
$output = ereg_replace("bokarjovrueo:","<b>Русский-эсперанто</b>:", $output);
$output = ereg_replace("church:","<b>Словарь церковных терминов</b>:", $output);
$output = ereg_replace("dalf:","<b>Толковый словарь живого великорусского языка Даля</b>:", $output);
$output = ereg_replace("estonian_et-ru:","<b>Эстонско-русский</b>:", $output);
$output = ereg_replace("findict:","<b>Словарь финансовых терминов</b>:", $output);
$output = ereg_replace("L9_DE_RU_Universal:","<b>Немецко-русский</b>:", $output);
$output = ereg_replace("L9_EN_RU_Computer:","<b>Англо-русский (компьютерный)</b>:", $output);
$output = ereg_replace("L9_EN_RU_Universal:","<b>Англо-русский</b>:", $output);
$output = ereg_replace("L9_ES_RU_Universal:","<b>Испанско-русский</b>:", $output);
$output = ereg_replace("L9_FR_RU_Law:","<b>Французско-русский (юридический)</b>:", $output);
$output = ereg_replace("L9_FR_RU_Technical:","<b>Французско-русский (технический)</b>:", $output);
$output = ereg_replace("L9_FR_RU_Universal:","<b>Французско-русский</b>:", $output);
$output = ereg_replace("L9_IT_RU_Universal:","<b>Итальяно-русский</b>:", $output);
$output = ereg_replace("L9_RU_DE_Universal:","<b>Русско-немецкий</b>:", $output);
$output = ereg_replace("L9_RU_EN_Computer:","<b>Русско-английский (компьютерный)</b>:", $output);
$output = ereg_replace("L9_RU_EN_Universal:","<b>Русско-английский</b>:", $output);
$output = ereg_replace("L9_RU_ES_Universal:","<b>Русско-испанский</b>:", $output);
$output = ereg_replace("L9_RU_FR_Law:","<b>Русско-французский (юридический)</b>:", $output);
$output = ereg_replace("L9_RU_FR_Technical:","<b>Русско-французский (технический)</b>:", $output);
$output = ereg_replace("L9_RU_FR_Universal:","<b>Русско-французский</b>:", $output);
$output = ereg_replace("L9_RU_IT_Universal:","<b>Русско-итальянский</b>:", $output);
$output = ereg_replace("latrus:","<b>Латынь-русский</b>:", $output);
$output = ereg_replace("meddict:","<b>Медицинский словарь</b>:", $output);
$output = ereg_replace("ozhegov:","<b>Толковый словарь Ожегова</b>:", $output);
$output = ereg_replace("slovnyk_be-ru:","<b>Белорусско-русский</b>:", $output);
$output = ereg_replace("slovnyk_pl-ru:","<b>Польско-русский</b>:", $output);
$output = ereg_replace("slovnyk_ru-be:","<b>Русско-белорусский</b>:", $output);
$output = ereg_replace("slovnyk_ru-pl:","<b>Русско-польский</b>:", $output);
$output = ereg_replace("smiley:","<b>Словарь смайликов</b>:", $output);
$output = ereg_replace("swedish_ru-sv:","<b>Русско-шведский</b>:", $output);
$output = ereg_replace("swedish_sv-ru:","<b>Шведско-русский</b>:", $output);
$output = ereg_replace("beslov:","<b>Большой Энциклопедический Словарь</b>:", $output);
$output = ereg_replace("brok_and_efr:","<b>Энциклопедический словарь Брокгауза и Ефрона</b>:", $output);
$output = ereg_replace("sdict_fi-ru:","<b>Финско-русский</b>:", $output);
$output = ereg_replace("ses:","<b>Современный энциклопедический словарь</b>:", $output);
$output = ereg_replace("slovnyk_ru-uk:","<b>Русско-украинский</b>:", $output);
$output = ereg_replace("slovnyk_uk-ru:","<b>Украинско-русский</b>:", $output);
$output = ereg_replace("ushakov:","<b>Толковый словарь Ушакова</b>:", $output);
$output = ereg_replace("\[([^\[]+)\]","", $output);
 
 
if($error) {
echo "<pre><b>Ошибка</b>: $output</pre>";
}
else {# bold first line
$output = preg_replace("/^(.*)/","<b>\\1</b>",$output);
# wrap first line of each reference in table to control background color
$output = preg_replace("/(\n\nFrom )(.*)\n/","\n\n<table width=100% cellpadding=4
bgcolor=\"#7FA95D\"><tr><td><b>\\2</b></td></tr></table>",$output);
# find and process document internal links
$output = preg_replace("/\{+(.*?)\}+/s",
"<a href=\"javascript:processLink('\\1');\">\\1</a>",$output);
echo "<div align=left><pre>$output</pre></div>";
}
}
?>
<script type="text/javascript">
document.form1.query.focus();
</script>
/branches/dicts/inc/header.htm
Новый файл
0,0 → 1,12
<table id="topmenu">
<tr>
<td><a href="http://altlug.ru"><img src="./img/main.png" ALT="Главная"></a></td>
<td><a href="http://altlug.ru/phpbb"><img src="./img/forum.png" ALT="Форум" border="0"></a></td>
<td><a href="http://wiki.altlug.ru"><img src="./img/wiki.png" ALT="Wiki"></a></td>
<td><a href="http://track.altlug.ru"><img src="./img/track.png" ALT="Баг-трекер"></a></td>
<td><a href="http://mail.altlug.ru"><img src="./img/mail.png" ALT="Почта"></a></td>
<td><a href="http://altlug.ru/phpbb/viewtopic.php?p=8663#p8663"><img src="./img/jabber.png" ALT="Jabber"></a></td>
<td><a href="http://svn.altlug.ru"><img src="./img/svn.png" ALT="SVN"></a></td>
<td><a href="http://www.nix-files.org.ru"><img src="./img/nf.png" ALT="NIX-FILES"></a></td>
</tr>
</table>
/branches/dicts/inc/footer.htm
Новый файл
0,0 → 1,9
<p id="info">
<a href="http://validator.w3.org/check?uri=referer"><img src="./valid-html40-blue.png" alt="Valid HTML 4.0 Transitional" height="31" width="88"></a>
<a href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.nix-files.org.ru"><img src="./vcss-blue.png" alt="Valid CSS!" height="31" width="88"></a>
</p>
<p id="design">
Дизайнер <a href="http://alex-w.org.ru">Александр Вольф</a>
</p>
</body>
</html>
/branches/dicts/bg.gif
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/branches/dicts/bg.gif
Новый файл
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/dicts/img/mail.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/dicts/img/mail.png
===================================================================
--- branches/dicts/img/mail.png (revision 0)
+++ branches/dicts/img/mail.png (revision 185)
/branches/dicts/img/mail.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/dicts/img/nf.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/dicts/img/nf.png
===================================================================
--- branches/dicts/img/nf.png (revision 0)
+++ branches/dicts/img/nf.png (revision 185)
/branches/dicts/img/nf.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/dicts/img/wiki.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/dicts/img/wiki.png
===================================================================
--- branches/dicts/img/wiki.png (revision 0)
+++ branches/dicts/img/wiki.png (revision 185)
/branches/dicts/img/wiki.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/dicts/img/main.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/dicts/img/main.png
===================================================================
--- branches/dicts/img/main.png (revision 0)
+++ branches/dicts/img/main.png (revision 185)
/branches/dicts/img/main.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/dicts/img/track.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/dicts/img/track.png
===================================================================
--- branches/dicts/img/track.png (revision 0)
+++ branches/dicts/img/track.png (revision 185)
/branches/dicts/img/track.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/dicts/img/jabber.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/dicts/img/jabber.png
===================================================================
--- branches/dicts/img/jabber.png (revision 0)
+++ branches/dicts/img/jabber.png (revision 185)
/branches/dicts/img/jabber.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/dicts/img/svn.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/dicts/img/svn.png
===================================================================
--- branches/dicts/img/svn.png (revision 0)
+++ branches/dicts/img/svn.png (revision 185)
/branches/dicts/img/svn.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/dicts/img/forum.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/dicts/img/forum.png
===================================================================
--- branches/dicts/img/forum.png (revision 0)
+++ branches/dicts/img/forum.png (revision 185)
/branches/dicts/img/forum.png
Изменения свойств:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/dicts/index.php
===================================================================
--- branches/dicts/index.php (revision 0)
+++ branches/dicts/index.php (revision 185)
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <meta name="verify-v1" content="ZBUJHzjxrbMV7MF6WPLOfr1axcHzJQzurV7DTxU3vDo=">
+ <meta name='yandex-verification' content='750ff55c7b4216af'>
+ <link rel="stylesheet" type="text/css" href="./nix-files.css">
+<title>
+Словари - niX-FILES
+</title>
+</head>
+<body bgcolor="#F3FBEC" background=bg.gif>
+<table id="topmenu">
+ <tr>
+ <?php
+ include "./inc/header.htm";
+ ?>
+ </tr>
+</table>
+</br></br>
+<TABLE WIDTH="100%" BORDER=1 BORDERCOLOR="#7FA95D" CELLPADDING=4 CELLSPACING=0>
+ <TR VALIGN=TOP>
+ <TD WIDTH="20%" BGCOLOR="#C2DCA9">
+ <?php include ('left.php'); ?>
+ </TD>
+ <TD WIDTH="60%">
+ <?php include ('dict.php'); ?>
+ </TD>
+ <TD WIDTH="20%" BGCOLOR="#C2DCA9">
+ <?php include ('right.php'); ?>
+ </TD>
+ </TR>
+</TABLE>
+</body>
+</html>
Index: branches/dicts/left.php
===================================================================
--- branches/dicts/left.php (revision 0)
+++ branches/dicts/left.php (revision 185)
@@ -0,0 +1,41 @@
+&bull; 1000+ Биографий<br>
+&bull; Словарь синонимов Н.Абрамова<br>
+&bull; Русско-английский биологический<br>
+&bull; Эсперанто-русский<br>
+&bull; Русский-эсперанто<br>
+&bull; Словарь церковных терминов<br>
+&bull; Толковый словарь Даля<br>
+&bull; Эстонско-русский<br>
+&bull; Словарь финансовых терминов<br>
+&bull; Немецко-русский<br>
+&bull; Англо-русский (компьютерный)<br>
+&bull; Англо-русский<br>
+&bull; Инспано-русский<br>
+&bull; Французско-русский (юридический)<br>
+&bull; Французско-русский<br>
+&bull; Итальяно-русский<br>
+&bull; Русско-немецкий<br>
+&bull; Русско-английский (компьютерный)<br>
+&bull; Русско-английский<br>
+&bull; Русско-испанский<br>
+&bull; Русско-французский (юридический)<br>
+&bull; Русско-французский (технический)<br>
+&bull; Русско-французский<br>
+&bull; Русско-итальянский<br>
+&bull; Латынь-русский<br>
+&bull; Медицинский словарь<br>
+&bull; Толковый словарь Ожегова<br>
+&bull; Белорусско-русский<br>
+&bull; Польско-русский<br>
+&bull; Русско-белорусский<br>
+&bull; Русско-польский<br>
+&bull; Словарь смайликов<br>
+&bull; Русско-шведский<br>
+&bull; Шведско-русский<br>
+&bull; Большой Энциклопедический<br> словарь<br>
+&bull; Энциклопедический словарь<br> Брокгауза и Эфрона<br>
+&bull; Финско-русский<br>
+&bull; Современный энциклопедический<br> словарь<br>
+&bull; Русско-украинский<br>
+&bull; Украинско-русский<br>
+&bull; Толковый словарь Ушакова<br>
\ No newline at end of file
Index: branches/dicts/logo.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/dicts/logo.png
===================================================================
--- branches/dicts/logo.png (revision 0)
+++ branches/dicts/logo.png (revision 185)
/branches/dicts/logo.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/dicts/right.php
===================================================================
--- branches/dicts/right.php (revision 0)
+++ branches/dicts/right.php (revision 185)
@@ -0,0 +1,15 @@
+По вопросам обращаться:
+<p>
+&bull; <b>ICQ:</b> 268795111<br>
+&bull; <b>Jabber:</b> ik00@jabber.ru<br>
+</p>
+<br><br><br>
+Доступ по протоколу DICT:
+<p>
+&bull; <b>сервер:</b> dicts.nix-files.org.ru<br>
+&bull; <b>порт:</b> 2628<br>
+</p>
+<br><br><br>
+<p>
+&bull; <b>Jabber:</b> diffor@jabber.ru<br>
+</p>
\ No newline at end of file