diff --git a/README.md b/README.md index 484a4a0..bbcbce8 100755 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -Voici le code source de mon site : https://www.antopie.org/ -Je développe avec les dernières version de Apache, PHP et MySQL. +Voici le code source de mon site : https://www.antopie.org +Ce code est testé avec les dernières version de PHP et MySQL. -Le site Web dépend d'une base de donnée ; pour faire fonctionner ce site vous devrez importer le fichier bdd.sql dans votre base de donnée et placer dans le dossier parent de web/ un fichier loginsbdd.php sous la forme : +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 : antopie.org. diff --git a/bibli/less.js b/bibli/less.js old mode 100644 new mode 100755 diff --git a/bibli/less.min.js b/bibli/less.min.js old mode 100644 new mode 100755 diff --git a/bibli/normalize.css b/bibli/normalize.css old mode 100644 new mode 100755 diff --git a/bibli/ubuntu/CONTRIBUTING.txt b/bibli/ubuntu/CONTRIBUTING.txt new file mode 100755 index 0000000..15bdc0c --- /dev/null +++ b/bibli/ubuntu/CONTRIBUTING.txt @@ -0,0 +1,21 @@ +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 diff --git a/bibli/ubuntu/FONTLOG.txt b/bibli/ubuntu/FONTLOG.txt new file mode 100755 index 0000000..83022be --- /dev/null +++ b/bibli/ubuntu/FONTLOG.txt @@ -0,0 +1,292 @@ +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 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 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/ diff --git a/bibli/ubuntu/LICENCE-FAQ.txt b/bibli/ubuntu/LICENCE-FAQ.txt new file mode 100755 index 0000000..776a25e --- /dev/null +++ b/bibli/ubuntu/LICENCE-FAQ.txt @@ -0,0 +1,177 @@ + 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 diff --git a/bibli/ubuntu/LICENCE.txt b/bibli/ubuntu/LICENCE.txt new file mode 100755 index 0000000..ae78a8f --- /dev/null +++ b/bibli/ubuntu/LICENCE.txt @@ -0,0 +1,96 @@ +------------------------------- +UBUNTU FONT LICENCE Version 1.0 +------------------------------- + +PREAMBLE +This licence allows the licensed fonts to be used, studied, modified and +redistributed freely. The fonts, including any derivative works, can be +bundled, embedded, and redistributed provided the terms of this licence +are met. The fonts and derivatives, however, cannot be released under +any other licence. The requirement for fonts to remain under this +licence does not require any document created using the fonts or their +derivatives to be published under this licence, as long as the primary +purpose of the document is not to be a vehicle for the distribution of +the fonts. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this licence and clearly marked as such. This may +include source files, build scripts and documentation. + +"Original Version" refers to the collection of Font Software components +as received under this licence. + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to +a new environment. + +"Copyright Holder(s)" refers to all individuals and companies who have a +copyright ownership of the Font Software. + +"Substantially Changed" refers to Modified Versions which can be easily +identified as dissimilar to the Font Software by users of the Font +Software comparing the Original Version with the Modified Version. + +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 and with or without charging +a redistribution fee), making available to the public, and in some +countries other activities as well. + +PERMISSION & CONDITIONS +This licence does not grant any rights under trademark law and all such +rights are reserved. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of the Font Software, to propagate the Font Software, subject to +the below conditions: + +1) Each copy of the Font Software must contain the above copyright +notice and this licence. These can be included either as stand-alone +text files, human-readable headers or in the appropriate machine- +readable metadata fields within text or binary files as long as those +fields can be easily viewed by the user. + +2) The font name complies with the following: +(a) The Original Version must retain its name, unmodified. +(b) Modified Versions which are Substantially Changed must be renamed to +avoid use of the name of the Original Version or similar names entirely. +(c) Modified Versions which are not Substantially Changed must be +renamed to both (i) retain the name of the Original Version and (ii) add +additional naming elements to distinguish the Modified Version from the +Original Version. The name of such Modified Versions must be the name of +the Original Version, with "derivative X" where X represents the name of +the new work, appended to that name. + +3) The name(s) of the Copyright Holder(s) and any contributor to the +Font Software shall not be used to promote, endorse or advertise any +Modified Version, except (i) as required by this licence, (ii) to +acknowledge the contribution(s) of the Copyright Holder(s) or (iii) with +their explicit written permission. + +4) The Font Software, modified or unmodified, in part or in whole, must +be distributed entirely under this licence, and must not be distributed +under any other licence. The requirement for fonts to remain under this +licence does not affect any document created using the Font Software, +except any version of the Font Software extracted from a document +created using the Font Software may only be distributed under this +licence. + +TERMINATION +This licence becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF +COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER +DEALINGS IN THE FONT SOFTWARE. diff --git a/bibli/ubuntu/README.txt b/bibli/ubuntu/README.txt new file mode 100755 index 0000000..5602821 --- /dev/null +++ b/bibli/ubuntu/README.txt @@ -0,0 +1,16 @@ + ---------------------- + 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/ diff --git a/bibli/ubuntu/TRADEMARKS.txt b/bibli/ubuntu/TRADEMARKS.txt new file mode 100755 index 0000000..d34265b --- /dev/null +++ b/bibli/ubuntu/TRADEMARKS.txt @@ -0,0 +1,4 @@ +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. diff --git a/bibli/ubuntu/Ubuntu-B.ttf b/bibli/ubuntu/Ubuntu-B.ttf new file mode 100755 index 0000000..b173da2 Binary files /dev/null and b/bibli/ubuntu/Ubuntu-B.ttf differ diff --git a/bibli/ubuntu/Ubuntu-BI.ttf b/bibli/ubuntu/Ubuntu-BI.ttf new file mode 100755 index 0000000..72a5a99 Binary files /dev/null and b/bibli/ubuntu/Ubuntu-BI.ttf differ diff --git a/bibli/ubuntu/Ubuntu-C.ttf b/bibli/ubuntu/Ubuntu-C.ttf new file mode 100755 index 0000000..602a3ee Binary files /dev/null and b/bibli/ubuntu/Ubuntu-C.ttf differ diff --git a/bibli/ubuntu/Ubuntu-L.ttf b/bibli/ubuntu/Ubuntu-L.ttf new file mode 100755 index 0000000..ed0f5bc Binary files /dev/null and b/bibli/ubuntu/Ubuntu-L.ttf differ diff --git a/bibli/ubuntu/Ubuntu-LI.ttf b/bibli/ubuntu/Ubuntu-LI.ttf new file mode 100755 index 0000000..c6cec55 Binary files /dev/null and b/bibli/ubuntu/Ubuntu-LI.ttf differ diff --git a/bibli/ubuntu/Ubuntu-M.ttf b/bibli/ubuntu/Ubuntu-M.ttf new file mode 100755 index 0000000..ca9c03a Binary files /dev/null and b/bibli/ubuntu/Ubuntu-M.ttf differ diff --git a/bibli/ubuntu/Ubuntu-MI.ttf b/bibli/ubuntu/Ubuntu-MI.ttf new file mode 100755 index 0000000..e8d186c Binary files /dev/null and b/bibli/ubuntu/Ubuntu-MI.ttf differ diff --git a/bibli/ubuntu/Ubuntu-R.ttf b/bibli/ubuntu/Ubuntu-R.ttf new file mode 100755 index 0000000..d748728 Binary files /dev/null and b/bibli/ubuntu/Ubuntu-R.ttf differ diff --git a/bibli/ubuntu/Ubuntu-RI.ttf b/bibli/ubuntu/Ubuntu-RI.ttf new file mode 100755 index 0000000..4f2d2bc Binary files /dev/null and b/bibli/ubuntu/Ubuntu-RI.ttf differ diff --git a/bibli/ubuntu/UbuntuMono-B.ttf b/bibli/ubuntu/UbuntuMono-B.ttf new file mode 100755 index 0000000..7bd6665 Binary files /dev/null and b/bibli/ubuntu/UbuntuMono-B.ttf differ diff --git a/bibli/ubuntu/UbuntuMono-BI.ttf b/bibli/ubuntu/UbuntuMono-BI.ttf new file mode 100755 index 0000000..6c5b8ba Binary files /dev/null and b/bibli/ubuntu/UbuntuMono-BI.ttf differ diff --git a/bibli/ubuntu/UbuntuMono-R.ttf b/bibli/ubuntu/UbuntuMono-R.ttf new file mode 100755 index 0000000..fdd309d Binary files /dev/null and b/bibli/ubuntu/UbuntuMono-R.ttf differ diff --git a/bibli/ubuntu/UbuntuMono-RI.ttf b/bibli/ubuntu/UbuntuMono-RI.ttf new file mode 100755 index 0000000..18f81a2 Binary files /dev/null and b/bibli/ubuntu/UbuntuMono-RI.ttf differ diff --git a/bibli/ubuntu/copyright.txt b/bibli/ubuntu/copyright.txt new file mode 100755 index 0000000..7734070 --- /dev/null +++ b/bibli/ubuntu/copyright.txt @@ -0,0 +1,5 @@ +Copyright 2010,2011 Canonical Ltd. + +This Font Software is licensed under the Ubuntu Font Licence, Version +1.0. https://launchpad.net/ubuntu-font-licence + diff --git a/cave.module.php b/cave.module.php index c0c94c3..7cbfb6d 100755 --- a/cave.module.php +++ b/cave.module.php @@ -21,7 +21,7 @@ head("cave.module.php"); ?>

