Grosse màj

- Retrait de la base de donnée
- Compil LESS côté serveur
- Ajout d'une liste de services & suppression de plein de pages
- Ajout du code Konami
This commit is contained in:
Miraty 2019-03-22 21:39:49 +01:00
parent 27e73221a1
commit 32f95ec343
329 changed files with 8598 additions and 17413 deletions

View File

@ -1,16 +1,16 @@
<?php include "inc/debut.php";
head("Erreur 404 | Anternet", "Erreur 404"); ?>
head("404.php"); ?>
<div class="img404">
<img width="50%" src="media/404fourmie.png" alt="Erreur 404"/>
<img width="50%" src="media/404fourmie.png" alt="Le texte 'erreur 404' en train d'être mangé par des fourmies"/>
</div>
<h2>La page à laquelle vous avez tenté d'accéder a été dévorée par une armée de fourmies affamées !</h2>
<br><br>
<a href="https://anternet.pw/web/index.php" title="Retour à la page d'accueil" class="button special icon-home">
<a href="https://www.antopie.org" title="Retour à la page d'accueil" class="button special icon-home">
Retour à la page d'accueil
</a>

661
LICENSE Executable file
View File

@ -0,0 +1,661 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
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
(at your option) any later version.
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 <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.

748
LICENSE.html Executable file
View File

@ -0,0 +1,748 @@
<!DOCTYPE HTML>
<html>
<head>
<title>GNU AFFERO GENERAL PUBLIC LICENSE</title>
<meta content="">
<style>
html {
font-family: ubuntu, sans-serif;
margin-left: 20%;
margin-right: 20%;
font-size: 22px;
background-color: #2d2f34;
color: white;
line-height: 30px;
text-align: justify;
}
::selection {
color: white;
background-color: red;
}
h1 {
line-height: 45px;
}
a[href] {
color: white;
transition: all 0.5s ease;
}
a[href]:hover {
color: red;
}
@font-face {
font-family: "ubuntu";
src: url('bibli/ubuntu/Ubuntu-R.ttf');
}
@media (max-width: 500px) {
html {
margin-left: 8px;
margin-right: 8px;
}
}
@media (max-width: 800px) and (min-width: 501px) {
html {
margin-left: 10%;
margin-right: 10%;
}
}
@media (max-width: 1500px) and (min-width: 801px) {
html {
margin-left: 15%;
margin-right: 15%;
}
}
</style>
</head>
<body>
<h1 style="text-align: center;">GNU AFFERO GENERAL PUBLIC LICENSE</h1>
<p style="text-align: center;">Version 3, 19 November 2007</p>
<p>Copyright &copy; 2007 Free Software Foundation,
Inc. &lt;<a href="https://fsf.org/">https://fsf.org/</a>&gt;
<br />
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.</p>
<h2><a name="preamble"></a>Preamble</h2>
<p>The GNU Affero General Public License is a free, copyleft license
for software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.</p>
<p>The licenses for most software and other practical works are
designed to take away your freedom to share and change the works. By
contrast, our General Public Licenses are intended to guarantee your
freedom to share and change all versions of a program--to make sure it
remains free software for all its users.</p>
<p>When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.</p>
<p>Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.</p>
<p>A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.</p>
<p>The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.</p>
<p>An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.</p>
<p>The precise terms and conditions for copying, distribution and
modification follow.</p>
<h2><a name="terms"></a>TERMS AND CONDITIONS</h2>
<h3><a name="section0"></a>0. Definitions.</h3>
<p>&quot;This License&quot; refers to version 3 of the GNU Affero General Public
License.</p>
<p>&quot;Copyright&quot; also means copyright-like laws that apply to other kinds
of works, such as semiconductor masks.</p>
<p>&quot;The Program&quot; refers to any copyrightable work licensed under this
License. Each licensee is addressed as &quot;you&quot;. &quot;Licensees&quot; and
&quot;recipients&quot; may be individuals or organizations.</p>
<p>To &quot;modify&quot; a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a &quot;modified version&quot; of the
earlier work or a work &quot;based on&quot; the earlier work.</p>
<p>A &quot;covered work&quot; means either the unmodified Program or a work based
on the Program.</p>
<p>To &quot;propagate&quot; a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.</p>
<p>To &quot;convey&quot; a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.</p>
<p>An interactive user interface displays &quot;Appropriate Legal Notices&quot;
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.</p>
<h3><a name="section1"></a>1. Source Code.</h3>
<p>The &quot;source code&quot; for a work means the preferred form of the work
for making modifications to it. &quot;Object code&quot; means any non-source
form of a work.</p>
<p>A &quot;Standard Interface&quot; means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.</p>
<p>The &quot;System Libraries&quot; of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
&quot;Major Component&quot;, in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.</p>
<p>The &quot;Corresponding Source&quot; for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.</p>
<p>The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.</p>
<p>The Corresponding Source for a work in source code form is that
same work.</p>
<h3><a name="section2"></a>2. Basic Permissions.</h3>
<p>All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.</p>
<p>You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.</p>
<p>Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.</p>
<h3><a name="section3"></a>3. Protecting Users' Legal Rights From Anti-Circumvention Law.</h3>
<p>No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.</p>
<p>When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.</p>
<h3><a name="section4"></a>4. Conveying Verbatim Copies.</h3>
<p>You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.</p>
<p>You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.</p>
<h3><a name="section5"></a>5. Conveying Modified Source Versions.</h3>
<p>You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:</p>
<ul>
<li>a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.</li>
<li>b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
&quot;keep intact all notices&quot;.</li>
<li>c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.</li>
<li>d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.</li>
</ul>
<p>A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
&quot;aggregate&quot; if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.</p>
<h3><a name="section6"></a>6. Conveying Non-Source Forms.</h3>
<p>You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:</p>
<ul>
<li>a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.</li>
<li>b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.</li>
<li>c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.</li>
<li>d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.</li>
<li>e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.</li>
</ul>
<p>A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.</p>
<p>A &quot;User Product&quot; is either (1) a &quot;consumer product&quot;, which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, &quot;normally used&quot; refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.</p>
<p>&quot;Installation Information&quot; for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.</p>
<p>If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).</p>
<p>The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.</p>
<p>Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.</p>
<h3><a name="section7"></a>7. Additional Terms.</h3>
<p>&quot;Additional permissions&quot; are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.</p>
<p>When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.</p>
<p>Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:</p>
<ul>
<li>a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or</li>
<li>b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or</li>
<li>c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or</li>
<li>d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or</li>
<li>e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or</li>
<li>f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.</li>
</ul>
<p>All other non-permissive additional terms are considered &quot;further
restrictions&quot; within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further restriction,
you may remove that term. If a license document contains a further
restriction but permits relicensing or conveying under this License, you
may add to a covered work material governed by the terms of that license
document, provided that the further restriction does not survive such
relicensing or conveying.</p>
<p>If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.</p>
<p>Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.</p>
<h3><a name="section8"></a>8. Termination.</h3>
<p>You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).</p>
<p>However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.</p>
<p>Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.</p>
<p>Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.</p>
<h3><a name="section9"></a>9. Acceptance Not Required for Having Copies.</h3>
<p>You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.</p>
<h3><a name="section10"></a>10. Automatic Licensing of Downstream Recipients.</h3>
<p>Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.</p>
<p>An &quot;entity transaction&quot; is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.</p>
<p>You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.</p>
<h3><a name="section11"></a>11. Patents.</h3>
<p>A &quot;contributor&quot; is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's &quot;contributor version&quot;.</p>
<p>A contributor's &quot;essential patent claims&quot; are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, &quot;control&quot; includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.</p>
<p>Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.</p>
<p>In the following three paragraphs, a &quot;patent license&quot; is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To &quot;grant&quot; such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.</p>
<p>If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. &quot;Knowingly relying&quot; means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.</p>
<p>If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.</p>
<p>A patent license is &quot;discriminatory&quot; if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.</p>
<p>Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.</p>
<h3><a name="section12"></a>12. No Surrender of Others' Freedom.</h3>
<p>If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.</p>
<h3><a name="section13"></a>13. Remote Network Interaction; Use with the GNU General Public License.</h3>
<p>Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.</p>
<p>Notwithstanding any other provision of this License, you have permission
to link or combine any covered work with a work licensed under version 3
of the GNU General Public License into a single combined work, and to
convey the resulting work. The terms of this License will continue to
apply to the part which is the covered work, but the work with which it is
combined will remain governed by version 3 of the GNU General Public
License.</p>
<h3><a name="section14"></a>14. Revised Versions of this License.</h3>
<p>The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may differ
in detail to address new problems or concerns.</p>
<p>Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero
General Public License &quot;or any later version&quot; applies to it, you have
the option of following the terms and conditions either of that
numbered version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number
of the GNU Affero General Public License, you may choose any version
ever published by the Free Software Foundation.</p>
<p>If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that
proxy's public statement of acceptance of a version permanently
authorizes you to choose that version for the Program.</p>
<p>Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.</p>
<h3><a name="section15"></a>15. Disclaimer of Warranty.</h3>
<p>THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM &quot;AS IS&quot; WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</p>
<h3><a name="section16"></a>16. Limitation of Liability.</h3>
<p>IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.</p>
<h3><a name="section17"></a>17. Interpretation of Sections 15 and 16.</h3>
<p>If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.</p>
<p>END OF TERMS AND CONDITIONS</p>
<h2><a name="howto"></a>How to Apply These Terms to Your New Programs</h2>
<p>If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.</p>
<p>To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the &quot;copyright&quot; line and a pointer to where the full notice is found.</p>
<pre> &lt;one line to give the program's name and a brief idea of what it does.&gt;
Copyright (C) &lt;year&gt; &lt;name of author&gt;
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 (at your option) any later version.
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 &lt;https://www.gnu.org/licenses/&gt;.
</pre>
<p>Also add information on how to contact you by electronic and paper mail.</p>
<p>If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a &quot;Source&quot; link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.</p>
<p>You should also get your employer (if you work as a programmer) or school,
if any, to sign a &quot;copyright disclaimer&quot; for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
&lt;<a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>&gt;.</p>
</body>
</html>

660
LICENSE.md Executable file
View File

@ -0,0 +1,660 @@
### GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc.
<https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
### Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains
free software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing
under this license.
The precise terms and conditions for copying, distribution and
modification follow.
### TERMS AND CONDITIONS
#### 0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public
License.
"Copyright" also means copyright-like laws that apply to other kinds
of works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of
an exact copy. The resulting work is called a "modified version" of
the earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user
through a computer network, with no transfer of a copy, is not
conveying.
An interactive user interface displays "Appropriate Legal Notices" to
the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
#### 1. Source Code.
The "source code" for a work means the preferred form of the work for
making modifications to it. "Object code" means any non-source form of
a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users can
regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same
work.
#### 2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not convey,
without conditions so long as your license otherwise remains in force.
You may convey covered works to others for the sole purpose of having
them make modifications exclusively for you, or provide you with
facilities for running those works, provided that you comply with the
terms of this License in conveying all material for which you do not
control copyright. Those thus making or running the covered works for
you must do so exclusively on your behalf, under your direction and
control, on terms that prohibit them from making any copies of your
copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under the
conditions stated below. Sublicensing is not allowed; section 10 makes
it unnecessary.
#### 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such
circumvention is effected by exercising rights under this License with
respect to the covered work, and you disclaim any intention to limit
operation or modification of the work as a means of enforcing, against
the work's users, your or third parties' legal rights to forbid
circumvention of technological measures.
#### 4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
#### 5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these
conditions:
- a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
- b) The work must carry prominent notices stating that it is
released under this License and any conditions added under
section 7. This requirement modifies the requirement in section 4
to "keep intact all notices".
- c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
- d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
#### 6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of
sections 4 and 5, provided that you also convey the machine-readable
Corresponding Source under the terms of this License, in one of these
ways:
- a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
- b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the Corresponding
Source from a network server at no charge.
- c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
- d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
- e) Convey the object code using peer-to-peer transmission,
provided you inform other peers where the object code and
Corresponding Source of the work are being offered to the general
public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal,
family, or household purposes, or (2) anything designed or sold for
incorporation into a dwelling. In determining whether a product is a
consumer product, doubtful cases shall be resolved in favor of
coverage. For a particular product received by a particular user,
"normally used" refers to a typical or common use of that class of
product, regardless of the status of the particular user or of the way
in which the particular user actually uses, or expects or is expected
to use, the product. A product is a consumer product regardless of
whether the product has substantial commercial, industrial or
non-consumer uses, unless such uses represent the only significant
mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to
install and execute modified versions of a covered work in that User
Product from a modified version of its Corresponding Source. The
information must suffice to ensure that the continued functioning of
the modified object code is in no case prevented or interfered with
solely because modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or
updates for a work that has been modified or installed by the
recipient, or for the User Product in which it has been modified or
installed. Access to a network may be denied when the modification
itself materially and adversely affects the operation of the network
or violates the rules and protocols for communication across the
network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
#### 7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders
of that material) supplement the terms of this License with terms:
- a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
- b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
- c) Prohibiting misrepresentation of the origin of that material,
or requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
- d) Limiting the use for publicity purposes of names of licensors
or authors of the material; or
- e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
- f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions
of it) with contractual assumptions of liability to the recipient,
for any liability that these contractual assumptions directly
impose on those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions; the
above requirements apply either way.
#### 8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your license
from a particular copyright holder is reinstated (a) provisionally,
unless and until the copyright holder explicitly and finally
terminates your license, and (b) permanently, if the copyright holder
fails to notify you of the violation by some reasonable means prior to
60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
#### 9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run
a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
#### 10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
#### 11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims owned
or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within the
scope of its coverage, prohibits the exercise of, or is conditioned on
the non-exercise of one or more of the rights that are specifically
granted under this License. You may not convey a covered work if you
are a party to an arrangement with a third party that is in the
business of distributing software, under which you make payment to the
third party based on the extent of your activity of conveying the
work, and under which the third party grants, to any of the parties
who would receive the covered work from you, a discriminatory patent
license (a) in connection with copies of the covered work conveyed by
you (or copies made from those copies), or (b) primarily for and in
connection with specific products or compilations that contain the
covered work, unless you entered into that arrangement, or that patent
license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
#### 12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under
this License and any other pertinent obligations, then as a
consequence you may not convey it at all. For example, if you agree to
terms that obligate you to collect a royalty for further conveying
from those to whom you convey the Program, the only way you could
satisfy both those terms and this License would be to refrain entirely
from conveying the Program.
#### 13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your
version supports such interaction) an opportunity to receive the
Corresponding Source of your version by providing access to the
Corresponding Source from a network server at no charge, through some
standard or customary means of facilitating copying of software. This
Corresponding Source shall include the Corresponding Source for any
work covered by version 3 of the GNU General Public License that is
incorporated pursuant to the following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
#### 14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Affero General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever
published by the Free Software Foundation.
If the Program specifies that a proxy can decide which future versions
of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
#### 15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
CORRECTION.
#### 16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
#### 17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
### How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these
terms.
To do so, attach the following notices to the program. It is safest to
attach them to the start of each source file to most effectively state
the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
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 (at your option) any later version.
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 <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper
mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for
the specific requirements.
You should also get your employer (if you work as a programmer) or
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. For more information on this, and how to apply and follow
the GNU AGPL, see <https://www.gnu.org/licenses/>.

View File

@ -1,29 +1,28 @@
# Présentation
Voici le code source de mon site : <https://www.antopie.org>.
Ce code est testé avec les dernières version de PHP et MySQL.
Il devrait fonctionner simplement avec la dernière version de PHP et un serveur Web.
Le site Web dépend d'une base de donnée ; pour faire fonctionner ce site vous devrez importer le fichier bdd.sql dans une base de donnée nommé _my_webapp_ et placer dans le dossier parent de _web_ un fichier _loginsbdd.php_ sous la forme :
Si vous avez besoin d'aide vous pouvez me contacter sur Mastodon : [@Miraty@social.antopie.org](https://social.antopie.org/@miraty) ou par mail : [miraty+gitea@antopie.org](mailto:miraty+gitea@antopie.org).
<?php
// Identifiants de la base de données my_webapp
$userBDD = "nom d'utilisateur";
$mdpBDD = "mot de passe";
Si vous avez besoin d'aide vous pouvez me contacter sur Mastodon : [@Miraty@social.antopie.org](https://social.antopie.org/@miraty) ou par mail : miraty<arraubase>antopie.org.
# Bibliothèques utilisées
# Structure
Le dossier bibli contient des dépendances inclusent dans ce site.
- **web**
- **bibli** _Contient des bibliothèques diverses\*
- **fontello** _Le pack d'icones\*
- **sense3** _Les "publicités"\*
- **ubuntu** _Les polices d'Ubuntu utilisés sur le site\*
- **less.js** _Le JS pour compiler le code LESS en CSS\*
- **less.min.js** _Même chose en plus léger\*
- **nomalize.css** _Du CSS qui réinitalise le CSS pour que tous les navigateurs aient le même rendu\*
- **inc** _Les fichiers PHP qui ne sont pas des pages Web et qui sont inclus dans d'autres\*
- **media** _Image, vidéo, audio\*
- **README.md** _Le fichier Markdown que vous êtes en train de lire\*
- **bdd.sql** _Contient la structure de la base de données\*
- **loginsbdd.php** _Les identifiants de la base de données_
Nom | Description | Licence | Source | Version
-------- | -------- | -------- | --------
ubuntu | La police Ubuntu | Ubuntu Font License v1.0 | https://design.ubuntu.com/font/
fontello | Pack d'icônes | SIL, BSD, MIT, CC-BY | http://fontello.com/
lessphp | Compilateur Less en PHP | MIT ou GPLv3 | https://github.com/leafo/lessphp | 0.5.0
sense3 | "Publicités" pour le libre | MIT | https://sense3.org/
normalize.css | Standardisation de l'affichage | MIT | https://necolas.github.io/normalize.css/ | 8.0.1
# Licence
Le site web d'Antopie est un logiciel libre ; vous pouvez le diffuser et le modifier suivant les termes de la GNU Affero General Public License telle que publiée par la Free Software Foundation ; soit la version 3 de cette licence, soit (à votre convenance) une version ultérieure.
Le site web d'Antopie est diffusé dans lespoir quil sera utile, mais SANS AUCUNE GARANTIE ; sans même une garantie implicite de COMMERCIALISATION ou dADÉQUATION À UN USAGE PARTICULIER. Voyez la GNU Affero General Public License pour plus de détails.
Vous devriez avoir reçu une copie de la GNU Affero General Public License avec ce code. Sinon, consultez https://www.gnu.org/licenses/

BIN
abcdefg/polices/harry.ttf Executable file

Binary file not shown.

BIN
abcdefg/polices/hocuspocus.ttf Executable file

Binary file not shown.

BIN
abcdefg/polices/minecraft.ttf Executable file

Binary file not shown.

BIN
abcdefg/polices/simplicity.ttf Executable file

Binary file not shown.

BIN
abcdefg/polices/splatch.ttf Executable file

Binary file not shown.

BIN
abcdefg/polices/traveling.ttf Executable file

Binary file not shown.

BIN
abcdefg/polices/ubuntu-title.ttf Executable file

Binary file not shown.

BIN
abcdefg/polices/varsity.ttf Executable file

Binary file not shown.

View File

@ -1,63 +0,0 @@
<?php include "inc/debut.php";
head("aleatoire.php"); ?>
<h1>
Générateur Aléatoire
</h1>
<?php if (!isset($_GET['etape'])) { ?>
<form method="post" action="aleatoire.php?etape=deux">
Bienvenue dans ce programme de choix aléatoire.<br>
Il permet de tirer au sort une possibilité parmis plusieurs.<br>
1) Choisissez parmi combien de possibilités vous voulez tirer au sort.<br>
2) Donner un nom à chaque possibilité.<br>
3) Le programme vous donnera aléatoirement un des noms.<br>
<input type="number" name="nombreDeChoix" step="1" value="3" min="2" max="100" required>
<br>
<input type="submit" value="Suivant >" class="button special big icon"/>
</form>
<?php
} else if (isset($_GET['etape']) AND $_GET['etape'] == "deux") { ?>
<form method="post" action="aleatoire.php?etape=trois">
<?php $i = 0;
while ($i < $_POST['nombreDeChoix']) {
$valeur[$i] = $i; ?>
Choix <?php echo $i + 1; ?> : <input type="text" name="<?php echo $valeur[$i]; ?>" required>
<br>
<?php
$i++;
}
?>
<input type="hidden" name="nombreDeChoixPasse" value="<?php echo htmlspecialchars($_POST['nombreDeChoix']); ?>" />
<input type="submit" value="Générer" class="button special big"/>
</form>
<?php } else if (isset($_GET['etape']) AND $_GET['etape'] == "trois") {
$choisi = mt_rand(0, $_POST['nombreDeChoixPasse']); ?>
La valeur choisie aléatoirement est <?php echo htmlspecialchars($_POST[$choisi]); ?>, numéro <?php echo htmlspecialchars($choisi); ?>
<?php } else { ?>
Erreur
<?php } ?>
<?php include "inc/footer.php"; ?>

View File

