diff --git a/ColorPicker/CP_Class.js b/ColorPicker/CP_Class.js
deleted file mode 100755
index 4eb0175..0000000
--- a/ColorPicker/CP_Class.js
+++ /dev/null
@@ -1,260 +0,0 @@
-StringBuilder = function()
-{
- this.arrStr = [];
- this.Append = function( inVAL )
- {
- this.arrStr[this.arrStr.length] = inVAL;
- };
- this.toString = function()
- {
- return this.arrStr.join('');
- };
- this.Init = function()
- {
- this.arrStr = null;
- this.arrStr = [];
- }
-};
-
-var objSB = new StringBuilder();
-
-var arrGray = ['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'];
-var arrSafe = ['00','33','66','99','CC','FF'];
-var arrSys = [['D4D0C8', 'ActiveBorder'],['0A246A', 'ActiveCaption'],['808080', 'AppWorkspace'],['3A6EA5', 'Background'],['D4D0C8', 'ButtonFace'],['FFFFFF', 'ButtonHighlight'],['808080', 'ButtonShadow'],['000000', 'ButtonText'],['FFFFFF', 'CaptionText'],['808080', 'GrayText'],['0A246A', 'Highlight'],['FFFFFF', 'HighlightText'],['D4D0C8', 'InactiveBorder'],['0A246A', 'InactiveCaption'],['D4D0C8', 'InactiveCaptionText'],['FFFFE1', 'InfoBackground'],['000000', 'InfoText'],['D4D0C8', 'Menu'],['000000', 'MenuText'],['D4D0C8', 'Scrollbar'],['404040', 'ThreedDarkShadow'],['D4D0C8', 'ThreedFace'],['FFFFFF', 'ThreedHighlight'],['D4D0C8', 'ThreedLightShadow'],['808080', 'ThreedShadow'],['FFFFFF', 'Window'],['000000', 'WindowFrame'],['000000', 'WindowText']];
-var arrName = [['FF0000', 'red'],['FFFF00', 'yellow'],['00FF00', 'lime'],['00FFFF', 'cyan'],['0000FF', 'blue'],['FF00FF', 'magenta'],['FFFFFF', 'white'],['F5F5F5', 'whitesmoke'],['DCDCDC', 'gainsboro'],['D3D3D3', 'lightgrey'],['C0C0C0', 'silver'],['A9A9A9', 'darkgray'],['808080', 'gray'],['696969', 'dimgray'],['000000', 'black'],['2F4F4F', 'darkslategray'],['708090', 'slategray'],['778899', 'lightslategray'],['4682B4', 'steelblue'],['4169E1', 'royalblue'],['6495ED', 'cornflowerblue'],['B0C4DE', 'lightsteelblue'],['7B68EE', 'mediumslateblue'],['6A5ACD', 'slateblue'],['483D8B', 'darkslateblue'],['191970', 'midnightblue'],['000080', 'navy'],['00008B', 'darkblue'],['0000CD', 'mediumblue'],['1E90FF', 'dodgerblue'],['00BFFF', 'deepskyblue'],['87CEFA', 'lightskyblue'],['87CEEB', 'skyblue'],['ADD8E6', 'lightblue'],['B0E0E6', 'powderblue'],['F0FFFF', 'azure'],['E0FFFF', 'lightcyan'],['AFEEEE', 'paleturquoise'],['48D1CC', 'mediumturquoise'],['20B2AA', 'lightseagreen'],['008B8B', 'darkcyan'],['008080', 'teal'],['5F9EA0', 'cadetblue'],['00CED1', 'darkturquoise'],['00FFFF', 'aqua'],['40E0D0', 'turquoise'],['7FFFD4', 'aquamarine'],['66CDAA', 'mediumaquamarine'],['8FBC8F', 'darkseagreen'],['3CB371', 'mediumseagreen'],['2E8B57', 'seagreen'],['006400', 'darkgreen'],['008000', 'green'],['228B22', 'forestgreen'],['32CD32', 'limegreen'],['00FF00', 'lime'],['7FFF00', 'chartreuse'],['7CFC00', 'lawngreen'],['ADFF2F', 'greenyellow'],['98FB98', 'palegreen'],['90EE90', 'lightgreen'],['00FF7F', 'springgreen'],['00FA9A', 'mediumspringgreen'],['556B2F', 'darkolivegreen'],['6B8E23', 'olivedrab'],['808000', 'olive'],['BDB76B', 'darkkhaki'],['B8860B', 'darkgoldenrod'],['DAA520', 'goldenrod'],['FFD700', 'gold'],['F0E68C', 'khaki'],['EEE8AA', 'palegoldenrod'],['FFEBCD', 'blanchedalmond'],['FFE4B5', 'moccasin'],['F5DEB3', 'wheat'],['FFDEAD', 'navajowhite'],['DEB887', 'burlywood'],['D2B48C', 'tan'],['BC8F8F', 'rosybrown'],['A0522D', 'sienna'],['8B4513', 'saddlebrown'],['D2691E', 'chocolate'],['CD853F', 'peru'],['F4A460', 'sandybrown'],['8B0000', 'darkred'],['800000', 'maroon'],['A52A2A', 'brown'],['B22222', 'firebrick'],['CD5C5C', 'indianred'],['F08080', 'lightcoral'],['FA8072', 'salmon'],['E9967A', 'darksalmon'],['FFA07A', 'lightsalmon'],['FF7F50', 'coral'],['FF6347', 'tomato'],['FF8C00', 'darkorange'],['FFA500', 'orange'],['FF4500', 'orangered'],['DC143C', 'crimson'],['FF0000', 'red'],['FF1493', 'deeppink'],['FF00FF', 'fuchsia'],['FF69B4', 'hotpink'],['FFB6C1', 'lightpink'],['FFC0CB', 'pink'],['DB7093', 'palevioletred'],['C71585', 'mediumvioletred'],['800080', 'purple'],['8B008B', 'darkmagenta'],['9370DB', 'mediumpurple'],['8A2BE2', 'blueviolet'],['4B0082', 'indigo'],['9400D3', 'darkviolet'],['9932CC', 'darkorchid'],['BA55D3', 'mediumorchid'],['DA70D6', 'orchid'],['EE82EE', 'violet'],['DDA0DD', 'plum'],['D8BFD8', 'thistle'],['E6E6FA', 'lavender'],['F8F8FF', 'ghostwhite'],['F0F8FF', 'aliceblue'],['F5FFFA', 'mintcream'],['F0FFF0', 'honeydew'],['FAFAD2', 'lightgoldenrodyellow'],['FFFACD', 'lemonchiffon'],['FFF8DC', 'cornsilk'],['FFFFE0', 'lightyellow'],['FFFFF0', 'ivory'],['FFFAF0', 'floralwhite'],['FAF0E6', 'linen'],['FDF5E6', 'oldlace'],['FAEBD7', 'antiquewhite'],['FFE4C4', 'bisque'],['FFDAB9', 'peachpuff'],['FFEFD5', 'papayawhip'],['FFF5EE', 'seashell'],['FFF0F5', 'lavenderblush'],['FFE4E1', 'mistyrose'],['FFFAFA', 'snow']];
-
-var intTdDisp = intTblDisp = 0;
-var i = j = k = 0;
-var objCurrent = objGray = objSafe = objSys = objName = objLegend = objPreview = objSelected = objPreviewTxt = objSelectedTxt = objGlobal = null;
-var strColor = '', strColorTxt = '', strCurrent = '';
-
-fctTblFeed = function()
-{
- if (intTdDisp != 16) {
- for (i = intTdDisp; i < 16; i++) {
- objSB.Append('
| ');
- intTblDisp++;
- }
- }
- if (intTblDisp != 256) {
- for (i = intTblDisp; i < 256; i++) {
- if (i % 16 == 0) {objSB.Append('');}
- objSB.Append(' | ');
- }
- }
-};
-
-fctIsInSys = function(strColor)
-{
- var strOut = '';
- for (ii = 0; ii < arrSys.length; ii++) {
- if (arrSys[ii][0] == strColor) {strOut = arrSys[ii][1]; break;}
- }
- return strOut;
-};
-
-fctIsInName = function(strColor)
-{
- var strOut = '';
- for (ii = 0; ii < arrName.length; ii++) {
- if (arrName[ii][0] == strColor) {strOut = arrName[ii][1]; break;}
- }
- return strOut;
-};
-
-fctOver = function(strColor, strTxt)
-{
- objPreview.style.backgroundColor = strColor;
- objPreviewTxt.innerHTML = strColor + '
' + strTxt;
-};
-
-fctOut = function()
-{
- objPreview.style.backgroundColor = '';
- objPreviewTxt.innerHTML = '';
-};
-
-fctSetColor = function(strColor, strTxt)
-{
- strCurrent = strColor;
- objSelected.style.backgroundColor = strColor;
- objSelectedTxt.innerHTML = strColor + '
' + strTxt;
-};
-
-fctSelect = function(strArr, strTxt)
-{
- objLegend.innerHTML = ' ' + strTxt + ' ';
- objGray.style.display = (strArr == 'Gray') ? 'block' : 'none';
- objSafe.style.display = (strArr == 'Safe') ? 'block' : 'none';
- objSys.style.display = (strArr == 'Sys') ? 'block' : 'none';
- objName.style.display = (strArr == 'Name') ? 'block' : 'none';
-};
-
-fctHide = function()
-{
- fctReset();
- objGlobal.style.display = 'none';
- objCurrent = null;
-};
-
-fctReset = function()
-{
- objSelected.style.backgroundColor = '';
- objSelectedTxt.innerHTML = '';
- strCurrent = '';
-};
-
-fctOk = function()
-{
- objCurrent.value = strCurrent.toUpperCase();
- fctHide();
-};
-
-fctShow = function(objForm)
-{
- if (objForm) {
- objCurrent = objForm;
- if (objForm.value + '' != '') {
- strColor = objForm.value.replace('#', '');
- strColorTxt = '' + fctIsInName(strColor);
- if (strColorTxt == '') {strColorTxt = '' + fctIsInSys(strColor);}
- fctSetColor('#' + strColor, strColorTxt)
- } else {
- fctReset();
- }
- fctSelect('Name', 'Named');
- }
- if (objCurrent) {
- var w = h = t = l = 0;
- if (self.innerHeight) {
- w = self.innerWidth;
- h = self.innerHeight;
- } else if (document.documentElement && document.documentElement.clientHeight) {
- w = document.documentElement.clientWidth;
- h = document.documentElement.clientHeight;
- } else if (document.body) {
- w = document.body.clientWidth;
- h = document.body.clientHeight;
- }
- if (self.pageYOffset) {
- l = self.pageXOffset;
- t = self.pageYOffset;
- } else if (document.documentElement && document.documentElement.scrollTop) {
- l = document.documentElement.scrollLeft;
- t = document.documentElement.scrollTop;
- } else if (document.body) {
- l = document.body.scrollLeft;
- t = document.body.scrollTop;
- }
- if (objGlobal.style.display != 'block') {objGlobal.style.display = 'block';}
- objGlobal.style.top = parseInt(((h - objGlobal.offsetHeight) / 2) + t, 10) + 'px';
- objGlobal.style.left = parseInt(((w - objGlobal.offsetWidth) / 2) + l, 10) + 'px';
- }
-};
-
-fctLoad = function()
-{
- var objDiv = document.createElement('DIV');
- objDiv.id = 'objCP';
- objDiv.style.display = 'inline';
- document.body.appendChild(objDiv);
- objDiv.innerHTML = objSB.toString();
- var objPreview = document.getElementById('objPreview');
- var objSelected = document.getElementById('objSelected');
- var objPreviewTxt = document.getElementById('objPreviewTxt');
- var objSelectedTxt = document.getElementById('objSelectedTxt');
- var objGlobal = document.getElementById('tblGlobal');
- var objGray = document.getElementById('tblGray');
- var objSafe = document.getElementById('tblSafe');
- var objSys = document.getElementById('tblSys');
- var objName = document.getElementById('tblName');
- var objLegend = document.getElementById('objLegend');
- fctSelect('Name', 'Named');
-};
-
-objSB.Append(' |
|
');
-objSB.Append('');
-objSB.Append(' | | ');
-objSB.Append(' | | ');
-objSB.Append(' |
');
-objSB.Append(' |
');
diff --git a/ColorPicker/ColorPicker.css b/ColorPicker/ColorPicker.css
deleted file mode 100755
index c409bf0..0000000
--- a/ColorPicker/ColorPicker.css
+++ /dev/null
@@ -1,94 +0,0 @@
-/*TABLE, THEAD, TBODY, TFOOT, TH, TR, TD {
- margin : 0px;
- padding : 0px;
- border-spacing : 0px;
-}
-FIELDSET {
- padding : 0px;
- margin : 0px;
- color : black;
-}
-LEGEND {
- font-family : Tahoma;
- font-size : 10pt;
- color : black;
-}*/
-A.color, A.color:active, A.color:visited {
- position : relative;
- display : block;
- text-decoration : none;
- width : 10px;
- height : 10px;
- line-height : 10px;
- margin : 0px;
- padding : 0px;
- border : 1px inset white;
-}
-A.color:hover {
- border : 1px outset white;
-}
-A.none, A.none:active, A.none:visited, A.none:hover {
- position : relative;
- display : block;
- text-decoration : none;
- width : 10px;
- height : 10px;
- line-height : 10px;
- margin : 0px;
- padding : 0px;
- cursor : default;
- border : 0px solid threedface;
-}
-.tblColor {
- display : none;
-}
-.tdColor {
- padding : 1px;
-}
-.tblContainer {
-/* background-color : threedface;*/
- background-color : #2e2e2e;
- z-index: 110;
-}
-.tblGlobal {
- position : absolute;
- top : 0px;
- left : 0px;
- display : none;
-/* background-color : threedface;*/
- background-color : #2e2e2e;
- border : 2px outset;
- z-index: 110;
-}
-.tdContainer {
- padding : 5px;
-}
-.tdDisplay {
- width : 50%;
- height : 20px;
- line-height : 20px;
- border : 1px outset white;
-}
-.tdDisplayTxt {
- width : 50%;
- height : 24px;
- line-height : 12px;
- font-family : Tahoma;
- font-size : 8pt;
- color : white;
- text-align : center;
-}
-.btnColor {
- width : 100%;
- font-family : Tahoma;
- font-size : 10pt;
- padding : 0px;
- margin : 0px;
-}
-.btnPalette {
- width : 100%;
- font-family : Tahoma;
- font-size : 8pt;
- padding : 0px;
- margin : 0px;
-}
diff --git a/ColorPicker/color.gif b/ColorPicker/color.gif
deleted file mode 100755
index 0b58656..0000000
Binary files a/ColorPicker/color.gif and /dev/null differ
diff --git a/ColorPicker/index.html b/ColorPicker/index.html
deleted file mode 100755
index e69de29..0000000
diff --git a/admin.php b/admin.php
index b228564..8d2275c 100755
--- a/admin.php
+++ b/admin.php
@@ -106,7 +106,7 @@
if (!$db->sql_query($query)) die("erreur SQL");
$query = "OPTIMIZE TABLE " . TABLE_ATTAQUES_RECYCLAGES;
if (!$db->sql_query($query)) die("erreur SQL");
- echo "nettoyage effectuée
";
+ echo "nettoyage effectuée
";
}
// Fin du nettoyage
// Connexion Xtense2
@@ -129,26 +129,9 @@
$db->sql_query($query);
}
-// Appel des Javscripts pour le Colorpicker - Pris à Oxyfox et REStyler
-echo "
-
-";
// cadre autour des paramètres
echo "
-Activer le layer " . help("layer") . " : |
+Activer le layer " . help("attaques_layer") . " : |
|
- Valeur d'opacité " . help("transparence") . " : |
+ Valeur d'opacité " . help("attaques_transparence") . " : |
% |
@@ -198,39 +181,31 @@
echo "