Nov 24

The Killers Signaturgenerator

Jörn @ 20:23

function get_rgb($hex) {
$hex_array = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
'A' => 10, ‘B’ => 11, ‘C’ => 12, ‘D’ => 13, ‘E’ => 14,
‘F’ => 15);
$hex = str_replace(‘#’, ”, strtoupper($hex));
if (($length = strlen($hex)) == 3) {
$hex = $hex{0}.$hex{0}.$hex{1}.$hex{1}.$hex{2}.$hex{2};
$length = 6;
}
if ($length != 6 or strlen(str_replace(array_keys($hex_array), ”, $hex)))
return NULL;
$rgb['r'] = $hex_array[$hex{0}] * 16 + $hex_array[$hex{1}];
$rgb['g'] = $hex_array[$hex{2}] * 16 + $hex_array[$hex{3}];
$rgb['b']= $hex_array[$hex{4}] * 16 + $hex_array[$hex{5}];
return $rgb['r'].’,’.$rgb['g'].’,’.$rgb['b'];
}

$create_sig_code = 0;

if (!$_POST['bgcolor'] OR !$_POST['bordercolor'] OR !$_POST['text'] OR ($_POST['version'] != 0 AND $_POST['version'] != 1) OR ($_POST['bgtrans'] != 1 AND $_POST['bgtrans'] != 0)) {
$create_sig_code = 0;
} else {
$create_sig_code = 1;
}

if ($create_sig_code != 1) {
?>




Anleitung

Was?

Auf dieser Seite kannst du dir deine eigene The Killers Signatur kreieren.
Mit jedem neuen Laden des Bildes erscheint ein anders The Killers Zitat. Lasse dich überraschen, welche Zitate schon gespeichert sind.

Wie?

Suche dir deine Lieblingsfarben aus und schon bekommst du den Code präsentiert, welchen du überall einfügen kannst, wo du möchtest, dass das Bild erscheint.
Diesen kannst du in jedem beliebigen Forum in deine Signatur einfuuögen oder setze das Bild auf jede andere beliebige Seite.
Du musst dich entscheiden, ob du das große The Killers Bild haben möchtest, welches auch mehrzeilige Zitate anzeigen wird oder ob dir das kleinere Bild besser gefällt. Die kleine Version zeigt allerdings nur einzeilige Zitate an.

Farbwahl

Klicke einfach in ein Feld und der Farbwähler öffnet sich.

Der Farbcode wird in einem speziellen Format angegeben, in Hex-Werten. Du kannst diese auch direkt eingeben oder du wählst bequem die Farbe über den Farbwähler, welcher sich öffnet, wenn du in ein Feld klickst.

Wähle zunächst die Hintergrundfarbe aus:

Entscheide dich nun für eine Rahmenfarbe (kann auch die gleiche Farbe, wie der Hintergrund sein, dann gibt es halt nur keinen Rahmen):

Fehlt noch die Farbe für den Text:

Entscheide dich bitte zwischen der kleinen und großen Variante:

Klein
Groß

Möchtest du, dass der Hintergrund transparent ist?

Ja
Nein

Alles klar, das war’s!
Dann klicke jetzt bitte auf “Senden” und du bekommst deinen Code!

Vielen Dank an Bonnie von Universal (dem Label der Killers) für die Erlaubnis zur Benutzung der Zitate.

How-to

What?

On this site you can create your own The Killers signature picture. With every reload of the image you’ll get another quote of The Killers!
Be surprised how many quotes are already in it!

How

Pick your favorite colors and get your own code for your signature image.
Insert the code wherever you want to display the image!
It will work in every board (e.g. The Killers Community) and every other board too. You can even place it on your website!
You have to pick between two version. The large image displays all quotes however the small one can only show one-line quotes due to the lack of space.
Try out both versions and play around with the colors as often as you want.
You can always come back and create a new The Killers signature image!

Pick your colors

Click in a textfield to pick a color!

The colors are formatted in Hex-values. You can enter them if you know what you are doing by yourself or use the color picker which opens up when you click in the textfield.

First you need to pick a backgroundcolor:

Now pick a color for the border of the image (if you chose the same color as the background you obviously won’t have a border):

Finally pick a color for the text:

Almost done!
Do you want to have the big or the small image version?

Make it big!
No, thanks…

Tell me if you want the background to be transparent (to camouflage in with the background on the website you’re going to use the image on!):

Yes
No

That’s all!
Get your code by clicking on the “Submit” button!

Thanks a lot to Bonnie from the official The Killers website for letting me use these quotes!

} else {

?>


echo "“;

?>

Dein Code

Folgenden Code kannst du direkt in einem Forum einsetzen.
Die Formatierung nennt sich BBCode.

Kopiere einfach den Textcode, in dem du ihn markierst und dann mit der rechten Maustaste “kopieren” auswählst. Oder klicke STRG + C gleichzeitig auf deiner Tastatur.

Your code

You can insert the following code in almost every boards.
This kind of format is called the BBCode.

Simply copy & paste the following text and insert it into your signature in any board. Either copy it by highlightning the text and then select copy after you pushed the right mouse-button or push CONTROL + C on your keyboard.




Und hier die Variante, mit welcher du das Bild auf jeder beliebigen Seite einfügen kannst:

And here is the version you can simply add on any other website:



Ergebnis

…und so sieht dein The Killers Signatur Bild aus:

Result

…and this is how your image will look like:


echo "“;

?>


Du bist mit dem Ergebnis nicht zufrieden? Dann gehe zurück und erstelle ein neues Bild!

You are not satisfied with the result? Then go back and create a new image!

}
?>

Hinterlasse einen Kommentar