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
Direktori : /home/pfhr/public_html/classes/Model/ |
Current File : /home/pfhr/public_html/classes/Model/MFooter.php |
<?php class Model_MFooter { function showFooter() { if(isset($_SESSION['userid'])) { $sesid=$_SESSION['userid']; } else { $sesid=0; } $select="SELECT * FROM `cms_table` WHERE `cms_id` = '5'"; $obj=new Bin_Query(); $obj->executeQuery($select); $content=$obj->records[0]['cms_content']; return Display_DFooter::showFooter($sesid,$content); } } ?>