Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include('em_dio.php');
- class em_menu() {
- public $b_men = "";
- public $l_men = "";
- public $r_men = "";
- public $t_men = "";
- var $foot = 'no'; // Set Bottom Menu Display
- var $left = 'yes'; // Set Left Menu Display
- var $right = 'no'; // Set Right Menu Display
- var $top = 'yes'; // Set Top Menu Display
- include('dblib.php');
- $link = new dio;
- $dio->dbname = 'accounts'; // Set DB name
- $dio->engine = 'mysql'; // Set DB engine
- $dio->uid = 'ndavis'; // Set DB UID
- $dio->pwd = 'nomened1497'; // Set DB PWD
- $dio->table = 'pg_menu'; // Set DB table
- $link = dio->dbConnect(); // Connect the DB
- $dio->sql_str = "SELECT * FROM pg_menu WHERE `ptm_prc`='Accounts';"
- $result = dio->dbQuery(); // Run the Query
- function get_mfoot() {
- if ($foot=='yes' {
- } // end if $dio->foot
- } // end function get_mfoot
- function get_mleft() {
- if ($left=='yes' {
- } // end if $dio->left
- } // end function get_mleft
- function get_mright() {
- if ($right=='yes' {
- } // end if $dio->right
- } // end function get_mright
- function get_mtop() {
- if ($top=='yes' {
- } // end if $dio->top
- } // end function get_mtop
- } // end class oo_menu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement