Browse Source

PokiPoki vous permet de transformer n'importe quel script php/hmtl/css/javascript en application bureautique.

idleman 6 years ago
parent
commit
6796bfb3dd
100 changed files with 996 additions and 0 deletions
  1. BIN
      QtCore4.dll
  2. BIN
      QtGui4.dll
  3. BIN
      QtNetwork4.dll
  4. BIN
      QtWebKit.dll
  5. BIN
      QtWebKit4.dll
  6. BIN
      QtWebKitd4.dll
  7. 7 0
      README.md
  8. 117 0
      app/css/fontello.css
  9. 196 0
      app/css/main.css
  10. 48 0
      app/css/reset.css
  11. BIN
      app/font/fontello.eot
  12. 76 0
      app/font/fontello.svg
  13. BIN
      app/font/fontello.ttf
  14. BIN
      app/font/fontello.woff
  15. BIN
      app/icone.ico
  16. 69 0
      app/index.php
  17. 4 0
      app/js/jquery.min.js
  18. 10 0
      app/pokipoki.json
  19. BIN
      app/splash.png
  20. BIN
      libgcc_s_dw2-1.dll
  21. BIN
      lighttpd/CygAttr-1.dll
  22. BIN
      lighttpd/CygBZ2-1.dll
  23. BIN
      lighttpd/CygCrypt-0.dll
  24. BIN
      lighttpd/CygCrypto-1.0.0.dll
  25. BIN
      lighttpd/CygEV.dll
  26. BIN
      lighttpd/CygFAM-0.dll
  27. BIN
      lighttpd/CygGCC_S-1.dll
  28. BIN
      lighttpd/CygGDBM-4.dll
  29. BIN
      lighttpd/CygIconv-2.dll
  30. BIN
      lighttpd/CygIntl-8.dll
  31. BIN
      lighttpd/CygLBER-2-4-2.dll
  32. BIN
      lighttpd/CygLDAP-2-4-2.dll
  33. BIN
      lighttpd/CygLUA-5.1.dll
  34. BIN
      lighttpd/CygLZMA-5.dll
  35. BIN
      lighttpd/CygLightCOMP.dll
  36. BIN
      lighttpd/CygMemCache-0.dll
  37. BIN
      lighttpd/CygMiniRes.dll
  38. BIN
      lighttpd/CygMySQLClient-18.dll
  39. BIN
      lighttpd/CygPCRE-1.dll
  40. BIN
      lighttpd/CygSASL2-2.dll
  41. BIN
      lighttpd/CygSQLite3-0.dll
  42. BIN
      lighttpd/CygSSL-1.0.0.dll
  43. BIN
      lighttpd/CygUUID-1.dll
  44. BIN
      lighttpd/CygWin1.dll
  45. BIN
      lighttpd/CygXML2-2.dll
  46. BIN
      lighttpd/CygZ.dll
  47. 13 0
      lighttpd/GenCert.cmd
  48. 313 0
      lighttpd/OpenSSL.cnf
  49. BIN
      lighttpd/OpenSSL.exe
  50. 1 0
      lighttpd/conf/auth.user
  51. 29 0
      lighttpd/conf/lighttpd.conf
  52. 29 0
      lighttpd/conf/lighttpd.tpl.conf
  53. 81 0
      lighttpd/conf/mimetype.conf
  54. BIN
      lighttpd/modules/mod_access.dll
  55. BIN
      lighttpd/modules/mod_accesslog.dll
  56. BIN
      lighttpd/modules/mod_alias.dll
  57. BIN
      lighttpd/modules/mod_auth.dll
  58. BIN
      lighttpd/modules/mod_cgi.dll
  59. BIN
      lighttpd/modules/mod_cml.dll
  60. BIN
      lighttpd/modules/mod_compress.dll
  61. BIN
      lighttpd/modules/mod_dirlisting.dll
  62. BIN
      lighttpd/modules/mod_evasive.dll
  63. BIN
      lighttpd/modules/mod_evhost.dll
  64. BIN
      lighttpd/modules/mod_expire.dll
  65. BIN
      lighttpd/modules/mod_extforward.dll
  66. BIN
      lighttpd/modules/mod_fastcgi.dll
  67. BIN
      lighttpd/modules/mod_flv_streaming.dll
  68. BIN
      lighttpd/modules/mod_indexfile.dll
  69. BIN
      lighttpd/modules/mod_magnet.dll
  70. BIN
      lighttpd/modules/mod_mysql_vhost.dll
  71. BIN
      lighttpd/modules/mod_proxy.dll
  72. BIN
      lighttpd/modules/mod_redirect.dll
  73. BIN
      lighttpd/modules/mod_rewrite.dll
  74. BIN
      lighttpd/modules/mod_rrdtool.dll
  75. BIN
      lighttpd/modules/mod_scgi.dll
  76. BIN
      lighttpd/modules/mod_secdownload.dll
  77. BIN
      lighttpd/modules/mod_setenv.dll
  78. BIN
      lighttpd/modules/mod_simple_vhost.dll
  79. BIN
      lighttpd/modules/mod_ssi.dll
  80. BIN
      lighttpd/modules/mod_staticfile.dll
  81. BIN
      lighttpd/modules/mod_status.dll
  82. BIN
      lighttpd/modules/mod_trigger_b4_dl.dll
  83. BIN
      lighttpd/modules/mod_userdir.dll
  84. BIN
      lighttpd/modules/mod_usertrack.dll
  85. BIN
      lighttpd/modules/mod_webdav.dll
  86. BIN
      lighttpd/poki_http.exe
  87. 3 0
      logs/error.log
  88. BIN
      mingwm10.dll
  89. BIN
      php/ext/php_bz2.dll
  90. BIN
      php/ext/php_com_dotnet.dll
  91. BIN
      php/ext/php_curl.dll
  92. BIN
      php/ext/php_enchant.dll
  93. BIN
      php/ext/php_exif.dll
  94. BIN
      php/ext/php_fileinfo.dll
  95. BIN
      php/ext/php_gd2.dll
  96. BIN
      php/ext/php_gettext.dll
  97. BIN
      php/ext/php_gmp.dll
  98. BIN
      php/ext/php_imap.dll
  99. BIN
      php/ext/php_interbase.dll
  100. 0 0
      php/ext/php_intl.dll

