changed files to more updated version
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user