Annotation of kcms/src/article.php, revision 1.1

1.1     ! kanaco      1: <?php
        !             2: /*
        !             3: +---------------------------------------------------------------+
        !             4: |      kCMS 0.1.4
        !             5: |      /article.php
        !             6: |
        !             7: |      kCMS.Kanaco.Com
        !             8: |      http://kcms.kanaco.com
        !             9: |      optiK@kcms.kanaco.com
        !            10: |
        !            11: |      
        !            12: |      
        !            13: 
        !            14:        Heavily updated by optiK
        !            15: 
        !            16: +---------------------------------------------------------------+
        !            17: */
        !            18: // This file is now depracated and remains in core for backward compatibilty reasons.
        !            19: 
        !            20: require_once("set.php");
        !            21: 
        !            22: $tmp = explode(".", e_QUERY);
        !            23: $action = $tmp[0];
        !            24: $sub_action = $tmp[1];
        !            25: $id = $tmp[2];
        !            26: 
        !            27: 
        !            28: if($sub_action == 255){        // content page
        !            29:        header("location:".e_BASE."content.php?content.".$action);
        !            30:        exit;
        !            31: }
        !            32: 
        !            33: if($action == 0){      // content page
        !            34:        header("location:".e_BASE."content.php?article");
        !            35:        exit;
        !            36: }else{
        !            37:        header("location:".e_BASE."content.php?review");
        !            38:        exit;
        !            39: }
        !            40: 
        !            41: ?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>