BIN
QtCore4.dll


BIN
QtGui4.dll


BIN
QtNetwork4.dll


BIN
QtWebKit.dll


BIN
QtWebKit4.dll


BIN
QtWebKitd4.dll


+ 7 - 0
README.md

@@ -2,3 +2,10 @@ pokipoki
 ========
 
 Wrapper bureautique pour PHP
+
+PokiPoki vous permet de transformer n'importe quel script php/hmtl/css/javascript en application bureautique.
+
+Aucune installationr requise, de nombreuses options de personnalisations proposées via le fichier de configuration
+pokipoki.json et une librairie javascript permettant d'utiliser de nombreuses fonctionnalités bureautique (notification, clé de registre, déplacement/agrandissement/fermeture... de la fenetre, execution de commandes systèmes, récuperations d'infos...) il vous est possible de proposer vos site web sous forme d'application windows de manière totalement transparente.
+
+Toute la doc est disponible ici : http://projet.idleman.fr/pokipoki

+ 117 - 0
app/css/fontello.css

@@ -0,0 +1,117 @@
+@font-face {
+  font-family: 'fontello';
+  src: url('../font/fontello.eot?45496543');
+  src: url('../font/fontello.eot?45496543#iefix') format('embedded-opentype'),
+       url('../font/fontello.woff?45496543') format('woff'),
+       url('../font/fontello.ttf?45496543') format('truetype'),
+       url('../font/fontello.svg?45496543#fontello') format('svg');
+  font-weight: normal;
+  font-style: normal;
+}
+/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
+/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
+/*
+@media screen and (-webkit-min-device-pixel-ratio:0) {
+  @font-face {
+    font-family: 'fontello';
+    src: url('../font/fontello.svg?45496543#fontello') format('svg');
+  }
+}
+*/
+ 
+ [class^="icon-"]:before, [class*=" icon-"]:before {
+  font-family: "fontello";
+  font-style: normal;
+  font-weight: normal;
+  speak: none;
+ 
+  display: inline-block;
+  text-decoration: inherit;
+  width: 1em;
+  margin-right: .2em;
+  text-align: center;
+  /* opacity: .8; */
+ 
+  /* For safety - reset parent styles, that can break glyph codes*/
+  font-variant: normal;
+  text-transform: none;
+     
+  /* fix buttons height, for twitter bootstrap */
+  line-height: 1em;
+ 
+  /* Animation center compensation - margins should be symmetric */
+  /* remove if not needed */
+  margin-left: .2em;
+ 
+  /* you can be more comfortable with increased icons size */
+  /* font-size: 120%; */
+ 
+  /* Uncomment for 3D effect */
+  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
+}
+ 
+.icon-resize-full:before { content: '\e83f'; } /* '' */
+.icon-minus:before { content: '\e83e'; } /* '' */
+.icon-search:before { content: '\e800'; } /* '' */
+.icon-heart:before { content: '\e801'; } /* '' */
+.icon-star:before { content: '\e802'; } /* '' */
+.icon-user:before { content: '\e803'; } /* '' */
+.icon-picture:before { content: '\e804'; } /* '' */
+.icon-camera:before { content: '\e805'; } /* '' */
+.icon-menu:before { content: '\e807'; } /* '' */
+.icon-check:before { content: '\e806'; } /* '' */
+.icon-cancel:before { content: '\e808'; } /* '' */
+.icon-help-circled:before { content: '\e810'; } /* '' */
+.icon-info-circled:before { content: '\e80f'; } /* '' */
+.icon-home:before { content: '\e80d'; } /* '' */
+.icon-link:before { content: '\e80e'; } /* '' */
+.icon-lock:before { content: '\e80c'; } /* '' */
+.icon-lock-open:before { content: '\e80b'; } /* '' */
+.icon-eye:before { content: '\e80a'; } /* '' */
+.icon-tag:before { content: '\e809'; } /* '' */
+.icon-bookmark:before { content: '\e811'; } /* '' */
+.icon-download:before { content: '\e812'; } /* '' */
+.icon-upload:before { content: '\e813'; } /* '' */
+.icon-upload-cloud:before { content: '\e814'; } /* '' */
+.icon-reply:before { content: '\e815'; } /* '' */
+.icon-reply-all:before { content: '\e816'; } /* '' */
+.icon-forward:before { content: '\e817'; } /* '' */
+.icon-quote:before { content: '\e818'; } /* '' */
+.icon-code:before { content: '\e819'; } /* '' */
+.icon-export:before { content: '\e81a'; } /* '' */
+.icon-pencil:before { content: '\e81b'; } /* '' */
+.icon-comment:before { content: '\e81c'; } /* '' */
+.icon-chat:before { content: '\e820'; } /* '' */
+.icon-resize-small:before { content: '\e840'; } /* '' */
+.icon-trash:before { content: '\e81d'; } /* '' */
+.icon-newspaper:before { content: '\e81e'; } /* '' */
+.icon-folder:before { content: '\e821'; } /* '' */
+.icon-rss:before { content: '\e822'; } /* '' */
+.icon-cog:before { content: '\e823'; } /* '' */
+.icon-calendar:before { content: '\e824'; } /* '' */
+.icon-clock:before { content: '\e825'; } /* '' */
+.icon-down-open:before { content: '\e826'; } /* '' */
+.icon-left-open:before { content: '\e827'; } /* '' */
+.icon-right-open:before { content: '\e828'; } /* '' */
+.icon-up-open:before { content: '\e829'; } /* '' */
+.icon-down-open-mini:before { content: '\e82a'; } /* '' */
+.icon-left-open-mini:before { content: '\e82b'; } /* '' */
+.icon-right-open-mini:before { content: '\e82c'; } /* '' */
+.icon-up-open-mini:before { content: '\e82d'; } /* '' */
+.icon-down-open-big:before { content: '\e82e'; } /* '' */
+.icon-left-open-big:before { content: '\e82f'; } /* '' */
+.icon-right-open-big:before { content: '\e830'; } /* '' */
+.icon-up-open-big:before { content: '\e831'; } /* '' */
+.icon-ccw:before { content: '\e833'; } /* '' */
+.icon-arrows-ccw:before { content: '\e834'; } /* '' */
+.icon-globe:before { content: '\e832'; } /* '' */
+.icon-flash:before { content: '\e835'; } /* '' */
+.icon-chart-bar:before { content: '\e836'; } /* '' */
+.icon-megaphone:before { content: '\e837'; } /* '' */
+.icon-flow-tree:before { content: '\e838'; } /* '' */
+.icon-cc:before { content: '\e83a'; } /* '' */
+.icon-cc-by:before { content: '\e83b'; } /* '' */
+.icon-cc-nc:before { content: '\e83c'; } /* '' */
+.icon-cc-sa:before { content: '\e83d'; } /* '' */
+.icon-github:before { content: '\e839'; } /* '' */
+.icon-location:before { content: '\e81f'; } /* '' */

