system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
<?php
class Model_MSuggestion
{
function showSuggestion()
{
$inbox="SELECT * FROM suggestion_table";
$obj=new Bin_Query();
$obj->executeQuery($inbox);
return Display_DSuggestion::showSuggestion($obj->records);
}
function showSuggestionMails()
{
$id=(int)$_GET['id'];
$inbox="SELECT * FROM suggestion_table where suggestion_id=$id";
$obj=new Bin_Query();
$obj->executeQuery($inbox);
return $obj->records[0];
}
}
?>