Salut
Pour quoi changer, pour quoi ne pas créer une nouvelle variable ex: $bgcolor_image1 = '<img src="AAA" alt="BBB" />CCC</img>';
J'ai fait une recherche pour le mot $bgcolor1 dans le dossier de pragmamx (nouvelle installation) résultat 119 occurrences ,
trois exemple
1- html :
<tr bgcolor="<?php echo $bgcolor1 ?>"><td><font class="content">
2- php :
$bgcolor1 = helper_colors::correctlen($bgcolor1);
9 - css:
$content .= "<select name=\"uname\" size=\"$onlinelistsize\" style=\" background-color: $bgcolor1; font-size: 9px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; color: $textcolor1; width: 90%; border: 1px solid $bgcolor2; text-decoration: none; padding-left: 1px; padding-top: 1px; padding-bottom: 1px;\" $script>" . $whoonlineselect . "</select>";
voici un commentaire qui explique à quoi sert ces couleur, trouvé dans mx_api_2.php
/**
* Define colors for your web site. $bgcolor2 is generaly
* used for the tables border as you can see on OpenTable()
* function, $bgcolor1 is for the table background and the
* other two bgcolor variables follows the same criteria.
* $texcolor1 and 2 are for tables internal texts
*/