checkbikeno($bikenum);
     rent($userid, $bikenum, TRUE);
     break;
 case "forcereturn":
     logrequest($userid, $action);
     checksession();
     checkprivileges($userid);
     $bikenum = trim($_GET["bikeno"]);
     $stand = trim($_GET["stand"]);
     $note = "";
     if (isset($_GET["note"])) {
         $note = trim($_GET["note"]);
     }
     checkbikeno($bikenum);
     checkstandname($stand);
     returnBike($userid, $bikenum, $stand, $note, TRUE);
     break;
 case "where":
     logrequest($userid, $action);
     checksession();
     $bikenum = trim($_GET["bikeno"]);
     checkbikeno($bikenum);
     where($userid, $bikenum);
     break;
 case "removenote":
     logrequest($userid, $action);
     checksession();
     checkprivileges($userid);
     checkbikeno($bikenum);
     removenote($userid, $bikenum);
     break;
     rent($sms->Number(), $args[1]);
     //intval
     break;
 case "RETURN":
     validateReceivedSMS($sms->Number(), count($args), 3, _('with bike number and stand name:') . " RETURN 47 RACKO");
     returnBike($sms->Number(), $args[1], $args[2], trim(urldecode($sms->Text())));
     break;
 case "FORCERENT":
     checkUserPrivileges($sms->Number());
     validateReceivedSMS($sms->Number(), count($args), 2, _('with bike number:') . " FORCERENT 47");
     rent($sms->Number(), $args[1], TRUE);
     break;
 case "FORCERETURN":
     checkUserPrivileges($sms->Number());
     validateReceivedSMS($sms->Number(), count($args), 3, _('with bike number and stand name:') . " FORCERETURN 47 RACKO");
     returnBike($sms->Number(), $args[1], $args[2], trim(urldecode($sms->Text())), TRUE);
     break;
 case "WHERE":
 case "WHO":
     validateReceivedSMS($sms->Number(), count($args), 2, _('with bike number:') . " WHERE 47");
     where($sms->Number(), $args[1]);
     break;
 case "INFO":
     validateReceivedSMS($sms->Number(), count($args), 2, _('with stand name:') . " INFO RACKO");
     info($sms->Number(), $args[1]);
     break;
 case "NOTE":
     validateReceivedSMS($sms->Number(), count($args), 2, _('with bike number/stand name and problem description:') . " NOTE 47 " . _('Flat tire on front wheel'));
     note($sms->Number(), $args[1], trim(urldecode($sms->Text())));
     break;
 case "TAG":