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_MLeft
{
function showLeft()
{
$news="SELECT * FROM news_table where news_status='active' ORDER BY news_datetime desc";
$obj=new Bin_Query();
$obj->executeQuery($news);
$select="SELECT * FROM body_table where body_status='Enable' LIMIT 0,6";
$obj1=new Bin_Query();
$obj1->executeQuery($select);
$body = $obj1->records;
$sponsors = "SELECT * FROM members_table ORDER BY members_username desc LIMIT 0,6";
$obj1 = new Bin_Query();
$obj1->executeQuery($sponsors);
$result = $obj1->records;
return Display_DLeft::showLeft($obj->records,$result,$body);
}
}
?>