+ 196 - 0
app/css/main.css

@@ -0,0 +1,196 @@
+html,body,.window{
+  padding:0;
+
+  margin:0;
+}
+.window{
+  font-family: Arial;
+  overflow: hidden;
+}
+h1{
+  font-size: 20px;
+  font-weight: bold;
+  margin:5px 0 5px;
+}
+small{
+  font-size: 10px;
+}
+.content{
+  padding:3px;
+  background:#222222;
+  color:#ffffff;
+  border-radius: 3px;
+  width:350px;
+  height:78px;
+  margin:10px 0 10px;
+  -webkit-transition:all 0.2s linear;
+  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
+  float:left;
+  text-shadow: 1px 1px 5px #222222;
+  border: 1px solid rgba(0,0,0,0.5);
+  border-bottom: 3px solid rgba(0,0,0,0.5);
+  -webkit-border-radius: 3px;
+  -moz-border-radius: 3px;
+  border-radius: 3px;
+  background: rgba(0,0,0,0.25);
+  -webkit-box-shadow: 
+        0 2px 8px rgba(0,0,0,0.5),
+        inset 0 1px rgba(255,255,255,0.3),
+        inset 0 10px rgba(255,255,255,0.2),
+        inset 0 10px 20px rgba(255,255,255,0.25),
+        inset 0 -15px 30px rgba(0,0,0,0.3);
+        overflow: auto;
+}
+.menu{
+  float:left;
+  margin-left: 10px;
+}
+.menu li{
+  padding:3px;
+  background:#222222;
+  opacity:0.8;
+  color:#ffffff;
+  font-size: 13px;
+  width:130px;
+  line-height: 16px;
+  border-radius: 3px;
+  margin:10px 0 10px;
+  -webkit-transition:all 0.2s linear;
+  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
+  cursor:pointer;
+
+}
+.menu li:hover{
+  background:#2F63E4;
+}
+
+.javascriptExamples ul li:hover{
+  background:#2F63E4;
+}
+
+.javascriptExamples h1{
+  padding:3px;
+  background:#222222;
+  opacity:0.8;
+  color:#ffffff;
+
+  border-radius: 3px;
+  -webkit-transition:all 0.2s linear;
+  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
+  font-size: 15px;
+  font-weight: bold;
+  font-family: Arial;
+  text-shadow: 1px 1px 5px #222222;
+  border: 1px solid rgba(0,0,0,0.5);
+  border-bottom: 3px solid rgba(0,0,0,0.5);
+  -webkit-border-radius: 3px;
+  border-radius: 3px;
+  background: rgba(0,0,0,0.25);
+  -webkit-box-shadow: 
+        0 2px 8px rgba(0,0,0,0.5),
+        inset 0 1px rgba(255,255,255,0.3),
+        inset 0 10px rgba(255,255,255,0.2),
+        inset 0 10px 20px rgba(255,255,255,0.25),
+        inset 0 -15px 30px rgba(0,0,0,0.3);
+}
+
+.javascriptExamples ul li{
+  padding:3px;
+  background:#222222;
+  opacity:0.8;
+  color:#ffffff;
+  border-radius: 3px;
+  margin:5px 0;
+  -webkit-transition:all 0.2s linear;
+  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
+  cursor:pointer;
+
+  -webkit-transition:all 0.2s linear;
+
+}
+
+.content:hover,header:hover,footer:hover{
+  opacity:1;
+}
+header{
+  padding:3px;
+  background:#222222;
+  opacity:0.8;
+  color:#ffffff;
+  cursor:move;
+  border-radius: 3px;
+  -webkit-transition:all 0.2s linear;
+  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
+  font-size: 15px;
+  font-weight: bold;
+  font-family: Arial;
+    text-shadow: 1px 1px 5px #222222;
+  border: 1px solid rgba(0,0,0,0.5);
+  border-bottom: 3px solid rgba(0,0,0,0.5);
+  -webkit-border-radius: 3px;
+  -moz-border-radius: 3px;
+  border-radius: 3px;
+  background: rgba(0,0,0,0.25);
+  -webkit-box-shadow: 
+        0 2px 8px rgba(0,0,0,0.5),
+        inset 0 1px rgba(255,255,255,0.3),
+        inset 0 10px rgba(255,255,255,0.2),
+        inset 0 10px 20px rgba(255,255,255,0.25),
+        inset 0 -15px 30px rgba(0,0,0,0.3);
+}
+footer{
+  padding:3px;
+  background:#222222;
+  opacity:0.8;
+  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
+  color:#ffffff;
+  border-radius: 3px;
+   -webkit-transition:all 0.2s linear;
+     text-shadow: 1px 1px 5px #222222;
+  border: 1px solid rgba(0,0,0,0.5);
+  border-bottom: 3px solid rgba(0,0,0,0.5);
+  -webkit-border-radius: 3px;
+  -moz-border-radius: 3px;
+  border-radius: 3px;
+  background: rgba(0,0,0,0.25);
+  -webkit-box-shadow: 
+        0 2px 8px rgba(0,0,0,0.5),
+        inset 0 1px rgba(255,255,255,0.3),
+        inset 0 10px rgba(255,255,255,0.2),
+        inset 0 10px 20px rgba(255,255,255,0.25),
+        inset 0 -15px 30px rgba(0,0,0,0.3);
+   
+}
+.toolbar li{
+  float:left;
+  cursor:pointer;
+  padding:5px;
+  -webkit-transition:all 0.2s linear;
+}
+.toolbar li:hover{
+  background:#2F63E4;
+}
+.toolbar li:last-child:hover{
+  background:#D71717;
+}
+
+.titleBar{
+  float:left;
+  padding:5px;
+}
+.toolbar{
+   float:right;
+   background:#222222;
+   color:#ffffff;
+   margin-right: 5px;
+}
+.clear{
+  clear:both;
+}
+.strong{
+  font-weight: bold;
+  font-size: 12px;
+}
+a{
+  color:#ffffff;
+}

