";
}
$class = ($list_group) ? 'class="list-group-item"' : "";
$uw_link_hier = '
' . $ic . ' Uw link hier?';
echo "
";
$current = 1;
$number = 0;
$prevRub = "";
$multiplier = 0;
while ($rowUrl = $selectUrls->fetch_object()) {
$number++;
if ($current == 1) {
$end = false;
$current++;
$multiplier++;
echo "
";
}
if ($rowUrl->rubrid != $prevRub) {
$number++;
if ($prevRub != '') {
echo "
";
if (floor($totalUrls / 3) * $multiplier < $number && $multiplier <= 2) {
echo "
";
$multiplier++;
}
}
echo "
";
}
echo "
";
} else {
if ($styling && $container) {
echo "";
}
$class = "";
if ($styling && $list_group) {
$class = 'class="list-group-item"';
}
$ic = "";
if ($icon) {
$ic = "
";
}
if ($styling) {
$uw_link_hier = '
' . $ic . ' Uw link hier?';
} else {
$uw_link_hier = '
' . $ic . ' Uw link hier?';
}
if (mysqli_num_rows($selectUrls) != 0) {
$current = 1;
while ($rowUrl = $selectUrls->fetch_object()) {
if ($current == 1) {
$end = false;
echo "
";
}
echo "
";
if ($current == 3) {
$end = true;
echo "
";
$current = 0;
}
$current++;
}
if (!$end) {
if ($current == 2) {
echo '
' . $uw_link_hier . '
';
}
if ($current != 2) {
echo '
' . $uw_link_hier . '
';
}
echo "
";
}
if ($end) {
echo '";
if (mysqli_num_rows($selectUrls) != 0) {
$current = 1;
$number = 0;
$prevRub = "";
$multiplier = 0;
while ($rowUrl = $selectUrls->fetch_object()) {
$number++;
if ($current == 1) {
$end = false;
$current++;
$multiplier++;
echo "
";
}
if ($rowUrl->rubrid != $prevRub) {
$number++;
if ($prevRub != '') {
echo "";
if (floor($totalUrls / 3) * $multiplier < $number && $multiplier <= 2) {
echo "
";
$multiplier++;
}
}
if ($styling) {
echo "
";
} else {
echo "";
}
$prevRub = $rowUrl->rubrid;
if ($styling) {
echo "" . $categoryArray[$rowUrl->rubrid] . " |
";
} else {
echo "" . $categoryArray[$rowUrl->rubrid] . " |
";
}
}
echo ($styling) ? "" : " |
";
if ($styling) {
if ($rowUrl->follow == 'do') {
$te = ($url_u) ? 'underline' : 'none';
echo '' . $ic . $rowUrl->Titel . '';
} else {
echo '' . $ic . $rowUrl->Titel . '';
}
} else {
echo '' . $ic . $rowUrl->Titel . '';
}
echo " |
";
}
}
echo "
";
} else {
if ($styling) {
echo "";
} else {
echo "";
}
$ic = "";
if ($icon) {
$ic = " ";
}
if ($styling) {
$te = ($url_u) ? 'underline' : 'none';
$uw_link_hier = '' . $ic . ' Uw link hier?';
} else {
$uw_link_hier = '' . $ic . ' Uw link hier?';
}
if (mysqli_num_rows($selectUrls) != 0) {
$current = 1;
while ($rowUrl = $selectUrls->fetch_object()) {
if ($current == 1) {
$end = false;
echo "";
}
if ($styling) {
echo "";
} else {
echo " | ";
}
if ($styling) {
$te = ($url_u) ? 'underline' : 'none';
echo '' . $ic . $rowUrl->Titel . '';
} else {
echo '' . $ic . $rowUrl->Titel . '';
}
echo " | ";
if ($current == 3) {
$end = true;
echo "
";
$current = 0;
}
$current++;
}
if (!$end) {
if ($current == 2) {
echo '' . $uw_link_hier . ' | | ';
}
if ($current != 2) {
echo '' . $uw_link_hier . ' | ';
}
echo "";
}
if ($end) {
if ($styling) {
echo "";
} else {
echo " |
";
}
echo $uw_link_hier . ' | | |
';
}
} else {
echo '' . $uw_link_hier . ' | | | |
';
}
echo "
";
}
}
echo "
";
if ($inContent) {
$selectText = mysqli_query($conGB, "SELECT Titel, tekst, follow FROM adv_links WHERE portaldb = '" . $currentDomain . "' AND Verloopdatum > CURRENT_TIMESTAMP() AND days = 0 AND type = 'tekst' AND controle = 'goed' AND tekst != '' AND ((LOWER(tekst) LIKE '%casino%' OR LOWER(tekst) LIKE '%gokkast%' OR LOWER(tekst) LIKE '%slots%'))");
while ($rowText = $selectText->fetch_object()) {
?>
";
echo "";
echo "
";
}