Improved code organisation
[infodrom.org/service.infodrom.org] / src / InfoCon / account / list.wml
index fc05bda..22e872a 100644 (file)
   if (strlen($_POST[statement])) {
     $where[] = "statement = '$_POST[statement]'";
   }
+
   if (strlen($_POST[category])) {
     $where[] = "category = '$_POST[category]'";
   }
+
   if (strlen($_POST[keyword])) {
     $where[] = "descr ~* '$_POST[keyword]'";
   }
+
   if (strlen($_POST[from_to])) {
     $where[] = "from_to = '$_POST[from_to]'";
   }
+
   if ($_POST[input] && !$_POST[output]) {
     $where[] = "$value > 0.0";
   } elseif ($_POST[output] && !$_POST[input]) {