6108de7883b491404150c3901961c7b65f6faceb
bernd FreeWVS zeigt jetzt Ergebni...

bernd authored 16 years ago

modules/freewvs/include/freewvs.php  1) <?php
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

modules/webapps/include/freewvs.php  2) /*
modules/webapps/include/freewvs.php  3) This file belongs to the Webinterface of schokokeks.org Hosting
modules/webapps/include/freewvs.php  4) 
Bernd Wurst Updated copyright notice (2...

Bernd Wurst authored 11 years ago

modules/webapps/include/freewvs.php  5) Written 2008-2013 by schokokeks.org Hosting, namely
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

modules/webapps/include/freewvs.php  6)   Bernd Wurst <bernd@schokokeks.org>
modules/webapps/include/freewvs.php  7)   Hanno Böck <hanno@schokokeks.org>
modules/webapps/include/freewvs.php  8) 
modules/webapps/include/freewvs.php  9) To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
modules/webapps/include/freewvs.php 10) 
modules/webapps/include/freewvs.php 11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see 
modules/webapps/include/freewvs.php 12) http://creativecommons.org/publicdomain/zero/1.0/
modules/webapps/include/freewvs.php 13) 
modules/webapps/include/freewvs.php 14) Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
modules/webapps/include/freewvs.php 15) */
bernd FreeWVS zeigt jetzt Ergebni...

bernd authored 16 years ago

modules/freewvs/include/freewvs.php 16) 
modules/freewvs/include/freewvs.php 17) require_once('inc/base.php');
modules/freewvs/include/freewvs.php 18) 
modules/freewvs/include/freewvs.php 19) 
modules/freewvs/include/freewvs.php 20) function load_results()
modules/freewvs/include/freewvs.php 21) {
modules/freewvs/include/freewvs.php 22)   $uid = (int) $_SESSION['userinfo']['uid'];
Bernd Wurst Umstellung auf mysqli

Bernd Wurst authored 11 years ago

modules/webapps/include/freewvs.php 23)   $result = DB::query("SELECT directory, docroot, lastcheck, appname, version, state, safeversion, vulninfo FROM qatools.freewvs_results WHERE uid={$uid}");
bernd FreeWVS zeigt jetzt Ergebni...

bernd authored 16 years ago

modules/freewvs/include/freewvs.php 24)   $ret = array();
Bernd Wurst Umstellung auf mysqli

Bernd Wurst authored 11 years ago

modules/webapps/include/freewvs.php 25)   while ($line = $result->fetch_assoc()) {
bernd FreeWVS zeigt jetzt Ergebni...

bernd authored 16 years ago

modules/freewvs/include/freewvs.php 26)     array_push($ret, $line);
modules/freewvs/include/freewvs.php 27)   }
modules/freewvs/include/freewvs.php 28)   return $ret;
modules/freewvs/include/freewvs.php 29) }
modules/freewvs/include/freewvs.php 30) 
modules/freewvs/include/freewvs.php 31) function get_upgradeinstructions($appname) {
Bernd Wurst Umstellung auf mysqli

Bernd Wurst authored 11 years ago

modules/webapps/include/freewvs.php 32)   $appname = DB::escape($appname);
modules/webapps/include/freewvs.php 33)   $result = DB::query("SELECT url FROM qatools.freewvs_upgradeinstructions WHERE appname='{$appname}' LIMIT 1");
modules/webapps/include/freewvs.php 34)   if ($result->num_rows > 0) {
modules/webapps/include/freewvs.php 35)     $tmp = $result->fetch_array();