• » webSPELL.org - Free Content Management System
  • Language switch: English German
  • login



    » lost password?   » register now
  • About webSPELL

    webSPELL is a free Content Management System which was especially developed for the needs of esport related communities. Since a short while we are also offering an optimized and enhanced webSPELL version for the special requirements of non-profit organisations. The purpose of both systems is to offer a professional and free opportunity to create and administrate your own website in an easy and optimized way.

    » Learn more about webSPELL     » Download webSPELL now!
  • Advertisement

    Follow us

  • Sort:     printview


    To start or to reply to a topic you have to be registered and logged in!

    register now
    login
    Author
    Message
    webSPELL newbie
    15 Posts
    28.05.2011, 00:40 email offline quote 

    <?php
    if(!isset($_GET['site']) || $site == 'news')
    include("*.php");
    ?>

    Inserted this code, and now it works. All content moved to *.php file. Thanks for the help all.
    webSPELL user
    440 Posts
    26.05.2011, 00:27 offline quote 

    hi,

    post ur index.php

    cu

    ps.:
    Yes my first code was wrong, but the Code of henning should work:
    Code:
    1.
    if(!isset($_GET['site']) || $site == 'news')
    webSPELL newbie
    15 Posts
    25.05.2011, 22:47 email offline quote 

    Schalla wrote:

    Site is always set, if site isn't set by anything it get's set in the sourcecode, but the problem might be that it first get set in the include.

    Try this:

    Code:
    1.
    2.
    3.
    $site = htmlspecialchars($_GET['site']);
    if($site == 'news'){
    }




    Yet another HTTP-fejl 500 (Internal Server Error) unglücklich(
    webSPELL user
    201 Posts
    25.05.2011, 22:38 email offline quote 

    Site is always set, if site isn't set by anything it get's set in the sourcecode, but the problem might be that it first get set in the include.

    Try this:

    Code:
    1.
    2.
    3.
    $site = htmlspecialchars($_GET['site']);
    if($site == 'news'){
    }


    webSPELL newbie
    15 Posts
    25.05.2011, 22:32 email offline quote 

    HenningK wrote:

    Pazia wrote:

    Hello Bisakun

    Thanks for the tip. But now the code doesn't show up at all. lächeln

    Any ideas why?


    cause $site is normally always set. Try instead

    Code:
    1.
    if(!isset($_GET['site']) || $site == 'news')


    HTTP-fejl 500 (Internal Server Error) unglücklich
    webSPELL lover
    1023 Posts
    25.05.2011, 22:29 offline quote 

    Pazia wrote:

    Hello Bisakun

    Thanks for the tip. But now the code doesn't show up at all. lächeln

    Any ideas why?


    cause $site is normally always set. Try instead

    Code:
    1.
    if(!isset($_GET['site']) || $site == 'news')

    http://www.henningk.de | no support for addons etc. via PN or IM.
    webSPELL newbie
    15 Posts
    25.05.2011, 22:28 email offline quote 

    Hello Bisakun

    Thanks for the tip. But now the code doesn't show up at all. lächeln

    Any ideas why?
    webSPELL user
    440 Posts
    25.05.2011, 22:22 offline quote 

    Hi, try this one

    Code:
    1.
    2.
    3.
    4.
    5.
    6.
    7.
    <?php
    if(!isset($site)){
    ?>
    INSERT YOUR WIDGET CODE HERE
    <?php
    }
    ?>
    webSPELL newbie
    15 Posts
    25.05.2011, 22:03 email offline quote 

    Hello people.

    We have this website, www.viborg-esport.dk - At the right sidebar, we have a advertisement from one of the sponsors. But they would like it to ONLY be designed on the "frontpage".

    Is this possible?

    They suggested this code:


    <?php
    if(is_front_page()){
    ?>
    INSERT YOUR WIDGET CODE HERE
    <?php
    }
    ?>

    I applied it, but then the whole sidebar on the right is screwed up. Can someone assist me on this matter, please?

    website: viborg-esport.dk
    version: 4.2.2
    Sort:     printview


    To start or to reply to a topic you have to be registered and logged in!

    register now
    login
  • » Support

    » Topics
    20.06.2013 - 03:45 - 4 Replies
    » Event dates only go up to...
    Event dates only go up to 2009!
    Last post: janet1989
    Board: EN - General support
    20.06.2013 - 03:45
    20.06.2013 - 03:44 - 1 Replies
    » Biete Webprogrammierung /...
    Biete Webprogrammierung / Anpassungen etc. an
    Last post: janet1989
    Board: DE - Suche
    20.06.2013 - 03:44
    20.06.2013 - 03:42 - 5 Replies
    » Origin
    Origin
    Last post: janet1989
    Board: EN - Requests
    20.06.2013 - 03:42
    20.06.2013 - 03:42 - 3 Replies
    » After getting permissions...
    After getting permissions right I can't install
    Last post: janet1989
    Board: EN - General support
    20.06.2013 - 03:42
    20.06.2013 - 01:59 - 0 Replies
    » [4SALE] EXCLUSIVE WEBSITE
    [4SALE] EXCLUSIVE WEBSITE
    Last post: hornyst
    Board: EN - Offers
    20.06.2013 - 01:59
    20.06.2013 - 01:58 - 5 Replies
    » PHP Code wird als Text au...
    PHP Code wird als Text ausgegeben
    Last post: janfolio
    Board: DE - Allgemeiner Support
    20.06.2013 - 01:58
    19.06.2013 - 19:22 - 5 Replies
    » Bewertungs-CMS gesucht!
    Bewertungs-CMS gesucht!
    Last post: Schalla
    Board: DE - Suche
    19.06.2013 - 19:22
    19.06.2013 - 02:59 - 10 Replies
    » [SELL] Gaming Website - E...
    [SELL] Gaming Website - EXCLUSIVE WEBSITE
    Last post: hornyst
    Board: EN - Offers
    19.06.2013 - 02:59
    18.06.2013 - 23:10 - 1 Replies
    » [S] Aufträge Web- und Pri...
    [S] Aufträge Web- und Printdesign
    Last post: neiD-
    Board: DE - Suche
    18.06.2013 - 23:10
    18.06.2013 - 12:30 - 9 Replies
    » Querry Failed Error no 10...
    Querry Failed Error no 1054
    Last post: LoRd
    Board: EN - Technical support
    18.06.2013 - 12:30
    18.06.2013 - 09:43 - 13 Replies
    » webSPELL Bootstrap (respo...
    webSPELL Bootstrap (responsible)
    Last post: sKy-e.belst
    Board: EN - General
    18.06.2013 - 09:43
    18.06.2013 - 01:11 - 1 Replies
    » how can i transform back ...
    how can i transform back to old my website ?
    Last post: Schalla
    Board: EN - Technical support
    18.06.2013 - 01:11
    17.06.2013 - 20:50 - 3 Replies
    » Suche Coder !
    Suche Coder !
    Last post: naki
    Board: DE - Suche
    17.06.2013 - 20:50
    17.06.2013 - 12:48 - 0 Replies
    » [4SALE] Custom team websi...
    [4SALE] Custom team website
    Last post: element-
    Board: EN - Offers
    17.06.2013 - 12:48
    16.06.2013 - 21:21 - 3 Replies
    » update webspell problem
    update webspell problem
    Last post: RUSSHEL
    Board: EN - General support
    16.06.2013 - 21:21
    16.06.2013 - 20:42 - 0 Replies
    » "Make sure you have cooki...
    "Make sure you have cookies enabled" During Login
    Last post: Sasquatch
    Board: EN - General support
    16.06.2013 - 20:42
    16.06.2013 - 16:22 - 8 Replies
    » Farbe von "Dein Profil wu...
    Farbe von "Dein Profil wurde aktualisiert. Du wirst weitergeleitet" ändern!
    Last post: Cali-go
    Board: DE - Allgemeiner Support
    16.06.2013 - 16:22
    16.06.2013 - 16:19 - 2 Replies
    » Sehr erfahrener Programmi...
    Sehr erfahrener Programmierer gesucht (Community,Clanpage)
    Last post: StufF
    Board: DE - Suche
    16.06.2013 - 16:19
    15.06.2013 - 22:39 - 0 Replies
    » portfolio/agency for sale
    portfolio/agency for sale
    Last post: Thoomii
    Board: DE - Biete
    15.06.2013 - 22:39
    15.06.2013 - 16:39 - 2 Replies
    » [4SALE] eSport Design/Tem...
    [4SALE] eSport Design/Template
    Last post: LeG3nDz
    Board: EN - Offers
    15.06.2013 - 16:39
    » Partners
    Bilderkiste.org Image Hosting
    k3rmit.org
    PascalMh.de


    » Blog
    28.03.2013 - derchris
    » Those damn spammers