Aren't we all grown-ups ...

Then why login?
Why don't we trust each other?
Freifeld - just assemble!

Open-Source for server installation with a MySQL-DB
Examples to try out: Freifeld Administration:
Details on how freifeld is included in the cleaning schedule example:
<!DOCTYPE HTML>
<?php
  $rows=4;
  if (!empty($_GET)) {
      if ($_GET["d"] != null) {
        $t=strtotime($_GET["d"]);
      }
  }
  if (!isset($t)) {
    $t=time();
  }
?>
<html>
<head>
<title>Der ewige Putzplan, wöchentlich Eintragen bitte</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="Stylesheet" href="style.css" type="text/css" media="screen"/>
<link rel="shortcut icon" type="image/x-icon" href="../favicon.ico"/>
<script type="text/javascript" src="../js/jquery-1.7.min.js"></script>
<?php
  $freifeld_hash='putze';
  include(dirname(__FILE__)."/../freifeld_ajax.php");
?>
<script type="text/javascript" src="../js/scw.min.js"></script>
<title>der ewige Putzplan</title>
</head>
<body>
<h1>der ewige Putzplan</h1><br/>
<form name="dateselect" action="#" method="GET" >anzeigen ab Datum: <input id="dateValue" name="d" onclick="scwShow(this,event);" value="<?php echo(gmdate('d.m.Y', $t)); ?>" size="10"/><input id="dateSbmit" type="submit" name="Submit" value="Zeigen"></form>
<div id="description" class="editable" style="width:100%;height:auto;">
<?php     
 $v=$a["description"];
 if (isset($v)) {
   echo($v);
 } else {
   echo(" ");
 } 
?>
</div>
<table style="border:none; width:100%; height:90%;">
<?php
 for ($r=0; $r<$rows; $r++) {
   $startOfWeek = mktime(0, 0, 0, date("m", $t)  , date("d", $t)-date("w", $t)+1, date("Y", $t));
   $endOfWeek = mktime(0, 0, 0, date("m", $startOfWeek)  , date("d", $startOfWeek)+6, date("Y", $startOfWeek));
   echo("<tr><td style=\"width:200px;\">".date("d.m.", $startOfWeek)."-".date("d.m.", $endOfWeek)." (".date("W", $endOfWeek).". Woche)</td>");
   $f="p" . date("d_m_Y", $startOfWeek);
   echo("<td><div id=\"".$f."\" class=\"editable\">");
   latest($f);
   echo("</div></td>\n");
   echo("</tr>");
   $t=mktime(0, 0, 0, date("m", $t)  , date("d", $t)+7, date("Y", $t));
 }
?>
</table>
<?php writeHistoryControl(); ?>
<!-- Piwik -->
<script type="text/javascript">
  var _paq = _paq || [];
  _paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
  _paq.push(["trackPageView"]);
  _paq.push(["enableLinkTracking"]);

  (function() {
    var u=(("https:" == document.location.protocol) ? "https" : "http") + "://pi.emphasize-it.de/pi/";
    _paq.push(["setTrackerUrl", u+"piwik.php"]);
    _paq.push(["setSiteId", "4"]);
    var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
    g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
  })();
</script>
<!-- End Piwik Code -->
</body>
</html>

© 2017 Martin Hennig - Freifeld is Open Source and licensed under the GNU Lesser General Public License.