@ -1,44 +0,0 @@
<?php include "inc/debut.php";
head("antmusique.php"); ?>
<h1>Les AntMusiques</h1>
<br>
Les AntMusiques sont publiées sous <a title="License Fait Tout Ce Que Tu Veux" href="licences/lftcqtv.html">LFTCQTV</a>.
<br><br><br>
<a download="AntMusiques" href="media/antmusiques.zip" title="Télécharger les 10 AntMusiques en fichier ZIP (32,3 Mo)" class="button special big icon-download">
Tout Télécharger (32 Mo)
</a>
<br><br>
<span class="t07">SHA256 : <code>06f48e208a4fb517a4d0be98a72ec5c54f662188eed8d9ddc219e3cfd3f93249</code></span>
<br><br>
<span class="t07">SHA1 : <code>9967acdd91d61e86d9118d7e819ce73504235d91</code></span>
<br><br>
<span class="t07">MD5 : <code>e718e24cc38a95924fa96efd4be10c7c</code></span>
<div>
<?php
$i = 0;
while ($i <= 9) {?>
<div>
<h2>
AntMusique <?php echo $i + 1; ?> :
</h2>
<video width="320" height="183" controls poster="media/am<?php echo $i + 1; ?>.png">
<source src="media/am<?php echo $i + 1; ?>.mp3" type="audio/mp3">
Votre navigateur ne comprend pas la balise HTML <code>video</code>. Veuilez utiliser un navigateur à jour (par exemple Firefox, Vivaldi, Chrome, Opera etc...).
</video>
<br><br>
<a download="AntMusique_<?php echo $i + 1; ?>" href="media/am<?php echo $i + 1; ?>.mp3" class="icon-download"> Télécharger</a>
</div>
<?php
$i++;
}
?>
</div>
<br>
<?php include "inc/footer.php"; ?>

View File

@ -1,54 +0,0 @@
<?php include "inc/debut.php";
head("apropos.php"); ?>
<h1>À propos</h1>
<div class="pgauche">
Site réalisé par Miraty et publié sous license libre <a href="licences/cecill.html" title="Lire la license CeCILL" class="icon-doc-text-2 souligne">CeCILL</a>.
<br><br>
<a href="https://code.antopie.org/miraty/web" title="Accédez au code source sur Gitea" class="icon-fork">Accéder au code source sur Gitea</a>
<br>
<br>
<br>
Les icones de ce site sont celles du pack <a href="licences/fontello.txt" class="icon-doc-text souligne">Fontello</a>.
<br>
<br>
<br>
Les "publicité" du site sont celles du projet <a href="https://sense3.org/fr/home/" title="Le projet sense3">sense3</a> créé par <a href="https://liberapay.com/josephk/" title="Soutenir JosephK sur Liberapay">JosephK</a> et diffusé sous <a href="licences/sense3.txt" title="License MIT">licence MIT</a>.
<br>
<br>
<br>
Merci à <strong>Zarkaa</strong> pour avoir réalisé le logo Ant et l'image de la page 404.
</div>
<br>
<br>
<div>
Ce site ne charge aucun contenu depuis des sites tiers et n'utilise que des technologies libres.
</div>
<br><br>
<div class="pgauche">
Me contacter :
<br><br>
<span class="icon-at"> Par E-mail : <code>miraty</code>&#60;arrow-base&#62;<code>antopie</code>&#60;point&#62;<code>org</code></span>
<br><br>
<span class="svg"><?php include "media/logomastodon.svg"; ?> Sur Mastodon : <a href="https://social.antopie.org/@miraty">@miraty@social.antopie.org</a></span>
</div>
<br><br>
<div>
En partenariat avec <a href="https://www.youtube.com/channel/UCFqVaPRqiST8KCnofL80cDQ" title="Voir la chaîne YouTube de wiziix"><strong>wiziix</strong></a> et <a href="https://www.youtube.com/channel/UCpefXfUCwMASiYt0AEJgH3g" title="Voir la chaîne YouTube de Madaho"><strong>Madaho</strong></a>.
</div>
<?php include "inc/footer.php"; ?>

296
bdd.sql
View File

