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

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

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

/trunk/inc/legend.htm
Файл удален
/trunk/inc/legend.php
Новый файл
0,0 → 1,9
<?php
echo "<br>\n";
echo "<table id='legend'>\n";
$stats =& $db->query("SELECT * FROM states");
while ($stats->fetchInto($info_stats, DB_FETCHMODE_ASSOC)) {
echo "<tr><td><img src='".$info_stats['image']."' alt='legend image'></td><td>".$info_stats['description']."</td></tr>\n";
}
echo "</table>\n";
?>
/trunk/img/state/access.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/img/state/main.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/img/state/down.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/img/state/mirror.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/img/state/freeze.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/img/state/tick_blue.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/img/state/tick_blue.png
Новый файл
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/state/tick_red.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/state/tick_red.png
===================================================================
--- img/state/tick_red.png (revision 0)
+++ img/state/tick_red.png (revision 43)
/img/state/tick_red.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/state/snowflake.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/state/snowflake.png
===================================================================
--- img/state/snowflake.png (revision 0)
+++ img/state/snowflake.png (revision 43)
/img/state/snowflake.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/state/tick_green.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/state/tick_green.png
===================================================================
--- img/state/tick_green.png (revision 0)
+++ img/state/tick_green.png (revision 43)
/img/state/tick_green.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/state/tick_gray.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/state/tick_gray.png
===================================================================
--- img/state/tick_gray.png (revision 0)
+++ img/state/tick_gray.png (revision 43)
/img/state/tick_gray.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: img/state/tick_gold.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: img/state/tick_gold.png
===================================================================
--- img/state/tick_gold.png (revision 0)
+++ img/state/tick_gold.png (revision 43)
/img/state/tick_gold.png
Изменения свойств:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: index.php
===================================================================
--- index.php (revision 42)
+++ index.php (revision 43)
@@ -64,19 +64,19 @@
// !replace in future!
switch ($curstate) {
case '1':
- $curimg = "./img/state/main.png";
+ $curimg = "./img/state/tick_gold.png";
$curalt = "Основной ресурс";
break;
case '2':
- $curimg = "./img/state/mirror.png";
+ $curimg = "./img/state/tick_blue.png";
$curalt = "Зеркало";
break;
case '3':
- $curimg = "./img/state/access.png";
+ $curimg = "./img/state/tick_green.png";
$curalt = "Скоростной доступ";
break;
case '4':
- $curimg = "./img/state/freeze.png";
+ $curimg = "./img/state/tick_gray.png";
$curalt = "Заморожен";
break;
}
@@ -88,7 +88,7 @@
}
// table footer
echo "</table>";
- include "./inc/legend.htm";
+ include "./inc/legend.php";
include "./inc/footer.htm";
?>