if ($id == 0) {
        // add the listing
        $objExpertiseSolution = new ExpertiseSolution();
        $objExpertiseSolution->SolutionName = $_REQUEST["solution_name"];
        $objExpertiseSolution->SolutionSubheading = $_REQUEST["solution_subheading"];
        $objExpertiseSolution->SolutionText = $_REQUEST["solution_text"];
        $objExpertiseSolution->Create();
        // redirect to listing list
        header("Location:expertisesolution_list.php");
        exit;
    } else {
        $objExpertiseSolution = new ExpertiseSolution($_REQUEST["id"]);
        $objExpertiseSolution->SolutionName = $_REQUEST["solution_name"];
        $objExpertiseSolution->SolutionSubheading = $_REQUEST["solution_subheading"];
        $objExpertiseSolution->SolutionText = $_REQUEST["solution_text"];
        $objExpertiseSolution->Update();
        // redirect to listing list
        header("Location:expertisesolution_list.php");
        exit;
    }
} else {
    if ($_REQUEST['mode'] == 'e') {
        //listing
        $objExpertiseSolution = new ExpertiseSolution($id);
        $solution_name = $objExpertiseSolution->SolutionName;
        $solution_subheading = $objExpertiseSolution->SolutionSubheading;
        $solution_text = $objExpertiseSolution->SolutionText;
    }
}
include "includes/pagetemplate.php";
function PageContent()