Bloquer le pistage (avec la protection contre le pistage de Firefox)

- Préférences Firefox + Préférences Firefox C'est une fonctionnalité intégrée dans Firefox. diff --git a/cave.navigateur.php b/cave.navigateur.php index 976ff5b..fceab62 100755 --- a/cave.navigateur.php +++ b/cave.navigateur.php @@ -26,7 +26,7 @@ head("cave.navigateur.php"); ?> include "inc/loginsbdd.php"; try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { @@ -58,7 +58,7 @@ head("cave.navigateur.php"); ?> include "inc/loginsbdd.php"; try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { diff --git a/commentaire.php b/commentaire.php index e827dc1..bc74f55 100755 --- a/commentaire.php +++ b/commentaire.php @@ -131,7 +131,7 @@ head("commentaire.php"); ?> include "inc/loginsbdd.php"; try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { @@ -188,7 +188,7 @@ head("commentaire.php"); ?> include "inc/loginsbdd.php"; try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { diff --git a/confirmationlien.php b/confirmationlien.php index 09b96d2..d13a888 100755 --- a/confirmationlien.php +++ b/confirmationlien.php @@ -16,7 +16,7 @@ if (isset($_GET['lien'])) { include "inc/loginsbdd.php"; try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { diff --git a/connexion.php b/connexion.php index 541810f..2eaacea 100755 --- a/connexion.php +++ b/connexion.php @@ -10,7 +10,7 @@ head("connexion.php"); ?> include "inc/loginsbdd.php"; try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } diff --git a/css/base.less b/css/base.less old mode 100644 new mode 100755 index 020f411..eb72153 --- a/css/base.less +++ b/css/base.less @@ -1,5 +1,36 @@ -/* ========================= Début de mon code CSS ============================= */ +@fond: #2D2F34; +@fond-footer: darken(@fond, 3%); +@fond-option-hover: lighten(@fond, 10%); +@texte-secondaire: #9DA3B0; +@texte-principal: white; +@couleur-lien: white; +@couleur-principale: red; +.texte-secondaire { + color: @texte-secondaire; +} + + +// BOUTONS + +.button { + border: 2px solid grey; + padding: 10px; + margin: 5px; + display: inline-block; + border-radius: 10px; + color: white; + + &:hover { + background-color: red; + color: darkred; + } + +} + + + + html { font-size: 20px; @@ -14,22 +45,48 @@ html { } - #editeur { width: 500px; height: 200px; - border: 1px solid black; + border: 1px solid white; padding: 5px; overflow: auto; } -a:link { +a { text-decoration: underline; + color: @couleur-lien; + transition: all 0.5s ease-out; + + + &:hover { + text-decoration: none; + color: @couleur-principale; + transition: all 0.5s ease-out; + } + } +a:visited { + text-decoration: underline; + color: @couleur-lien; + transition: all 0.5s ease-out; + + + &:hover { + text-decoration: none; + color: @couleur-principale; + transition: all 0.5s ease-out; + } + + +} + + + nav a:link { text-decoration: none; @@ -37,7 +94,7 @@ nav a:link { .button:link { text-decoration: none; - + color: @couleur-lien; } @@ -52,7 +109,7 @@ nav a:link { .pub-carree { display: flex; - border: black 3px solid; + border: white 3px solid; text-align: center; justify-content: center; max-width: 300px; @@ -95,10 +152,10 @@ nav a:link { height: 4em; width: 10em; - color: black; + color: white; background-color: white; - border: black 2px solid; + border: white 2px solid; padding: 4px; margin-bottom: -100px; @@ -121,17 +178,12 @@ nav a:link { color: red; } -input { - font-family: fin; - -} - .optionhaute { - border-top: 0px black solid; + border-top: 0px white solid; } .boite { - border: 3px black solid; + border: 3px white solid; border-radius: 10px; margin: 10px; padding: 10px; @@ -155,7 +207,7 @@ input { } .articlePseudo { - border: 2px black solid; + border: 2px white solid; border-radius: 10px; margin: 30px 20px 30px 0px; padding: 20px; @@ -207,7 +259,7 @@ input { .img { display: block; margin: 20px; - border: 3px black solid; + border: 3px white solid; border-radius: 5px; max-width: 45em; overflow: hidden; @@ -215,7 +267,7 @@ input { } .module { - border-left: 4px black solid; + border-left: 4px white solid; padding-left: 20px; padding-top: 10px; padding-bottom: 10px; @@ -233,8 +285,8 @@ body { font-family: fin; padding: 0px; margin: 0px; - background-color: white; - color: black; + background-color: @fond; + color: @texte-principal; } @@ -288,7 +340,7 @@ body { .pgauche { text-align: left; padding-left: 20px; - border-left: 5px black solid; + border-left: 5px white solid; } @@ -297,7 +349,7 @@ body { text-align: right; padding-right: 20px; margin-right: -30px; - border-right: 5px black solid; + border-right: 5px white solid; } @@ -309,7 +361,7 @@ body { .avertissement { border: 2px yellow solid; - border-radius: 12px 12px 12px 12px; + border-radius: 12px 12px 12px 12px;background-color: #1E2125; padding: 10px; margin: 5px; background-color: lemonchiffon; @@ -320,7 +372,7 @@ body { margin: 12px; padding: 12px; overflow: auto; - border: 1px black solid; + border: 1px white solid; } @@ -328,7 +380,7 @@ body { margin: 12px; padding: 12px; overflow: auto; - border-left: 3px black solid; + border-left: 3px white solid; } @@ -384,14 +436,14 @@ font-weight: bold; footer { text-align: center; - background-color: #cbcbcb; + background-color: @fond-footer; display: flex; flex-direction: column; } .logogris { - background-color: #cbcbcb; + background-color: @fond-footer; background-image: url(../media/logo/antpetitgris.png); width: 264px; height: 80px; @@ -430,7 +482,7 @@ footer { overflow: auto; border-radius: 12px; width: 17em; - border: 3px black solid; + border: 3px white solid; text-align: center; transition: all 1s ease-in; margin-bottom: 0px; @@ -440,24 +492,25 @@ footer { .option { padding: 30px; display: block; - border-top: 2px black solid; + border-top: 2px white solid; transition: all 0.2s ease-in; } .option:active { - box-shadow: 2px 2px 3px black inset; + box-shadow: 2px 2px 3px white inset; } .option:hover { - background-color: #FFB3B3; + background-color: @fond-option-hover; transition: all 0.2s ease-in-out; + color: @couleur-lien !important; } .optionhaute { - border-top: 0px black solid; + border-top: 0px white solid; } @@ -468,7 +521,7 @@ footer { .optiondossier { margin-left: 20px; - border-left: 2px black solid; + border-left: 2px white solid; } @@ -481,7 +534,7 @@ footer { display: block; padding-top: 10px; padding-bottom: 10px; - border-top: 2px black solid; + border-top: 2px white solid; } @@ -502,7 +555,7 @@ footer { .commentaire { margin: 10px; padding: 10px; - border-left: 4px black solid; + border-left: 4px white solid; } @@ -776,13 +829,13 @@ footer { } .in92pack { - color: white; - text-decoration: none; + color: @fond !important; + text-decoration: none !important; } .li192pack { - color: white; - text-decoration: none; + color: @fond !important; + text-decoration: none !important; } @@ -792,522 +845,3 @@ footer { transition: color 10s ease-in-out; } - - -/* ============================= Fin de mon code CSS ========================================== */ - - - -/* ============================= Début du code HTML5UP Story ================================ */ - - - - - a { - transition: color 0.2s ease-in-out; - text-decoration: underline; - } - - a:hover { - text-decoration: none; - } - - h1, h2, h3, h4, h5, h6 { - font-weight: 300; - letter-spacing: -0.03em; - margin-top: 30px; - margin-bottom: 40px; - } - - - - h1 { - font-size: 3.5rem; - } - - h2 { - font-size: 2.3rem; - } - - h3 { - font-size: 1.8rem; - } - - h4 { - font-size: 1.4rem; - } - - h5 { - font-size: 1.2rem; - } - - h6 { - font-size: 0.8rem; - } - - sub { - font-size: 0.8rem; - position: relative; - top: 0.5rem; - } - - sup { - font-size: 0.8rem; - position: relative; - top: -0.5rem; - } - - code { - border-radius: 4px; - font-size: 0.9em; - margin: 0 0.25rem; - padding: 0.25rem 0.325rem; - font-family: fin; - } - - - input, select, textarea { - color: #000000; - } - - a { - color: #000000; - } - - a:hover { - color: #FF1919; - } - - b { - color: #000000; - } - - blockquote { - border-left-color: rgba(0, 0, 0, 0.2); - } - - code { - background: rgba(0, 0, 0, 0.05); - border-color: rgba(0, 0, 0, 0.2); - } - - -/* Button */ - - input[type="submit"], - input[type="reset"], - input[type="button"], - button:not(#bouttonmenu), - .button { - appearance: none; - transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out; - border: 0; - cursor: pointer; - display: inline-block; - font-weight: 400; - letter-spacing: 0.125em; - text-align: center; - text-decoration: none; - text-transform: uppercase; - white-space: nowrap; - font-size: 0.75rem; - max-width: 20rem; - height: 3.75em; - line-height: 3.75em; - border-radius: 3.75em; - padding: 0 2.5em; - text-overflow: ellipsis; - overflow: hidden; - } - - input[type="submit"].icon:before, - input[type="reset"].icon:before, - input[type="button"].icon:before, - button.icon:before, - .button.icon:before { - margin-right: 0.5rem; - } - - input[type="submit"].fit, - input[type="reset"].fit, - input[type="button"].fit, - button.fit, - .button.fit { - display: block; - margin: 0 0 1rem 0; - width: 100%; - } - - input[type="submit"].small, - input[type="reset"].small, - input[type="button"].small, - button.small, - .button.small { - font-size: 0.6rem; - height: 3.325em; - line-height: 3.325em; - border-radius: 3.325em; - padding: 0 2em; - } - - input[type="submit"].big, - input[type="reset"].big, - input[type="button"].big, - button.big, - .button.big { - font-size: 0.8rem; - height: 4em; - line-height: 4em; - border-radius: 4em; - padding: 0 3em; - } - - input[type="submit"].wide, - input[type="reset"].wide, - input[type="button"].wide, - button.wide, - .button.wide { - min-width: 14em; - } - - input[type="submit"].disabled, input[type="submit"]:disabled, - input[type="reset"].disabled, - input[type="reset"]:disabled, - input[type="button"].disabled, - input[type="button"]:disabled, - button.disabled, - button:disabled, - .button.disabled, - .button:disabled { - opacity: 0.25; - } - - input[type="submit"], - input[type="reset"], - input[type="button"], - button:not(#bouttonmenu), - .button { - background-color: transparent; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); - color: #000000 !important; - } - - input[type="submit"]:hover, - input[type="reset"]:hover, - input[type="button"]:hover, - button:hover, - .button:hover { - box-shadow: inset 0 0 0 1px red; - color: red !important; - background-color: #FFBFBF; - } - - input[type="submit"]:active, - input[type="reset"]:active, - input[type="button"]:active, - button:active:not(#bouttonmenu), - .button:active { - background-color: rgba(71, 211, 229, 0.2); - box-shadow: inset 0 0 0 1px red; - color: red !important; - } - - input[type="submit"].special, - input[type="reset"].special, - input[type="button"].special, - button.special, - .button.special { - background-color: #000000; - box-shadow: none; - color: #ffffff !important; - } - - input[type="submit"].special:hover, - input[type="reset"].special:hover, - input[type="button"].special:hover, - button.special:hover, - .button.special:hover { - background-color: red; - } - - input[type="submit"].special:active, - input[type="reset"].special:active, - input[type="button"].special:active, - button.special:active, - .button.special:active { - background-color: red; - } - - label { - display: block; - font-size: 0.9rem; - font-weight: 400; - margin: 0 0 1rem 0; - } - - input[type="text"], - input[type="password"], - input[type="email"], - input[type="tel"], - input[type="search"], - input[type="url"], - input[type="number"], - select, - textarea { - appearance: none; - background-color: transparent; - border-radius: 4px; - border: none; - border: solid 1px; - color: inherit; - outline: 0; - padding: 0 0.825rem; - text-decoration: none; - } - - input[type="text"]:invalid, - input[type="password"]:invalid, - input[type="email"]:invalid, - input[type="tel"]:invalid, - input[type="search"]:invalid, - input[type="url"]:invalid, - select:invalid, - textarea:invalid { - box-shadow: none; - } - - - input[type="text"], - input[type="password"], - input[type="email"], - input[type="tel"], - input[type="search"], - input[type="url"], - input[type="number"], - select { - height: 2.75rem; - } - - textarea { - padding: 0.75rem 1rem; - } - - input[type="checkbox"], - input[type="radio"] { - appearance: none; - display: block; - float: left; - margin-right: -2rem; - opacity: 0; - width: 1rem; - z-index: -1; - } - - input[type="checkbox"] + label, - input[type="radio"] + label { - text-decoration: none; - user-select: none; - cursor: pointer; - display: inline-block; - font-weight: 300; - padding-left: 2.4rem; - padding-right: 0.75rem; - position: relative; - margin-bottom: 0; - } - - input[type="checkbox"] + label:before, - input[type="radio"] + label:before { - font-family: FontAwesome; - font-style: normal; - font-weight: normal; - text-transform: none !important; - } - - input[type="checkbox"] + label:before, - input[type="radio"] + label:before { - border-radius: 4px; - border: solid 1px; - content: ''; - display: inline-block; - height: 1.65rem; - left: 0; - line-height: 1.58125rem; - position: absolute; - text-align: center; - top: 0; - width: 1.65rem; - } - - input[type="checkbox"]:checked + label:before, - input[type="radio"]:checked + label:before { - content: '\f00c'; - } - - input[type="checkbox"] + label:before { - border-radius: 4px; - } - - input[type="radio"] + label:before { - border-radius: 100%; - } - - - label { - color: #000000; - } - - input[type="text"], - input[type="password"], - input[type="email"], - input[type="tel"], - input[type="search"], - input[type="url"], - input[type="number"], - select, - textarea { - border-color: rgba(0, 0, 0, 0.2); - } - - input[type="text"]:focus, - input[type="password"]:focus, - input[type="email"]:focus, - input[type="tel"]:focus, - input[type="search"]:focus, - input[type="url"]:focus, - input[type="number"]:focus, - select:focus, - textarea:focus { - border-color: red; - box-shadow: 0 0 0 1px red; - } - - - - input[type="checkbox"] + label, - input[type="radio"] + label { - color: #000000; - } - - input[type="checkbox"] + label:before, - input[type="radio"] + label:before { - border-color: rgba(0, 0, 0, 0.2); - } - - input[type="checkbox"]:checked + label:before, - input[type="radio"]:checked + label:before { - background-color: #000000; - border-color: #000000; - color: #ffffff; - } - - input[type="checkbox"]:focus + label:before, - input[type="radio"]:focus + label:before { - border-color: red; - box-shadow: 0 0 0 1px red; - } - -/* Table */ - - .table-wrapper { - margin: 0 0 2rem 0; - overflow-x: auto; - } - - .table-wrapper > table { - margin-bottom: 0; - } - - table { - margin: 0 0 2rem 0; - width: 100%; - } - - table tbody tr { - border: solid 1px; - border-left: 0; - border-right: 0; - } - - table td { - padding: 0.75rem 0.75rem; - } - - table th { - font-size: 0.9rem; - font-weight: 400; - padding: 0 0.75rem 0.75rem 0.75rem; - text-align: left; - } - - table thead { - border-bottom: solid 2px; - } - - table tfoot { - border-top: solid 2px; - } - - table.alt { - border-collapse: separate; - } - - table.alt tbody tr td { - border: solid 1px; - border-left-width: 0; - border-top-width: 0; - } - - table.alt tbody tr td:first-child { - border-left-width: 1px; - } - - table.alt tbody tr:first-child td { - border-top-width: 1px; - } - - table.alt thead { - border-bottom: 0; - } - - table.alt tfoot { - border-top: 0; - } - - table.fixed { - table-layout: fixed; - } - - table tbody tr { - border-color: rgba(0, 0, 0, 0.2); - } - - table tbody tr:nth-child(2n + 1) { - background-color: rgba(0, 0, 0, 0.05); - } - - table tbody tr.alt { - background-color: rgba(0, 0, 0, 0.05) !important; - } - - table th { - color: #000000; - } - - table thead { - border-bottom-color: rgba(0, 0, 0, 0.2); - } - - table tfoot { - border-top-color: rgba(0, 0, 0, 0.2); - } - - table.alt tbody tr td { - border-color: rgba(0, 0, 0, 0.2); - } - - table.uniform tbody tr:nth-child(2n + 1) { - background-color: transparent; - } - -/* ============================= Fin du code initial HTML5UP ================================ */ diff --git a/fourmiliere.php b/fourmiliere.php index 00522b7..6786d67 100755 --- a/fourmiliere.php +++ b/fourmiliere.php @@ -11,7 +11,7 @@ if (isset($_POST['commentaire']) AND isset($_GET['articlecommenté'])) { include "inc/loginsbdd.php"; try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { @@ -40,7 +40,7 @@ if (isset($_GET['etape']) AND $_GET['etape'] == "publier" AND isset($_POST['arti if (isset($_GET['modifier'])) { try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { @@ -64,7 +64,7 @@ if (isset($_GET['etape']) AND $_GET['etape'] == "publier" AND isset($_POST['arti include "inc/loginsbdd.php"; try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { @@ -92,7 +92,7 @@ if (isset($_GET['etape']) AND $_GET['etape'] == "publier" AND isset($_POST['arti include "inc/loginsbdd.php"; try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { @@ -126,7 +126,7 @@ if (isset($_GET['article'])) { include "inc/loginsbdd.php"; try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { @@ -176,7 +176,7 @@ if (isset($_GET['article'])) { PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { @@ -248,7 +248,7 @@ if (isset($_GET['article'])) { include "inc/loginsbdd.php"; try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { @@ -279,7 +279,7 @@ if (isset($_GET['article'])) { : PDO::ERRMODE_EXCEPTION)); + $bddMOD = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { @@ -329,7 +329,7 @@ if (isset($_GET['article'])) { include "inc/loginsbdd.php"; try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { @@ -374,7 +374,7 @@ if (isset($_GET['article'])) { try { - $bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); + $bdd = new PDO('mysql:host=localhost;dbname=my_webapp;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); } catch (Exception $e) { @@ -408,7 +408,7 @@ if (isset($_GET['article'])) {