/** * Method that display the page * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['settings']) { echo $this->_action_msg; Html::form('o', 'post', 'index.php?ns=categories&ctl=manage'); $this->display_add(); $this->display_actions(); $this->display_table(); $this->display_actions(); Html::form('c'); } else { echo ActionMessages::part_no_perm(); } }
/** * Display page content * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['settings']) { echo $this->_action_msg; Html::form('o', 'post', '#'); $this->display_form(); Html::form('c'); } else { echo ActionMessages::part_no_perm(); } }
/** * Display page content * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['post']) { echo $this->_action_msg; echo '<div id="list_wrapper">'; Html::form('o', 'post', 'index.php?ns=posts&ctl=manage'); $this->display_post_status(); $this->display_actions('top'); $this->display_table(); $this->display_actions('butt'); $this->display_pagination(); echo Helper::datalist('titles', $this->_content, '_title'); Html::form('c'); } else { echo ActionMessages::part_no_perm(); } }
/** * Display page content * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['settings']) { $this->display_settings(); } else { echo ActionMessages::part_no_perm(); } }
/** * Method that display the page * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['dashboard']) { echo $this->_action_msg; echo '<div id="dashbord_wrapper">' . '<div class="widget_wrapper widget_wrapper_left">'; $this->display_activity(); $this->display_recent_comments(); echo '</div>' . '<div class="widget_wrapper">'; $this->display_quickpress(); $this->display_draft(); echo '</div>'; } else { echo ActionMessages::part_no_perm(); } }
/** * Display page content * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['media']) { $action = 'display_' . $this->_view_type; echo $this->_action_msg; $this->display_type(); echo '<div id="new_media">'; $this->{$action}(); echo '</div>'; } else { echo ActionMessages::part_no_perm(); } }
/** * Display page content * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['settings']) { echo $this->_action_msg; Html::form('o', 'post', 'index.php?ns=posts&ctl=settingpage'); $this->display_settings(); Html::form('c'); } else { echo ActionMessages::part_no_perm(); } }
/** * Display page content * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['post'] == true) { echo $this->_action_msg; Html::form('o', 'post', 'index.php?ns=posts&ctl=add'); $this->display_actions(); $this->display_form(); $this->display_medias(); Html::form('c'); } else { echo ActionMessages::part_no_perm(); } }
/** * Method that display the page * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['comments']) { echo $this->_action_msg . '<div id="list_wrapper">'; Html::form('o', 'post', 'index.php?ns=comments&ctl=manage'); if (VGet::action() == 'edit') { $this->display_edit(); } elseif (VGet::action() == 'reply') { $this->display_reply(); } else { $this->display_comment_status(); if (!empty($this->_content)) { $this->display_actions('top'); $this->display_table(); $this->display_actions('butt'); $this->display_pagination(); } else { Html::table('o'); if (VPost::search_button(false)) { $no_post = '<tr><td colspan="4">No comments found'; if ($this->_status == 'trash') { $no_post .= ' in Trash'; } echo $no_post . '</td></tr>'; } else { echo '<tr><td colspan="4">There is no comments yet.</td></tr>'; } Html::table('c'); } } echo Helper::datalist('names', $this->_content, '_name'); Html::form('c'); echo '</div>'; } else { echo ActionMessages::part_no_perm(); } }
/** * Display page content * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['settings']) { echo $this->_action_msg; Html::form('o', 'post', 'index.php?ns=links&ctl=manage'); $this->display_actions('top'); $this->display_table(); $this->display_actions('butt'); echo Helper::datalist('titles', $this->_content, '_name'); Html::form('c'); } else { echo ActionMessages::part_no_perm(); } }
/** * Display page content * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['media']) { echo $this->_action_msg; echo '<div id="list_wrapper">'; Html::form('o', 'post', 'index.php?ns=media&ctl=manage'); if (VGet::action() == 'edit' && VGet::type() && VGet::id()) { $method = 'display_edit_' . VGet::type(); $this->{$method}(); } else { $this->display_view_types(); $this->display_actions('top'); $this->display_table(); $this->display_actions('butt'); $this->display_pagination(); echo Helper::datalist('titles', $this->_medias, '_title'); } Html::form('c'); } else { echo ActionMessages::part_no_perm(); } }
/** * Display page content * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['album_photo']) { echo $this->_action_msg; echo '<div id="list_wrapper">'; if (VGet::action() == 'edit' && VGet::id()) { $this->display_edit_album(); } elseif (VGet::action() == 'upload' && VGet::id()) { $this->display_upload(); } elseif (VGet::action() == 'edit_image' && VGet::id() && VGet::pid()) { $this->display_edit_pic(); } else { $this->display_albums(); $this->display_pagination(); echo Helper::datalist('titles', $this->_albums, '_name'); } } else { echo ActionMessages::part_no_perm(); } }