File: sett_gio.php

package info (click to toggle)
hoteldruid 3.0.6-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 12,568 kB
  • sloc: php: 141,803; javascript: 2,251; sh: 278; xml: 49; makefile: 17
file content (68 lines) | stat: -rw-r--r-- 2,259 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php

##################################################################################
#    HOTELDRUID
#    Copyright (C) 2001-2021 by Marco Maria Francesco De Santis (marco@digitaldruid.net)
#
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU Affero General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    any later version accepted by Marco Maria Francesco De Santis, which
#    shall act as a proxy as defined in Section 14 of version 3 of the
#    license.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU Affero General Public License for more details.
#
#    You should have received a copy of the GNU Affero General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
##################################################################################


$tableanni = $PHPR_TAB_PRE."anni";
$tipo_periodi = esegui_query("select * from $tableanni where idanni = '$anno' ");
if (numlin_query($tipo_periodi)) $tipo_periodi = risul_query($tipo_periodi,0,'tipo_periodi');
else $tipo_periodi = "g";
if ($tipo_periodi == "g") {
$parola_settimanale = "giornaliero";
$parola_settimanali = "giornalieri";
$parola_settimane = "giorni";
$parola_Settimane = "Giorni";
$parola_settimana = "giorno";
$parola_settiman = "giorn";
$parola_sett = "gio";
$parola_le = "i";
$parola_Le = "I";
$parola_la = "il";
$parola_La = "Il";
$parola_alla = "al";
$lettera_e = "i";
$lettera_a = "o";
$lettera_a2 = "";
$lettera_s = "g";
$sillaba_che = "ci";
} # fine if ($tipo_periodi == "g")
else {
$parola_settimanale = "settimanale";
$parola_settimanali = "settimanali";
$parola_settimane = "settimane";
$parola_Settimane = "Settimane";
$parola_settimana = "settimana";
$parola_settiman = "settiman";
$parola_sett = "sett";
$parola_le = "le";
$parola_Le = "Le";
$parola_la = "la";
$parola_La = "La";
$parola_alla = "alla";
$lettera_e = "e";
$lettera_a = "a";
$lettera_a2 = "a";
$lettera_s = "s";
$sillaba_che = "che";
} # fine else if ($tipo_periodi == "g")


?>