+ 48 - 0
app/css/reset.css

@@ -0,0 +1,48 @@
+/* http://meyerweb.com/eric/tools/css/reset/ 
+   v2.0 | 20110126
+   License: none (public domain)
+*/
+
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, embed, 
+figure, figcaption, footer, header, hgroup, 
+menu, nav, output, ruby, section, summary,
+time, mark, audio, video {
+	margin: 0;
+	padding: 0;
+	border: 0;
+	font-size: 100%;
+	font: inherit;
+	vertical-align: baseline;
+}
+/* HTML5 display-role reset for older browsers */
+article, aside, details, figcaption, figure, 
+footer, header, hgroup, menu, nav, section {
+	display: block;
+}
+body {
+	line-height: 1;
+}
+ol, ul {
+	list-style: none;
+}
+blockquote, q {
+	quotes: none;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+	content: '';
+	content: none;
+}
+table {
+	border-collapse: collapse;
+	border-spacing: 0;
+}

BIN
app/font/fontello.eot


File diff suppressed because it is too large
+ 76 - 0
app/font/fontello.svg


BIN
app/font/fontello.ttf


BIN
app/font/fontello.woff


BIN
app/icone.ico


+ 69 - 0
app/index.php

@@ -0,0 +1,69 @@
+<?php
+  define('APP_NAME','PokiPoki');
+  define('APP_VERSION','1.0');
+  date_default_timezone_set('Europe/Paris')
+?>
+<html>
+<head>
+  <meta charset="utf-8">
+  <link href="css/fontello.css" rel="stylesheet">
+  <link href="css/reset.css" rel="stylesheet">
+  <link href="css/main.css" rel="stylesheet">
+</head>
+<body>
+  <div class="window">
+    <header>
+    <div class="titleBar"><i class="icon-right-open"></i> <?php echo APP_NAME; ?> v<?php echo APP_VERSION; ?></div>
+    <ul class="toolbar">
+      <li onclick="pokipoki.maximize();"><i class="icon-resize-full"></i></li>
+      <li onclick="pokipoki.minimize();"><i class="icon-resize-small"></i></li>
+      <li onclick="pokipoki.close();"><i class="icon-cancel"></i></li>
+    </ul>
+    <div class="clear"></div>
+  </header>
+    <div class="content">
+      <h1><i class="icon-megaphone"></i>Bienvenue sur <?php echo APP_NAME; ?></h1>
+      <p>Le conteneur bureautique PHP multiplateforme</p>
+      <p><span class="strong">Version de PHP :</span> <?php echo phpversion(); ?></p>
+      <p><span class="strong">Serveur HTTP :</span> <?php echo $_SERVER['SERVER_SOFTWARE']; ?></p>
+    </div>
+    <ul class="menu">
+      <li><i class="icon-home"></i> Accueil</li>
+      <li><i class="icon-newspaper"></i> Documentation</li>
+      <li><i class="icon-help-circled"></i> A propos</li>
+    </ul>
+    <div class="clear"></div>
+    <div class="javascriptExamples">
+      <h1>Exemple de fonctions Javascript/Bureau</h1>
+      <ul>
+        <li onclick="pokipoki.close();">close();</li>
+        <li onclick="$('.content').html(pokipoki.execute('ipconfig'));">execute('ipconfig') : <small>Execute la commande ipconfig et retourne le résultat</small></li>
+        <li onclick="pokipoki.notify('Hello world');">notify('Hello world'); <small>Envois une notification bureautique avec le texte 'Hello world'</small></li>
+        <li onclick="pokipoki.moveWindow(10,10);">moveWindow(10,10); <small>Déplace la fenêtre en x:10px,y:10px</small></li>
+        <li onclick="$('.content').html(pokipoki.getInfo('os'));">getInfo('os'); <small>Récupère l'information du programme "os"</small></li>
+        <li onclick="pokipoki.restore();">restore();<small>Restyore la fenetre en dimension normale (à tester après avoir maximisé la fenetre)</small></li>
+        <li onclick="pokipoki.registry('HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run','test','hello world');">registry (ecriture) <small>Ajoute une clé 'test' content 'hello world' dans le registre HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run</small></li>
+        <li onclick="$('.content').html(pokipoki.registry('HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run','test'));">registry (lecture) <small>Retourne le contenu de la clé de registre test dans HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run</small></li>
+      </ul>
+    </div>
+    <footer>
+      <?php echo APP_NAME; ?> by <a href="http://blog.idleman.fr">Idleman</a> - <i class="icon-cc"></i><i class="icon-cc-by"></i><i class="icon-cc-nc"></i><i class="icon-cc-sa"></i><?php echo date('Y').'-'.date('Y',strtotime('+1 year')); ?>
+    </footer>
+  </div>
+  <script type="text/javascript" src="js/jquery.min.js"></script>
+  <script>
+
+
+    $('header').mousedown(function(){
+      pokipoki.dragStart();
+      $(document).mouseup(function(){
+        pokipoki.dragStop();
+      });
+    });
+    
+    $(document).mousemove(function(event){
+      pokipoki.dragMove(event.pageX,event.pageY);
+    });
+  </script>
+</body>
+</html>

