DansTonCode.net
quote.smartness() == 42Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.@author Martin Golding
Quote #160
javascript
@
author 
Anaeria
0
var number = (( (data.firstname != undefined && data.firstname != "") || (data.lastname != undefined && data.lastname != "") ) ? &#39;<span class="name">&#39; + data.firstname + &#39; &#39; + data.lastname + (((data.country != undefined) == (data.country != "")) ? &#39; (&#39; + data.country + &#39;)&#39; : &#39;&#39; ) + &#39; </span> <br/>&#39; : &#39;&#39; ) + &#39;(&#39; + data.number + &#39;)&#39; + ((data.vid != undefined && data.vid != "") ? &#39;<br/>VID: &#39; + data.vid : &#39;&#39; );
                    
Code-source en javascript proposé par Anaeria
 
 0