; require_once ( "classes/class.sef.php" ) ; $actionString = str_replace ( ".htm" , "" ,$_GET["qstr"] ) ; $arr = explode ( "/" , $actionString ) ; $actionString = $arr[0] ; if ( $actionString == "install" ) { header ( "location:index.php" ) ; exit ( ) ; } $sefurl = new SEFURL () ; $sefURLResult = $sefurl->getURLFromSEF ( $actionString ) ; if ( $sefURLResult ) { switch ( $sefURLResult[0]["ItemType"] ) { case "Article": $articleID = $sefURLResult[0]["ItemID"] ; include ( "article.php" ) ; break ; case "Category": $categoryID = $sefURLResult[0]["ItemID"] ; include ( "category.php" ) ; break ; case "ArticleUser": $authorID = $sefURLResult[0]["ItemID"] ; //$userID = $sefURLResult[0]["ReferenceID"] ; include ( "author.php" ) ; break ; case "SitePage": $pageManagerID = $sefURLResult[0]["ItemID"] ; include ( "page.php" ) ; break ; default: $_SESSION["usermessage"] = "