diff --git a/functions.inc.php b/functions.inc.php index 6a8e1d1..2db60be 100755 --- a/functions.inc.php +++ b/functions.inc.php @@ -566,4 +566,28 @@ $timenow = date("G:i"); $timenowlong = date("G:i:s"); $useronlinetime = date("Y-m-d H:i:s", mktime(date("H"),date("i")-5,date("s"), date("m"),date("d"),date("Y"))); -?> +function remove_idea_codes($input) { + $toRemove = array( + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ); + + return str_replace($toRemove, " ", $input); + //return $input; +} \ No newline at end of file diff --git a/get.php b/get.php index facc0c9..daabd21 100755 --- a/get.php +++ b/get.php @@ -215,7 +215,7 @@ else { //if( $show_filter != 1 ) { $thisday .= ' - '.$row["text"].' + '.remove_idea_codes($row["text"]).' '; diff --git a/idea.php b/idea.php new file mode 100644 index 0000000..18f4ba4 --- /dev/null +++ b/idea.php @@ -0,0 +1,10 @@ +", "", "", "", ""); + + foreach ($toRemove as $value) { + $output = str_replace($value, "", $input); + } + + return $output; +} \ No newline at end of file diff --git a/testmail.php b/testmail.php deleted file mode 100644 index 14fcf84..0000000 --- a/testmail.php +++ /dev/null @@ -1,13 +0,0 @@ -