function getListStampHtml($atomeName) { $provider = new EPListProvider('../../../php/config.ini'); $supPastille = "<span class='"; if ($provider->getBookForName($atomeName) == EPListProvider::$BOOK_RIMWARD) { $supPastille .= "RW"; } else { if ($provider->getBookForName($atomeName) == EPListProvider::$BOOK_PANOPTICON) { $supPastille .= "PAN"; } else { if ($provider->getBookForName($atomeName) == EPListProvider::$BOOK_SUNWARD) { $supPastille .= "SW"; } else { if ($provider->getBookForName($atomeName) == EPListProvider::$BOOK_GATECRASHING) { $supPastille .= "GC"; } else { if ($provider->getBookForName($atomeName) == EPListProvider::$BOOK_TRANSHUMAN) { $supPastille .= "TH"; } else { if ($provider->getBookForName($atomeName) == EPListProvider::$BOOK_ECLIPSEPHASE) { $supPastille .= "EP"; } } } } } } $supPastille .= "'></span>"; return $supPastille; }