changed files to more updated version

This commit is contained in:
2019-09-12 12:02:17 +02:00
parent 53794ac310
commit d50b864082
84 changed files with 1560 additions and 933 deletions

View File

@@ -1,7 +1,5 @@
<?php
Class HUtils{
const FETCHGET = 0;
const FETCHPOST = 1;
static function issetPost($arr_postvars){
for ($i=0; $i <sizeof($arr_postvars) ; $i++)
{
@@ -23,21 +21,6 @@ Class HUtils{
static function sqlDateToPhpDate($date){
return new DateTime($date);
}
static function getPage($fetchmethod){
$p = "";
if($fetchmethod == HUtils::FETCHGET){
if(isset($_GET['p'])){
$p = $_GET['p'];
}
}
else if($fetchmethod == HUtils::FETCHPOST){
if(isset($_POST['p']))
{
$p = $_POST['p'];
}
}
return $p;
}
static function getSiteTitle(){
return "hPHPForum";
}