File diff suppressed because it is too large
+ 4 - 0
app/js/jquery.min.js


+ 10 - 0
app/pokipoki.json

@@ -0,0 +1,10 @@
+{
+	"width" : 505,
+	"height" : 700,
+	"x" : 50,
+	"y" : 50,
+	"frameborder" : false,
+	"title" : "PokiPoki",
+	"port" : 8071,
+	"icon" : "app/icone.ico"
+}

BIN
app/splash.png


BIN
libgcc_s_dw2-1.dll


BIN
lighttpd/CygAttr-1.dll


BIN
lighttpd/CygBZ2-1.dll


BIN
lighttpd/CygCrypt-0.dll


BIN
lighttpd/CygCrypto-1.0.0.dll


BIN
lighttpd/CygEV.dll


BIN
lighttpd/CygFAM-0.dll


BIN
lighttpd/CygGCC_S-1.dll


BIN
lighttpd/CygGDBM-4.dll


BIN
lighttpd/CygIconv-2.dll


BIN
lighttpd/CygIntl-8.dll


BIN
lighttpd/CygLBER-2-4-2.dll


BIN
lighttpd/CygLDAP-2-4-2.dll


BIN
lighttpd/CygLUA-5.1.dll


BIN
lighttpd/CygLZMA-5.dll


BIN
lighttpd/CygLightCOMP.dll


BIN
lighttpd/CygMemCache-0.dll


BIN
lighttpd/CygMiniRes.dll


BIN
lighttpd/CygMySQLClient-18.dll


BIN
lighttpd/CygPCRE-1.dll


BIN
lighttpd/CygSASL2-2.dll


BIN
lighttpd/CygSQLite3-0.dll


BIN
lighttpd/CygSSL-1.0.0.dll


BIN
lighttpd/CygUUID-1.dll


BIN
lighttpd/CygWin1.dll


BIN
lighttpd/CygXML2-2.dll


BIN
lighttpd/CygZ.dll


+ 13 - 0
lighttpd/GenCert.cmd

@@ -0,0 +1,13 @@
+@ECHO OFF
+
+MKDIR cert
+
+OpenSSL.exe req -config openssl.cnf -new -x509 -keyout cert/server.pem -out cert/server.pem -days 365 -nodes
+
+ECHO.
+ECHO Done generating self-signed certificate.
+ECHO Press any key to continue...
+
+PAUSE >NUL
+
+EXIT

+ 313 - 0
lighttpd/OpenSSL.cnf

