'._('The reception on').'
'.$alias_full.' ';
- } else {
- echo '
'._('Error: unknown status').'
';
- }
- UpdateVirtualDB();
-}
-
-// disable alias
-function DisableAlias($id, $alias_full, $email) {
- global $dbco;
- if ($id == null) {
- $selectcmd = $dbco->prepare("SELECT id,status FROM ".DBTABLEPREFIX."alias WHERE email = :email AND alias = :alias_full");
- $selectcmd->bindParam('email', $email, PDO::PARAM_STR);
- } else {
- $selectcmd = $dbco->prepare("SELECT id,status FROM ".DBTABLEPREFIX."alias WHERE id = :id AND alias = :alias_full");
- $selectcmd->bindParam('id', $id, PDO::PARAM_INT);
- }
- $selectcmd->bindParam('alias_full', $alias_full, PDO::PARAM_STR);
- $selectcmd->execute();
- $alias_fetch = $selectcmd->fetch();
- if (! $alias_fetch) {
- echo '
'._('Error: Can not find this trash email').'
';
- } else if ($alias_fetch['status'] == 5) {
- UpdateStatusAlias($alias_fetch['id'], $alias_full, 3);
- echo '
'._('The reception on').' '.$alias_full.' '._('is now suspended').'.
';
- } else if ($alias_fetch['status'] == 3) {
- echo '
'._('The reception on').' '.$alias_full.' '._('is already suspended').'.
';
- } else if ($alias_fetch['status'] == 0) {
- echo '
'._('The reception on').' '.$alias_full.' '._('can not be suspended because it has not been activated yet').'.
';
- } else {
- echo '
'._('Error: unknown status').'
';
- }
- UpdateVirtualDB();
-}
-
-// update alias status
-function UpdateStatusAlias($id, $alias_full, $status) {
- global $dbco;
- try {
- $updatecmd = $dbco->prepare("UPDATE ".DBTABLEPREFIX."alias SET status = $status WHERE id = :id AND alias = :alias_full");
- $updatecmd->bindParam('id', $id, PDO::PARAM_INT);
- $updatecmd->bindParam('alias_full', $alias_full, PDO::PARAM_STR);
- $updatecmd->execute();
- } catch ( PDOException $e ) {
- echo "DB error : ", $e->getMessage();
- die();
- }
- UpdateVirtualDB();
-}
-
-// parse file for blacklist and aliasdeny
-function parseFileRegex($file, $chaine) {
- $return=false;
- $handle = fopen($file, 'r');
- while (!feof($handle)) {
- $buffer = fgets($handle);
- $buffer = str_replace("\n", "", $buffer);
- if ($buffer) {
- if (!preg_match('/^(#|$|;)/', $buffer) && preg_match($buffer, $chaine)) {
- $return=true;
- break;
- }
- }
- }
- fclose($handle);
- return $return;
-}
-
-// check blacklistemail
-function BlacklistEmail($email) {
- if (defined('BLACKLIST')) {
- return parseFileRegex(BLACKLIST, $email);
- } else {
- return false;
- }
-}
-
-// check aliasdeny
-function AliasDeny($alias) {
- if (defined('ALIASDENY')) {
- return parseFileRegex(ALIASDENY, $alias);
- } else {
- return false;
- }
-}
-
-// list alias
-function ListeAlias($email) {
- global $dbco;
- try {
- $selectcmd = $dbco->prepare("SELECT id, status, alias, dateCreat, dateExpir, comment
- FROM ".DBTABLEPREFIX."alias
- WHERE email = :email AND status > 0
- ORDER BY status DESC");
- $selectcmd->bindParam('email', $email, PDO::PARAM_STR);
- $selectcmd->execute();
- } catch ( PDOException $e ) {
- echo "DB error : ", $e->getMessage();
- die();
- }
- $nb_alias=0;
- $nb_alias_disable=0;
- $message= "## "._('List trash email activate')." : \n\n";
- while($alias_db = $selectcmd->fetch()) {
- if ($alias_db['status'] == 3 && $nb_alias_disable == 0) {
- $message.= "## "._('List trash email disable')." : \n\n";
- }
- $message.=" * ".$alias_db['alias']." "._('Create ')." ".$alias_db['dateCreat'];
- if ($alias_db['dateExpir']) {
- $message.=" "._('and expires on')." ".$alias_db['dateExpir'];
- }
- $message.="\n";
- if ($alias_db['comment']) {
- $message.="\t"._('Comment :')." ".$alias_db['comment']."\n";
- }
- if ($alias_db['status'] == 5) {
- $message.="\t"._('Disable :')." ".urlGen('disable',$alias_db['id'],$alias_db['alias'])."\n";
- $nb_alias++;
- } else {
- $message.="\t"._('Activate :')." ".urlGen('enable',$alias_db['id'],$alias_db['alias'])."\n";
- $nb_alias_disable++;
- }
- $message.="\t"._('Delete :')." ".urlGen('delete',$alias_db['id'],$alias_db['alias'])."\n\n";
- }
- $nb_alias_total = $nb_alias + $nb_alias_disable;
- if ($nb_alias_total == 0) {
- return false;
- } else {
- SendEmail($email,_('List trash email'),$message);
- return true;
- }
-}
-
-function SendEmail($recipient, $sujet, $message) {
- $header = "From: ".EMAILFROM."\n";
- $header.= "MIME-Version: 1.0\n";
-/*
- if (preg_match('#^[a-z0-9._-]+@(hotmail|live|msn).[a-z]{2,4}$#', $recipient)) {
- $header = str_replace("\n", "\r\n", $header);
- $message = str_replace("\n", "\r\n", $header);
- }
-*/
- $message="Bonjour,\n\n".$message."\n\n".
- mail($recipient,EMAILTAGSUJET.' '.$sujet,$message,$header);
-}
-
-function urlGen($act,$id,$alias_full) {
- $idUrl=base64_encode($id.';'.$alias_full);
- if (URLREWRITE_START && URLREWRITE_MIDDLE && URLREWRITE_END) {
- return URLREWRITE_START.$act.URLREWRITE_MIDDLE.$idUrl.URLREWRITE_END;
- } else {
- return URLPAGE."?act=".$act."&value=".$idUrl;
- }
-}
-function urlUnGen($get_value) {
- $explode_get_value = explode(';', base64_decode($get_value));
- $return['id']=$explode_get_value[0];
- $return['alias_full']=$explode_get_value[1];
- return $return;
-}
-
-// Source http://css-tricks.com/serious-form-security/
-function StripCleanToHtml($s){
- // Restores the added slashes (ie.: " I\'m John " for security in output, and escapes them in htmlentities(ie.: " etc.)
- // Also strips any tags it may encouter
- // Use: Anything that shouldn't contain html (pretty much everything that is not a textarea)
- return htmlentities(trim(strip_tags(stripslashes($s))), ENT_NOQUOTES, "UTF-8");
-}
-function CleanToHtml($s){
- // Restores the added slashes (ie.: " I\'m John " for security in output, and escapes them in htmlentities(ie.: " etc.)
- // It preserves any tags in that they are encoded aswell (like <html>)
- // As an extra security, if people would try to inject tags that would become tags after stripping away bad characters,
- // we do still strip tags but only after htmlentities, so any genuine code examples will stay
- // Use: For input fields that may contain html, like a textarea
- return strip_tags(htmlentities(trim(stripslashes($s))), ENT_NOQUOTES, "UTF-8");
-}
-
-//////////////////
-// Admin function
-//////////////////
-
-function CheckUpdate() {
- if (CHECKUPDATE) {
- if (! is_file(DATA.'/checkupdate') || filemtime(DATA.'/checkupdate') + CHECKUPDATE < time()) {
- $ep_get_version = @file_get_contents('http://poubelle.zici.fr/ep_checkupdate');
- $ep_version_file=fopen(DATA.'/checkupdate','w');
- fputs($ep_version_file, $ep_get_version);
- fclose($ep_version_file);
- if (DEBUG) { echo 'ep_checkupdate_downloaded : '.file_get_contents(DATA.'/checkupdate').'\n'; }
- }
- $file_current_version = trim(file_get_contents(DATA.'/checkupdate'));
- if ($file_current_version != '' && $file_current_version != VERSION) {
- return '
Upgrade note: Your version is in '.VERSION.' while the current version is in '.$file_current_version.'
';
- } else {
- return false;
- }
- }
-}
-
-function LifeExpire() {
- global $dbco;
- try {
- $deletecmd = $dbco->prepare("DELETE FROM ".DBTABLEPREFIX."alias WHERE dateExpir IS NOT NULL AND dateExpir < '".date('Y-m-d H:i:s')."'");
- $deletecmd->execute();
- } catch ( PDOException $e ) {
- echo "DB error : ", $e->getMessage();
- die();
- }
-}
-
-// Vérifie que le domaine de l'alias est bien dans la configuration
-function domainePresent($postDom) {
- $domains = explode(';', DOMAIN);
- $return=true;
- if (count($domains) == 1) {
- if (!preg_match('#'.$postDom.'#',DOMAIN)) {
- $return=false;
- }
- } else {
- foreach ($domains as $one_domain) {
- if (!preg_match('#'.$postDom.'#',$one_domain)) {
- $return=false;
- }
- }
- }
- return $return;
-}
-// Vérifie que l'email n'est pas un alias avec un domain "poubelle" (éviter boucle forward)
-function emailIsAlias($postemail) {
- $domains = explode(';', DOMAIN);
- $return=false;
- if (count($domains) == 1) {
- if (preg_match('#'.DOMAIN.'$#',$postemail)) {
- $return=true;
- }
- } else {
- foreach ($domains as $one_domain) {
- if (preg_match('#'.$one_domain.'$#',$postemail)) {
- $return=true;
- }
- }
- }
- return $return;
-}
-
-
-function get_ip() {
- // IP si internet partagé
- if (isset($_SERVER['HTTP_CLIENT_IP'])) {
- return $_SERVER['HTTP_CLIENT_IP'];
- }
- // IP derrière un proxy
- elseif (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
- return $_SERVER['HTTP_X_FORWARDED_FOR'];
- }
- // Sinon : IP normale
- else {
- return (isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : '');
- }
-}
-
-// Fonction langues :
-function languesSwitch() {
- echo '
-
';
-}
-
-function lang2locale($langue) {
- global $langueEtLocalDispo;
- if ($langueEtLocalDispo[$langue] != '') {
- return $langueEtLocalDispo[$langue];
- } else {
- // par défaut
- return 'en_US';
- }
-}
-function locale2lang($localeRecherche) {
- global $langueEtLocalDispo;
- foreach($langueEtLocalDispo as $code=>$locale) {
- if ($locale == $localeRecherche) {
- return $code;
- break;
- }
- }
- // par défaut
- return 'en';
-}
-
-// Ajoute la langue à une URL qui n'en a pas
-function addLang2url($lang) {
- global $_SERVER;
- $URIexplode=explode('?', $_SERVER['REQUEST_URI']);
- if ($URIexplode[1] != '') {
- return $URIexplode[0].$URIexplode[1].'&langue='.$lang;
- } else {
- return $URIexplode[0].'?langue='.$lang;
- }
-}
-function replaceLang2url($lang) {
- global $_SERVER;
- $URIexplode=explode('?', $_SERVER['REQUEST_URI']);
- $debutUrl=substr($URIexplode[0], 0, -langCountChar($URIexplode[0]));
- if ($URIexplode[1] != '') {
- return $debutUrl.$lang.'?'.$URIexplode[1];
- } else {
- return $debutUrl.$lang;
- }
-}
-function langCountChar($url) {
- // $url reçu c'est l'URL avant la query : ?machin=1
- if (preg_match('#/sr-Cyrl-ME$#',$url)) {
- return 10;
- } elseif (preg_match('#/[a-z]{2}-[A-Z]{2}$#',$url)) {
- return 5;
- } elseif (preg_match('#/[a-z]{3}-[A-Z]{2}$#',$url)) {
- return 6;
- } elseif (preg_match('#/[a-z]{3}$#',$url)) {
- return 3;
- } elseif (preg_match('#/[a-z]{2}$#',$url)) {
- return 2;
- }
-}
-?>
diff --git a/src/lib/ep_header.php b/src/lib/ep_header.php
deleted file mode 100644
index dfa88e8..0000000
--- a/src/lib/ep_header.php
+++ /dev/null
@@ -1,67 +0,0 @@
- 'fr_FR',
- 'en' => 'en_US',
- 'it' => 'it_IT',
- );
-
-
-// Détection et redirection (langue toujours)
-if (isset($_POST['langSwitch'])) {
- $locale = lang2locale($_POST['langSwitch']);
- $localeshort=locale2lang($locale);
- if ($_COOKIE['langue'] != $localeshort) {
- setcookie("langue",$localeshort,strtotime( '+1 year' ));
- }
-} elseif (isset($_COOKIE['langue'])) {
- $locale = lang2locale($_COOKIE['langue']);
- $lang=locale2lang($locale);
- //header('Location: '.addLang2url($lang));
-} else {
- $HTTP_ACCEPT_LANGUAGE=$_SERVER['HTTP_ACCEPT_LANGUAGE'];
- //echo $HTTP_ACCEPT_LANGUAGE.'
';
- $lang_from_http_accept = explode(',', $HTTP_ACCEPT_LANGUAGE);
- //echo $lang_from_http_accept[0].'
';
- $locale = lang2locale($lang_from_http_accept[0]);
- if (substr($locale,0,2) != substr($lang_from_http_accept[0],0,2)) {
- //echo "Non trouvé, 2ème tentative";
- $lang_from_http_accept = explode('-', $lang_from_http_accept[0]);
- //echo $lang_from_http_accept[0].'
';
- $locale = lang2locale($lang_from_http_accept[0]);
- }
- //echo $locale.'
';
- $lang = locale2lang($locale);
- //echo $lang.'
';
-}
-
-// Définition de la langue :
-$results=putenv("LC_ALL=$locale.utf8");
-if (!$results) {
- exit ('putenv failed');
-}
-$results=putenv("LC_LANG=$locale.utf8");
-if (!$results) {
- exit ('putenv failed');
-}
-$results=putenv("LC_LANGUAGE=$locale.utf8");
-if (!$results) {
- exit ('putenv failed');
-}
-$results=setlocale(LC_ALL, "$locale.utf8");
-if (!$results) {
- exit ('setlocale failed: locale function is not available on this platform, or the given local does not exist in this environment');
-}
-bindtextdomain("messages", LANG);
-textdomain("messages");
-
-?>
diff --git a/src/lib/fr.png b/src/lib/fr.png
deleted file mode 100644
index 1b14ae3..0000000
Binary files a/src/lib/fr.png and /dev/null differ
diff --git a/src/lib/it.png b/src/lib/it.png
deleted file mode 100644
index 9921958..0000000
Binary files a/src/lib/it.png and /dev/null differ
diff --git a/src/lib/status0.png b/src/lib/status0.png
deleted file mode 100644
index 12d374f..0000000
Binary files a/src/lib/status0.png and /dev/null differ
diff --git a/src/lib/status3.png b/src/lib/status3.png
deleted file mode 100644
index fb45fe6..0000000
Binary files a/src/lib/status3.png and /dev/null differ
diff --git a/src/lib/status5.png b/src/lib/status5.png
deleted file mode 100644
index 4cb5f4b..0000000
Binary files a/src/lib/status5.png and /dev/null differ
diff --git a/src/lib/sup.png b/src/lib/sup.png
deleted file mode 100644
index 6fc4d3b..0000000
Binary files a/src/lib/sup.png and /dev/null differ
diff --git a/src/var/aliasdeny.txt b/src/var/aliasdeny.txt
deleted file mode 100644
index e3cb516..0000000
--- a/src/var/aliasdeny.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-/^root$/
-/^mail$/
-/^email$/
-/^test$/
-/^toto$/
-/^www-data$/
-/^www-owne$/
-/^manager$/
-/^admin$/
-/postmaster/
-/^MAILER-DAEMON$/
-/^abuse$/
-/^spam$/
-/^backup$/
-/^list$/
-/^nobody$/
-/^vmail$/
-/^mysql$/
-/^web$/
-/^git$/
-/^mail$/
-/^[1-9]+$/
diff --git a/src/var/blacklist.txt b/src/var/blacklist.txt
deleted file mode 100644
index 407e9a0..0000000
--- a/src/var/blacklist.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-/^exemple@exemple.com$/
-/.pl$/
-/^exemple[1-9]+@toto.fr$/
-/@yopmail.com$/
-/^harou/
-/@gmx.com$/
-/^sportnet/
diff --git a/src/www/admin.php b/src/www/admin.php
deleted file mode 100644
index 23d29eb..0000000
--- a/src/www/admin.php
+++ /dev/null
@@ -1,197 +0,0 @@
-
-
-
-
emailPoubelle Admin - Template-exemple
-
-
-
-
-
-
-
-
-
-
-
-
- = _('Emails trash free') ?> - = _('Admin space') ?>
- = _('Generate trash emails without lifetime constraint') ?>.
-
- Let the Show Begin - Pre and Code
- This is how it looks if you use pre
and code
together, for example to highlight and nicely markup a piece of code:
- pre { font-size : 12px; background : #F0F0F0; }
- Example Blockquote
- If you want to quote somebody, you can use this perfectly semantic example for a blockquote:
- Jonas Jacek
-
- During my years in the Internet Marketing business I have seen and done many things I never thought would be of interest to me or anyone else.
-
- Examples Alerts, Notice & Confirmation
- These sample styles for alerts and notices are useful if you want to use the template in content management systems.
- Alert: This is how an alert looks like.
- Notice: This is how a notice looks like.
- Confirmation: This is how a confirmation looks like.
- Example Table
- The following is the design for a table. The style is simple and user-friendly. Some of the effects were made with CSS3.
-
- Mini HTML5 Reference Guide
-
-
- Tag
- Info
- Attributes
-
-
- <abbr>
- abbreviation
- global attributes**
-
-
- <area>
- in an image map
- alt, coords, href, hreflang, media, ping, rel, shape, target, type
-
-
- <article>
- article/ content
- global attributes**
-
-
- <aside>
- sidebar
- global attributes**
-
-
- <audio>
- sound content
- autobuffer, autoplay, controls, loop, src
-
-
- <b>
- bold text
- global attributes**
-
-
-
- Example hCalendar
- The following is a definition list in combination with the hCalendar microformat.
-
- 11-18-2010
- Conference Name
- http://www.conference-website.com/
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi nec eleifend diam. Fusce lobortis odio ac sem scelerisque sed iaculis purus ornare.
-
- Example Video
- You can put your Video-Files here...
- your browser does not support the video tag
- Example Audio
- You can put your Audio-Files here...
- your browser does not support the audio tag
- Example Lists
- Two different kinds of lists were styled: Ordered lists (ol) and unordered (ul) lists.
-
- This is
- The Ordered
- Listing
-
-
- This is
- The Unordered
- Listing
-
- Example Form
- This is how a form will look like in this template.
-
-
-
-
- Search
-
-
-
- About the Author
-
-
-
Hi, my name is Jonas Jacek . Welcome to my new HTML5 / CSS3 blog.
-
I am a web designer, web developer and Internet marketing enthusiast.
-
I strongly believe in open-source software and open standards.
-
-
- Navigation
-
-
- Example Gallery
-
-
- AdSpace
-
-
-
- Example Blogroll
-
- Example Tag Cloud
-
-
-
-
-
-
diff --git a/src/www/index.php b/src/www/index.php
deleted file mode 100644
index 444d413..0000000
--- a/src/www/index.php
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
emailPoubelle - Template-exemple
-
-
-
-
-
-
-
-
-
-
-
-
- = _('Emails trash free') ?>
- = _('Generate trash emails without lifetime constraint') ?>.
-
-
-
-
diff --git a/src/www/template-exemple/ai1.png b/src/www/template-exemple/ai1.png
deleted file mode 100644
index 62ed67a..0000000
Binary files a/src/www/template-exemple/ai1.png and /dev/null differ
diff --git a/src/www/template-exemple/ai2.png b/src/www/template-exemple/ai2.png
deleted file mode 100644
index ee83ebe..0000000
Binary files a/src/www/template-exemple/ai2.png and /dev/null differ
diff --git a/src/www/template-exemple/ai3.png b/src/www/template-exemple/ai3.png
deleted file mode 100644
index d6ef43d..0000000
Binary files a/src/www/template-exemple/ai3.png and /dev/null differ
diff --git a/src/www/template-exemple/ai4.png b/src/www/template-exemple/ai4.png
deleted file mode 100644
index 581eeec..0000000
Binary files a/src/www/template-exemple/ai4.png and /dev/null differ
diff --git a/src/www/template-exemple/ai5.png b/src/www/template-exemple/ai5.png
deleted file mode 100644
index a59b68c..0000000
Binary files a/src/www/template-exemple/ai5.png and /dev/null differ
diff --git a/src/www/template-exemple/ai6.png b/src/www/template-exemple/ai6.png
deleted file mode 100644
index 4a6b487..0000000
Binary files a/src/www/template-exemple/ai6.png and /dev/null differ
diff --git a/src/www/template-exemple/ai7.png b/src/www/template-exemple/ai7.png
deleted file mode 100644
index 2605b61..0000000
Binary files a/src/www/template-exemple/ai7.png and /dev/null differ
diff --git a/src/www/template-exemple/ai8.png b/src/www/template-exemple/ai8.png
deleted file mode 100644
index ad32853..0000000
Binary files a/src/www/template-exemple/ai8.png and /dev/null differ
diff --git a/src/www/template-exemple/hd.jpg b/src/www/template-exemple/hd.jpg
deleted file mode 100644
index 1c172b4..0000000
Binary files a/src/www/template-exemple/hd.jpg and /dev/null differ
diff --git a/src/www/template-exemple/html5-ie.js b/src/www/template-exemple/html5-ie.js
deleted file mode 100644
index 3fd3ade..0000000
--- a/src/www/template-exemple/html5-ie.js
+++ /dev/null
@@ -1,10 +0,0 @@
-document.createElement("header");
-document.createElement("footer");
-document.createElement("section");
-document.createElement("aside");
-document.createElement("nav");
-document.createElement("article");
-document.createElement("figure");
-document.createElement("figcaption");
-document.createElement("hgroup");
-document.createElement("time");
diff --git a/src/www/template-exemple/image-1.png b/src/www/template-exemple/image-1.png
deleted file mode 100644
index 3df828f..0000000
Binary files a/src/www/template-exemple/image-1.png and /dev/null differ
diff --git a/src/www/template-exemple/img1.png b/src/www/template-exemple/img1.png
deleted file mode 100644
index 2f7da49..0000000
Binary files a/src/www/template-exemple/img1.png and /dev/null differ
diff --git a/src/www/template-exemple/img2.png b/src/www/template-exemple/img2.png
deleted file mode 100644
index 7f96f2a..0000000
Binary files a/src/www/template-exemple/img2.png and /dev/null differ
diff --git a/src/www/template-exemple/img3.png b/src/www/template-exemple/img3.png
deleted file mode 100644
index d6f95eb..0000000
Binary files a/src/www/template-exemple/img3.png and /dev/null differ
diff --git a/src/www/template-exemple/img4.png b/src/www/template-exemple/img4.png
deleted file mode 100644
index 7e97bb4..0000000
Binary files a/src/www/template-exemple/img4.png and /dev/null differ
diff --git a/src/www/template-exemple/img5.png b/src/www/template-exemple/img5.png
deleted file mode 100644
index 2dc26ef..0000000
Binary files a/src/www/template-exemple/img5.png and /dev/null differ
diff --git a/src/www/template-exemple/img6.png b/src/www/template-exemple/img6.png
deleted file mode 100644
index dff318b..0000000
Binary files a/src/www/template-exemple/img6.png and /dev/null differ
diff --git a/src/www/template-exemple/jabz-logo.png b/src/www/template-exemple/jabz-logo.png
deleted file mode 100644
index d0b6852..0000000
Binary files a/src/www/template-exemple/jabz-logo.png and /dev/null differ
diff --git a/src/www/template-exemple/jonas-jacek.png b/src/www/template-exemple/jonas-jacek.png
deleted file mode 100644
index 151f01e..0000000
Binary files a/src/www/template-exemple/jonas-jacek.png and /dev/null differ
diff --git a/src/www/template-exemple/readme.txt b/src/www/template-exemple/readme.txt
deleted file mode 100644
index bc86176..0000000
--- a/src/www/template-exemple/readme.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-####################################################
-# License #
-####################################################
-
-This W3C-compliant, CSS-based website template has a
-Creative Commons Attribution-Share Alike 3.0
-Unported License.
->> http://creativecommons.org/licenses/by-sa/3.0/
-
-
-####################################################
-# What You Can Do #
-####################################################
-
-Feel free to remix, copy, distribute and transmit
-this template. All I ask is that you keep the
-footer links in the template intact. Also, if you
-alter, transform, or build upon this work, you
-may distribute the resulting work only under the
-same, similar or a compatible license.
-
-
-####################################################
-# Feedback & Action #
-####################################################
-
-I'd love to get your feedback on the template.
-Please contact me with your critics, ideas, etc.
->> http://www.jabz.info/contact/jonas-jared-jacek/
-
-If you like to contribute your remix, I will be
-more than happy to put your version on owmx.com
-and credit you in http://www.owmx.com/credits/.
-
diff --git a/src/www/template-exemple/style.css b/src/www/template-exemple/style.css
deleted file mode 100644
index 3342dc4..0000000
--- a/src/www/template-exemple/style.css
+++ /dev/null
@@ -1,442 +0,0 @@
-/*==================================================
-Template: OWMX-2
-Resource: http://www.owmx.com/
-Version: 1.0
-Date: 2010-09-13
-Editor: Jonas Jacek
-License: CC Attribution-Share Alike 3.0 Unported
-==================================================*/
-
-/* Reset */
-header, footer, article, nav, section, aside, time, hgroup {
- display : block;
-}
-html, body, header, footer, article, nav, section, aside, time, h1, h2, h3, p, a, ul, li, dl, dd, dt, table, thead, tfoot, tbody, th, tr, td {
- border : 0;
- font : 12px/22px Verdana, sans-serif;
- margin : 0;
- outline : 0;
- padding : 0;
-}
-
-/* BASICS */
-BODY {
- background : #FFF;
- border-top : 5px solid #FFF;
- color : #444;
-}
-
-A {
- color : #0A647C;
- text-decoration : none;
- }
- A:HOVER {
- color : #DB0202;
- }
-
-H1, H3, H4, H5, H6 {
- background : url(./ai4.png) no-repeat 0 7px;
- border-bottom : 1px dotted #B5B3A9;
- color : #333;
- font-weight : bold;
- margin : 0 0 10px;
- padding : 0 0 0 25px;
- }
- H1 {
- background : url(./ai4.png) no-repeat 0 6px;
- font-size : 15px;
- }
- H2 {
- font-size : 14px;
- margin : 0 0 20px 0;
- }
- H3 {
- background : url(./ai5.png) no-repeat 0 7px;
- }
- H3, H4, H5, H6 {
- font-size : 13px;
- }
-
-SUP {
- top : -4px;
-}
-
-/* Header */
-header {
- -moz-border-radius : 4px;
- -webkit-border-radius : 4px;
- background : #006699 url(./hd.jpg) no-repeat top left;
- margin : 0 0 10px 0;
- padding : 10px 10px;
- position : relative;
- }
- header a {
- color : #FFF;
- font-size : 16px;
- }
- header a:hover {
- color : #FFF;
- }
-
-/* Article */
-article {
- border-left : 1px dotted #666;
- float : right;
- height : auto;
- padding : 0 0 0 20px;
- width : 560px;
- }
- article p {
- margin : 0 0 20px 0;
- }
- article img {
- float : left;
- margin : 6px 10px 0 0;
- }
-
-/* Highlighted Paragraphs */
-.highlight-1, .highlight-2, .highlight-3 {
- -moz-border-radius : 4px;
- -webkit-border-radius : 4px;
- padding : 5px 10px;
-}
- .highlight-1 {
- background : #FFCCCC;
- border : 1px dotted #FF9966;
- }
- .highlight-2 {
- background : #FFFF99;
- border : 1px dotted #FFCC33;
- }
- .highlight-3 {
- background : #CCFF99;
- border : 1px dotted #CCCC33;
- }
-
-/* Citations & Quotes */
-cite {
- border-left: 2px solid #006699;
- color : #666;
- font-size : 10px;
- font-style : normal;
- font-weight : bold;
- margin : 0;
- padding : 5px 10px;
-}
-
-blockquote {
- border-left: 2px solid #006699;
- color : #666;
- margin : 0 0 20px 0;
- padding : 5px 10px;
-}
-
-/* Pre & Code */
-pre {
- color : #333;
- font-size : 10px;
- line-height : 15px; /*--Height of each line of code--*/
- overflow : hidden; /*--If the Code exceeds the width, put "auto" and scrolling is available--*/
- overflow-Y : hidden; /*--Hides vertical scroll created by IE--*/
- }
- pre code {
- background : #EEE;
- border-left : 2px solid #006699;
- margin : 0 0 10px 0;
- padding : 5px;
- display : block;
- }
-
-/* Table */
-table {
- border-collapse : collapse;
- text-align:left;
- margin : 0 0 20px 0;
- }
- caption {
- -moz-border-radius : 4px;
- -webkit-border-radius : 4px;
- background : #006699;
- color : #FFF;
- font-weight : bold;
- }
- tr:nth-child(odd) {
- background : #FFF;
- }
- tr:nth-child(even) {
- background : #DDD;
- }
- tr:hover td {
- color : #006699;
- }
- td, th {
- min-width : 120px;
- padding : 0 5px;
- vertical-align:top;
- }
- th {
- background : #FFF;
- border-bottom : 2px solid #006699;
- color : #666;
- font-size : 10px;
- font-weight : bold;
- }
- td {
- border-bottom : 1px solid #CCC;
- font-size : 10px;
- }
-
-/* Calendar */
-dl.vevent {
- margin : -20px 0 20px 0;
- padding : 0;
- }
- .vevent dt {
- font-size : 10px;
- position : relative;
- left : 0;
- top : 22px;
- font-weight : bold;
- }
- .vevent dd
- {
- border-left : 2px solid #006699;
- font-size : 11px;
- margin : 0 0 0 80px;
- padding : 0 0 0 10px;
- }
- dd.summary {
- font-weight : bold;
- }
- .vevent a {
- font-size : 11px;
- }
-
-/* Forms */
-article form {
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- background : #DDD;
- margin : 0 0 20px;
- padding : 10px;
- }
- article label {
- color : #666;
- display : block;
- font-size : 10px;
- font-weight : bold;
- margin : 0 0 0 2px;
- }
- article input, article textarea {
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- border : 1px solid #CCC;
- font-size : 11px;
- padding : 4px 5px;
- /*width : 458px;*/
- }
- article input {
- margin : 0 0 10px;
- }
- article input.button, .btn {
- background: #999;
- border : 1px solid #888;
- color: #FFF;
- cursor : pointer;
- font-weight : bold;
- margin : 10px 0 0 0;
- text-shadow : 0 -1px 1px rgba(0,0,0,0.25);
- width : 25%;
- }
- article input.button:disabled, .btn{
- color: #888;
- }
- article textarea {
- height : 100px;
- }
-
-/* Lists */
-article ul, aside ul {
- list-style : none;
- margin : 0 0 20px 0;
- }
- article ul {
- margin : 0 0 20px 23px;
- }
- article ul li {
- background : url(./ai2.png) no-repeat 0 8px;
- padding : 0 0 0 17px;
- }
-
-/* Sidebar */
-aside {
- float : left;
- margin : 0 0 20px 0;
- width : 200px;
-}
-
-/* Search Box */
-.s {
- -moz-border-radius : 4px;
- -webkit-border-radius : 4px;
- margin : 0 0 20px 0;
- padding : 10px;
- width : 179px;
- }
- .s input {
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- border : 1px solid #CCC;
- color : #999;
- font-size : 11px;
- padding : 4px 5px;
- width : 168px;
- }
-
-/* Navigation & Menu */
-nav ul {
- list-style : none;
- }
- nav li {
- background : url(./ai1.png) no-repeat 0 8px;
- padding : 0 0 0 15px;
- }
- nav li ul, aside li ul li ul {
- margin : 0;
- }
- nav li li a {
- font-size : 11px;
- }
- nav li li li a {
- font-size : 10px;
- }
- nav li li li, aside li.active li li {
- background : url(./ai8.png) no-repeat 0 10px;
- }
- nav li.active, aside li.active li {
- background : url(./ai2.png) no-repeat 0 8px;
- }
-
-/* Gallery */
-.gallery {
- list-style : none;
- margin : 0 0 10px;
- }
- .gallery li {
- display: inline;
- margin : 0 15px 0 0;
- }
- .gallery a img {
- border : 1px solid #999;
- height : 50px;
- opacity: 0.8;
- padding : 1px;
- width : 50px;
- }
- .gallery li:last-child {
- margin : 0 0 10px 0;
- }
- .gallery a img:hover{
- opacity: 1;
- }
-
-/* Ad Space */
-.adspace {
- -moz-border-radius : 4px;
- -webkit-border-radius : 4px;
- -moz-box-shadow : 0 2px 2px rgba(0,0,0,0.3);
- -webkit-box-shadow : 0 2px 2px rgba(0,0,0,0.3);
- background : #EEE;
- height : 100%;
- margin : 0 0 20px 0;
- padding : 5px 10px;
- text-align : center;
- width : 178px;
- }
- .adspace a img {
- border : none;
- }
-
-/* Tag Cloud */
-#tagcloud {
- overflow : hidden;
- width : 200px;
- }
- #tagcloud li {
- display : inline;
- margin : 0 10px 0 0;
- }
- .tagcloudsize-1 a {
- font-size : 14px;
- }
- .tagcloudsize-2 a {
- font-size : 16px;
- }
- .tagcloudsize-3 a {
- font-size : 18px;
- }
-
-/* Footer */
-footer {
- border-top : 1px dotted #B5B3A9;
- clear : both;
- margin : 20px 0;
- }
- footer a, footer p {
- color : #666;
- display : inline;
- font-size : 10px;
- }
-
-/* Wrappers */
-#a, #b {
- margin : 0 auto;
- position : relative;
- }
- #a {
- width : 800px;
- }
- #b {
- overflow : hidden;
- }
-
-/* Shadow-Boxes*/
-#c, .meta, .s {
- -moz-border-radius : 4px;
- -webkit-border-radius : 4px;
- -moz-box-shadow : 0 2px 2px rgba(0,0,0,0.3);
- -webkit-box-shadow : 0 2px 2px rgba(0,0,0,0.3);
- background : #EEE;
- }
- #c {
- background : #EEE;
- margin : 0 0 20px 0;
- padding : 5px 10px;
- width : 178px;
- }
- #c p, #c a {
- font-size : 11px;
- line-height : 15px;
- }
- #c p {
- margin : 0 0 10px 0;
- }
- #c img {
- float : left;
- margin : 4px 10px 2px 0;
- }
- .meta {
- margin : 20px 0 3px;
- padding : 2px 5px;
- }
- .meta p, .meta a {
- font-size : 10px;
- margin : 0;
- }
-
-.open {
- color : #CCC;
-}
-.close {
- color : #0A647C;
-}