I have got something seriously wrong as my lib-common file is only 4401 lines in total. (I am numbering the lines using Programmers Notepad2).
Text Formatted Code
// +---------------------------------------------------------------------------+
// | Geeklog 1.4 |
// +---------------------------------------------------------------------------+
// | lib-common.php |
// | |
// | Geeklog common library. |
Text Formatted Code
// +---------------------------------------------------------------------------+
// | Geeklog 1.4.0sr5-1 |
// +---------------------------------------------------------------------------+
Text Formatted Code
if( COM_isFrontpage() )
{
$sql .= " AND (tid = 'all' AND type <> 'layout')";
}
else
{
$sql .= " AND (tid = 'homeonly' OR (tid = 'all' AND type <> 'layout'))";
}
}
if( !empty( $_USER['boxes'] ))
{
$BOXES = str_replace( ' ', ',', $_USER['boxes'] );
$sql .= " AND (bid NOT IN ($BOXES) OR bid = '-1')";
}
$sql .= ' ORDER BY blockorder,title asc';