anchor.diff:  
       String tHead = "<TR><TD COLSPAN=2 align=center>${title}</TD></TR>\n" +
           "<TR><TD><B>Date</B></TD><TD><B>Appointment</B></TD></TR>";
  -    ;
  +
   
       output += "\n\n<!-- $vname View -->\n";
       output += "<TABLE ${tClass} ${tAtts}>\n${tHead}\n";
  
positive.code: 
    // Functions
  
    Future<bool> _tableIsCreated() {
      Completer completer = new Completer();
      _pool.query("select * from ${_calTable}").then((result) {
        return completer.complete(true);
      }).catchError((e) {
        return completer.complete(false);
      });
      return completer.future;
    }
  
    _calCreateBogusEntry(int year, int month, int day, int h) async {
      Completer completer = new Completer();
  
      if (!_dataLoaded) {
        String path;
        path = _documentRoot;
  
        var bogus = new File(path + _bdp);
        _lines = bogus.readAsLinesSync();
        _cnt = _lines.length;
        _dataLoaded = true;
      }
  
      DateTime date = new DateTime.utc(year, month, day);
      var query = await _pool
          .prepare("insert into ${_calTable} (date,hm,what) values (?, ?, ?)");
      String what = _lines[_next(0, _cnt - 2)];
      List parameters = [[date.millisecondsSinceEpoch, h * 100, "${what}"]];
      await query.executeMulti(parameters);
  
      return completer.complete;
    }
  
    _calCreateSampleData() async {
      Completer completer = new Completer();
      DateTime today = new DateTime.now();
      for (int im = today.month; im <= 12; im++) for (int id = 4;
          id < 27;
          id += _next(5, 16)) for (int h = 4; h < 22; h += _next(1, 22)) {
        if (im == today.month && id < today.day) continue;
        await _calCreateBogusEntry(today.year, im, id, h);
      }
      return completer.complete;
    }
  
    _calCreateTable() async {
      String crtFields =
          "date int, hm int, what varchar(255), id int auto_increment NOT NULL, KEY (date, hm), PRIMARY KEY(id)";
  
      if (!await _tableIsCreated()) {
        var querier =
            new QueryRunner(_pool, [" create table ${_calTable} (${crtFields})"]);
        await querier.executeQueries();
        await _calCreateSampleData();
        return true;
      } else {
        return true;
      }
    }
  
    calInsert(String date, int hm, String what) {
  
      /*$w = str_replace("'", "\'", $what);
      $row = array('date' => $date, 'hm' => $hm, 'what' => $what);
      if ( ! msDbPreInsert($calTable, $row) )
        return;
      $cmd = msDbInsertSql($calTable, $row) ;
      msDbSql($cmd);*/
    }
  
    jsInfo(String date, int dayZone, String view) {
      String newCal =
          "var cal = new calendar('${_calTable}', ${date}, ${dayZone.toString()}, '${view}') ;";
  
      _ap.writeOutput(
          "<LINK REL=STYLESHEET TYPE=\"text/css\" HREF=\"JSlib/calStyles.css\">\n");
      _ap.writeOutput(
          "<SCRIPT LANGUAGE=\"JavaScript1.2\" SRC=\"JSlib/cal.js\"></SCRIPT>\n");
      _ap.writeOutput("<SCRIPT LANGUAGE=\"javascript\"> ${newCal} </SCRIPT>\n");
    }
  
    calHeader(String date, bool isday) {
      if (!isday) return;
  
      DateTime dartDate = new DateTime(int.parse(date.substring(0, 4)),
          int.parse(date.substring(4, 6)), int.parse(date.substring(6, 8)));
  
      int wday = dartDate.weekday;
      String wdname;
      switch (dartDate.weekday) {
        case DateTime.MONDAY:
  
negative.code:     String mTable1 = ""; // calPrintMtable($date, $date);
      String mTable2 = ""; // calPrintMtable(msdbDayMadd($date), $date);
      String table = '''<TABLE class="calTopTable" BORDER=1>
    <TR><TD VALIGN=TOP ROWSPAN=3>{{leftSide}}</TD><TD>{{mList}}</TD></TR><TR><TD>{{mTable1}}
    </TD></TR><TR><TD>{{mTable2}}</TD></TR></TABLE></BODY></HTML>''';
  
      template = new Template(table, name: 'template-body.html');
      output = template.renderString({
  