@@ -0,0 +1,313 @@
+#
+# OpenSSL example configuration file.
+# This is mostly being used for generation of certificate requests.
+#
+
+# This definition stops the following lines choking if HOME isn't
+# defined.
+HOME			= .
+RANDFILE		= $ENV::HOME/.rnd
+
+# Extra OBJECT IDENTIFIER info:
+#oid_file		= $ENV::HOME/.oid
+oid_section		= new_oids
+
+# To use this configuration file with the "-extfile" option of the
+# "openssl x509" utility, name here the section containing the
+# X.509v3 extensions to use:
+# extensions		= 
+# (Alternatively, use a configuration file that has only
+# X.509v3 extensions in its main [= default] section.)
+
+[ new_oids ]
+
+# We can add new OIDs in here for use by 'ca' and 'req'.
+# Add a simple OID like this:
+# testoid1=1.2.3.4
+# Or use config file substitution like this:
+# testoid2=${testoid1}.5.6
+
+####################################################################
+[ ca ]
+default_ca	= CA_default		# The default ca section
+
+####################################################################
+[ CA_default ]
+
+dir		= ./demoCA		# Where everything is kept
+certs		= $dir/certs		# Where the issued certs are kept
+crl_dir		= $dir/crl		# Where the issued crl are kept
+database	= $dir/index.txt	# database index file.
+#unique_subject	= no			# Set to 'no' to allow creation of
+					# several ctificates with same subject.
+new_certs_dir	= $dir/newcerts		# default place for new certs.
+
+certificate	= $dir/cacert.pem 	# The CA certificate
+serial		= $dir/serial 		# The current serial number
+crlnumber	= $dir/crlnumber	# the current crl number
+					# must be commented out to leave a V1 CRL
+crl		= $dir/crl.pem 		# The current CRL
+private_key	= $dir/private/cakey.pem# The private key
+RANDFILE	= $dir/private/.rand	# private random number file
+
+x509_extensions	= usr_cert		# The extentions to add to the cert
+
+# Comment out the following two lines for the "traditional"
+# (and highly broken) format.
+name_opt 	= ca_default		# Subject Name options
+cert_opt 	= ca_default		# Certificate field options
+
+# Extension copying option: use with caution.
+# copy_extensions = copy
+
+# Extensions to add to a CRL. Note: Netscape communicator chokes on V2 CRLs
+# so this is commented out by default to leave a V1 CRL.
+# crlnumber must also be commented out to leave a V1 CRL.
+# crl_extensions	= crl_ext
+
+default_days	= 365			# how long to certify for
+default_crl_days= 30			# how long before next CRL
+default_md	= sha1			# which md to use.
+preserve	= no			# keep passed DN ordering
+
+# A few difference way of specifying how similar the request should look
+# For type CA, the listed attributes must be the same, and the optional
+# and supplied fields are just that :-)
+policy		= policy_match
+
+# For the CA policy
+[ policy_match ]
+countryName		= match
+stateOrProvinceName	= match
+organizationName	= match
+organizationalUnitName	= optional
+commonName		= supplied
+emailAddress		= optional
+
+# For the 'anything' policy
+# At this point in time, you must list all acceptable 'object'
+# types.
+[ policy_anything ]
+countryName		= optional
+stateOrProvinceName	= optional
+localityName		= optional
+organizationName	= optional
+organizationalUnitName	= optional
+commonName		= supplied
+emailAddress		= optional
+
+####################################################################
+[ req ]
+default_bits		= 1024
+default_keyfile 	= privkey.pem
+distinguished_name	= req_distinguished_name
+attributes		= req_attributes
+x509_extensions	= v3_ca	# The extentions to add to the self signed cert
+
+# Passwords for private keys if not present they will be prompted for
+# input_password = secret
+# output_password = secret
+
+# This sets a mask for permitted string types. There are several options. 
+# default: PrintableString, T61String, BMPString.
+# pkix	 : PrintableString, BMPString.
+# utf8only: only UTF8Strings.
+# nombstr : PrintableString, T61String (no BMPStrings or UTF8Strings).
+# MASK:XXXX a literal mask value.
+# WARNING: current versions of Netscape crash on BMPStrings or UTF8Strings
+# so use this option with caution!
+string_mask = nombstr
+
+# req_extensions = v3_req # The extensions to add to a certificate request
+
+[ req_distinguished_name ]
+countryName			= Country Name (2 letter code)
+countryName_default		= AU
+countryName_min			= 2
+countryName_max			= 2
+
+stateOrProvinceName		= State or Province Name (full name)
+stateOrProvinceName_default	= Some-State
+
+localityName			= Locality Name (eg, city)
+
+0.organizationName		= Organization Name (eg, company)
+0.organizationName_default	= Internet Widgits Pty Ltd
+
+# we can do this but it is not needed normally :-)
+#1.organizationName		= Second Organization Name (eg, company)
+#1.organizationName_default	= World Wide Web Pty Ltd
+
+organizationalUnitName		= Organizational Unit Name (eg, section)
+#organizationalUnitName_default	=
+
+commonName			= Common Name (eg, YOUR name)
+commonName_max			= 64
+
+emailAddress			= Email Address
+emailAddress_max		= 64
+
+# SET-ex3			= SET extension number 3
+
+[ req_attributes ]
+challengePassword		= A challenge password
+challengePassword_min		= 4
+challengePassword_max		= 20
+
+unstructuredName		= An optional company name
+
+[ usr_cert ]
+
+# These extensions are added when 'ca' signs a request.
+
+# This goes against PKIX guidelines but some CAs do it and some software
+# requires this to avoid interpreting an end user certificate as a CA.
+
+basicConstraints=CA:FALSE
+
+# Here are some examples of the usage of nsCertType. If it is omitted
+# the certificate can be used for anything *except* object signing.
+
+# This is OK for an SSL server.
+# nsCertType			= server
+
+# For an object signing certificate this would be used.
+# nsCertType = objsign
+
+# For normal client use this is typical
+# nsCertType = client, email
+
+# and for everything including object signing:
+# nsCertType = client, email, objsign
+
+# This is typical in keyUsage for a client certificate.
+# keyUsage = nonRepudiation, digitalSignature, keyEncipherment
+
+# This will be displayed in Netscape's comment listbox.
+nsComment			= "OpenSSL Generated Certificate"
+
+# PKIX recommendations harmless if included in all certificates.
+subjectKeyIdentifier=hash
+authorityKeyIdentifier=keyid,issuer
+
+# This stuff is for subjectAltName and issuerAltname.
+# Import the email address.
+# subjectAltName=email:copy
+# An alternative to produce certificates that aren't
+# deprecated according to PKIX.
+# subjectAltName=email:move
+
+# Copy subject details
+# issuerAltName=issuer:copy
+
+#nsCaRevocationUrl		= http://www.domain.dom/ca-crl.pem
+#nsBaseUrl
+#nsRevocationUrl
+#nsRenewalUrl
+#nsCaPolicyUrl
+#nsSslServerName
+
+[ v3_req ]
+
+# Extensions to add to a certificate request
+
+basicConstraints = CA:FALSE
+keyUsage = nonRepudiation, digitalSignature, keyEncipherment
+
+[ v3_ca ]
+
+
+# Extensions for a typical CA
+
+
+# PKIX recommendation.
+
+subjectKeyIdentifier=hash
+
+authorityKeyIdentifier=keyid:always,issuer:always
+
+# This is what PKIX recommends but some broken software chokes on critical
+# extensions.
+#basicConstraints = critical,CA:true
+# So we do this instead.
+basicConstraints = CA:true
+
+# Key usage: this is typical for a CA certificate. However since it will
+# prevent it being used as an test self-signed certificate it is best
+# left out by default.
+# keyUsage = cRLSign, keyCertSign
+
+# Some might want this also
+# nsCertType = sslCA, emailCA
+
+# Include email address in subject alt name: another PKIX recommendation
+# subjectAltName=email:copy
+# Copy issuer details
+# issuerAltName=issuer:copy
+
+# DER hex encoding of an extension: beware experts only!
+# obj=DER:02:03
+# Where 'obj' is a standard or added object
+# You can even override a supported extension:
+# basicConstraints= critical, DER:30:03:01:01:FF
+
+[ crl_ext ]
+
+# CRL extensions.
+# Only issuerAltName and authorityKeyIdentifier make any sense in a CRL.
+
+# issuerAltName=issuer:copy
+authorityKeyIdentifier=keyid:always,issuer:always
+
+[ proxy_cert_ext ]
+# These extensions should be added when creating a proxy certificate
+
+# This goes against PKIX guidelines but some CAs do it and some software
+# requires this to avoid interpreting an end user certificate as a CA.
+
+basicConstraints=CA:FALSE
+
+# Here are some examples of the usage of nsCertType. If it is omitted
+# the certificate can be used for anything *except* object signing.
+
+# This is OK for an SSL server.
+# nsCertType			= server
+
+# For an object signing certificate this would be used.
+# nsCertType = objsign
+
+# For normal client use this is typical
+# nsCertType = client, email
+
+# and for everything including object signing:
+# nsCertType = client, email, objsign
+
+# This is typical in keyUsage for a client certificate.
+# keyUsage = nonRepudiation, digitalSignature, keyEncipherment
+
+# This will be displayed in Netscape's comment listbox.
+nsComment			= "OpenSSL Generated Certificate"
+
+# PKIX recommendations harmless if included in all certificates.
+subjectKeyIdentifier=hash
+authorityKeyIdentifier=keyid,issuer:always
+
+# This stuff is for subjectAltName and issuerAltname.
+# Import the email address.
+# subjectAltName=email:copy
+# An alternative to produce certificates that aren't
+# deprecated according to PKIX.
+# subjectAltName=email:move
+
+# Copy subject details
+# issuerAltName=issuer:copy
+
+#nsCaRevocationUrl		= http://www.domain.dom/ca-crl.pem
+#nsBaseUrl
+#nsRevocationUrl
+#nsRenewalUrl
+#nsCaPolicyUrl
+#nsSslServerName
+
+# This really needs to be in place for it to be a proxy certificate.
+proxyCertInfo=critical,language:id-ppl-anyLanguage,pathlen:3,policy:foo

