Esempio n. 1
0
      </div>';
        break;
    case '2':
        echo '
      </div>
         <div id="col_LB" class="collapse navbar-toggleable-sm col-sm-4">';
        leftblocks();
        rightblocks();
        echo '
            </div>
         </div>
      </div>';
        break;
    default:
        echo '
      </div>
      <div id="col_LB" class="collapse navbar-toggleable-sm col-sm-4">';
        leftblocks();
        rightblocks();
        echo '
            </div>
         </div>
      </div>';
        break;
}
// ContainerGlobal permet de transmettre · Theme-Dynamic un élément de personnalisation après
// le chargement de footer.html / Si vide alors rien de plus n'est affiché par TD
$ContainerGlobal = "\n</div>\n";
// Ne supprimez pas cette ligne / Don't remove this line
require_once "themes/themes-dynamic/footer.php";
// Ne supprimez pas cette ligne / Don't remove this line
Esempio n. 2
0
$details = mysql_fetch_array($result);
if ($totalonline > $details['amount']) {
    SQL_Query_exec("UPDATE mostonline SET amount = {$totalonline}");
    SQL_Query_exec("UPDATE mostonline SET date = now()");
}
$date1 = date("D, d M Y H:i:s", strtotime($details['date']));
// Most users online end
//CODE
if ($site_config["LEFTNAV"]) {
    # Changed.
    if (isset($_COOKIE["blockswitcher"]) && $_COOKIE["blockswitcher"] == "left") {
        $blocks = leftblocks();
        $block = "left";
    }
    if (isset($_COOKIE["blockswitcher"]) && $_COOKIE["blockswitcher"] == "right") {
        $blocks = rightblocks();
        $block = "right";
    }
    if (!isset($_COOKIE["blockswitcher"])) {
        leftblocks();
    } else {
        echo $blocks;
    }
    // echo $blocks;
    if ($block == "left") {
        $link = "<a href='./themes/NB-TT-2c/blockswitcher.php?switch=right'><img src='/themes/NB-TT-2c/images/tool.png' border='0'></a>";
    } else {
        $link = "<a href='./themes/NB-TT-2c/blockswitcher.php?switch=left'><img src='/themes/NB-TT-2c/images/stats.png' border='0'></a>";
    }
    ?>
            </td>