All the sources codes "Joke"page 9
PHP
July 21, 2014 am31 11:31
#177
foreach($menus as &$menu) {
$column_count = $menu['count'] / $columns;
$column = 1;
$blocks = array();
foreach($menu['data'] as $md) {
if($md['cumulative_count'] > ( ($column_count * $column) * 1.15 ) ) { /* 15% more height... because fuck you, that's why ! */
$column++;
}
$blocks[$column][] = $md;
}
$menu['blocks'] = $blocks;
}
PHP
July 11, 2014 am31 02:50
#190
// hack for ie browser (assuming that ie is a browser)
PHP
July 05, 2014 am31 04:42
#189
/*
* You may think you know what the following code does.
* But you dont. Trust me.
* Fiddle with it, and youll spend many a sleepless
* night cursing the moment you thought youd be clever
* enough to "optimize" the code below.
* Now close this file and go play with something else.
*/