function get_parameters($sr, $dbconn)
{
    $inpt = array();
    if ($sr["inputs"] != "") {
        $input = explode(";", $sr["inputs"]);
        foreach ($input as $inpu) {
            $inpus = explode(":", $inpu);
            $default = $inpus[2] == "select" ? $inpus[5] : $inpus[4];
            if ($inpus[4] == "CATEGORY" && $default) {
                $category = $default;
                $default = GetPluginCategoryName($default, $dbconn);
            }
            if ($inpus[4] == "SUBCATEGORY" && $default) {
                $default = GetPluginSubCategoryName(array($category, $default), $dbconn);
            }
            if ($inpus[2] == "checkbox") {
                $default = !$default ? "false" : "true";
            }
            $inpt[] = $inpus[0] . ($default ? ": <b>{$default}</b>" : "");
        }
    }
    return $inpt;
}
 function Description()
 {
     $tmp = "";
     if ($this->criteria[0] != 0) {
         if ($this->criteria[1] != 0) {
             $tmp .= _("Event Category/SubCategory") . ' = (' . GetPluginCategoryName($this->criteria[0], $this->db) . '/' . GetPluginSubCategoryName($this->criteria, $this->db) . ')';
         } else {
             $tmp .= _("Event Category") . ' = (' . GetPluginCategoryName($this->criteria[0], $this->db) . ')';
         }
         $tmp .= $this->cs->GetClearCriteriaString($this->export_name) . '<BR>';
     }
     return $tmp;
 }