BIN
lighttpd/OpenSSL.exe


+ 1 - 0
lighttpd/conf/auth.user

@@ -0,0 +1 @@
+admin:password

+ 29 - 0
lighttpd/conf/lighttpd.conf

@@ -0,0 +1,29 @@
+var.Doo = "C:/Users/Idleman/Desktop/release"
+# LightTPD Configuration File
+
+server.port = 8071
+server.name = "localhost"
+server.tag = "PokiPoki/1.0"
+server.document-root = var.Doo + "/app/"
+server.upload-dirs = ( var.Doo + "/tmp/" )
+server.bind = "127.0.0.1" 
+server.errorlog = var.Doo + "/logs/error.log"
+#server.modules = (  "mod_cgi","mod_access","mod_dirlisting", "mod_indexfile", "mod_staticfile" )
+server.modules = (  "mod_cgi","mod_access" )
+# mod_access
+url.access-deny = ( ".db" )
+
+# mod_cgi
+cgi.assign = ( ".php" => var.Doo + "/php/php-cgi.exe" )
+
+# mod_dirlisting
+dir-listing.activate = "enable"
+
+# mod_indexfile
+index-file.names = ( "index.php", "index.html", "index.htm" )
+
+# mod_mimetype
+mimetype.assign = ( ".css" => "text/css", ".gif" => "image/gif", ".html" => "text/html", ".jpg" => "image/jpeg", ".js" => "text/javascript", ".png" => "image/png", ".txt" => "text/plain", ".xml" => "text/xml" )
+
+# mod_staticfile
+static-file.exclude-extensions = ( ".php" )

+ 29 - 0
lighttpd/conf/lighttpd.tpl.conf

@@ -0,0 +1,29 @@
+var.Doo = "{{PATH}}"
+# LightTPD Configuration File
+
+server.port = {{PORT}}
+server.name = "localhost"
+server.tag = "PokiPoki/1.0"
+server.document-root = var.Doo + "/app/"
+server.upload-dirs = ( var.Doo + "/tmp/" )
+server.bind = "127.0.0.1" 
+server.errorlog = var.Doo + "/logs/error.log"
+#server.modules = (  "mod_cgi","mod_access","mod_dirlisting", "mod_indexfile", "mod_staticfile" )
+server.modules = (  "mod_cgi","mod_access" )
+# mod_access
+url.access-deny = ( ".db" )
+
+# mod_cgi
+cgi.assign = ( ".php" => var.Doo + "/php/php-cgi.exe" )
+
+# mod_dirlisting
+dir-listing.activate = "enable"
+
+# mod_indexfile
+index-file.names = ( "index.php", "index.html", "index.htm" )
+
+# mod_mimetype
+mimetype.assign = ( ".css" => "text/css", ".gif" => "image/gif", ".html" => "text/html", ".jpg" => "image/jpeg", ".js" => "text/javascript", ".png" => "image/png", ".txt" => "text/plain", ".xml" => "text/xml" )
+
+# mod_staticfile
+static-file.exclude-extensions = ( ".php" )

+ 81 - 0
lighttpd/conf/mimetype.conf