@ -1,296 +0,0 @@
-- phpMyAdmin SQL Dump
-- version 4.6.6deb5
-- https://www.phpmyadmin.net/
--
-- Client : localhost:3306
-- Généré le : Jeu 30 Août 2018 à 16:06
-- Version du serveur : 5.7.23-0ubuntu0.18.04.1
-- Version de PHP : 7.2.7-0ubuntu0.18.04.2
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Base de données : `anternet`
--
-- --------------------------------------------------------
--
-- Structure de la table `articles`
--
CREATE TABLE `articles` (
`id` int(11) NOT NULL,
`titre` varchar(255) NOT NULL,
`pseudo` varchar(255) NOT NULL,
`article` text NOT NULL,
`moment` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `codeFourmie`
--
CREATE TABLE `codeFourmie` (
`id` int(11) NOT NULL,
`codeSource` varchar(255) NOT NULL,
`codeCompilé` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Contenu de la table `codeFourmie`
--
INSERT INTO `codeFourmie` (`id`, `codeSource`, `codeCompilé`) VALUES
(1, '#\\[bleu\\]#', '<span class=\"txtbleu\">'),
(10, '#\\[vert\\]#', '<span class=\"txtvert\">'),
(11, '#\\[rouge\\]#', '<span class=\"txtrouge\">'),
(12, '#\\[rose\\]#', '<span class=\"txtrose\">'),
(13, '#\\[cyan\\]#', '<span class=\"txtcyan\">'),
(14, '#\\[gris\\]#', '<span class=\"txtgris\">'),
(15, '#\\[bleufoncé\\]#', '<span class=\"txtbleufoncé\">'),
(16, '#\\[cyanfoncé\\]#', '<span class=\"txtcyanfoncé\">'),
(17, '#\\[jaunefoncé\\]#', '<span class=\"txtjaunefoncé\">'),
(18, '#\\[rosefoncé\\]#', '<span class=\"txtrosefoncé\">'),
(19, '#\\[rougefoncé\\]#', '<span class=\"txtrougefoncé\">'),
(20, '#\\[boite\\]#', '<span class=\"boite\">'),
(21, '#\\[souligné\\]#', '<span class=\"souligne\">'),
(22, '#\\[italique\\]#', '<span class=\"fin-it\">'),
(23, '#\\[grand\\]#', '<span class=\"t15\">'),
(24, '#\\[gras\\]#', '<span class=\"gras\">'),
(25, '#\\[orange\\]#', '<span class=\"txtorange\">'),
(26, '#\\[/lien\\]#', ' <span class=\"icon fa-external-link\"></span></a>'),
(27, '#\\[lien\\|#', '<a href=\"confirmationlien.php?lien='),
(28, '#\\|]#', '\">'),
(29, '#\\[l\\]#', '<br/>'),
(30, '#:\\)#', '<span class=\"icon-emo-laugh\"></span>'),
(31, '#\\[vertfoncé\\]#', '<span class=\"txtvertfoncé\">');
-- --------------------------------------------------------
--
-- Structure de la table `commentaires`
--
CREATE TABLE `commentaires` (
`id` int(11) NOT NULL,
`pseudo` varchar(60) NOT NULL,
`anonyme` varchar(3) NOT NULL,
`commentaire` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `commentairesArticle`
--
CREATE TABLE `commentairesArticle` (
`id` int(11) NOT NULL,
`titre` varchar(255) NOT NULL,
`pseudo` varchar(255) NOT NULL,
`commentaire` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `compte`
--
CREATE TABLE `compte` (
`id` int(11) NOT NULL,
`pseudo` varchar(60) NOT NULL,
`mdp` varchar(500) NOT NULL,
`confirmerLien` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `navigateur`
--
CREATE TABLE `navigateur` (
`id` int(11) NOT NULL,
`nomDeCode` text NOT NULL,
`nomComplet` text NOT NULL,
`editeur` text NOT NULL,
`source` text NOT NULL,
`libre` text NOT NULL,
`bibliModule` text NOT NULL,
`description` text NOT NULL,
`monAvis` text NOT NULL,
`lienTelecharger` text NOT NULL,
`lienWikipedia` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Contenu de la table `navigateur`
--
INSERT INTO `navigateur` (`id`, `nomDeCode`, `nomComplet`, `editeur`, `source`, `libre`, `bibliModule`, `description`, `monAvis`, `lienTelecharger`, `lienWikipedia`) VALUES
(1, 'cliqz', 'Cliqz', 'Cliqz', 'Firefox', 'icon-check-1 vert', 'Firefox', 'Cliqz est navigateur intégrant un moteur de recherche directement dans la barre d\'adresse. Il suffit simplement de taper sa recherche, et les résultats s\'affichent instantanément en dessous. Il existe également sous forme d\'extension Firefox. ', 'C\'est cool', 'https://cliqz.com/en/desktop', 'https://de.wikipedia.org/wiki/Cliqz'),
(2, 'firefoxdeveloperedition', 'Firefox Developer Edition', 'Mozilla', 'Firefox', 'icon-check-1 vert', 'Firefox', 'Firefox Developer Edition est un navigateur spécialisé pour le développement Web. ', 'C\'est Firefox mais pour les développeurs', 'https://www.mozilla.org/fr/firefox/developer/all/', 'https://fr.wikipedia.org/wiki/Mozilla_Firefox#Versions_de_d%C3%A9veloppement'),
(3, 'firefox', 'Firefox', 'Mozilla', 'Firefox', 'icon-check-1 vert', 'Firefox', 'Firefox est le navigateur créé par Mozilla .', 'C\'est le meilleur navigateur !', 'https://www.mozilla.org/fr/firefox/', 'https://fr.wikipedia.org/wiki/Mozilla_Firefox'),
(4, 'tor', 'Tor', 'The Tor Project', 'Firefox', 'icon-check-1 vert', 'Firefox', 'Tor Browser est un navigateur spécial : en plus de permettre de naviguer sur le Web \"banal\", il permet de se connecter au DarkNet Tor pour accéder au DarkWeb. Il inclut donc le \"VPN\" spécial, l\'extention HTTPS Everywhere et NoScript. ', 'C\'est utile à condition d\'avoir besoin d\'être anonyme. Sinon on pert juste du temps à charger les pages.', 'https://www.torproject.org/download/download-easy.html', 'https://fr.wikipedia.org/wiki/Tor_Browser'),
(5, 'waterfox', 'Waterfox', 'Alex Kontos', 'Firefox', 'icon-check-1 vert', 'Firefox', 'Waterfox est un navigateur historiquement optimisé pour les processeurs 64 bits. ', 'C\'est une sotre de version semi-rétro de Firefox.', 'https://www.waterfoxproject.org/downloads', 'https://fr.wikipedia.org/wiki/Waterfox'),
(6, 'cyberfox', 'Cyberfox', ' 8pecxstudios', 'Firefox', 'icon-check-1 vert', 'Firefox', 'Cyberfox est un navigateur basé sur Firefox qui combine le menu à droite et l\'ancien menu en haut à gauche.', 'C\'est pour les nostalgiques des anciennes version de Firefox.', 'https://cyberfox.8pecxstudios.com/', 'https://wikipedia.org/wiki/Cyberfox'),
(7, 'palemoon', 'Pale Moon', 'Moonchild Productions', 'Firefox', 'icon-check-1 vert', 'Firefox', 'Pale Moon est un navigateur basé sur une ancienne version de Firefox (la 27.6.2). ', 'C\'est pour les TRÈS nostalgiques des TRÈS anciennes versions de Firefox', 'https://www.palemoon.org/', 'https://fr.wikipedia.org/wiki/Pale_Moon'),
(8, 'seamonkey', 'SeaMonkey', 'Mozilla', 'Firefox', 'icon-check-1 vert', 'Firefox', 'Sea Monkey est un projet abandonné par Mozilla, remplacé par Firefox et Thunderbird. Il incluait un navigateur Web, un éditeur HTMl, et un client d\'E-mails. ', 'C\'est très vieux et moche...', 'https://www.seamonkey-project.org/releases/', 'https://fr.wikipedia.org/wiki/SeaMonkey'),
(9, 'chromium', 'Chromium', 'Google', 'Chromium', 'icon-check-1 vert', 'Chrome Web Store', 'Chromium est le projet source de Chrome déstiné aux développeurs. ', 'C\'est utile si on veut utiliser Chrome mais en libre.', 'https://download-chromium.appspot.com/', 'https://fr.wikipedia.org/wiki/Chromium_(navigateur_web)'),
(10, 'chrome', 'Chrome', 'Google', 'Chromium', 'icon-cancel-3 rouge', 'Chrome Web Store', 'Chrome est le navigateur développé par Google. ', 'C\'est nul !', 'https://www.google.com/chrome/browser/desktop/index.html', 'https://fr.wikipedia.org/wiki/Google_Chrome'),
(11, 'vivaldi', 'Vivaldi', 'Vivaldi Technologies', 'Chromium', 'icon-cancel-3 rouge', 'Chrome Web Store', 'Vivaldi est le projet lancé par un ancien PDG de Opera. Il est basé sur Chromium, mais dispose d\'une interface graphique très belle, et de quelques petites fonctionnalitées interressantes. ', 'Il y a beaucoup de fonctionnalités et de personnalisation. ', 'https://vivaldi.com/', 'https://fr.wikipedia.org/wiki/Vivaldi_(navigateur_web)'),
(12, 'torch', 'Torch', 'Torch Media', 'Chromium', 'icon-cancel-3 rouge', 'Chrome Web Store', 'Torch est navigateur basé sur le projet Chromium. Il inclu plusieurs fonctionnalitées supplémentaires, comme un client torrent. ', 'Il y a des fonctionnalités inédites, mais peu utiles dans un navigateur Web.', 'https://torchbrowser.com/', 'https://en.wikipedia.org/wiki/Torch_(browser)'),
(13, 'brave', 'Brave', 'Brendan Eich', 'Chromium', 'icon-check-1 vert', 'Aucune', 'Un navigateur créé par un co-fondateur de Mozilla.', 'Protecteur de la vie privée mais avec des publicités', 'https://www.brave.com/', 'https://fr.wikipedia.org/wiki/Brave_(navigateur_web)'),
(14, 'midori', 'Midori', 'Christian Dywan', 'Midori', 'icon-check-1 vert', 'Aucune', 'Midori est un navigateur Web basé sur Chromium pour son moteur de rendu, mais graphiquement original. ', 'C\'est un peu vieillot', 'http://midori-browser.org/', 'https://fr.wikipedia.org/wiki/Midori'),
(15, 'maxthon', 'Maxthon', 'Maxthon', 'Internet Explorer', 'icon-cancel-3 rouge', 'Maxthon', 'Maxthon est un navigateur chinois qui fonctionne avec le moteur de rendu de Internet Explorer. ', 'C\'est original', 'http://fr.maxthon.com/', 'https://fr.wikipedia.org/wiki/Maxthon'),
(16, 'opera', 'Opera', 'Opera Software', 'Opera', 'icon-cancel-3 rouge', 'Opera', 'Opera est un navigateur Web indépendant. ', 'C\'est un navigateur totalement indépendant et original.', 'https://www.opera.com/fr/computer', 'https://fr.wikipedia.org/wiki/Opera'),
(17, 'yandex', 'Yandex Browser', 'Yandex', 'Chromium', 'icon-cancel-3 rouge', 'Opera', 'Yandex Browser est un navigateur web développé par l\'entreprise russe Yandex et basé sur le projet libre Chromium.', 'C\'est plutôt joli.', 'https://browser.yandex.com/', 'https://fr.wikipedia.org/wiki/Yandex_Browser'),
(18, 'internetexplorer', 'Internet Explorer', 'Microsoft', 'Internet Explorer', 'icon-cancel-3 rouge', 'Aucune', 'Internet Explorer est l\'un des plus vieux navigateurs Web. Il appartient à Microsoft et ne fonctionne que sur les ordinateurs sous Windows. ', 'Il a é très utilisé par le passé mais a é dépassé par d\'autres navigateurs.', 'Ben, non.', 'https://fr.wikipedia.org/wiki/Internet_Explorer'),
(19, 'edge', 'Edge', 'Microsoft', 'Internet Explorer', 'icon-cancel-3 rouge', 'Aucune', 'Edge est une nouvelle version graphique d\' Internet Explorer. Comme Internet Explorer, il appartient à Microsoft et ne fonctionne qu\'avec les ordinateurs sous Windows. ', 'C\'est forcément mieux qu\'Internet Explorer, mais ça reste nul.', 'https://fr.wikipedia.org/wiki/Microsoft_Edge', 'https://fr.wikipedia.org/wiki/Microsoft_Edge'),
(20, 'safari', 'Safari', 'Apple', 'Safari', 'icon-cancel-3 rouge', 'Aucune', 'Safari appartient à Apple et ne fonctionne que sur les ordinateurs sous Mac. ', '', 'Ben non, c\'est toujours pas ça !', 'https://fr.wikipedia.org/wiki/Safari_(navigateur_web)'),
(21, 'konqueror', 'Konqueror', 'KDE', 'Konqueror', 'icon-check-1 vert', 'Aucune', 'Le navigateur Web KDE, dont le moteur de rendu, KHTML sert de base à WebKit d\'Apple (utilisé dans Safari). Il peut aussi servir d\'explorateur de fichiers.', '', 'https://kubuntu.org', '');
-- --------------------------------------------------------
--
-- Structure de la table `pages`
--
CREATE TABLE `pages` (
`id` int(11) NOT NULL,
`adresse` varchar(255) NOT NULL,
`titre` varchar(255) NOT NULL,
`description` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Contenu de la table `pages`
--
INSERT INTO `pages` (`id`, `adresse`, `titre`, `description`) VALUES
(1, 'index.php', 'Accueil', 'Page d\'accueil'),
(2, 'aleatoire.php', 'Tirage au sort', 'Programme de tirage au sort pour choisir aléatoirement quelque chose'),
(3, 'antmusique.php', 'AntMusiques', '10 AntMusiques créées par Miraty'),
(4, 'apropos.php', 'À propos', 'À propos du site Antopie.org/web'),
(5, 'cave.definition.php', 'Définitions', 'Des définitions simples concernant l\'informatique et internet'),
(6, 'cave.mdr.php', 'Moteurs de recherche', 'Liste et descriptions de moteurs de recherche'),
(7, 'cave.module.php', 'Modules complémentaires', 'Liste et descriptions de modules complémentaires (addons) pour Firefox'),
(8, 'cave.navigateur.php', 'Navigateurs Web', 'Liste et descriptions de navigateurs Web pour choisir le meilleur'),
(9, 'cave.os.php', 'Systèmes d\'exploitation', 'Liste et descriptions de systèmes d\'exploitation'),
(10, 'cgu.php', 'Conditions d\'utilisation', 'Conditions générales d\'utilisation de site Antopie.org'),
(11, 'commentaire.php', 'Espace commentaire', 'Espace commentaire pour envoyer un message à propos du site ou lire ceux des autres'),
(12, 'connexion.php', 'Connexion', 'Page de connexion à son compte Ant'),
(13, 'deconnexion.php', 'Déconnexion', 'Effacer sa session PHP (sa connexion à son compte)'),
(14, 'fourmiliere.php', 'La fourmilière', 'Un espace de blog pour n\'importe qui'),
(15, 'liste_des_nombres.php', 'Liste des nombres de 1 à 1 million', 'Un page recensant, ligne par ligne, le premier million des nombres entier'),
(16, 'monnavigateur.php', 'Mon navigateur', 'À propos de mon navigateur'),
(17, 'signup.php', 'Créer un compte Ant', 'Page de création de compte Ant'),
(18, 'confirmationlien.php', 'Confirmation de lien', 'Souhaitez-vous suivre ce lien ?'),
(19, '404.php', 'Erreur 404', 'Erreur 404');
--
-- Index pour les tables exportées
--
--
-- Index pour la table `articles`
--
ALTER TABLE `articles`
ADD PRIMARY KEY (`id`),
ADD KEY `id` (`id`);
--
-- Index pour la table `codeFourmie`
--
ALTER TABLE `codeFourmie`
ADD PRIMARY KEY (`id`),
ADD KEY `id` (`id`);
--
-- Index pour la table `commentaires`
--
ALTER TABLE `commentaires`
ADD PRIMARY KEY (`id`),
ADD KEY `id` (`id`);
--
-- Index pour la table `commentairesArticle`
--
ALTER TABLE `commentairesArticle`
ADD PRIMARY KEY (`id`),
ADD KEY `id` (`id`);
--
-- Index pour la table `compte`
--
ALTER TABLE `compte`
ADD PRIMARY KEY (`id`),
ADD KEY `id` (`id`);
--
-- Index pour la table `navigateur`
--
ALTER TABLE `navigateur`
ADD PRIMARY KEY (`id`),
ADD KEY `id` (`id`);
--
-- Index pour la table `pages`
--
ALTER TABLE `pages`
ADD PRIMARY KEY (`id`),
ADD KEY `id` (`id`);
--
-- AUTO_INCREMENT pour les tables exportées
--
--
-- AUTO_INCREMENT pour la table `articles`
--
ALTER TABLE `articles`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `codeFourmie`
--
ALTER TABLE `codeFourmie`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;
--
-- AUTO_INCREMENT pour la table `commentaires`
--
ALTER TABLE `commentaires`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
--
-- AUTO_INCREMENT pour la table `commentairesArticle`
--
ALTER TABLE `commentairesArticle`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `compte`
--
ALTER TABLE `compte`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42;
--
-- AUTO_INCREMENT pour la table `navigateur`
--
ALTER TABLE `navigateur`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;
--
-- AUTO_INCREMENT pour la table `pages`
--
ALTER TABLE `pages`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

11
bibli/animate.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1,75 +0,0 @@
This webfont is generated by http://fontello.com open source project.
================================================================================
Please, note, that you should obey original font licenses, used to make this
webfont pack. Details available in LICENSE.txt file.
- Usually, it's enough to publish content of LICENSE.txt file somewhere on your
site in "About" section.
- If your project is open-source, usually, it will be ok to make LICENSE.txt
file publicly available in your repository.
- Fonts, used in Fontello, don't require a clickable link on your site.
But any kind of additional authors crediting is welcome.
================================================================================
Comments on archive content
---------------------------
- /font/* - fonts in different formats
- /css/* - different kinds of css, for all situations. Should be ok with
twitter bootstrap. Also, you can skip <i> style and assign icon classes
directly to text elements, if you don't mind about IE7.
- demo.html - demo file, to show your webfont content
- LICENSE.txt - license info about source fonts, used to build your one.
- config.json - keeps your settings. You can import it back into fontello
anytime, to continue your work
Why so many CSS files ?
-----------------------
Because we like to fit all your needs :)
- basic file, <your_font_name>.css - is usually enough, it contains @font-face
and character code definitions
- *-ie7.css - if you need IE7 support, but still don't wish to put char codes
directly into html
- *-codes.css and *-ie7-codes.css - if you like to use your own @font-face
rules, but still wish to benefit from css generation. That can be very
convenient for automated asset build systems. When you need to update font -
no need to manually edit files, just override old version with archive
content. See fontello source code for examples.
- *-embedded.css - basic css file, but with embedded WOFF font, to avoid
CORS issues in Firefox and IE9+, when fonts are hosted on the separate domain.
We strongly recommend to resolve this issue by `Access-Control-Allow-Origin`
server headers. But if you ok with dirty hack - this file is for you. Note,
that data url moved to separate @font-face to avoid problems with <IE9, when
string is too long.
- animate.css - use it to get ideas about spinner rotation animation.
Attention for server setup
--------------------------
You MUST setup server to reply with proper `mime-types` for font files -
otherwise some browsers will fail to show fonts.
Usually, `apache` already has necessary settings, but `nginx` and other
webservers should be tuned. Here is list of mime types for our file extensions:
- `application/vnd.ms-fontobject` - eot
- `application/x-font-woff` - woff
- `application/x-font-ttf` - ttf
- `image/svg+xml` - svg

151
bibli/konami.js Normal file
View File

@ -0,0 +1,151 @@
/*
* Konami-JS ~
* :: Now with support for touch events and multiple instances for
* :: those situations that call for multiple easter eggs!
* Code: https://github.com/snaptortoise/konami-js
* Copyright (c) 2009 George Mandis (georgemandis.com, snaptortoise.com)
* Version: 1.6.1 (6/25/2018)
* Licensed under the MIT License (http://opensource.org/licenses/MIT)
* Tested in: Safari 4+, Google Chrome 4+, Firefox 3+, IE7+, Mobile Safari 2.2.1+ and Android
*/
var Konami = function (callback) {
var konami = {
addEvent: function (obj, type, fn, ref_obj) {
if (obj.addEventListener)
obj.addEventListener(type, fn, false);
else if (obj.attachEvent) {
// IE
obj["e" + type + fn] = fn;
obj[type + fn] = function () {
obj["e" + type + fn](window.event, ref_obj);
}
obj.attachEvent("on" + type, obj[type + fn]);
}
},
removeEvent: function (obj, eventName, eventCallback) {
if (obj.removeEventListener) {
obj.removeEventListener(eventName, eventCallback);
} else if (obj.attachEvent) {
obj.detachEvent(eventName);
}
},
input: "",
pattern: "38384040373937396665",
keydownHandler: function (e, ref_obj) {
if (ref_obj) {
konami = ref_obj;
} // IE
konami.input += e ? e.keyCode : event.keyCode;
if (konami.input.length > konami.pattern.length) {
konami.input = konami.input.substr((konami.input.length - konami.pattern.length));
}
if (konami.input === konami.pattern) {
konami.code(konami._currentLink);
konami.input = '';
e.preventDefault();
return false;
}
},
load: function (link) {
this._currentLink = link;
this.addEvent(document, "keydown", this.keydownHandler, this);
this.iphone.load(link);
},
unload: function () {
this.removeEvent(document, 'keydown', this.keydownHandler);
this.iphone.unload();
},
code: function (link) {
window.location = link
},
iphone: {
start_x: 0,
start_y: 0,
stop_x: 0,
stop_y: 0,
tap: false,
capture: false,
orig_keys: "",
keys: ["UP", "UP", "DOWN", "DOWN", "LEFT", "RIGHT", "LEFT", "RIGHT", "TAP", "TAP"],
input: [],
code: function (link) {
konami.code(link);
},
touchmoveHandler: function (e) {
if (e.touches.length === 1 && konami.iphone.capture === true) {
var touch = e.touches[0];
konami.iphone.stop_x = touch.pageX;
konami.iphone.stop_y = touch.pageY;
konami.iphone.tap = false;
konami.iphone.capture = false;
konami.iphone.check_direction();
}
},
touchendHandler: function () {
konami.iphone.input.push(konami.iphone.check_direction());
if (konami.iphone.input.length > konami.iphone.keys.length) konami.iphone.input.shift();
if (konami.iphone.input.length === konami.iphone.keys.length) {
var match = true;
for (var i = 0; i < konami.iphone.keys.length; i++) {
if (konami.iphone.input[i] !== konami.iphone.keys[i]) {
match = false;
}
}
if (match) {
konami.iphone.code(konami._currentLink);
}
}
},
touchstartHandler: function (e) {
konami.iphone.start_x = e.changedTouches[0].pageX;
konami.iphone.start_y = e.changedTouches[0].pageY;
konami.iphone.tap = true;
konami.iphone.capture = true;
},
load: function (link) {
this.orig_keys = this.keys;
konami.addEvent(document, "touchmove", this.touchmoveHandler);
konami.addEvent(document, "touchend", this.touchendHandler, false);
konami.addEvent(document, "touchstart", this.touchstartHandler);
},
unload: function () {
konami.removeEvent(document, 'touchmove', this.touchmoveHandler);
konami.removeEvent(document, 'touchend', this.touchendHandler);
konami.removeEvent(document, 'touchstart', this.touchstartHandler);
},
check_direction: function () {
x_magnitude = Math.abs(this.start_x - this.stop_x);
y_magnitude = Math.abs(this.start_y - this.stop_y);
x = ((this.start_x - this.stop_x) < 0) ? "RIGHT" : "LEFT";
y = ((this.start_y - this.stop_y) < 0) ? "DOWN" : "UP";
result = (x_magnitude > y_magnitude) ? x : y;
result = (this.tap === true) ? "TAP" : result;
return result;
}
}
}
typeof callback === "string" && konami.load(callback);
if (typeof callback === "function") {
konami.code = callback;
konami.load();
}
return konami;
};
if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
module.exports = Konami;
} else {
if (typeof define === 'function' && define.amd) {
define([], function() {
return Konami;
});
} else {
window.Konami = Konami;
}
}

File diff suppressed because it is too large Load Diff

18
bibli/less.min.js vendored

File diff suppressed because one or more lines are too long

660
bibli/lessphp/LICENSE Executable file
View File

@ -0,0 +1,660 @@
For ease of distribution, lessphp is under a dual license.
You are free to pick which one suits your needs.
MIT LICENSE
Copyright (c) 2014 Leaf Corcoran, http://leafo.net/lessphp
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
GPL VERSION 3
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

96
bibli/lessphp/README.md Executable file
View File

@ -0,0 +1,96 @@
[![Build Status](https://travis-ci.org/leafo/lessphp.svg?branch=master)](https://travis-ci.org/leafo/lessphp)
# lessphp v0.5.0
### <http://leafo.net/lessphp>
`lessphp` is a compiler for LESS written in PHP. The documentation is great,
so check it out: <http://leafo.net/lessphp/docs/>.
Here's a quick tutorial:
### How to use in your PHP project
The only file required is `lessc.inc.php`, so copy that to your include directory.
The typical flow of **lessphp** is to create a new instance of `lessc`,
configure it how you like, then tell it to compile something using one built in
compile methods.
The `compile` method compiles a string of LESS code to CSS.
```php
<?php
require "lessc.inc.php";
$less = new lessc;
echo $less->compile(".block { padding: 3 + 4px }");
```
The `compileFile` method reads and compiles a file. It will either return the
result or write it to the path specified by an optional second argument.
```php
<?php
echo $less->compileFile("input.less");
```
The `checkedCompile` method is like `compileFile`, but it only compiles if the output
file doesn't exist or it's older than the input file:
```php
<?php
$less->checkedCompile("input.less", "output.css");
```
If there any problem compiling your code, an exception is thrown with a helpful message:
```php
<?php
try {
$less->compile("invalid LESS } {");
} catch (exception $e) {
echo "fatal error: " . $e->getMessage();
}
```
The `lessc` object can be configured through an assortment of instance methods.
Some possible configuration options include [changing the output format][1],
[setting variables from PHP][2], and [controlling the preservation of
comments][3], writing [custom functions][4] and much more. It's all described
in [the documentation][0].
[0]: http://leafo.net/lessphp/docs/
[1]: http://leafo.net/lessphp/docs/#output_formatting
[2]: http://leafo.net/lessphp/docs/#setting_variables_from_php
[3]: http://leafo.net/lessphp/docs/#preserving_comments
[4]: http://leafo.net/lessphp/docs/#custom_functions
### How to use from the command line
An additional script has been included to use the compiler from the command
line. In the simplest invocation, you specify an input file and the compiled
css is written to standard out:
$ plessc input.less > output.css
Using the -r flag, you can specify LESS code directly as an argument or, if
the argument is left off, from standard in:
$ plessc -r "my less code here"
Finally, by using the -w flag you can watch a specified input file and have it
compile as needed to the output file:
$ plessc -w input-file output-file
Errors from watch mode are written to standard out.
The -f flag sets the [output formatter][1]. For example, to compress the
output run this:
$ plessc -f=compressed myfile.less
For more help, run `plessc --help`

3880
bibli/lessphp/lessc.inc.php Executable file

File diff suppressed because it is too large Load Diff

10
bibli/normalize.css vendored
View File

@ -1,4 +1,4 @@
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
@ -24,6 +24,14 @@ body {
margin: 0;
}
/**
* Render the `main` element consistently in IE.
*/
main {
display: block;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.

View File

@ -1,50 +0,0 @@
{
"env": {
"jquery": true,
"browser": true,
"es6": true
},
"extends": [
"airbnb-base",
"plugin:vue/recommended"
],
"globals": {
"__webpack_public_path__": true,
"gl": false,
"gon": false,
"localStorage": false
},
"parserOptions": {
"parser": "babel-eslint"
},
"plugins": [
"filenames",
"import",
"html",
"promise"
],
"settings": {
"html/html-extensions": [".html", ".html.raw"],
"import/resolver": {
"webpack": {
"config": "./config/webpack.config.js"
}
}
},
"rules": {
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
"import/no-commonjs": "error",
"no-multiple-empty-lines": ["error", { "max": 1 }],
"promise/catch-or-return": "error",
"no-underscore-dangle": ["error", { "allow": ["__"]}],
"vue/html-self-closing": ["error", {
"html": {
"void": "always",
"normal": "never",
"component": "always"
},
"svg": "always",
"math": "always"
}]
}
}

View File

@ -1,30 +0,0 @@
image: node:8.9.4-stretch
stages:
- test
- deploy
test:
stage: test
before_script:
- npm install -g eslint
- npm install -g eslint-plugin-filenames
- npm install -g eslint-plugin-import
- npm install -g eslint-plugin-html
- npm install -g eslint-plugin-promise
- npm install -g eslint-plugin-vue
- npm install -g eslint-config-airbnb-base
- npm install -g babel-eslint
script:
- eslint sense3.js
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
only:
- master

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

@ -5,8 +5,48 @@
<head>
<meta charset="UTF-8" />
<title>about:ant</title>
<link rel="stylesheet" href="../css/aboutant.css" type="text/css" />
<link rel="icon" type="image/ico" href="media/faviconr.ico"/>
<style>
html {
background: maroon radial-gradient( circle, #a01010 0%, #800000 80%) center center / cover no-repeat;
color: white;
font-style: italic;
text-rendering: optimizeLegibility;
min-height: 100%;
}
#texts {
margin-left: 15%;
margin-right: 15%;
}
#otext {
margin-top: 15%;
font-size: 0.8em;
font-family: serif;
text-align: center;
line-height: 1.5;
}
#anttext {
margin-top: 15%;
font-size: 1.3em;
font-family: serif;
text-align: center;
line-height: 1.5;
}
strong {
font-size: 1.3em;
line-height: 0;
font-weight: normal;
}
</style>
</head>
<body>

View File

@ -0,0 +1,19 @@
<html>
<head>
<title>ABCDEFG</title>
<meta content="UTF-8">
<style>
html {
background-color: <?php function rand_color() {
return sprintf('#%06X', mt_rand(0, 0xFFFFFF));
}
echo rand_color(); ?>
}
</style>
</head>
<body></body>
</html>

View File

@ -1,21 +0,0 @@
The Ubuntu Font Family is very long-term endeavour, and the first time
that a professionally-designed font has been funded specifically with
the intent of being an on-going community expanded project:
http://font.ubuntu.com/
Development of the Ubuntu Font Family is undertaken on Launchpad:
http://launchpad.net/ubuntu-font-family/
and this is where milestones, bug management and releases are handled.
Contributions are welcomed. Your work will be used on millions of
computers every single day! Following the initial bootstrapping of
Latin, Cyrillic, Greek, Arabic and Hebrew expansion will be undertaken
by font designers from the font design and Ubuntu communities.
To ensure that the Ubuntu Font Family can be re-licensed to future
widely-used libre font licences, copyright assignment is being required:
https://launchpad.net/~uff-contributors

View File

@ -1,292 +0,0 @@
This is the FONTLOG file for the Ubuntu Font Family and attempts to follow
the recommendations at: http://scripts.sil.org/OFL-FAQ_web#43cecb44
Overview
The new Ubuntu Font Family was started to enable the personality of
Ubuntu to be seen and felt in every menu, button and dialog.
The typeface is sans-serif, uses OpenType features and is manually
hinted for clarity on desktop and mobile computing screens.
The scope of the Ubuntu Font Family includes all the languages used by
the various Ubuntu users around the world in tune with Ubuntu's
philosophy which states that every user should be able to use their
software in the language of their choice. So the Ubuntu Font Family
project will be extended to cover many more written languages.
History
The Ubuntu Font Family has been creating during 2010 and 2011. As of
September 2011 coverage is provided for Latin, Cyrillic and Greek across
Regular, Italic, Bold and Bold-Italic. Further work was uptaken during
2015.
ChangeLog
2015-08-21 (Paul Sladen) Ubuntu Font Family version 0.83
Note: This release was created by binary patching from the v0.80
release using the scripts in 'sources/patch-0.80-0.83/' to rebuild
the necessary tables. The release selectively updates only those
proportional .ttf font files exhibiting the bug below bug number;
the Ubuntu Mono monospace font files remain unchanged, being the
original version 0.80 ones.
[Marc Foley]
* [Engineering] Fixed wrong characters appear in some mac apps. (LP: #1334363)
2011-09-22 (Paul Sladen) Ubuntu Font Family version 0.80
[Vincent Connare/Dalton Maag]
* Wish for addition of a monospaced member to the family (LP: #640382)
* Mono: No hinting yet - Ubuntu Beta Mono font looks jagged in
Netbeans and terrible with ClearType (LP: #820493)
* Emacs: choosing normal monospace font in Emacs but gives bold-italic
(LP: #791076)
* PUA: ensure that Ubuntu Circle of Friends logo is full size: (LP: #853855)
+ U+E0FF becomes large size in proportionals, remains small width in
monospaces
+ U+F0FF becomes small size (proportionals only)
+ U+F200 is full ubuntu logomark (proportionals only)
[Paul Sladen]
* Monospace: Patch Family Name to be "Ubuntu Mono"
* Monospace: Patch U+EFFD version debugging glyph to be '0.8'
[Cody Boisclair]
* Monospace: Force .null HDMX advance to 500
* Monospace: Remap ASCII box-drawing characters (LP: #788757)
[Júlio Reis]
* Date corrections to 'FONTLOG' (LP: #836595)
2011-03-08 (Paul Sladen) Ubuntu Font Family version 0.71.2
* (Production) Adjust Medium WeightClass to 500 (Md, MdIt) (LP: #730912)
2011-03-07 (Paul Sladen) Ubuntu Font Family version 0.71.1
* (Design) Add Capitalised version of glyphs and kern. (Lt, LtIt,
Md, MdIt) DM (LP: #677446)
* (Design) Re-space and tighen Regular and Italic by amount specified
by Mark Shuttleworth (minus 4 FUnits). (Rg, It) (LP: #677149)
* (Design) Design: Latin (U+0192) made straight more like l/c f with
tail (LP: #670768)
* (Design) (U+01B3) should have hook on right, as the lowercase
(U+01B4) (LP: #681026)
* (Design) Tail of Light Italic germandbls, longs and lowercase 'f'
to match Italic/BoldItalic (LP: #623925)
* (Production) Update <case> feature (Lt, LtIt, Md, MdIt). DM
(LP: #676538, #676539)
* (Production) Remove Bulgarian locl feature for Italics. (LP: #708578)
* (Production) Update Description information with new string:
"The Ubuntu Font Family are libre fonts funded by Canonical Ltd
on behalf of the Ubuntu project. The font design work and
technical implementation is being undertaken by Dalton Maag. The
typeface is sans-serif, uses OpenType features and is manually
hinted for clarity on desktop and mobile computing screens. The
scope of the Ubuntu Font Family includes all the languages used
by the various Ubuntu users around the world in tune with
Ubuntu's philosophy which states that every user should be able
to use their software in the language of their choice. The
project is ongoing, and we expect the family will be extended to
cover many written languages in the coming years."
(Rg, It, Bd, BdIt, Lt, LtIt, Md, MdIt) (LP: #690590)
* (Production) Pixel per em indicator added at U+F000 (Lt, LtIt, Md,
MdIt) (LP: #615787)
* (Production) Version number indicator added at U+EFFD (Lt, LtIt, Md,
MdIt) (LP: #640623)
* (Production) fstype bit set to 0 - Editable (Lt, LtIt, Md, MdIt)
(LP: #648406)
* (Production) Localisation of name table has been removed because
of problems with Mac OS/X interpretation of localisation. DM
(LP: #730785)
* (Hinting) Regular '?' dot non-circular (has incorrect control
value). (LP: #654336)
* (Hinting) Too much space after latin capital 'G' in 13pt
regular. Now reduced. (LP: #683437)
* (Hinting) Balance Indian Rupee at 18,19pt (LP: #662177)
* (Hinting) Make Regular '£' less ambiguous at 13-15 ppm (LP: #685562)
* (Hinting) Regular capital 'W' made symmetrical at 31 ppem (LP: #686168)
2010-12-14 (Paul Sladen) Ubuntu Font Family version 0.70.1
Packaging, rebuilt from '2010-12-08 UbuntuFontsSourceFiles_070.zip':
* (Midstream) Fstype bit != 0 (LP: #648406)
* (Midstream) Add unit test to validate fstype bits (LP: #648406)
* (Midstream) Add unit test to validate licence
2010-12-14 (Paul Sladen) Ubuntu Font Family version 0.70
Release notes 0.70:
* (Design) Add Capitalised version of glyphs and kern. (Rg, It, Bd,
BdIt) DM (LP: #676538, #677446)
* (Design) Give acute and grave a slight upright move to more match
the Hungarian double acute angle. (Rg, It, Bd, BdIt) (LP: #656647)
* (Design) Shift Bold Italic accent glyphs to be consistent with the
Italic. (BdIt only) DM (LP: #677449)
* (Design) Check spacing and kerning of dcaron, lcaron and
tcaron. (Rg, It, Bd, BdIt) (LP: #664722)
* (Design) Add positive kerning to () {} [] to open out the
combinations so they are less like a closed box. (Rg, It, Bd,
BdIt) (LP: #671228)
* (Design) Change design of acute.asc and check highest points (Bd
and BdIt only) DM
* (Production) Update <case> feature. DM (LP: #676538, #676539)
* (Production) Remove Romanian locl feature. (Rg, It, Bd, BdIt)
(LP: #635615)
* (Production) Update Copyright information with new
strings. "Copyright 2010 Canonical Ltd. Licensed under the Ubuntu
Font Licence 1.0" Trademark string "Ubuntu and Canonical are
registered trademarks of Canonical Ltd." (Rg, It, Bd, BdIt) DM
(LP: #677450)
* (Design) Check aligning of hyphen, math signs em, en, check braces
and other brackets. 16/11 (LP: #676465)
* (Production) Pixel per em indicator added at U+F000 (Rg, It, Bd,
BdIt) (LP: #615787)
* (Production) Version number indicator added at U+EFFD (Rg, It, Bd,
BdIt) (LP: #640623)
* (Production) fstype bit set to 0 - Editable (Rg, It, Bd, BdIt)
(LP: #648406)
2010-10-05 (Paul Sladen) Ubuntu Font Family version 0.69
[Dalton Maag]
* Italic,
- Hinting on lowercase Italic l amended 19ppm (LP: #632451)
- Hinting on lowercase Italic u amended 12ppm (LP: #626376)
* Regular, Italic, Bold, BoldItalic
- New Rupee Sign added @ U+20B9 (LP: #645987)
- Ubuntu Roundel added @ U+E0FF (LP: #651606)
[Paul Sladen]
* All
- Removed "!ubu" GSUB.calt ligature for U+E0FF (LP: #651606)
Acknowledgements
If you make modifications be sure to add your name (N), email (E),
web-address (if you have one) (W) and description (D). This list is in
alphabetical order.
N: Ryan Abdullah
W: http://www.rayan.de/
D: Arabic calligraphy and design in collaboration with Dalton Maag
D: Arabic testing
N: Cody Boisclair
D: Monospace low-level debugging and patching ('fixboxdrawing-ft.py')
N: Amélie Bonet
W: http://ameliebonet.com/
D: Type design with Dalton Maag, particularly Ubuntu Mono and Ubuntu Condensed
N: Jason Campbell
W: http://www.campbellgraphics.com/design/fonts.shtml
D: Monospace hinting (first phase) at Dalton Maag
N: Pilar Cano
W: http://www.pilarcano.com/
D: Hebrew realisation with Dalton Maag
N: Fernando Caro
D: Type design with Dalton Maag, particularly Ubuntu Condensed
N: Ron Carpenter
W: http://www.daltonmaag.com/
D: Type design with Dalton Maag
D: Arabic realisation in collaboration with Ryan Abdullah
N: Vincent Connare
W: http://www.connare.com/
D: Type design, and engineering with Dalton Maag
D: Monospace hinting (second phase) at Dalton Maag
N: Dave Crossland
E: dave@understandingfonts.com
W: http://understandingfonts.com/
D: Documentation and libre licensing guidance
D: Google Webfont integration at Google
N: Steve Edwards
W: http://www.madebymake.com/
D: font.ubuntu.com revamp implementation with Canonical Web Team
N: Iain Farrell
W: http://www.flickr.com/photos/iain
D: Ubuntu Font Family delivery for the Ubuntu UX team at Canonical
N: Marc Foley
W: http://www.marcfoley.co/
D: Font Engineer at Dalton Maag for the 2015 updates
N: Shiraaz Gabru
W: http://www.daltonmaag.com/
D: Ubuntu Font Family project management at Dalton Maag
N: Marcus Haslam
W: http://design.canonical.com/author/marcus-haslam/
D: Creative inspiration
N: Ben Laenen
D: Inspiration behind the pixels-per-em (PPEM) readout debugging glyph at U+F000
(for this font the concept was re-implemented from scratch by Dalton-Maag)
N: Bruno Maag
W: http://www.daltonmaag.com/
D: Stylistic direction of the Ubuntu Font Family, as head of Dalton Maag
N: Ivanka Majic
W: http://www.ivankamajic.com/
D: Guiding the UX team and Cyrillic feedback
N: David Marshall
W: http://www.daltonmaag.com/
D: Technical guidance and administration at Dalton Maag
N: Malcolm Wooden
W: http://www.daltonmaag.com/
D: Font Engineering at Dalton Maag
N: Lukas Paltram
W: http://www.daltonmaag.com/
D: Type design with Dalton Maag
N: Júlio Reis
D: Date fixes to the documentation
N: Rodrigo Rivas
D: Indian Rupee Sign glyph
N: Mark Shuttleworth
E: mark@ubuntu.com
W: http://www.markshuttleworth.com/
D: Executive quality-control and funding
N: Paul Sladen
E: ubuntu@paul.sladen.org
W: http://www.paul.sladen.org/
D: Bug triaging, packaging at Ubuntu and Canonical
N: Nicolas Spalinger
W: http://planet.open-fonts.org
D: Continuous guidance on libre/open font licensing, best practises in source
tree layout, release and packaging (pkg-fonts Debian team)
N: Kenneth Wimer
D: Initial PPA packaging
* Canonical Ltd is the primary commercial sponsor of the Ubuntu and
Kubuntu operating systems
* Dalton Maag are a custom type foundry headed by Bruno Maag
For further documentation, information on contributors, source code
downloads and those involved with the Ubuntu Font Family, visit:
http://font.ubuntu.com/

View File

@ -1,177 +0,0 @@
Ubuntu Font Family Licensing FAQ
Stylistic Foundations
The Ubuntu Font Family is the first time that a libre typeface has been
designed professionally and explicitly with the intent of developing a
public and long-term community-based development process.
When developing an open project, it is generally necessary to have firm
foundations: a font needs to maintain harmony within itself even across
many type designers and writing systems. For the [1]Ubuntu Font Family,
the process has been guided with the type foundry Dalton Maag setting
the project up with firm stylistic foundation covering several
left-to-right scripts: Latin, Greek and Cyrillic; and right-to-left
scripts: Arabic and Hebrew (due in 2011).
With this starting point the community will, under the supervision of
[2]Canonical and [3]Dalton Maag, be able to build on the existing font
sources to expand their character coverage. Ultimately everybody will
be able to use the Ubuntu Font Family in their own written languages
across the whole of Unicode (and this will take some time!).
Licensing
The licence chosen by any free software project is one of the
foundational decisions that sets out how derivatives and contributions
can occur, and in turn what kind of community will form around the
project.
Using a licence that is compatible with other popular licences is a
powerful constraint because of the [4]network effects: the freedom to
share improvements between projects allows free software to reach
high-quality over time. Licence-proliferation leads to many
incompatible licences, undermining the network effect, the freedom to
share and ultimately making the libre movement that Ubuntu is a part of
less effective. For all kinds of software, writing a new licence is not
to be taken lightly and is a choice that needs to be thoroughly
justified if this path is taken.
Today it is not clear to Canonical what the best licence for a font
project like the Ubuntu Font Family is: one that starts life designed
by professionals and continues with the full range of community
development, from highly commercial work in new directions to curious
beginners' experimental contributions. The fast and steady pace of the
Ubuntu release cycle means that an interim libre licence has been
necessary to enable the consideration of the font family as part of
Ubuntu 10.10 operating system release.
Before taking any decision on licensing, Canonical as sponsor and
backer of the project has reviewed the many existing licenses used for
libre/open fonts and engaged the stewards of the most popular licenses
in detailed discussions. The current interim licence is the first step
in progressing the state-of-the-art in licensing for libre/open font
development.
The public discussion must now involve everyone in the (comparatively
new) area of the libre/open font community; including font users,
software freedom advocates, open source supporters and existing libre
font developers. Most importantly, the minds and wishes of professional
type designers considering entering the free software business
community must be taken on board.
Conversations and discussion has taken place, privately, with
individuals from the following groups (generally speaking personally on
behalf of themselves, rather than their affiliations):
* [5]SIL International
* [6]Open Font Library
* [7]Software Freedom Law Center
* [8]Google Font API
Document embedding
One issue highlighted early on in the survey of existing font licences
is that of document embedding. Almost all font licences, both free and
unfree, permit embedding a font into a document to a certain degree.
Embedding a font with other works that make up a document creates a
"combined work" and copyleft would normally require the whole document
to be distributed under the terms of the font licence. As beautiful as
the font might be, such a licence makes a font too restrictive for
useful general purpose digital publishing.
The situation is not entirely unique to fonts and is encountered also
with tools such as GNU Bison: a vanilla GNU GPL licence would require
anything generated with Bison to be made available under the terms of
the GPL as well. To avoid this, Bison is [9]published with an
additional permission to the GPL which allows the output of Bison to be
made available under any licence.
The conflict between licensing of fonts and licensing of documents, is
addressed in two popular libre font licences, the SIL OFL and GNU GPL:
* [10]SIL Open Font Licence: When OFL fonts are embedded in a
document, the OFL's terms do not apply to that document. (See
[11]OFL-FAQ for details.
* [12]GPL Font Exception: The situation is resolved by granting an
additional permission to allow documents to not be covered by the
GPL. (The exception is being reviewed).
The Ubuntu Font Family must also resolve this conflict, ensuring that
if the font is embedded and then extracted it is once again clearly
under the terms of its libre licence.
Long-term licensing
Those individuals involved, especially from Ubuntu and Canonical, are
interested in finding a long-term libre licence that finds broad favour
across the whole libre/open font community. The deliberation during the
past months has been on how to licence the Ubuntu Font Family in the
short-term, while knowingly encouraging everyone to pursue a long-term
goal.
* [13]Copyright assignment will be required so that the Ubuntu Font
Family's licensing can be progressively expanded to one (or more)
licences, as best practice continues to evolve within the
libre/open font community.
* Canonical will support and fund legal work on libre font licensing.
It is recognised that the cost and time commitments required are
likely to be significant. We invite other capable parties to join
in supporting this activity.
The GPL version 3 (GPLv3) will be used for Ubuntu Font Family build
scripts and the CC-BY-SA for associated documentation and non-font
content: all items which do not end up embedded in general works and
documents.
Ubuntu Font Licence
For the short-term only, the initial licence is the [14]Ubuntu Font
License (UFL). This is loosely inspired from the work on the SIL
OFL 1.1, and seeks to clarify the issues that arose during discussions
and legal review, from the perspective of the backers, Canonical Ltd.
Those already using established licensing models such as the GPL, OFL
or Creative Commons licensing should have no worries about continuing
to use them. The Ubuntu Font Licence (UFL) and the SIL Open Font
Licence (SIL OFL) are not identical and should not be confused with
each other. Please read the terms precisely. The UFL is only intended
as an interim license, and the overriding aim is to support the
creation of a more suitable and generic libre font licence. As soon as
such a licence is developed, the Ubuntu Font Family will migrate to
it—made possible by copyright assignment in the interium. Between the
OFL 1.1, and the UFL 1.0, the following changes are made to produce the
Ubuntu Font Licence:
* Clarification:
1. Document embedding (see [15]embedding section above).
2. Apply at point of distribution, instead of receipt
3. Author vs. copyright holder disambiguation (type designers are
authors, with the copyright holder normally being the funder)
4. Define "Propagate" (for internationalisation, similar to the GPLv3)
5. Define "Substantially Changed"
6. Trademarks are explicitly not transferred
7. Refine renaming requirement
Streamlining:
8. Remove "not to be sold separately" clause
9. Remove "Reserved Font Name(s)" declaration
A visual demonstration of how these points were implemented can be
found in the accompanying coloured diff between SIL OFL 1.1 and the
Ubuntu Font Licence 1.0: [16]ofl-1.1-ufl-1.0.diff.html
References
1. http://font.ubuntu.com/
2. http://www.canonical.com/
3. http://www.daltonmaag.com/
4. http://en.wikipedia.org/wiki/Network_effect
5. http://scripts.sil.org/
6. http://openfontlibrary.org/
7. http://www.softwarefreedom.org/
8. http://code.google.com/webfonts
9. http://www.gnu.org/licenses/gpl-faq.html#CanIUseGPLToolsForNF
10. http://scripts.sil.org/OFL_web
11. http://scripts.sil.org/OFL-FAQ_web
12. http://www.gnu.org/licenses/gpl-faq.html#FontException
13. https://launchpad.net/~uff-contributors
14. http://font.ubuntu.com/ufl/ubuntu-font-licence-1.0.txt
15. http://font.ubuntu.com/ufl/FAQ.html#embedding
16. http://font.ubuntu.com/ufl/ofl-1.1-ufl-1.0.diff.html

View File

@ -1,16 +0,0 @@
----------------------
Ubuntu Font Family
======================
The Ubuntu Font Family are a set of matching new libre/open fonts in
development during 2010--2011. And with further expansion work and
bug fixing during 2015. The development is being funded by
Canonical Ltd on behalf the wider Free Software community and the
Ubuntu project. The technical font design work and implementation is
being undertaken by Dalton Maag.
Both the final font Truetype/OpenType files and the design files used
to produce the font family are distributed under an open licence and
you are expressly encouraged to experiment, modify, share and improve.
http://font.ubuntu.com/

View File

@ -1,4 +0,0 @@
Ubuntu and Canonical are registered trademarks of Canonical Ltd.
The licence accompanying these works does not grant any rights
under trademark law and all such rights are reserved.

View File

@ -1,5 +0,0 @@
Copyright 2010,2011 Canonical Ltd.
This Font Software is licensed under the Ubuntu Font Licence, Version
1.0. https://launchpad.net/ubuntu-font-licence

View File

@ -1,39 +0,0 @@
<?php include "inc/debut.php";
head("cave.definition.php"); ?>
<article>
<h1>Diverses infos concernant internet</h1>
<h2 id="internet">Internet</h2>
<p>Internet est un réseau de réseaux. C'est le principal moyen qui permet de communiquer entre ordinateurs autour du monde.</p>
<h2 id="web">Web</h2>
<p>Le Web est une partie d'<a href="#internet">internet</a> accessible avec un <a href="#navigateur">navigateur Web</a> (Firefox, Chrome, Opera, Safari ...).</p>
<h2 id="navigateur">Navigateur Web</h2>
<p>Un navigateur Web permet d'afficher des pages Web.</p>
<h2 id="mdr">Moteur de recherche</h2>
<p>Un moteur de recherche indexe les <a href="#pageweb">pages Web</a> pour que ses utilisateurs puissent les retrouver avec un ou des mots-clés.</p>
<h2 id="siteweb">Site Web</h2>
<p>Un site Web est un regroupement de <a href="#pageweb">pages Web</a> sous un nom de domaine (ex : anternet.pw).</p>
<h2 id="pageweb">Page Web</h2>
<p>Une page Web est un fichier affichant du contenu pour le <a href="#web">Web</a>.</p>
<h2 id="cookie">Cookie</h2>
<p>Les cookies sont des petits fichiers invisibles déposés par certains <a href="#siteweb">sites Web</a> sur votre <a href="#navigateur">navigateur</a> pour personnaliser le contenu (publicité, langue, connexion ...).</p>
<h2 id="deepweb">Deep web</h2>
<p>Le DeepWeb fait parti du <a href="#web">Web</a>. Il désigne la partie non-indexée par les <a href="#mdr">moteurs de recherche</a>.</p>
<h2 id="darkweb">Dark web</h2>
<p>Le DarkWeb est un <a href="#web">Web</a> spécial, accessible uniquement via un <a href="#navigateur">navigateur Web</a> spécifique. Il est diffusé par un <a href="#darknet">darknet</a>.</p>
<h2 id="darknet">Darknet</h2>
<p>Un Darknet est réseau qui utilise <a href="#internet">internet</a> pour le transfert anonyme d'informations. Le plus connu est celui de Tor.</p>
</article>
<?php include "inc/footer.php"; ?>

View File

@ -1,30 +0,0 @@
<?php include "inc/debut.php";
head("cave.mdr.php"); ?>
<article>
<h1>Moteurs de recherche</h1>
<strong>Cette page est encore en construction, revenez dans quelques temps.</strong>
<p>
<h2>Qwant</h2>
C'est un moteur de recherche axé sur le respect des données et de la vie privée.<br>
Il n'enregistre aucune information vous concernant.
</p>
<p>
<h2>Google</h2>
C'est un moteur de recherche axé sur la revente des informations des utilisateurs aux publicitaires.<br>
Il enregistre toutes les informations vous concernant.
</p>
</article>
<?php include "inc/footer.php"; ?>

View File

@ -1,193 +0,0 @@
<?php include "inc/debut.php";
head("cave.module.php"); ?>
<article>
<h1>Modules complémentaires</h1>
<div id="ublock" class="module">
<h2>Bloquer les publicités | uBlock Origin</h2>
<img class="img" src="media/ublockpopup.png" alt="Popup de uBlock"/>
Cette extension bloque les publicités sur les pages que vous visitez. Il va par conséquent accélérer la navigation. Elle est publiée sous license GNU GPL 3.0.
<br><br>
<a href="https://addons.mozilla.org/fr/firefox/addon/ublock-origin/" title="Voir la page de ce module sur addons.mozilla.org" class="button small icon-download" >
Télécharcher uBlock Origin pour Firefox
</a>
</div>
<br>
<br>
<div id="protection" class="module">
<h2 id="pistage">Bloquer le pistage (avec la protection contre le pistage de Firefox)</h2>
<img class="img" src="media/activerprotectionfondblanc.png" alt="Préférences Firefox"/>
C'est une fonctionnalité intégrée dans Firefox.
Pour l'activer, rendez-vous dans <code>Menu</code> > <code>Préférences</code> > <code>Vie privée et sécurité</code> > <code>Protection contre le pistage</code><br> puis cochez <code>Toujours</code>, comme montré ci-dessous.</p>
</div>
<br>
<br>
<div id="cookieautodelete" class="module">
<h2 id="autodelete">Supprimer les cookies automatiquement (avec Cookie AutoDelete)</h2>
<img class="img" src="media/cookie.png" alt="Popup de Cookie AutoDelete"/>
Cette extension supprime automatiquement les cookies, après un certain temps. Il y a un système de liste blanche, pour garder les cookies de certains sites. Elle est publiée sous license MIT.
<br><br>
<a href="https://addons.mozilla.org/fr/firefox/addon/cookie-autodelete/" title="Voir la page de ce module sur addons.mozilla.org" class="button small icon-firefox" >
Télécharcher Cookie AutoDelete
</a>
</div>
<br>
<br>
<div id="httpspartout" class="module">
<h2 id="smarthttps">Se connecter par défaut en HTTPS | HTTPS partout</h2>
<img class="img" src="media/httpspartout.png" alt="Popup de HTTPS partout"/>
HTTPS partout (HTTPS everywhere en anglais) tente par défaut d'établir une connexion en HTTPS, puis, si cela ne marche pas, passe en HTTP. C'est un module de sécurité.
On peut également le régler pour ne se connecter qu'en HTTPS. Elle est publiée sous license GNU GPL 2.0 et +.
<br><br>
<a href="https://addons.mozilla.org/fr/firefox/addon/https-everywhere/" title="Voir la page de ce module sur addons.mozilla.org" class="button icon-firefox">
Télécharcher HTTPS partout
</a>
</div>
<br>
<br>
<div id="wappalyser" class="module">
<h2>Connaître les outils utilisés sur un site | Wappalyser</h2>
<img class="img" src="media/wappalyser.png" alt="Popup de Wappalyser"/>
Cette extension affiche une petite icone dans la barre d'adresse. Lorsque vous cliquez dessus, elle affiche des informations sur le site Web que vous visitez. Par exemple, sur ce site, elle vous affichera qu'il fonctionne avec Nginx et PHP. Elle a simplement un but informatif. Elle est publiée sous license GNU GPL 3.0.
<br><br>
<a href="https://addons.mozilla.org/fr/firefox/addon/wappalyzer/" title="Voir la page de ce module sur addons.mozilla.org" class="button small icon-firefox" >
Télécharcher Wappalyser
</a>
</div>
<br>
<br>
<div id="ghostery" class="module">
<h2>Bloquer les mouchards | Ghostery</h2>
<img class="img" src="media/ghostery.png" alt="Popup de Ghostery"/>
Cette extension permet de bloquer les mouchards (publicitaires, d'analyse d'audience, etc...). Il est passé récement sous license libre (la MPL 2.0)
<br><br>
<a href="https://addons.mozilla.org/fr/firefox/addon/ghostery/" title="Voir la page de ce module sur addons.mozilla.org" class="button small icon-firefox" >
Télécharcher Wappalyser
</a>
</div>
<br>
<br>
<div id="souris" class="module">
<h2>Gérez le navigateur avec les mouvements de la souris | Mouvement de la souris</h2>
Ce module permet d'effectuer des actions en maintenant le clic droit appuyé et en faisant un geste. Par défault :<br>
- Ouvrir un nouvel onglet<br>
- Fermer l'onglet actuel<br>
- Passer à l'onglet suivant<br>
- Revenir à l'onglet précédent<br>
- Actualiser l'onglet actuel<br>
- Rouvrir un onglet fermé<br>
- Aller à la page suivante<br>
- Aller à la page précédente<br>
- Haut de page<br>
- Bas de page<br>
Elle est publiée sous license GNU GPL 3.0.
<br><br>
<a href="https://addons.mozilla.org/fr/firefox/addon/mouse-gestures/" title="Voir la page de ce module sur addons.mozilla.org "class="button small icon-firefox" >
Télécharcher Mouvement de la souris
</a>
</div>
<div id="2048" class="module">
<h2>Jouer au 2048</h2>
<img class="img" src="media/2048.png" alt="Popup du 2048"/>
Cette extension ouvre une popup pour jouer au 2048. C'est une adaptation par Miraty sous forme d'extension du jeu original du 2048 de Gabriele Cirulli publié sous license libre à <a href="https://gabrielecirulli.github.io/2048/">cette adresse</a>.
<br><br>
<a href="media/2048.xpi" title="Télécharger directement cette extension"class="button small icon-firefox" >
Télécharcher le 2048
</a>
</div>
<br>
<h2>Les utilitaires massivement utilisés quil ne faut pas utiliser</h2>
AdBlock Plus : vend aux entreprises de publicité des passe-droit pour figurer sur une liste blanche. En gros, si lentreprise paye, elle peut mettre sa pub et installer son mouchard. De plus, AdBlock et AdBlock Plus sont très lourds, peuvent ralentir laffichage des pages web et saturer lordinateur/smartphone. <a href="https://paris-luttes.info/quelques-trucs-indispensables-pour-3282">Source</a>
<div id="tntnoir" class="module">
<h2>Explosion de TNT</h2>
<img class="img" src="media/tntnoir.png" alt="Popup du 2048"/>
Une explosion de TNT de Minecraft sur un fond noir.
<br><br>
<a href="https://addons.mozilla.org/fr/firefox/addon/explosion-de-tnt-nocturne/" title="Télécharger ce thème depuis addons.mozilla.org"class="button small icon-firefox" >
Télécharcher ce thème
</a>
</div>
<div id="tntblanc" class="module">
<h2>Explosion de TNT</h2>
<img class="img" src="media/tntblanc.png" alt="Popup du 2048"/>
Une explosion de TNT de Minecraft sur un fond blanc.
<br><br>
<a href="https://addons.mozilla.org/fr/firefox/addon/explosion-de-tnt-de-jour/" title="Télécharger ce thème depuis addons.mozilla.org"class="button small icon-firefox" >
Télécharcher ce thème
</a>
</div>
<div id="tntgris" class="module">
<h2>Explosion de TNT</h2>
<img class="img" src="media/tntgris.png" alt="Popup du 2048"/>
Une explosion de TNT de Minecraft sur un fond gris.
<br><br>
<a href="https://addons.mozilla.org/fr/firefox/addon/explosion-de-tnt-grise-blanc" title="Télécharger ce thème depuis addons.mozilla.org"class="button small icon-firefox" >
Télécharger ce thème
</a>
</div>
<div id="tntbleu" class="module">
<h2>Explosion de TNT</h2>
<img class="img" src="media/tntbleu.png" alt="Popup du 2048"/>
Une explosion de TNT de Minecraft sur un fond bleu.
<br><br>
<a href="https://addons.mozilla.org/fr/firefox/addon/explosion-de-tnt-de-minecraft/" title="Télécharger ce thème depuis addons.mozilla.org"class="button small icon-firefox" >
Télécharcher ce thème
</a>
</div>
</article>
<?php include "inc/footer.php"; ?>

View File

@ -1,95 +0,0 @@
<?php include "inc/debut.php";
head("cave.navigateur.php"); ?>
<article>
<h1>Navigateurs web</h1>
<p>
Voici une liste de navigateurs web, destinée à ce que vous trouviez celui qui vous convienne.
<p>
<h2>Menu</h2>
<div class="table-wrapper">
<table class="alt">
<thead>
<tr>
<th>Nom</th>
<th>Editeur</th>
<th>Libre</th>
<th>Moteur de rendu</th>
<th>Extensions</th>
</tr>
</thead>
<tbody>
<?php
include "inc/loginsbdd.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$reponse = $bdd->query('SELECT * FROM navigateur');
while ($donnees = $reponse->fetch()) { ?>
<tr>
<td><a href="#<?php echo $donnees['nomDeCode']; ?>"><?php echo $donnees['nomComplet']; ?></a></td>
<td><?php echo $donnees['editeur']; ?></td>
<td class="<?php echo $donnees['libre']; ?>"></td>
<td><?php echo $donnees['source']; ?></td>
<td><?php echo $donnees['bibliModule']; ?></td>
</tr>
<?php } $reponse->closeCursor(); ?>
</tbody>
</table>
</div>
</p>
<?php
// Afficher chaque section de navigateur
include "inc/loginsbdd.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$reponse = $bdd->query("SELECT * FROM navigateur ORDER BY 'num' DESC");
while ($donnees = $reponse->fetch()) { ?>
<section>
<img src="media/nav/<?php echo $donnees['nomDeCode']; ?>.png" alt="Logo <?php echo $donnees['nomComplet']; ?>"/><span class="nomNavigateur" id="<?php echo $donnees['nomDeCode']; ?>"> <?php echo $donnees['nomComplet']; ?></span>
<div class="descriptionNavigateur">
<?php echo $donnees['description']; ?>
<br>
<div class="monAvis">
<span class="fin-it">Mon avis :</span>
<?php echo $donnees['monAvis']; ?>
</div>
<img src="media/onglet/<?php echo $donnees['nomDeCode']; ?>.png" alt="Interface de <?php echo $donnees['nomComplet']; ?>" class="img"/>
<a href="<?php echo $donnees['siteOfficiel']; ?>" title="Visiter le site officiel du navigateur <?php echo $donnees['nomComplet']; ?>" class="button small icon-globe-6"> Site officiel</a>
<a href="<?php echo $donnees['lienWikipedia']; ?>" title="Voir l'article Wikipédia de ce navigateur" class="button small icon-wikipedia-w "> Page Wikipédia</a>
</div>
</section>
<?php } $reponse->closeCursor(); ?>
</article>
<?php include "inc/footer.php"; ?>

View File

@ -1,123 +0,0 @@
<?php include "inc/debut.php";
head("cave.os.php"); ?>
<h1>Systèmes d'exploitation</h1>
L'abréviation "OS" désigne les systèmes d'exploitation (Operating System en anglais).
<script src="js/os.js"></script>
<div class="pgauche">
<h2><button id="bouttonReduireSection" onClick="reduireSection()" title="Afficher/masquer cette section" class="icon-angle-up"></button>Linux</h2>
<script src="js/os.js"></script>
<div id="linux">
Le noyau Linux est un logiciel TRÈS complexe qui sert de base à beaucoup d'OS en raison de la liberté de son code.
Linux désigne les OS basés sur son noyau.
<div class="pgauche">
<h3>Debian</h3>
Debian est un OS complet et peut être utilisé directement sur un ordinateur, mais il est aussi la base d'autres OS.
<div class="pgauche">
<h4>Ubuntu</h4>
Ubuntu est un OS développé par Canonical qui se base sur Debian en lui ajoutant un certain nombre de modifications.
<div class="pgauche">
<h5>Ubuntu 16.04 Xenial Xerus</h5>
Ubuntu 16.04 Xenial Xerus est la version d'Ubuntu sortie en avril 2016.
</div>
<div class="pgauche">
<h5>Ubuntu 18.04 Bionic Beaver</h5>
Ubuntu 18.04 Bionic Beaver est la version d'Ubuntu sortie en avril 2018.
</div>
<div class="pgauche">
<h5>Kubuntu</h5>
Kubuntu est une "saveur" d'Ubuntu : cet OS utilise la base logicielle d'Ubuntu. La différence se trouve dans l'environnement de bureau qui est celui de KDE.
</div>
<div class="pgauche">
<h5>Edubuntu</h5>
</div>
<div class="pgauche">
<h5>Linux Mint</h5>
Linux Mint est une "saveur" d'Ubuntu : cet OS utilise la base logicielle d'Ubuntu. La différence se trouve dans l'environnement de bureau qui est cinnamon.
</div>
<div class="pgauche">
<h5>Xubuntu</h5>
Kubuntu est une "saveur" d'Ubuntu : cet OS utilise la base logicielle d'Ubuntu. La différence se trouve dans l'environnement de bureau qui est XFCE.
</div>
<div class="pgauche">
<h5>Lubuntu</h5>
</div>
</div>
</div>
<div class="pgauche">
<h3>Red Hat</h3>
<div class="pgauche">
<h4>Fedora</h4>
</div>
<div class="pgauche">
<h4>Suse</h4>
<div class="pgauche">
<h5>OpenSuse</h5>
</div>
</div>
</div>
<div class="pgauche">
<h3>Slackware</h3>
</div>
<div class="pgauche">
<h3>Android</h3>
<div class="pgauche">
<h4>Android 7 Nougat</h4>
</div>
<div class="pgauche">
<h4>Android 8 Oreo</h4>
</div>
<div class="pgauche">
<h4>LineageOS</h4>
</div>
</div>
</div>
</div>
<div class="pgauche">
<h2>Windows</h2>
<div class="pgauche">
<h3>Windows 7</h3>
</div>
<div class="pgauche">
<h3>Windows 8</h3>
</div>
<div class="pgauche">
<h3>Windows 10</h3>
</div>
</div>
<div class="pgauche">
<h2>MacOS / iOS</h2>
</div>
<?php include "inc/footer.php"; ?>

309
cgu.php
View File

@ -1,172 +1,175 @@
<?php include "inc/debut.php";
head("cgu.php"); ?>
<h1>Conditions générales d'utilisation du site www.antopie.org</h1>
<h1>Conditions d'utilisation</h1>
<?php
<section>
<h2>Préambule</h2>
<p>
En utilisant l'un des services Antopie listés
<a href="index.php#services">ici</a>, vous acceptez dêtre lié par
les conditions suivantes.<br> Antopie se réserve le droit de mettre
à jour et modifier ces conditions de temps à autre.
Ces conditions sont dérivées de <a href="https://framasoft.org/fr/cgu/">celles de Framasoft</a>.
</p>
</section>
function motShadock($nombreDeMots) {
$i = 1;
while ($i <= $nombreDeMots) {
switch (mt_rand(0, 69)) {
case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: case 10: case 11: case 12: case 13: case 14: case 15: case 16:
echo "GA ";
break;
case 17: case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32:
echo "BU ";
break;
case 33: case 34: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 48:
echo "ZO ";
break;
case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: case 58: case 59: case 60: case 61: case 62: case 63: case 64:
echo "MEU ";
break;
<section>
<h2>Conditions des services</h2>
case 65:
switch (mt_rand(1, 4)) {
case 1:
echo "<span class='souligne'>GA</span> ";
break;
case 2:
echo "<span class='souligne'>BU</span> ";
break;
case 3:
echo "<span class='souligne'>ZO</span> ";
break;
case 4:
echo "<span class='souligne'>MEU</span> ";
break;
default:
echo "ERREUR 1";
}
break;
<ol>
<li>Lutilisation des services se fait à vos propres risques. Le
service est fourni tel quel.</li>
<li>Vous ne devez pas modifier un autre site afin de signifier
faussement quil est associé avec ce service Antopie.</li>
<li>Les comptes ne peuvent être créés et utilisés que par des
humains. Les comptes créés par les robots ou autres méthodes
automatisées pourront être supprimés sans avertissement.</li>
<li>Vous êtes responsable de la sécurité de votre compte et de
votre mot de passe. <br> Antopie ne peut pas et ne sera pas
responsable de toutes pertes ou dommages résultant de votre
non-respect de cette obligation de sécurité.</li>
<li>Vous êtes responsable de tout contenu affiché et de lactivité
qui se produit sous votre compte.</li>
<li>Vous ne pouvez pas utiliser le service à des fins illégales ou
non autorisées.<br>Antopie étant hébergé en France par un
français, vous devez respecter la loi française.</li>
<li>Vous ne pouvez pas vendre, échanger, revendre, ou exploiter
dans un but commercial non autorisé un compte du service
utilisé.</li>
</ol>
<p>La violation de lun de ces accords entraînera la résiliation de
votre compte.<br>
Vous comprenez et acceptez que le collectif Antopie ne puisse être
tenu responsable pour les contenus publiés sur ce service.</p>
case 66:
switch (mt_rand(1, 4)) {
case 1:
echo "<span class='gras-css'>GA</span> ";
break;
case 2:
echo "<span class='gras-css'>BU</span> ";
break;
case 3:
echo "<span class='gras-css'>ZO</span> ";
break;
case 4:
echo "<span class='gras-css'>MEU</span> ";
break;
default:
echo "ERREUR 2";
}
break;
<ol>
<li>Vous comprenez que la mise en ligne du service ainsi que de
votre contenu implique une transmission (chiffrée, normalement) sur divers réseaux.
</li>
<li>Vous ne devez pas transmettre des vers, des virus ou tout autre
code de nature malveillante.</li>
<li>Antopie ne garantit pas :
<ul>
<li>que les services seront maintenus à long terme,</li>
<li>que le service répondra à vos besoins spécifiques,</li>
<li>que le service sera ininterrompu ou exempte de bugs,</li>
<li>que les erreurs dans le service seront corrigées.</li>
</ul>
</li>
<li> Vous comprenez et acceptez qu'Antopie ne puisse être tenu
responsable de tous dommages directs, indirects, ou fortuits,
comprenant les dommages pour perte de profits, de clientèle,
daccès, de données ou dautres pertes intangibles (même si
Antopie est informé de la possibilité de tels dommages) et
qui résulteraient de :
<ol>
<li>lutilisation ou de limpossibilité dutiliser l'un des services ;</li>
<li>laccès non autorisé ou altéré de la transmission des données ;</li>
<li>les déclarations ou les agissements dun tiers sur l'un des services ;</li>
<li>la résiliation de votre compte ;</li>
<li>toute autre question relative au service.</li>
</ol>
</li>
<li>Léchec d'Antopie à exercer ou à appliquer tout droit ou
disposition des Conditions Générales dUtilisation ne constitue
pas une renonciation à ce droit ou à cette disposition. Les
Conditions dutilisation constituent lintégralité de laccord
entre vous et Antopie et régissent votre utilisation du
service, remplaçant tous les accords antérieurs entre vous et
Antopie (y compris les versions précédentes des conditions
dutilisation).
</li>
<li>Les questions sur les conditions de service doivent être
envoyées par <a href="mailto:miraty+legal@antopie.org">email</a>.</li>
</ol>
case 67:
switch (mt_rand(1, 4)) {
case 1:
echo "<span class='fin-it'>GA</span> ";
break;
case 2:
echo "<span class='fin-it'>BU</span> ";
break;
case 3:
echo "<span class='fin-it'>ZO</span> ";
break;
case 4:
echo "<span class='fin-it'>MEU</span> ";
break;
<h2>Modifications du service</h2>
<ol>
<li>Antopie se réserve le droit, à tout moment de modifier ou
dinterrompre, temporairement ou définitivement, le service
avec ou sans préavis.</li>
<li>Antopie ne sera pas responsable envers vous ou tout tiers
pour toute modification, suspension ou interruption du
service.</li>
</ol>
default:
echo "ERREUR";
}
break;
<h2>Droit dauteur sur le contenu</h2>
case 68:
switch (mt_rand(1, 3)) {
case 1:
echo "JE CE RT IF IE ÊT RE UN PO UL ET WI SI GO TH AF FA MÉ ";
break;
case 2:
echo "JE JU RE SU RL 'H ON NE UR ÊT RE UN IL LU MI NA TI AY AN TP OU RO BJ EC TI FD ED ÉT RU IR EL 'H UM AN IT É, PA SL EJ OU RN AL ,L 'E SP ÈCE ";
break;
case 3:
echo "J' AC CE PT ED EN EP AS PO UV OI RP OR TE RP LA IN TE AU PR ÈS DE AN TO PI E. OR G ";
break;
<ol>
<li>Vous ne pouvez pas envoyer, télécharger, publier sur un blog,
distribuer, diffuser tout contenu illégal, diffamatoire,
harcelant, abusif, frauduleux, contrefait, obscène ou autrement
répréhensible.</li>
<li>Nous ne revendiquons aucun droit sur vos données : textes,
images, son, vidéo, ou tout autre élément, que vous téléchargez
ou transmettez depuis votre compte.</li>
<li>Nous nutiliserons pas votre contenu pour un autre usage que de
vous fournir le service.</li>
<li>Vous ne devez pas télécharger ou rendre disponible tout contenu
qui porte atteinte aux droits de quelquun dautre.</li>
<li>Nous nous réservons le droit de supprimer tout contenu nous
paraissant non pertinent pour lusage du service, selon notre
seul jugement.</li>
<li>Nous pouvons, si nécessaire, supprimer ou empêcher la diffusion
de tout contenu sur le service qui ne respecterait pas les
présentes conditions.</li>
</ol>
<h2>Édition et partage de données</h2>
<ul>
<li>Les fichiers que vous créez avec le service peuvent être - si
vous le souhaitez - lus, copiés, utilisés et redistribués par
des gens que vous connaissez ou non.</li>
<li>En rendant publiques vos données, vous reconnaissez et acceptez
que toute personne utilisant l'un des services puisse les consulter
sans restrictions.</li>
<li>Antopie ne peut être tenu responsable de tout problème
résultant du partage ou de la publication de données entre
utilisateurs.</li>
</ul>
default:
echo "ERREUR";
}
break;
<h2>Résiliation</h2>
case 69:
echo "<span class='fin-it'>GA GA GA !</span> ";
break;
<p>Antopie, à sa seule discrétion, a le droit de suspendre ou de
résilier votre compte et de refuser toute utilisation actuelle ou
future du service. Cette résiliation du service entraînera la
désactivation de laccès à votre compte, et la restitution de tout le
contenu.<br>Antopie se réserve le droit de refuser le service à
nimporte qui pour nimporte quelle raison à tout moment. </p>
<h2>Données personnelles</h2>
<p>Conformément à larticle 34 de la loi « Informatique et Libertés »,
Antopie garantit à lutilisateur un droit dopposition, daccès et de
rectification sur les données nominatives le concernant. Lutilisateur
a la possibilité dexercer ce droit en envoyant un <a
href="mailto:miraty+legal@antopie.org">email</a> à l'administrateur.</p>
default:
echo "ERREUR";
}
$i++;
}
}
function motShadockTitre($nombreDeMots) {
$i = 1;
while ($i <= $nombreDeMots) {
switch (mt_rand(1, 4)) {
case 1:
echo "GA ";
break;
case 2:
echo "BU ";
break;
case 3:
echo "ZO ";
break;
case 4:
echo "MEU ";
break;
default:
echo "ERREUR";
}
$i++;
}
}
$i = 1;
$max = mt_rand(2, 8);
while ($i <= $max) { ?>
<br><h2><?php echo $i . ") "; motShadockTitre(mt_rand(5, 20)); ?></h2>
<?php
$i2 = 1;
$max2 = mt_rand(2, 6);
while ($i2 <= $max2) { ?>
<br><h4><?php echo $i2 . ". "; motShadockTitre(mt_rand(5, 20)); ?></h4>
<?php
$i3 = 1;
$max3 = mt_rand(2, 6);
while ($i3 <= $max3) { ?>
<div class='t06'> <?php motShadock(mt_rand(100, 800)); ?></div><br>
<?php
$i3++;
}
$i2++;
}
$i++;
}
?>
<br><br>
<ul>
<li>Pour utiliser certains services d'Antopie, vous devez créer un
compte. Antopie demande certaines informations personnelles :
une adresse e-mail valide et un mot de passe qui est utilisé
pour protéger votre compte contre tout accès non autorisé. Les
champs « Nom » et « Prénom » peuvent être requis pour le bon
fonctionnement du logiciel, mais il nest pas nécessaire quils
révèlent votre véritable identité.</li>
<li>Tout comme dautres services en ligne, Antopie enregistre
automatiquement certaines informations concernant votre
utilisation du service telles que lactivité du compte (exemple
: espace de stockage occupé, nombre dentrées, mesures prises),
les données affichées ou cliquées (exemple : liens, éléments de
linterface utilisateur), et dautres informations pour vous
identifier (exemple : type de navigateur, adresse IP, date et
heure de laccès, URL de référence).
</li>
<li>Nous utilisons ces informations en interne pour vous améliorer
linterface utilisateur des services d'Antopie et maintenir une
expérience utilisateur cohérente et fiable. </li>
<li>Ces données ne sont ni vendues, ni transmises à des tiers.</li>
</ul>
</section>
<?php include "inc/footer.php"; ?>

View File

@ -1,220 +0,0 @@
<?php include "inc/debut.php";
head("commentaire.php"); ?>
<h1>Espace commentaire</h1>
<div>
Bienvenue dans l'espace commentaire ! Ici vous pouvez laisser des commentaires pour améliorer le site ou dire ce que vous en pensez.
</div>
<form method="post" action="commentaire.php">
<?php
if (isset($_SESSION['pseudo'])) {
$anonyme = "non";
?>
<div class="pgauche">
<h3>Pseudo</h3><br><br>
<input name="pseudo" value="<?php echo $_SESSION['pseudo'] ?>" type="text" title="Le pseudo affiché dans l'espace commentaire est celui de votre compte." maxlength="60" disabled />
</div>
<?php } else {
$anonyme = "oui";
?>
<div class="pgauche petitChamp">
<h3>Pseudo</h3>
<input name="pseudo" placeholder="Votre pseudo" type="text" title="60 caractères maximum" maxlength="60" required/>
</div>
<?php } ?>
<br>
<div class="pgauche">
<h3>Commentaire</h3>
<span class="icon-warning"> Les retours à la ligne ne sont pas pris en compte</span>
<br><br>
<textarea name="commentaire" type="text" maxlength="500" placeholder="Votre message sans retours à la ligne" title="500 caractères maximum, les retours à la ligne ne sont pas pris en compte" rows="5" required></textarea>
</div>
<div class="pgauche">
<h3>Captcha</h3>
<?php
if (isset($_SESSION['nb1']) AND isset($_SESSION['nb2']) AND isset($_SESSION['nb3'])) {
$_SESSION['validenb1'] = $_SESSION['nb1'];
$_SESSION['validenb2'] = $_SESSION['nb2'];
$_SESSION['validenb3'] = $_SESSION['nb3'];
}
$_SESSION['nb1'] = mt_rand(1, 9);
$_SESSION['nb2'] = mt_rand(1, 9);
$_SESSION['nb3'] = mt_rand(1, 9);
switch ($_SESSION['nb1']) {
case 1: ?><img src="media/nb/in.png" /><?php break;
case 2: ?><img src="media/nb/de.png" /><?php break;
case 3: ?><img src="media/nb/troi.png" /><?php break;
case 4: ?><img src="media/nb/cat.png" /><?php break;
case 5: ?><img src="media/nb/sinc.png" /><?php break;
case 6: ?><img src="media/nb/sis.png" /><?php break;
case 7: ?><img src="media/nb/cet.png" /><?php break;
case 8: ?><img src="media/nb/uite.png" /><?php break;
case 9: ?><img src="media/nb/noeuf.png" /><?php break;
}
switch ($_SESSION['nb2']) {
case 1: ?><img src="media/nb/in.png" /><?php break;
case 2: ?><img src="media/nb/de.png" /><?php break;
case 3: ?><img src="media/nb/troi.png" /><?php break;
case 4: ?><img src="media/nb/cat.png" /><?php break;
case 5: ?><img src="media/nb/sinc.png" /><?php break;
case 6: ?><img src="media/nb/sis.png" /><?php break;
case 7: ?><img src="media/nb/cet.png" /><?php break;
case 8: ?><img src="media/nb/uite.png" /><?php break;
case 9: ?><img src="media/nb/noeuf.png" /><?php break;
}
switch ($_SESSION['nb3']) {
case 1: ?><img src="media/nb/in.png" /><?php break;
case 2: ?><img src="media/nb/de.png" /><?php break;
case 3: ?><img src="media/nb/troi.png" /><?php break;
case 4: ?><img src="media/nb/cat.png" /><?php break;
case 5: ?><img src="media/nb/sinc.png" /><?php break;
case 6: ?><img src="media/nb/sis.png" /><?php break;
case 7: ?><img src="media/nb/cet.png" /><?php break;
case 8: ?><img src="media/nb/uite.png" /><?php break;
case 9: ?><img src="media/nb/noeuf.png" /><?php break;
}
?>
<br><br>
Veuillez recopier ci-dessous les 3 nombres des images ci-dessus.
<br><br>
<div class="number">
<input class="cap" name="reponseUtilisateurCaptcha1" type="number" title="Veuillez recopier le chiffre ci-dessus afin de confirmer que vous n'êtes pas un robot" required/>
</div><div class="number">
<input class="cap" name="reponseUtilisateurCaptcha2" type="number" title="Veuillez recopier le chiffre ci-dessus afin de confirmer que vous n'êtes pas un robot" required/>
</div><div class="number">
<input class="cap" name="reponseUtilisateurCaptcha3" type="number" title="Veuillez recopier le chiffre ci-dessus afin de confirmer que vous n'êtes pas un robot" required/>
</div>
</div>
<br><br>
<input type="submit" value="Publier" class="special" />
</form>
<?php
// Vérifie si on a toutes les variables pour le captcha
if (isset($_POST['reponseUtilisateurCaptcha1']) AND isset($_POST['reponseUtilisateurCaptcha2']) AND isset($_POST['reponseUtilisateurCaptcha3']) AND isset($_SESSION['validenb1']) AND isset($_SESSION['validenb2']) AND isset($_SESSION['validenb3'])) {
// Vérifie si le captcha a été correctement rempli
if ($_POST['reponseUtilisateurCaptcha1'] == $_SESSION['validenb1'] AND $_POST['reponseUtilisateurCaptcha2'] == $_SESSION['validenb2'] AND $_POST['reponseUtilisateurCaptcha3'] == $_SESSION['validenb3']) {
// Vérifie si on a les variables de pseudo et de commentaire
if ((isset($_POST['pseudo']) AND isset($_POST['commentaire'])) OR ((isset($_SESSION['pseudo'])) AND (isset($_POST['commentaire'])))) {
include "inc/loginsbdd.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$req = $bdd->prepare('INSERT INTO commentaires(pseudo, anonyme, commentaire) VALUES(:pseudo, :anonyme, :commentaire)');
if (isset($_SESSION['pseudo'])) {
$req->execute(array(
'pseudo' => $_SESSION['pseudo'],
'anonyme' => $anonyme,
'commentaire' => $_POST['commentaire']
));
} else {
$req->execute(array(
'pseudo' => $_POST['pseudo'],
'anonyme' => $anonyme,
'commentaire' => $_POST['commentaire']
));
}
$req->closeCursor();
}
} else {
echo "Vous avez mal rempli le captcha";
}
} else {
echo "Vous n'avez pas rempli tous les champs";
}
?>
<?php
include "inc/loginsbdd.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$reponse = $bdd->query('SELECT * FROM commentaires');
while ($donnees = $reponse->fetch()) { ?>
<div class="commentairePseudo">
<span title="Pseudo" class="pseudo"><?php echo htmlspecialchars($donnees['pseudo']); ?></span><?php
if ($donnees['anonyme'] == "oui") { ?>
<span class="t05" title="<?php echo htmlspecialchars($donnees['pseudo']); ?> n'était pas connecté·e en postant ce commentaire">Anonyme</span>
<?php } else if ($donnees['anonyme'] == "non") { ?>
<span class="icon-check" title="<?php echo htmlspecialchars($donnees['pseudo']); ?> était connecté·e en postant ce commentaire"></span>
<?php }
?><br><br>
<span title='Commentaire posté par <?php echo htmlspecialchars($donnees['pseudo']); ?>.' class="commentaire"><?php echo htmlspecialchars($donnees['commentaire']); ?></span><br><br>
</div>
<br>
<?php } $reponse->closeCursor(); ?>
<br><br>
<?php include "inc/footer.php"; ?>

View File

@ -1,119 +0,0 @@
<?php include "inc/debut.php";
head("confirmationlien.php"); ?>
<?php
// ------------------------- Demander une confirmation pour aller à l'adresse du lien cliqué -------------------------
if (isset($_GET['lien'])) {
if (preg_match("#^https://|http://#", $_GET['lien'])) {
// Enregistrer le choix de ne plus confirmer de suivre les liens
if (isset($_GET['neplusconfirmer']) AND $_GET['neplusconfirmer'] == "oui") {
include "inc/loginsbdd.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$req = $bdd->prepare('UPDATE `compte` SET `confirmerLien` = "non" WHERE `compte`.`pseudo` = :pseudo');
$req->execute(array(
'pseudo' => $_SESSION['pseudo']
));
$req->closeCursor();
}
// Identifier le nom de domaine
$nomDeDomaine = htmlspecialchars(preg_replace("#https://#", "", $_GET['lien']));
$nomDeDomaine = preg_replace("#http://#", "<span class='gras'>", $nomDeDomaine);
$nomDeDomaine = preg_replace("#/s#", "SAKLDGHK", $nomDeDomaine);
$nomDeDomaine = preg_replace("#/a|/z|/e|/r|/t|/y|/u|/i|/o|/p|/q|/d|/f|/g|/h|/j|/k|/l|/m|/v|/w|/x|/c|/v|/b|/n#", "</span>", $nomDeDomaine);
$nomDeDomaine = preg_replace("#</span>.{1,100}#", "", $nomDeDomaine);
$nomDeDomaine = preg_replace("#SAKLDGHK.{1,100}#", "", $nomDeDomaine);
if (isset($_GET['nepasconfirmer']) AND $_GET['nepasconfirmer'] == "oui") { ?>
<script type="text/javascript">
setTimeout("document.location.href='<?php echo htmlspecialchars($_GET['lien']); ?>'", 0);
</script>
<?php }
?>
<div class="centre t13">
<br><br>
Vous avez cliqué sur ce lien :
<br><br>
<strong class="moyen"><?php echo htmlspecialchars($_GET['lien']); ?></strong>
<br><br>
Avez-vous confiance envers ce lien ou la personne qui vous l'a envoyé ?
<br><br>
<span class="ubuntu">Souhaitez-vous suivre ce lien ?</span>
<br><br>
<a href="fourmiliere.php" class="button big icon-chevron-left">Non, revenir en arrière</a> <a href="<?php echo htmlspecialchars($_GET['lien']); ?>" class="button big special icon-check">Oui, suivre ce lien</a>
<?php if (isset($_SESSION['pseudo'])) { ?>
<br>
<br>
<a href="confirmationlien.php?neplusconfirmer=oui&lien=<?php echo htmlspecialchars($_GET['lien']); ?>" title="Ne jamais reposer cette question, toujours suivre les liens" class="button small special icon-check">toujours suivre les liens</a>
<?php } ?>
</div>
<?php } else { ?>
<div class="centre t13">
<br><br>
Vous avez cliqué sur ce lien :
<br><br>
<strong class="moyen"><?php echo htmlspecialchars($_GET['lien']); ?></strong>
<br><br>
Mais ce lien parait erroné : il ne parais pas utiliser le protocol <em>http</em> ou <em>https</em>.
<br><br>
<a href="fourmiliere.php" class="button big special icon-chevron-left">revenir en arrière</a>
</div>
<?php }
} else { ?>
Erreur : il n'y a pas de lien en argument dans l'URL. Pour utiliser cette page, il faut ajouter à sa suite "?lien=" et une URL.
<?php } ?>
<?php include "inc/footer.php"; ?>

View File

@ -1,134 +0,0 @@
<?php include "inc/debut.php";
head("connexion.php"); ?>
<?php
if (isset($_POST['pseudo']) AND isset($_POST['mdp'])) {
// Si on a donné des identifiants
include "inc/loginsbdd.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$reponse = $bdd->query('SELECT * FROM compte');
$compteExiste = false;
while ($donnees = $reponse->fetch()) {
if ($_POST['pseudo'] == $donnees['pseudo']) {
$compteExiste = true;
if (password_verify($_POST['mdp'], $donnees['mdp'])) {
$_SESSION['pseudo'] = htmlspecialchars($donnees['pseudo']);
$_SESSION['confirmerLien'] = $donnees['confirmerLien'];
if (isset($_GET['depuis'])) { ?>
<div>
<h1>
Connexion réussie, bienvenue <?php echo $_SESSION['pseudo']; ?> !
</h1>
Vous allez être redirigé·e vers la page d' vous venez.
Si vous n'êtes pas redirigé·e automatiquement, veuillez <a href="<?php echo htmlspecialchars($_GET['depuis']); ?>">cliquer ici</a>.
<script type="text/javascript">
setTimeout("document.location.href='<?php echo htmlspecialchars($_GET['depuis']); ?>'", 0);
</script>
</div>
<?php } else { ?>
<div>
<h1>
Connexion réussie, bienvenue <?php echo $_SESSION['pseudo']; ?> !
</h1>
Vous allez être redirigé·e vers la page d'accueil.<br>
Si vous n'êtes pas redirigé·e automatiquement, veuillez <a href="index.php">cliquer ici</a>.
<script type="text/javascript">
setTimeout("document.location.href='index.php'", 0);
</script>
</div>
<?php }
} else { ?>
Mot de passe incorrect
<?php }
}
}
$reponse->closeCursor();
if ($compteExiste == false) { ?>
Ce pseudo ne correspond à aucun compte !
<?php }
}
//$or = "manger";
//$entre = "mengerf";
//$hash = password_hash($or, PASSWORD_BCRYPT);
//if (password_verify($entre, $hash)) {
// echo "Cool !";
//} else {
// echo "Inégaux";
//}
if (!isset($_POST['pseudo']) OR !isset($_POST['mdp'])) {
// Si il n'y a pas d'identifiants donnés en demander
?>
<form class="centre" method="post" action="connexion.php<?php
if (isset($_GET['depuis'])) {
echo "?depuis=" . $_GET['depuis'];
}
?>">
<h1>Connexion</h1>
<h3 class="icon-user"> Pseudo :</h3>
<input class="centre petitChamp" type="text" name="pseudo" required placeholder="Pseudo"/>
<br>
<h3 class="icon-key"> Mot de passe :</h3>
<input class="centre petitChamp" type="password" name="mdp" required placeholder="Mot de passe"/>
<br>
<br>
<input type="checkbox" name="cookie" id="cookie" /> <label for="cookie">Se souvenir de moi</label><br><br>
<br>
<input type="submit" value="Se connecter" class="button special big icon-user"/>
<br>
<br>
<br>
Pas encore de compte ?
<br>
<br>
<a href="signup.php" class="button small icon-user-plus">Créer un compte</a>
</form>
<?php } ?>
<?php include "inc/footer.php"; ?>

View File

@ -320,14 +320,20 @@ strong {
}
body {
font-family: fin;
font-family: ubuntu;
padding: 0px;
margin: 0px;
background-color: @fond;
color: @texte-principal;
font-size: 25px;
line-height: 35px;
}
h1, h2, h3, h4, h5, h6 {
font-family: fin;
}
.milieu {
display: flex;
@ -337,8 +343,7 @@ body {
.main {
display: flex;
margin-right: 10px;
margin: 8px;
margin: 0px;
}
@ -519,15 +524,16 @@ footer {
/* ----------------------- MENU ------------------------ */
.menugauche {
margin: 6px;
margin: 0px;
overflow: auto;
border-radius: 12px;
width: 17em;
border: 3px white solid;
margin-top: 20px;
width: 16em;
border-bottom: 3px white solid;
border-right: 3px white solid;
border-top: 3px white solid;
border-radius: 0px 12px 12px 0px;
text-align: center;
// transition: all 1s ease-in;
margin-bottom: 0px;
margin-right: 0px;
}
@ -888,6 +894,11 @@ footer {
}
.gomez {
}
// HEADERS

397
css/gomez.css Normal file
View File

@ -0,0 +1,397 @@
.gomez-items-wrap {
display: flex;
flex: 70;
width: 100%;
justify-content: space-around;
}
.gomez-item-wrap {
width: 142px;
height: 192px;
display: flex;
align-items: center;
justify-content: center;
}
.gomez {
width: 10px;
height: 10px;
display: block;
transform: translate(-500%, -500%); /* OMG, it's magic */
background: transparent;
}
.gomez.yeah {
box-shadow:
/*
Conjuntos de sombras, da esquerda para direita, de cima para baixo (exceção do chapéu)
*/
/* linha 1 */
10px 0 0 #a3a085,
19px 0 0 #e1ced2,
29px 0 0 #fff,
39px 0 0 #fff,
49px 0 0 #fff,
59px 0 0 #fff,
69px 0 0 #fff,
79px 0 0 #fff,
89px 0 0 #fff,
99px 0 0 #fff,
106px 0 0 #fff,
/* linha 2 */
0 10px 0 #a3a085,
10px 10px 0 #e1ced2,
19px 10px 0 #e1ced2,
29px 10px 0 #fff,
39px 10px 0 #fff,
49px 10px 0 #fff,
59px 10px 0 #fff,
69px 10px 0 #fff,
79px 10px 0 #fff,
89px 10px 0 #fff,
99px 10px 0 #fff,
109px 10px 0 #fff,
116px 10px 0 #fff,
/* linha 3 */
0 20px 0 #a3a085,
10px 20px 0 #e1ced2,
19px 20px 0 #fff,
29px 20px 0 #000, /* olho */
39px 20px 0 #fff,
49px 20px 0 #fff,
59px 20px 0 #fff,
69px 20px 0 #fff,
79px 20px 0 #fff,
89px 20px 0 #fff,
96px 20px 0 #fff,
106px 20px 0 #000, /* olho */
116px 20px 0 #fff,
/* linha 4 */
0 30px 0 #a3a085,
10px 30px 0 #e1ced2,
19px 30px 0 #fff,
29px 30px 0 #fff,
39px 30px 0 #fff,
49px 30px 0 #fff,
59px 30px 0 #000,
69px 30px 0 #000,
79px 30px 0 #000,
87px 30px 0 #000,
97px 30px 0 #fff,
107px 30px 0 #fff,
116px 30px 0 #fff,
/* linha 5 */
0 40px 0 #a3a085,
10px 40px 0 #e1ced2,
19px 40px 0 #fff,
29px 40px 0 #fff,
39px 40px 0 #fff,
49px 40px 0 #fff,
59px 40px 0 #c9326e,
68px 40px 0 #c9326e,
78px 40px 0 #000,
87px 40px 0 #000,
97px 40px 0 #fff,
107px 40px 0 #fff,
116px 40px 0 #fff,
/* linha 6 */
0 50px 0 #a3a085,
10px 50px 0 #e1ced2,
19px 50px 0 #fff,
29px 50px 0 #fff,
39px 50px 0 #fff,
49px 50px 0 #fff,
59px 50px 0 #fff,
68px 50px 0 #c9326e,
78px 50px 0 #000,
87px 50px 0 #fff,
97px 50px 0 #fff,
107px 50px 0 #fff,
116px 50px 0 #fff,
/* linha 7 abaixo da boca */
29px 60px 0 #e1ced2,
20px 60px 0 #a3a085,
29px 60px 0 #e1ced2,
39px 60px 0 #fff,
49px 60px 0 #fff,
59px 60px 0 #fff,
69px 60px 0 #fff,
79px 60px 0 #fff,
87px 60px 0 #fff,
97px 60px 0 #fff,
107px 60px 0 #fff,
/* linha 8 pescoço */
39px 70px 0 #a3a085,
49px 70px 0 #a3a085,
59px 70px 0 #e1ced2,
68px 70px 0 #fff,
/* linha 9 braços */
10px 80px 0 #a3a085,
19px 80px 0 #fff,
29px 80px 0 #fff,
39px 80px 0 #e1ced2,
49px 80px 0 #fff,
59px 80px 0 #fff,
68px 80px 0 #fff,
78px 80px 0 #fff,
88px 80px 0 #a3a085,
97px 80px 0 #a3a085,
/* linha 10 */
29px 90px 0 #fff,
20px 90px 0 #a3a085,
29px 90px 0 #fff,
39px 90px 0 #fff,
49px 90px 0 #fff,
59px 90px 0 #fff,
69px 90px 0 #fff,
78px 90px 0 #fff,
88px 90px 0 #a3a085,
/* linha 11 */
29px 100px 0 #a3a085,
39px 100px 0 #fff,
49px 100px 0 #fff,
59px 100px 0 #fff,
69px 100px 0 #fff,
78px 100px 0 #fff,
/* linha 12 */
29px 110px 0 #a3a085,
39px 110px 0 #e1ced2,
49px 110px 0 #fff,
59px 110px 0 #fff,
69px 110px 0 #fff,
78px 110px 0 #fff,
/* linha 13 */
29px 120px 0 #a3a085,
39px 120px 0 #e1ced2,
49px 120px 0 #fff,
59px 120px 0 #fff,
69px 120px 0 #fff,
78px 120px 0 #fff,
/* linha 14 */
29px 130px 0 #a3a085,
39px 130px 0 #e1ced2,
49px 130px 0 #a3a085,
59px 130px 0 #a3a085,
69px 130px 0 #e1ced2,
78px 130px 0 #a3a085,
/* linha 15 pés */
19px 140px 0 #a3a085,
29px 140px 0 #e1ced2,
69px 140px 0 #a3a085,
/* chapéu linha 1 */
30px -40px 0 #e89a2e,
40px -40px 0 #c0060b,
50px -40px 0 #c0060b,
/* chapéu linha 2 */
20px -30px 0 #e89a2e,
30px -30px 0 #91000f,
40px -30px 0 #c0060b,
50px -30px 0 #c0060b,
/* chapéu linha 3 */
30px -20px 0 #91000f,
40px -20px 0 #c0060b,
50px -20px 0 #c0060b;
}
.gomez.umm {
box-shadow:
/*
Conjuntos de sombras, da esquerda para direita, de cima para baixo (exceção do chapéu)
*/
/* linha 1 */
10px 0 0 #a3a085,
19px 0 0 #e1ced2,
29px 0 0 #fff,
39px 0 0 #fff,
49px 0 0 #fff,
59px 0 0 #fff,
69px 0 0 #fff,
79px 0 0 #fff,
89px 0 0 #fff,
99px 0 0 #fff,
106px 0 0 #fff,
/* linha 2 */
0 10px 0 #a3a085,
10px 10px 0 #e1ced2,
19px 10px 0 #fff,
29px 10px 0 #fff,
39px 10px 0 #fff,
49px 10px 0 #fff,
59px 10px 0 #fff,
69px 10px 0 #fff,
79px 10px 0 #fff,
89px 10px 0 #fff,
99px 10px 0 #fff,
109px 10px 0 #fff,
116px 10px 0 #fff,
/* linha 3 */
0 20px 0 #a3a085,
10px 20px 0 #e1ced2,
19px 20px 0 #fff,
29px 20px 0 #fff,
39px 20px 0 #fff,
49px 20px 0 #fff,
59px 20px 0 #fff,
69px 20px 0 #fff,
79px 20px 0 #fff,
89px 20px 0 #fff,
96px 20px 0 #fff,
106px 20px 0 #fff, /* olho */
116px 20px 0 #fff,
/* linha 4 */
0 30px 0 #a3a085,
10px 30px 0 #e1ced2,
19px 30px 0 #fff,
29px 30px 0 #000, /* olho */
39px 30px 0 #fff,
49px 30px 0 #fff,
59px 30px 0 #fff,
69px 30px 0 #fff,
79px 30px 0 #fff,
87px 30px 0 #fff,
97px 30px 0 #fff,
107px 30px 0 #000, /* olho */
116px 30px 0 #fff,
/* linha 5 */
0 40px 0 #a3a085,
10px 40px 0 #e1ced2,
19px 40px 0 #fff,
29px 40px 0 #fff,
39px 40px 0 #fff,
49px 40px 0 #fff,
59px 40px 0 #fff,
68px 40px 0 #fff,
78px 40px 0 #fff,
87px 40px 0 #fff,
97px 40px 0 #fff,
107px 40px 0 #fff,
116px 40px 0 #fff,
/* linha 6 */
0 50px 0 #a3a085,
10px 50px 0 #e1ced2,
19px 50px 0 #fff,
29px 50px 0 #fff,
39px 50px 0 #fff,
49px 50px 0 #fff,
59px 50px 0 #fff,
68px 50px 0 #fff,
78px 50px 0 #000, /* boca */
87px 50px 0 #fff,
97px 50px 0 #fff,
107px 50px 0 #fff,
116px 50px 0 #fff,
/* linha 7 */
29px 60px 0 #e1ced2,
20px 60px 0 #a3a085,
29px 60px 0 #e1ced2,
39px 60px 0 #fff,
49px 60px 0 #fff,
59px 60px 0 #fff,
69px 60px 0 #fff,
79px 60px 0 #fff,
87px 60px 0 #fff,
97px 60px 0 #fff,
107px 60px 0 #fff,
/* linha 8 pescoço */
39px 70px 0 #a3a085,
49px 70px 0 #a3a085,
59px 70px 0 #e1ced2,
68px 70px 0 #fff,
/* linha 9 */
29px 80px 0 #a3a085,
39px 80px 0 #e1ced2,
49px 80px 0 #fff,
59px 80px 0 #fff,
68px 80px 0 #fff,
78px 80px 0 #fff,
/* linha 10 */
19px 90px 0 #a3a085,
29px 90px 0 #fff,
39px 90px 0 #fff,
49px 90px 0 #fff,
59px 90px 0 #fff,
68px 90px 0 #fff,
78px 90px 0 #fff,
/* linha 11 */
10px 100px 0 #a3a085,
19px 100px 0 #fff,
29px 100px 0 #a3a085,
39px 100px 0 #fff,
49px 100px 0 #fff,
59px 100px 0 #fff,
68px 100px 0 #fff,
78px 100px 0 #fff,
88px 100px 0 #e1ced2,
/* linha 12 */
29px 110px 0 #a3a085,
39px 110px 0 #e1ced2,
49px 110px 0 #fff,
59px 110px 0 #fff,
69px 110px 0 #fff,
78px 110px 0 #fff,
/* linha 13 */
29px 120px 0 #a3a085,
39px 120px 0 #e1ced2,
49px 120px 0 #e1ced2,
59px 120px 0 #e1ced2,
69px 120px 0 #fff,
78px 120px 0 #fff,
/* linha 14 */
29px 130px 0 #a3a085,
39px 130px 0 #e1ced2,
69px 130px 0 #a3a085,
78px 130px 0 #e1ced2,
/* linha 15 */
29px 140px 0 #a3a085,
78px 140px 0 #a3a085,
/* chapéu linha 1 */
30px -30px 0 #e89a2e,
40px -30px 0 #c0060b,
50px -30px 0 #c0060b,
/* chapéu linha 2 */
20px -20px 0 #e89a2e,
30px -20px 0 #91000f,
40px -20px 0 #c0060b,
50px -20px 0 #c0060b,
/* chapéu linha 3 */
30px -10px 0 #91000f,
40px -10px 0 #c0060b,
50px -10px 0 #c0060b;
}

View File

@ -1,38 +0,0 @@
<?php include "inc/debut.php";
head("deconnexion.php"); ?>
<?php session_destroy();
if (isset($_GET['depuis'])) { ?>
<div>
<h1>
Vous avez été déconnecté·e
</h1>
<h2>
Votre session PHP a été effacée avec l'instruction <code>session_destroy()</code>.
</h2>
Vous allez être redirigé·e vers la page d' vous venez.
<script type="text/javascript">
setTimeout("document.location.href='<?php echo htmlspecialchars($_GET['depuis']); ?>'", 0);
</script>
</div>
<?php } else { ?>
<div>
<h1>
Vous avez été déconnecté·e
</h1>
<h2>
Votre session PHP a été effacée avec l'instruction <code>session_destroy()</code>.
</h2>
Vous allez être redirigé·e vers la page d'accueil.
<script type="text/javascript">
setTimeout("document.location.href='index.php'", 0);
</script>
</div>
<?php }
include "inc/footer.php"; ?>

View File

@ -1,634 +0,0 @@
<?php include "inc/debut.php";
head("fourmiliere.php"); ?>
<?php include "inc/codefourmie.php";
include "inc/loginsbdd.php";
// ------------------------- Enregistrer un commentaire dans la BDD -------------------------
if (isset($_POST['commentaire']) AND isset($_GET['articlecommenté'])) {
include "inc/loginsbdd.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$req = $bdd->prepare('INSERT INTO commentairesArticle(titre, pseudo, commentaire) VALUES(:titre, :pseudo, :commentaire)');
$req->execute(array(
'titre' => $_GET['articlecommenté'],
'pseudo' => $_SESSION['pseudo'],
'commentaire' => $_POST['commentaire']
));
$req->closeCursor();
}
// --------------------------------------------- Enregistrer un article dans la BDD ---------------------------------------------
if (isset($_GET['etape']) AND $_GET['etape'] == "publier" AND isset($_POST['article']) AND isset($_SESSION['pseudo'])) {
// ------------------------- Enregistrer la modification d'un article -------------------------
if (isset($_GET['modifier'])) {
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$reponse = $bdd->prepare('SELECT * FROM articles WHERE `articles`.`titre` = :titre');
$reponse->execute(array(
'titre' => $_GET['modifier']
));
while ($donnees = $reponse->fetch()) {
$createurDeLArticle = $donnees['pseudo'];
} $reponse->closeCursor();
if ($_SESSION['pseudo'] == $createurDeLArticle) {
include "inc/loginsbdd.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$req = $bdd->prepare('UPDATE `articles` SET `article` = :article WHERE `articles`.`titre` = :titre');
$req->execute(array(
'titre' => htmlspecialchars($_GET['modifier']),
'article' => htmlspecialchars($_POST['article'])
));
$req->closeCursor();
} else {
echo "ERREUR : Vous n'avez pas créé cet article";
}
// ------------------------- Enregistrer un nouvel article -------------------------
} else if (isset($_POST['titre'])) {
include "inc/loginsbdd.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$req = $bdd->prepare('INSERT INTO articles(pseudo, titre, article, moment) VALUES(:pseudo, :titre, :article, NOW())');
$req->execute(array(
'pseudo' => htmlspecialchars($_SESSION['pseudo']),
'titre' => htmlspecialchars($_POST['titre']),
'article' => htmlspecialchars($_POST['article'])
));
$req->closeCursor();
} else {
echo "ERREUR : Vous devez donner un titre à votre article";
}
}
// ------------------------- Afficher seulement un article -------------------------
if (isset($_GET['article'])) {
// Afficher un article déja créé
include "inc/loginsbdd.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$reponse = $bdd->prepare('SELECT * FROM articles WHERE `articles`.`titre` = :titre');
$reponse->execute(array(
'titre' => $_GET['article']
));
while ($donnees = $reponse->fetch()) { ?>
<div>
<span class="pseudo"><?php echo htmlspecialchars($donnees['pseudo']); ?></span>
<br>
<br>
<span class="titreArticle"><?php echo htmlspecialchars($donnees['titre']); ?></span>
<br>
<br>
<div class="article"><?php echo compilerCodeFourmie($donnees['article']); ?></div>
<br>
<br>
<?php if (isset($_SESSION['pseudo'])) { ?>
<form method="post" action="fourmiliere.php?articlecommenté=<?php echo htmlspecialchars($donnees['titre']); ?>">
<input name="commentaire" class="champMoyen inline" placeholder="Commentez ici" type="text" title="255 caractères maximum" maxlength="255" required/>
<input class="inline small" type="submit" value="Publier" />
</form>
<?php } else { ?>
<input name="commentaire" class="champMoyen inline disabled" placeholder="Vous devez être connecté·e pour poster des commentaires." type="text" title="255 caractères maximum" maxlength="255" required/>
<input class="inline small disabled" title="Vous devez être connecté·e pour poster des commentaires." type="submit" value="Publier" />
<br>
<?php } ?>
<br>
<?php include "inc/loginsbdd.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$repSQL = $bdd->prepare('SELECT * FROM commentairesArticle WHERE `commentairesArticle`.`titre` = :titre');
$repSQL->execute(array(
'titre' => htmlspecialchars($donnees['titre'])
));
while ($fourm = $repSQL->fetch()) { ?>
<div class="commentairePseudo">
<span title="Pseudo" class="pseudo"><?php echo htmlspecialchars($fourm['pseudo']); ?></span>
<br>
<div title='Commentaire posté par <?php echo htmlspecialchars($fourm['pseudo']); ?>.' class="commentaire">
<?php echo htmlspecialchars($fourm['commentaire']); ?>
</div>
<br>
</div>
<?php }
$repSQL->closeCursor(); ?>
</div>
<?php } $reponse->closeCursor(); ?>
<?php } else {
// ------------------------- Page d'accueil -------------------------
if (!isset($_GET['etape']) OR (isset($_GET['etape']) AND $_GET['etape'] == "publier")) { ?>
<div class="hautoto">
<?php if (isset($_SESSION['pseudo'])) { ?>
<div>
</div>
<div class="centre">
<a class="button special icon-plus" href="fourmiliere.php?etape=editer" title="Créer un nouvel article">Nouvelle page</a>
</div>
<div>
Vous êtes connecté·e en tant que <strong class="moyen"><?php echo $_SESSION['pseudo']; ?></strong>.
</div>
<?php } else { ?>
<div>
</div>
<div class="droite">
<a class="button special icon-user" href="connexion.php?depuis=fourmiliere.php" title="Se connecter à son compte Ant">Connexion</a>
</div>
<div>
<a class="button small icon-user-plus" href="signup.php" title="Créer un compte Ant">Devenir une fourmie</a>
</div>
<?php } ?>
</div>
<?php // ------------------------- Afficher les articles déja créés sur la page d'accueil -------------------------
include "inc/loginsbdd.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$reponse = $bdd->query('SELECT titre, pseudo, article, DAY(moment) AS jour, MONTH(moment) AS mois, YEAR(moment) AS annee, HOUR(moment) AS heure, MINUTE(moment) AS minute, SECOND(moment) AS seconde FROM articles');
while ($donnees = $reponse->fetch()) { ?>
<div class="articlePseudo">
<div class="hautoto">
<span>Posté par <span class="pseudo"><?php echo htmlspecialchars($donnees['pseudo']); ?></span> le <?php echo $donnees['jour']; ?> <?php
switch ($donnees['mois']) {
case 1: echo "janvier"; break;
case 2: echo "février"; break;
case 3: echo "mars"; break;
case 4: echo "avril"; break;
case 5: echo "mai"; break;
case 6: echo "juin"; break;
case 7: echo "juillet"; break;
case 8: echo "aout"; break;
case 9: echo "septembre"; break;
case 10: echo "octobre"; break;
case 11: echo "novembre"; break;
case 12: echo "décembre"; break;
}
?> <?php echo $donnees['annee']; ?> à
<?php echo $donnees['heure']; ?>:<?php echo $donnees['minute']; ?></span>
<span><?php
try {
$bddMOD = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$reponseMOD = $bddMOD->prepare('SELECT * FROM articles WHERE `articles`.`titre` = :titre');
$reponseMOD->execute(array(
'titre' => $donnees['titre']
));
while ($donneesMOD = $reponseMOD->fetch()) {
$createurDeLArticle = $donneesMOD['pseudo'];
} $reponseMOD->closeCursor();
if (isset($_SESSION['pseudo']) AND $_SESSION['pseudo'] == $createurDeLArticle) { ?>
<a class="icon bouttonModifier fa-pencil" href="fourmiliere.php?modifier=<?php echo htmlspecialchars($donnees['titre']); ?>&etape=editer"> Modifier</a>
<?php } ?>
<a href="fourmiliere.php?article=<?php echo htmlspecialchars($donnees['titre']); ?>" class="icon-eye" title="Afficher uniquement cette page"> Afficher uniquement cet article</a>
</span>
</div>
<br>
<span class="titreArticle"><?php echo htmlspecialchars($donnees['titre']); ?></span>
<br>
<br>
<div class="article"><?php echo compilerCodeFourmie($donnees['article']); ?></div>
<br>
<br>
<?php if (isset($_SESSION['pseudo'])) { ?>
<form method="post" action="fourmiliere.php?articlecommenté=<?php echo htmlspecialchars($donnees['titre']); ?>">
<input name="commentaire" class="champMoyen inline" placeholder="Commentez ici, 250 caractères maximum" type="text" title="255 caractères maximum" maxlength="255" required/>
<input class="inline small" type="submit" value="Publier" />
</form>
<?php } else { ?>
<input disabled name="commentaire" class="champMoyen inline disabled" placeholder="Vous devez être connecté·e pour poster des commentaires." type="text" title="255 caractères maximum" maxlength="255" required/>
<input disabled class="inline small disabled" title="Vous devez être connecté·e pour poster des commentaires." type="submit" value="Publier" />
<br>
<?php }
include "inc/loginsbdd.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$repSQL = $bdd->prepare('SELECT * FROM commentairesArticle WHERE `commentairesArticle`.`titre` = :titre');
$repSQL->execute(array(
'titre' => $donnees['titre']
));
while ($fourm = $repSQL->fetch()) { ?>
<br>
<div class="commentairePseudo">
<span title="Pseudo" class="pseudo"><?php echo htmlspecialchars($fourm['pseudo']); ?></span>
<br>
<div title='Commentaire posté par <?php echo htmlspecialchars($fourm['pseudo']); ?>.' class="commentaire"><?php echo htmlspecialchars($fourm['commentaire']); ?></div>
</div>
<?php }
$repSQL->closeCursor(); ?>
</div>
<?php } $reponse->closeCursor(); ?>
<?php // ------------------------- Créer / Modifier un article -------------------------
} else if (isset($_SESSION['pseudo']) AND isset($_GET['etape']) AND $_GET['etape'] == "editer") {
// Modifier un article déjà existant
if (isset($_GET['modifier'])) {
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$reponse = $bdd->prepare('SELECT * FROM articles WHERE `articles`.`titre` = :titre');
$reponse->execute(array(
'titre' => $_GET['modifier']
));
while ($donnees = $reponse->fetch()) {
$createurDeLArticle = $donnees['pseudo'];
} $reponse->closeCursor();
if (!isset($createurDeLArticle)) {
echo "YAPAS !";
}
if ($_SESSION['pseudo'] == $createurDeLArticle) { ?>
<form method="post" action="fourmiliere.php?<?php echo "modifier=" . $_GET['modifier'] . "&"; ?>etape=publier">
<strong><?php echo $_SESSION['pseudo']; ?></strong><br><br>
<input required class="champLarge disabled" type="text" value="<?php echo htmlspecialchars($_GET['modifier']); ?>" name="titre" maxlength="200" disabled title="Entrez ici le titre de votre article" placeholder="Le titre de votre article, 200 caractères maximum"/>
<br>
<br>
<textarea class="formArticle" name="article" type="text" maxlength="50000" placeholder="Votre article en code fourmie (voir plus bas)" title="50000 caractères maximum, les retours à la ligne ne sont pas pris en compte" rows="20" required><?php
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$reponse = $bdd->prepare('SELECT * FROM articles WHERE `articles`.`titre` = :titre');
$reponse->execute(array(
'titre' => $_GET['modifier']
));
while ($donnees = $reponse->fetch()) {
echo $donnees['article'];
} $reponse->closeCursor();
?>
</textarea>
<br>
<br>
<input type="submit" value="Publier" class="special" />
</form>
<?php } else {
echo "ERREUR : Vous n'avez pas créé cet article";
}
// Créer un nouvel article
} else {?>
<form method="post" action="fourmiliere.php?etape=publier">
<strong><?php echo $_SESSION['pseudo']; ?></strong><br><br>
<input required class="champLarge" type="text" name="titre" maxlength="200" title="Entrez ici le titre de votre article" placeholder="Le titre de votre article, 200 caractères maximum"/>
<br>
<br>
<textarea class="formArticle" name="article" type="text" maxlength="50000" placeholder="Votre article en code fourmie (voir plus bas)" title="50000 caractères maximum, les retours à la ligne ne sont pas pris en compte" rows="20" required></textarea>
<br>
<br>
<input type="submit" value="Publier" class="special" />
</form>
<?php } ?>
<br>
<h2>Code fourmie</h2>
<table class="alt">
<thead>
<tr>
<th>Code Source (tel que l'on doit l'écrire)</th>
<th>Code Compilé (tel qu'il sera affiché)</th>
</tr>
</thead>
<tbody>
<tr>
<?php $codeSource = "[grand]Voici le code fourmie ![/grand]
<br>[l] Ceci est un tableau avec à [rouge] gauche[/rouge], le code que vous devez écrire sur votre page pour afficher le résultat à [bleu] droite[/bleu].
<br>[l] que l'on peut [gras] afficher [/gras] dans [lien|https://anternet.pw/web/fourmiliere.php|] La fourmilière [/lien] avec du [italique] code fourmie [/italique] !
<br>[l] [boite] [rouge] [souligné] /!\[/souligné] [/rouge] Il ne faut pas oublier la balise pour faire les retours à la ligne ! [/boite]
<br>[l] Vous pouvez mettre un mot en [jaunefoncé] jaune foncé[/jaunefoncé], en [vert] vert[/vert], en [cyan] cyan[/cyan], en [rosefoncé] rose foncé[/rosefoncé] etc...
<br>[l]
<br>[l] Si vous ne voulez pas vous casser la tête, sachez que les balises suivantes ne sont qu'optionnelles, à l'exception de la lettre l entre crochets, indispensable pour créer une nouvelle ligne.
<br>[l]
<br>[l] Bonne chance :)"; ?>
<td width="50%"><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<td>[l]</td>
<td>(Les retours à la ligne ne sont pris en compte qu'avec cette balise)</td>
</tr>
<tr>
<?php $codeSource = "[grand]Texte en grand[/grand]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[boite]Texte emboité[/boite]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[gras]Texte en gras[/gras]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[italique]Texte en italique[/italique]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[souligné]Texte souligné[/souligné]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[lien|https://anternet.pw/web|]Lien vers le site de Ant[/lien]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?> (Doit commencer par http:// ou https://)</td>
</tr>
<tr>
<?php $codeSource = ":)"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[gris]Texte en gris[/gris]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[rougefoncé]Texte en rouge foncé[/rougefoncé]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[rouge]Texte en rouge[/rouge]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[orange]Texte en orange[/orange]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[rosefoncé]Texte en rose foncé[/rosefoncé]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[rose]Texte en rose[/rose]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[vertfoncé]Texte en vert foncé[/vertfoncé]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[vert]Texte en vert[/vert]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[jaunefoncé]Texte en jaune foncé[/jaunefoncé]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[bleufoncé]Texte en bleu foncé[/bleufoncé]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[bleu]Texte en bleu[/bleu]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[cyanfoncé]Texte en cyan foncé[/cyanfoncé]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
<tr>
<?php $codeSource = "[cyan]Texte en cyan[/cyan]"; ?>
<td><?php echo $codeSource; ?></td>
<td><?php echo compilerCodeFourmie($codeSource); ?></td>
</tr>
</tbody>
</table>
<?php
} else { ?>
Vous n'êtes pas connecté·e ou vous n'avez rien écrit
<br><br>
<a href="connexion.php" title="Se connecter à son compte Ant" class="button icon-user"> Se connecter</a>
<?php } } ?>
<?php include "inc/footer.php"; ?>

View File

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

BIN
img/agpl.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
img/favicon.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

BIN
img/favicon.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
img/non-pub-horizontale.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
img/non-pub-horizontale.xcf Executable file

Binary file not shown.

View File

@ -1,54 +0,0 @@
<?php
// ------------------------- Transformer le code fourmie rentré par l'utilisateur en code HTML / CSS -------------------------
function compilerCodeFourmie($codeEnCompilation) {
$codeEnCompilation = preg_replace('#<br>#', '', $codeEnCompilation);
include "inc/loginsbdd.php";
try {
$bddCF = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
$reponseCF = $bddCF->query('SELECT * FROM codeFourmie');
while ($donneesCF = $reponseCF->fetch()) {
$source = $donneesCF['codeSource'];
$compile = $donneesCF['codeCompilé'];
$codeEnCompilation = preg_replace("$source", "$compile", $codeEnCompilation);
} $reponseCF->closeCursor();
$codeEnCompilation = preg_replace('#\[/vert\]|\[/rouge\]|\[/bleu\]|\[/rose\]|\[/cyan\]|\[/vertfoncé\]|\[/rougefoncé\]|\[/gris\]|\[/orange\]|\[/bleufoncé\]|\[/rosefoncé\]|\[/cyanfoncé\]|\[/jaunefoncé\]|\[/souligné\]|\[/grand\]|\[/gras\]|\[/boite\]|\[/italique\]#', '</span>', $codeEnCompilation);
$codeEnCompilation = preg_replace('#\[/lien\]#', '<span class="icon-external-link"></span></a>', $codeEnCompilation);
$codeEnCompilation = preg_replace('#\|]#', '">', $codeEnCompilation);
$codeEnCompilation = preg_replace('#nepasconfirmer=oui#', '', $codeEnCompilation);
$codeEnCompilation = preg_replace('#\[image\|#', '<img src="', $codeEnCompilation);
$codeEnCompilation = preg_replace('#\|\|\|#', '" alt="', $codeEnCompilation);
$codeEnCompilation = preg_replace('#\|im\]#', '"/>', $codeEnCompilation);
if (isset($_SESSION['confirmerLien']) AND $_SESSION['confirmerLien'] == "non") {
$codeEnCompilation = preg_replace('#\[lien\|#', '<a href="confirmationlien.php?nepasconfirmer=oui&lien=', $codeEnCompilation);
} else {
$codeEnCompilation = preg_replace('#\[lien\|#', '<a href="confirmationlien.php?lien=', $codeEnCompilation);
}
return $codeEnCompilation;
} ?>

View File

@ -1,40 +1,24 @@
<?php session_start();
<?php
function head($adresse) {
include "inc/loginsbdd.php";
require "page.php";
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Erreur PHP / MySQL : ' . $e->getMessage());
}
$reponse = $bdd->prepare('SELECT * FROM pages WHERE `pages`.`adresse` = :adresse');
$reponse->execute(array(
'adresse' => $adresse
));
while ($page = $reponse->fetch()) { ?>
?>
<!DOCTYPE HTML>
<html lang="fr" id="haut">
<head>
<meta charset="UTF-8" />
<title><?php echo $page['titre']; ?> | Ant</title>
<link rel="stylesheet/less" type="text/css" href="css/base.less" />
<script src="bibli/less.min.js" ></script>
<link rel="icon" type="image/ico" href="media/favicon.ico"/>
<link rel="icon" type="image/ico" href="img/favicon.ico"/>
<meta name="author" lang="fr" content="Miraty">
<meta name="publisher" content="Ant">
<meta name="distribution" content="global">
<meta name="robots" content="index, follow">
<meta name="keywords" lang="fr" content="antopie.org, Ant, Miraty, Antopie">
<meta name="description" content="<?php echo $page['description']; ?>"/>
<link rel="stylesheet" href="css/gomez.css">
<meta property="og:locale" content="fr"/>
<meta property="og:type" content="website"/>
<meta property="og:title" content="<?php echo $page['titre']; ?> | Ant"/>
@ -46,13 +30,25 @@ while ($page = $reponse->fetch()) { ?>
<meta property="og:image:height" content="510"/>
<meta property="og:image:alt" content="Logo Ant"/>
<meta property="og:description" content="<?php echo $page['description']; ?>"/>
<script src="bibli/konami.js"></script>
<script>
var gomez = new Konami(function() { var div = document.getElementById('gomeza'), display = getComputedStyle(div, null).display; if(display == "block") { document.getElementById("gomeza").style.display = "none"; } else { document.getElementById("gomeza").style.display = "block"; }});
</script>
<style>
<?php require("bibli/lessphp/lessc.inc.php");
$less = new lessc;
echo $less->compileFile("style/vrac.less"); ?>
</style>
<link rel="stylesheet" href="bibli/animate.min.css">
</head>
<body lang="fr">
<div class="main">
<div id="emplacementmenu">
<nav>
<nav class="menugauche"><a href="index.php" title="Retour à la page d'accueil" class="option optionhaute fin-it">
<div class="logo"><img src="media/logo/ant.png" width="100%" alt="Logo Ant" /></div>
<div class="logo"><img src="img/ant.png" width="100%" alt="Logo Ant" /></div>
<?php
switch (mt_rand(1, 12)) {
case 1: ?>
@ -107,71 +103,13 @@ while ($page = $reponse->fetch()) { ?>
<a href="https://texte.antopie.org/" title="PrivateBin est un 'pastebin' (ou gestionnaire d'extraits de texte et de code source) minimaliste et open source, dans lequel le serveur n'a aucune connaissance des données envoyées. Les données sont chiffrées/déchiffrées dans le navigateur par un chiffrage AES 256 bits." class="petiteoption optiondossier option icon-doc-text-inv-1" >
PrivateBin
</a>
<a href="navigateur.php" title="À propos du site" class="option icon-code">
Navigateur
</a>
</div>
<div class="dossier">
<?php if (isset($_SESSION['pseudo'])) { ?>
<div class="nomdossier">
Vous êtes connecté·e en tant que <span class="pseudo"><?php echo $_SESSION['pseudo']; ?></span>
</div>
<a href="fourmiliere.php" title="Site de blog" class="optiondossier option premieroptiondossier icon-doc-text-inv-1">
La fourmilière
</a>
<a href="commentaire.php" title="Lire/Envoyer des commentaires" class="optiondossier option icon-comment" >
Espace commentaire
</a>
<a href="deconnexion.php?depuis=<?php echo $page['adresse']; ?>" title="Cliquez ici pour vous déconnecter" class="petiteoption optiondossier option icon-user-times">
Déconnexion
</a>
<?php } else { ?>
<div class="nomdossier">
Vous n'êtes pas connecté·e
</div>
<a href="fourmiliere.php" title="Site de blog" class="optiondossier premieroptiondossier option icon-doc-text-inv-1">
La fourmilière
</a>
<a href="commentaire.php" title="Lire/Envoyer des commentaires" class="optiondossier option icon icon-comment" >
Espace commentaire
</a>
<a href="connexion.php?depuis=<?php echo $page['adresse']; ?>" title="Se connecter à son compte Ant" class="optiondossier option icon-user">
Connexion
</a>
<a href="signup.php?depuis=<?php echo $page['adresse']; ?>" title="Se créer un compte Ant" class="petiteoption optiondossier option icon-user-plus" >
Créer un compte
</a>
<?php } ?>
</div>
<div class="dossier">
<div class="nomdossier">
La cave à l'info-rmatique
</div>
<a href="cave.module.php" title="Voir la liste des modules que je vous recommande" class="optiondossier petiteoption premieroptiondossier option icon-puzzle">
Modules
</a>
<a href="cave.navigateur.php" title="Voir la liste des navigateurs web" class="optiondossier petiteoption option icon-window">
Navigateurs web
</a>
<a href="cave.mdr.php" title="Voir la liste des moteurs de recherche" class="optiondossier petiteoption option icon-search-8">
Moteurs de recherche
</a>
<a href="cave.os.php" title="Voir la liste des systèmes d'exploitation" class="optiondossier petiteoption option icon-cogs">
Systèmes d'exploitation
</a>
<a href="cave.definition.php" title="Voir des définitions simples concernent internet et l'informatique" class="optiondossier petiteoption option icon-quote">
Définitions
</a>
</div>
<a href="antmusique.php" title="Écouter les AntMusiques" class="option icon-music">
AntMusiques
</a>
<a href="monnavigateur.php" title="Voir des informations en rapport avec mon navigateur Web" class="option icon-info-circled">
Mon navigateur
</a>
<a href="apropos.php" title="À propos du site" class="option icon-code">
À propos
</a>
</nav>
<div class="pub-carree-bloc">
<div class="pub-carree">
@ -179,13 +117,11 @@ while ($page = $reponse->fetch()) { ?>
</div>
</div>
<br/>
<span class="in92pack">J'aime les <a href="licences/aboutant.html" class="li192pack">trains</a>.</span>
</div>
<span class="in92pack">J'aime les <a href="bibli/sense3/img/icons/other.html" class="li192pack">trains</a>.</span>
</nav>
<div class="corps">
<button id="bouttonmenu" onClick="asideswipe()" title="Afficher/masquer le menu" class="icon-angle-left"></button>
<script src="js/menu.js"></script>
<div class="texte">
<?php } $reponse->closeCursor(); ?>
<?php } ?>

View File

@ -4,13 +4,13 @@
<footer>
<div class="liensfooter centre">
<div class="lienfooter">
<a href="https://www.youtube.com/channel/UCFqVaPRqiST8KCnofL80cDQ" title="Voir la chaîne YouTube de wiziix" class="button small icon-youtube-play" >
Chaîne de wiziix
<a href="cgu.php" title="Lire les conditions générales d'utilisation" class="button big small icon-text" >
Conditions d'utilisation
</a>
</div>
<div class="lienfooter">
<a href="apropos.php" title="À propos de ce site" class="button big small icon-code" >
À propos
<a href="https://code.antopie.org/miraty/web/" title="Accéder au code source de ce site sur Gitea" class="button big small icon-git" >
Code source
</a>
</div>
<div class="lienfooter">
@ -18,11 +18,6 @@
Retour en haut
</a>
</div>
<div class="lienfooter">
<a href="https://www.youtube.com/channel/UCpefXfUCwMASiYt0AEJgH3g" title="Voir la chaîne YouTube de Madaho" class="button small icon-youtube-play" >
Chaîne de Madaho
</a>
</div>
</div>
<div class="interlude">
<div class="traitinterlude">
@ -40,16 +35,22 @@
<div class="t07 basfooter">
<div class="logofooter">
<a href="index.php" title="Afficher la page d'accueil d'Antopie"><div class="logogris"></div></a>
<br>
<a href="LICENSE.html"><img src="img/agpl.png" alt="AGPLv3 Free Software, Free as in Freedom"/></a>
</div>
<div class="textefooter">
Fait avec <span class="icon-heart" title="coeur"></span> en France.<br>
<a href="https://code.antopie.org/miraty/web" title="Voir le code source sur Gitea">Copyleft</a> Ant 2018. Tous droits distribués. Toute reproduction autorisée.
<br>Antopie.org n'est ni affilié aux Illuminatis™, ni à Corée du Nord GmbH, ni à Lactalis® et ni à Nicolas Dupont-Aignan.
En utilisant ce site, vous acceptez ses <a href="cgu.php" title="Lire les Conditions générales d'utilisation">Conditions générales d'utilisation</a>.
Je n'ai pas bu de jus d'orange ces 15 dernières minutes.
Ce site est optimisé pour les navigateurs Web.
Ce site utilise du code HTML pour afficher du contenu. En continuant à naviguer sur ce site, vous acceptez cette utilisation.
Le code de ce site est publié sous <abbr title="GNU Affero General Public License">AGPL</abbr> version 3 ou toute version ultérieure.
Tu peut le lire <a href="https://code.antopie.org/miraty/web" title="Voir le code source sur Gitea">ici</a>.<br>
En utilisant ce site, tu accepte ses <a href="cgu.php" title="Lire les conditions d'utilisation d'Antopie">Conditions d'utilisation</a>.<br>
Si tu active les cookies dans ton navigateur, tu accepte leur utilisation.<br>
</div>
<div class="gomeza animated flip" id="gomeza">
<div class="gomez-items-wrap">
<div class="gomez-item-wrap">
<i class="gomez yeah"></i>
</div>
</div>
</div>
</div>
</footer>

View File

@ -1,25 +0,0 @@
<?php
if (isset($_COOKIE['pseudo']) AND isset($_COOKIE['mdp']) AND isset($_SESSION['pseudo'])) {
try {
$bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', 'debian-sys-maint', 'EDBytRte5TdZokTB', array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}
catch (Exception $e) {
die('Problème lors de la connexion par cookie : erreur PHP / MySQL : ' . $e->getMessage());
}
$reponse = $bdd->query('SELECT * FROM compte');
while ($donnees = $reponse->fetch()) {
if (password_verify($_COOKIE['mdp'], $donnees['mdp'])) {
$_SESSION['pseudo'] = htmlspecialchars($donnees['pseudo']);
$reponse->closeCursor();
}
}
}
?>

View File

@ -1,4 +0,0 @@
<?php
include "../loginsbdd.php"
?>

20
inc/page.php Executable file
View File

@ -0,0 +1,20 @@
<?php
switch ($adresse) {
case "apropos.php":
$page['titre'] = "À propos";
$page['description'] = "À propos de ce site";
break;
case "index.php":
$page['titre'] = "Accueil";
$page['description'] = "Page d'accueil d'antopie.org";
break;
case "404.php":
$page['titre'] = "Erreur 404";
$page['description'] = "Erreur 404";
break;
case "cgu.php":
$page['titre'] = "Conditions d'utilisation";
$page['description'] = "Conditions générales d'utilisation";
break;
}

167
index.php
View File

@ -1,88 +1,95 @@
<?php include "inc/debut.php";
head("index.php"); ?>
<h1>Bienvenue sur antopie.org !</h1>
<div class="pres pdroite">
<h1>Services décentralisés</h1>
<span class="descriptionCategorie">Des services en accès libre</span>
<h2>Présentation</h2>
<p>
Moi c'est Miraty, j'héberge divers services sur un serveur Kimsufi (OVH) sous <a href="https://yunohost.org" title="Visiter le site de YunoHost">YunoHost</a>.<br>
Je met certains de ces services en accès libre.<br>
Antopie = ant (fourmi en anglais) + utopie
</p>
<h2 id="services">Liste des services</h2>
En utilisant l'un des services ci-dessous, tu acceptes les <a href="cgu.php">conditions d'utilisation</a>.
<ul>
<li><a href="#mastodon">Mastodon</a></li>
<li><a href="#peertube">PeerTube</a></li>
<li><a href="#gitea">Gitea</a></li>
<li><a href="#qr">Générateur de codes QR</a></li>
<li><a href="#nextcloud">Nextcloud</a></li>
<li><a href="#privatebin">PrivateBin</a></li>
<li><a href="#jirafeau">Jirafeau</a></li>
<li><a href="#wallabag">Wallabag</a></li>
</ul>
<h3 id="mastodon"><a href="https://social.antopie.org/" title="Accéder à ce service">Mastodon</a></h3>
<p>
Mastodon est un réseau de microblogage fédéré du Fediverse.<br>
Il peut notamment interagir avec Pleroma et PeerTube.<br>
Mon instance est encore à la version 2.5.2.
</p>
<h3 id="peertube"><a href="https://video.antopie.org/" title="Accéder à ce service">PeerTube</a></h3>
<p>
PeerTube est un service de partage de vidéos fédéré du Fediverse.<br>
Il a pour particularité de permettre aux clients streamants la vidéo de se l'échanger entre eux (<abbr title="Peer to peer">P2P</abbr> via Webtorrent).<br>
Il peut interagir avec Mastodon.<br>
</p>
<h3 id="gitea"><a href="https://code.antopie.org/" title="Accéder à ce service">Gitea</a></h3>
<p>
Gitea est une forge logicielle légère. Une interface Web pour Git.
</p>
<h3 id="qr"><a href="https://qr.antopie.org/" title="Accéder à ce service">Générateur de codes QR</a></h3>
<p>
Ça, c'est moi que je l'ai fait.
Tu entre le texte à encoder, tu clique sur générer, et ça te renvoie un code QR scannable.
</p>
<h3 id="nextcloud"><a href="https://nuage.antopie.org/" title="Accéder à ce service">Nextcloud</a></h3>
<p>
Nextcloud est un système de stockage et de syncronisation de fichiers. <br/>
En lui ajoutant des applications, il peut aussi servir de webmail, de lecteur
musique, de bloc-notes, de sondage, de gestionnaire de mot de passe etc...
</p>
<h3 id="privatebin"><a href="https://texte.antopie.org/" title="Accéder à ce service">PrivateBin</a></h3>
<p>
PrivateBin est un 'pastebin' (ou gestionnaire d'extraits de texte et de code source)
minimaliste et open source, dans lequel le serveur n'a aucune connaissance des données envoyées.
Les données sont chiffrées/déchiffrées dans le navigateur par un chiffrage AES 256 bits.
</p>
<h3 id="jirafeau"><a href="https://up.antopie.org/" title="Accéder à ce service">Jirafeau</a></h3>
<p>
Téléverse un fichier et partage-le rapidement.
</p>
<h3 id="wallabag"><a href="https://page.antopie.org/" title="Accéder à ce service">Wallabag</a></h3>
<p>
Enregistre des articles et lis-les plus tard ou partage-les.
J'ai pas réussi à activer la création de compte par n'importe qui, donc si tu veut un compte <a href="index.php#contact">demande-le moi</a>.
</p>
<h2 id="contact">Me contacter</h2>
Me contacter :
<br><br>
<div>
<a href="https://social.antopie.org/" title="Mantodon, une instance Mastodon, un logiciel de microblogage" class="button icon-network">
Mastodon
</a>
</div>
<div>
<a href="https://nuage.antopie.org/" title="Nuage, une instance Nextcloud, un logiciel d'hébergement et de syncronisation de fichiers en ligne" class="button icon-cloud" >
Nextcloud
</a>
</div>
<div>
<a href="https://texte.antopie.org/" title="PrivateBin est un 'pastebin' (ou gestionnaire d'extraits de texte et de code source) minimaliste et open source, dans lequel le serveur n'a aucune connaissance des données envoyées. Les données sont chiffrées/déchiffrées dans le navigateur par un chiffrage AES 256 bits." class="button icon-cloud icon-doc-text-inv-1" >
PrivateBin
</a>
</div>
</div>
<div class="pres pgauche">
<h1>La fourmilière</h1>
<span class="descriptionCategorie">Un espace pour publier et lire des pages d'article.</span>
<br>
<br>
<a href="fourmiliere.php" title="Accéder à la fourmilière" class="button special big icon-doc-text-inv-1">
La fourmilière
</a>
<?php if (isset($_SESSION['pseudo'])) { ?>
<a href="fourmiliere.php?etape=editer" title="Créer une nouvelle page d'article" class="button big icon-plus" >
Nouvelle page
</a>
<?php } else { ?>
<a href="connexion.php" title="Se connecter à son compte Ant" class="button big icon-user">
Connexion
</a>
<?php } ?>
</div>
<div class="pres pdroite">
<h1>La cave à l'info-rmatique</h1>
<span class="descriptionCategorie">Des infos sur les navigateurs web, les moteurs de recherche, les modules complémentaires, les systèmes d'exploitation ...</span>
<span class="icon-at"> Par E-mail : <a href="mailto:miraty+web@antopie.org">miraty+web@antopie.org</a>.
<br><br>
<div class="conteneurLigne">
<div class="elementLigne"><a href="cave.module.php" title="Voir les modules que je vous recommande" class="button icon-puzzle">Modules</a></div>
<div class="elementLigne"><a href="cave.navigateur.php" title="Voir la liste des navigateurs web" class="button icon icon-network">Navigateurs web</a></div>
<div class="elementLigne"><a href="cave.mdr.php" title="Voir la liste de moteurs de recherche" class="button icon icon-search-8">Moteurs de recherche</a></div>
<div class="elementLigne"><a href="cave.os.php" title="Voir la liste des systèmes d'exploitation" class="button icon-cogs">Systèmes d'exploitation</a></div>
<div class="elementLigne"><a href="cave.definition.php" title="Voir des définitions simples concernent internet et l'informatique" class="button icon-quote">Définitions</a></div>
</div>
</div>
<div class="pres pgauche">
<h1>AntMusiques</h1>
<span class="descriptionCategorie">J'ai créé des musiques, les AntMusiques. Les voici.</span>
<br>
<br>
<a href="antmusique.php" title="Écouter les AntMusiques depuis ce site" class="button special big icon-play">
Écouter
</a>
<a href="media/antmusiques.zip" title="Télécharger les 10 AntMusiques en fichier ZIP (32,3 Mo)" class="button icon-download-alt">
Télécharger
</a>
</div>
<div class="pres pdroite">
<h1>
Espace commentaire
</h1>
<span class="descriptionCategorie">Pour lire ou envoyer des commentaires</span>
<br><br>
<a href="commentaire.php" title="Espace commentaire" class="button icon-comment">
Accéder à l'espace commentaire
</a>
</div>
<span class="svg"><?php include "img/logomastodon.svg"; ?> Sur Mastodon : <a href="https://social.antopie.org/@miraty">@miraty@social.antopie.org</a></span>
<?php include "inc/footer.php"; ?>

View File

@ -1,29 +0,0 @@
// https://openclassrooms.com/fr/courses/1744696-creez-un-editeur-de-texte-wysiwyg
function commande(nom, argument){
if (typeof argument === 'undefined') {
argument = '';
}
switch(nom){
case "createLink":
argument = prompt("Quelle est l'adresse du lien ?");
break;
case "insertImage":
argument = prompt("Quelle est l'adresse de l'image ?");
break;
}
document.execCommand(nom, false, argument);
// Exécuter la commande
}
function resultat(){
document.getElementById("resultat").value = document.getElementById("editeur").innerHTML;
}

0
js/menu.js Executable file → Normal file
View File

View File

@ -1,13 +0,0 @@
function reduireSection() {
var div = document.getElementById('linux'),
display = getComputedStyle(div, null).display;
if (display == "block") {
document.getElementById("linux").style.display = "none";
document.getElementById("bouttonReduireSection").className = "icon-angle-down";
} else {
document.getElementById("linux").style.display = "block";
document.getElementById("bouttonReduireSection").className = "icon-angle-up";
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,129 +0,0 @@
Font license info
## Fontelico
Copyright (C) 2012 by Fontello project
Author: Crowdsourced, for Fontello project
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://fontello.com
## Font Awesome
Copyright (C) 2016 by Dave Gandy
Author: Dave Gandy
License: SIL ()
Homepage: http://fortawesome.github.com/Font-Awesome/
## Entypo
Copyright (C) 2012 by Daniel Bruce
Author: Daniel Bruce
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://www.entypo.com
## Typicons
(c) Stephen Hutchings 2012
Author: Stephen Hutchings
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://typicons.com/
## Iconic
Copyright (C) 2012 by P.J. Onori
Author: P.J. Onori
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://somerandomdude.com/work/iconic/
## Modern Pictograms
Copyright (c) 2012 by John Caserta. All rights reserved.
Author: John Caserta
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://thedesignoffice.org/project/modern-pictograms/
## Meteocons
Copyright (C) 2012 by Alessio Atzeni
Author: Alessio Atzeni
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://www.alessioatzeni.com
## MFG Labs
Copyright (C) 2012 by Daniel Bruce
Author: MFG Labs
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://www.mfglabs.com/
## Maki
Copyright (C) Mapbox, LCC
Author: Mapbox
License: BSD (https://github.com/mapbox/maki/blob/gh-pages/LICENSE.txt)
Homepage: http://mapbox.com/maki/
## Zocial
Copyright (C) 2012 by Sam Collins
Author: Sam Collins
License: MIT (http://opensource.org/licenses/mit-license.php)
Homepage: http://zocial.smcllns.com/
## Brandico
(C) 2012 by Vitaly Puzrin
Author: Crowdsourced, for Fontello project
License: SIL (http://scripts.sil.org/OFL)
Homepage:
## Elusive
Copyright (C) 2013 by Aristeides Stathopoulos
Author: Aristeides Stathopoulos
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://aristeides.com/
## Linecons
Copyright (C) 2013 by Designmodo
Author: Designmodo for Smashing Magazine
License: CC BY ()
Homepage: http://designmodo.com/linecons-free/
## Web Symbols
Copyright (c) 2011 by Just Be Nice studio. All rights reserved.
Author: Just Be Nice studio
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://www.justbenicestudio.com/

View File

@ -1,176 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS

View File

@ -1,20 +0,0 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>LICENCE FAIS TOUT CE QUE TU VEUX</title>
<style type="text/css">
body {text-align: center; background-color: #2D2F34; color: white;}
</style>
</head>
<body>
<h1>LFTCQTV | LICENCE FAIS TOUT CE QUE TU VEUX</h1>
Version 1, Mai 2018
<br>
<br>
N'importe qui est autorisé à copier, distribuer et modifier ce texte de licence sans restriction.
<br>
<h2>TERMES ET CONDITIONS DE COPIE, PUBLICATION ET MODIFICATION D'OEUVRE PUBLIÉE SOUS LFTCQTV</h2>
Article 1 : Fais TOUT CE QUE TU VEUX !
</body>
</html>

View File

@ -1,8 +0,0 @@
Copyright © Nicolas Gallagher and Jonathan Neal
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,22 +0,0 @@
MIT License
Copyright (c) 2018 JosephK
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,7 +0,0 @@
<?php include "inc/debut.php";
head("liste_des_nombres.php"); ?>
<?php $nombre_de_lignes = 1;
while ($nombre_de_lignes <= 1000000) { ?>
<span><?php echo $nombre_de_lignes ?><br></span>
<?php $nombre_de_lignes++; } ?>
<?php include "inc/footer.php"; ?>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More