source: trunk/modules/module.template.php @ 782

Revision 782, 1.3 KB checked in by r2, 13 months ago (diff)

копирайты

  • Property svn:executable set to *
Line 
1<?php
2/******************************************************************************/
3//                                                                            //
4//                             InstantCMS v1.8                                //
5//                        http://www.instantcms.ru/                           //
6//                                                                            //
7//                   written                                                  //
8//                produced                                                    //
9//                                                                            //
10//                        LICENSED BY GNU/GPL v2                              //
11//                                                                            //
12/******************************************************************************/
13
14
15        function mod_/* MODULE NAME */($module_id){
16        $inCore = cmsCore::getInstance();
17        $inDB = cmsDatabase::getInstance();
18       
19                $sql = "SELECT *
20                                FROM
21                                WHERE
22                                ORDER BY ordering ASC";
23                $result = $inDB->query($sql);
24               
25                if ($inDB->num_rows($result)){
26                        while ($item=$inDB->fetch_assoc($result)){
27                       
28                        }
29                }
30
31                return true;   
32        }
33?>
Note: See TracBrowser for help on using the repository browser.