@@ -0,0 +1,81 @@
+# LightTPD Configuration file (MIMETYPE HANDLING)
+#
+# Use it as a base for LightTPD 1.0.0 and above.
+# This version is built by WLMP Project - http://en.wlmp.project.net/
+#
+# $Id: mimetype.conf,v 1.0 2012/02/07 17:31:27 dtech Exp $
+
+## Use the "Content-Type" extended attribute to obtain mime type if possible
+mimetype.use-xattr          = "disable"
+
+## mimetype mapping
+mimetype.assign             = (
+  ".pdf"          =>      "application/pdf",
+  ".sig"          =>      "application/pgp-signature",
+  ".spl"          =>      "application/futuresplash",
+  ".class"        =>      "application/octet-stream",
+  ".ps"           =>      "application/postscript",
+  ".torrent"      =>      "application/x-bittorrent",
+  ".dvi"          =>      "application/x-dvi",
+  ".gz"           =>      "application/x-gzip",
+  ".pac"          =>      "application/x-ns-proxy-autoconfig",
+  ".swf"          =>      "application/x-shockwave-flash",
+  ".tar.gz"       =>      "application/x-tgz",
+  ".tgz"          =>      "application/x-tgz",
+  ".tar"          =>      "application/x-tar",
+  ".bz2"          =>      "application/x-bzip2",
+  ".tbz"          =>      "application/x-bzip2",
+  ".tar.bz2"      =>      "application/x-bzip2",
+  ".bat"          =>      "application/batch",
+  ".cmd"          =>      "application/batch",
+  ".exe"          =>      "application/x-exe",
+  ".dll"          =>      "application/x-dll",
+  ".zip"          =>      "application/x-zip",
+  ".iso"          =>      "application/x-isoimage",
+  ".msi"          =>      "application/x-msinstaller",
+  ".mp3"          =>      "audio/mpeg",
+  ".flac"         =>      "audio/x-flac",
+  ".m3u"          =>      "audio/x-mpegurl",
+  ".wma"          =>      "audio/x-ms-wma",
+  ".wax"          =>      "audio/x-ms-wax",
+  ".ogg"          =>      "application/ogg",
+  ".wav"          =>      "audio/x-wav",
+  ".bmp"          =>      "image/bmp",
+  ".gif"          =>      "image/gif",
+  ".jpg"          =>      "image/jpeg",
+  ".jpeg"         =>      "image/jpeg",
+  ".png"          =>      "image/png",
+  ".xbm"          =>      "image/x-xbitmap",
+  ".xpm"          =>      "image/x-xpixmap",
+  ".xwd"          =>      "image/x-xwindowdump",
+  ".ico"          =>      "image/x-icon",
+  ".css"          =>      "text/css",
+  ".doc"          =>      "application/msword",
+  ".html"         =>      "text/html",
+  ".htm"          =>      "text/html",
+  ".js"           =>      "text/javascript",
+  ".asc"          =>      "text/plain",
+  ".c"            =>      "text/plain",
+  ".cpp"          =>      "text/plain",
+  ".log"          =>      "text/plain",
+  ".conf"         =>      "text/plain",
+  ".text"         =>      "text/plain",
+  ".txt"          =>      "text/plain",
+  ".dtd"          =>      "text/xml",
+  ".xml"          =>      "text/xml",
+  ".rtf"          =>      "text/rtf",
+  ".mpeg"         =>      "video/mpeg",
+  ".mpg"          =>      "video/mpeg",
+  ".mov"          =>      "video/quicktime",
+  ".qt"           =>      "video/quicktime",
+  ".avi"          =>      "video/x-msvideo",
+  ".asf"          =>      "video/x-ms-asf",
+  ".asx"          =>      "video/x-ms-asf",
+  ".wmv"          =>      "video/x-ms-wmv",
+  ".mkv"          =>      "video/x-matroska",
+  ".m4v"          =>      "video/mp4",
+  ".mp4"          =>      "video/mp4",
+
+# make the default mime type application/octet-stream
+  ""              =>      "application/octet-stream"
+)

BIN
lighttpd/modules/mod_access.dll


BIN
lighttpd/modules/mod_accesslog.dll


BIN
lighttpd/modules/mod_alias.dll


BIN
lighttpd/modules/mod_auth.dll


BIN
lighttpd/modules/mod_cgi.dll


BIN
lighttpd/modules/mod_cml.dll


BIN
lighttpd/modules/mod_compress.dll


BIN
lighttpd/modules/mod_dirlisting.dll


BIN
lighttpd/modules/mod_evasive.dll


BIN
lighttpd/modules/mod_evhost.dll


BIN
lighttpd/modules/mod_expire.dll


BIN
lighttpd/modules/mod_extforward.dll


BIN
lighttpd/modules/mod_fastcgi.dll


BIN
lighttpd/modules/mod_flv_streaming.dll


BIN
lighttpd/modules/mod_indexfile.dll


BIN
lighttpd/modules/mod_magnet.dll


BIN
lighttpd/modules/mod_mysql_vhost.dll


BIN
lighttpd/modules/mod_proxy.dll


BIN
lighttpd/modules/mod_redirect.dll


BIN
lighttpd/modules/mod_rewrite.dll


BIN
lighttpd/modules/mod_rrdtool.dll


BIN
lighttpd/modules/mod_scgi.dll


BIN
lighttpd/modules/mod_secdownload.dll


BIN
lighttpd/modules/mod_setenv.dll


BIN
lighttpd/modules/mod_simple_vhost.dll


BIN
lighttpd/modules/mod_ssi.dll


BIN
lighttpd/modules/mod_staticfile.dll


BIN
lighttpd/modules/mod_status.dll


BIN
lighttpd/modules/mod_trigger_b4_dl.dll


BIN
lighttpd/modules/mod_userdir.dll


BIN
lighttpd/modules/mod_usertrack.dll


BIN
lighttpd/modules/mod_webdav.dll


BIN
lighttpd/poki_http.exe


+ 3 - 0
logs/error.log

@@ -0,0 +1,3 @@
+2014-04-24 16:48:43: (log.c.166) server started 
+2014-04-24 16:49:09: (log.c.166) server started 
+2014-04-24 16:49:23: (log.c.166) server started 

BIN
mingwm10.dll


BIN
php/ext/php_bz2.dll


BIN
php/ext/php_com_dotnet.dll


BIN
php/ext/php_curl.dll


BIN
php/ext/php_enchant.dll


BIN
php/ext/php_exif.dll


BIN
php/ext/php_fileinfo.dll


BIN
php/ext/php_gd2.dll


BIN
php/ext/php_gettext.dll


BIN
php/ext/php_gmp.dll


BIN
php/ext/php_imap.dll


BIN
php/ext/php_interbase.dll


+ 0 - 0
php/ext/php_intl.dll


Some files were not shown because too many files changed in this diff