function generate_inner_html() { $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/cnmodule_content.php'; $inner_html_gen = new Template($tmp_file); $inner_html_gen->set('link_categories_array', $this->get_link_categories()); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_link')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { $links = $this->get_links(); $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/center_inner_public.tpl'; $inner_html_gen = new Template($tmp_file); $inner_html_gen->set('links', $links); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_persionalized_video')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { $inner_template = PA::$blockmodule_path . '/' . get_class($this) . '/center_inner_private.tpl'; $inner_html_gen = new Template($inner_template); $inner_html_gen->set('parameters', Ranking::get_parameters()); $inner_html_gen->set('error', $this->error); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_ranking')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/center_inner_public.tpl'; $inner_html_gen = new Template($tmp_file); $inner_html_gen->set('network_links', $this->network_links); $inner_html_gen->set('featured_network', $this->featured_network); $inner_html_gen->set('config_navigation_url', network_config_navigation('set_featured_network')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { $tmp_file = dirname(__FILE__) . '/center_inner_public.tpl'; $inner_html_gen =& new Template($tmp_file); $inner_html_gen->set('network_links', $this->network_links); $inner_html_gen->set('featured_network', $this->featured_network); $inner_html_gen->set('config_navigation_url', network_config_navigation('set_featured_network')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { global $current_theme_path; $tmp_file = dirname(__FILE__) . '/public_center_inner_html.tpl'; $inner_html_gen =& new Template($tmp_file); $inner_html_gen->set('link_categories_array', $this->get_link_categories()); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_link')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { $links = $this->get_links(); $tmp_file = dirname(__FILE__) . '/center_inner_public.tpl'; $inner_html_gen =& new Template($tmp_file); $inner_html_gen->set('links', $links); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_emblem')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { $inner_template = dirname(__FILE__) . '/center_inner_private.tpl'; $inner_html_gen =& new Template($inner_template); $inner_html_gen->set('parameters', Ranking::get_parameters()); $inner_html_gen->set('error', $this->error); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_ranking')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $inner_template = dirname(__FILE__) . '/center_inner_private.tpl'; } $net_details =& new Template($inner_template); $net_details->set('config_navigation_url', network_config_navigation('manage_user')); $inner_html = $net_details->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $inner_template = PA::$blockmodule_path . '/' . get_class($this) . '/center_inner_private.tpl'; } $net_details = new Template($inner_template); $net_details->set('config_navigation_url', network_config_navigation('manage_user')); $inner_html = $net_details->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/center_inner_public.tpl'; } $net_details = new Template($tmp_file); $net_details->set('config_navigation_url', network_config_navigation('bulletins')); $net_details->set('preview_msg', $this->preview_msg); $inner_html = $net_details->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $inner_template = PA::$blockmodule_path . '/' . get_class($this) . '/center_inner_private.tpl'; } $inner_html_gen = new Template($inner_template); $inner_html_gen->set('form_data', @$this->form_data); $inner_html_gen->set('config_navigation_url', network_config_navigation('create_user')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $inner_template = dirname(__FILE__) . '/center_inner_private.tpl'; } $inner_html_gen =& new Template($inner_template); $inner_html_gen->set('form_data', @$this->form_data); $inner_html_gen->set('config_navigation_url', network_config_navigation('create_user')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { global $current_theme_path; switch ($this->mode) { default: $tmp_file = dirname(__FILE__) . '/center_inner_public.tpl'; } $net_details =& new Template($tmp_file); $net_details->set('config_navigation_url', network_config_navigation('bulletins')); $net_details->set('preview_msg', $this->preview_msg); $inner_html = $net_details->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/center_inner_html.tpl'; } $inner_html_generate = new Template($tmp_file); $inner_html_generate->set('module_settings', $this->module_settings); $inner_html_generate->set('page_id', $this->page_id); $inner_html_generate->set('config_navigation_url', network_config_navigation('module_selector')); $inner_html = $inner_html_generate->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $tmp_file = dirname(__FILE__) . '/center_inner_html.tpl'; } $inner_html_generate =& new Template($tmp_file); $inner_html_generate->set('module_settings', $this->module_settings); $inner_html_generate->set('page_id', $this->page_id); $inner_html_generate->set('config_navigation_url', network_config_navigation('module_selector')); $inner_html = $inner_html_generate->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $inner_template = dirname(__FILE__) . '/center_inner_private.tpl'; } $inner_html_gen =& new Template($inner_template); $role = new Roles(); $this->links = $role->get_multiple(); $inner_html_gen->set('links', $this->links); $inner_html_gen->set('display', @$this->display); $inner_html_gen->set('super_user_and_mothership', @$this->super_user_and_mothership); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_roles')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { case 'configure': $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/configure.tpl'; $this->title = 'Configure Splash Page'; break; case 'showcase': $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/showcase.tpl'; $this->title = __('Showcase Module'); break; case 'video_tours': $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/video_tours.tpl'; $this->title = 'Video Tours'; break; case 'register_today': $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/registration_today.tpl'; $this->title = 'Register Today'; break; case 'server_announcement': $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/server_announcement.tpl'; $this->title = 'SERVER ANNOUNCEMENT'; break; case 'survey': $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/survey.tpl'; $this->title = 'SURVEY'; break; default: $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/info_boxes.tpl'; $this->title = 'Info Boxes'; } $config_navigation_url = network_config_navigation($_GET['section']); $inner_html_gen = new Template($tmp_file); $inner_html_gen->set('network_links', $this->network_links); //$inner_html_gen->set ('featured_network', @$this->featured_network); $inner_html_gen->set('showcase', @$this->showcase); $inner_html_gen->set('survey', @$this->survey); $inner_html_gen->set('info_boxes', @$this->info_boxes); $inner_html_gen->set('networks_data', $this->networks_data); $inner_html_gen->set('section', $this->mode); $inner_html_gen->set('config_navigation_url', $config_navigation_url); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $inner_template = PA::$blockmodule_path . '/' . get_class($this) . '/center_inner_private.tpl'; } $inner_html_gen = new Template($inner_template); $role = new Roles(); $params = array('sort_by' => 'id', 'direction' => 'ASC', 'cnt' => false); $this->links = $role->get_multiple($params); $inner_html_gen->set('links', $this->links); $task = Tasks::get_instance(); $tasklist = $task->get_tasks(); $inner_html_gen->set('tasklist', $tasklist); $inner_html_gen->set('super_user_and_mothership', @$this->super_user_and_mothership); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_tasks_relationship')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $inner_template = dirname(__FILE__) . '/center_inner_public.tpl'; } $Pagination = new Pagination(); $Pagination->setPaging($this->Paging); $this->page_first = $Pagination->getFirstPage(); $this->page_last = $Pagination->getLastPage(); $this->page_links = $Pagination->getPageLinks(); $inner_html_gen =& new Template($inner_template); $inner_html_gen->set('links', $this->links); $inner_html_gen->set('page_first', $this->page_first); $inner_html_gen->set('page_last', $this->page_last); $inner_html_gen->set('page_links', $this->page_links); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_comments')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $inner_template = PA::$blockmodule_path . '/' . get_class($this) . '/center_inner_private.tpl'; } $Pagination = new Pagination(); $Pagination->setPaging($this->Paging); $this->page_first = $Pagination->getFirstPage(); $this->page_last = $Pagination->getLastPage(); $this->page_links = $Pagination->getPageLinks(); $inner_html_gen = new Template($inner_template); $inner_html_gen->set('links', $this->links); $inner_html_gen->set('page_first', $this->page_first); $inner_html_gen->set('page_last', $this->page_last); $inner_html_gen->set('page_links', $this->page_links); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_content')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { $links = $this->get_links(); // set links for pagination $Pagination = new Pagination(); $Pagination->setPaging($this->Paging); $this->page_first = $Pagination->getFirstPage(); $this->page_last = $Pagination->getLastPage(); $this->page_links = $Pagination->getPageLinks(); $tmp_file = dirname(__FILE__) . '/center_inner_public.tpl'; $inner_html_gen =& new Template($tmp_file); $inner_html_gen->set('links', $links); $inner_html_gen->set('edit', $this->edit); $inner_html_gen->set('form_data', $this->form_data); $inner_html_gen->set('page_first', $this->page_first); $inner_html_gen->set('page_last', $this->page_last); $inner_html_gen->set('page_links', $this->page_links); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_ad_center')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { case 'configure': $tmp_file = dirname(__FILE__) . '/configure.tpl'; $this->title = 'Configure Splash Page'; break; case 'network_of_moment': $tmp_file = dirname(__FILE__) . '/network_of_moment.tpl'; $this->title = __('Network of the Moment'); break; case 'video_tours': $tmp_file = dirname(__FILE__) . '/video_tours.tpl'; $this->title = 'Video Tours'; break; case 'register_today': $tmp_file = dirname(__FILE__) . '/registration_today.tpl'; $this->title = 'Register Today'; break; case 'server_announcement': $tmp_file = dirname(__FILE__) . '/server_announcement.tpl'; $this->title = 'SERVER ANNOUNCEMENT'; break; default: $tmp_file = dirname(__FILE__) . '/showcased_networks.tpl'; $this->title = 'Showcased Networks'; } $config_navigation_url = network_config_navigation($_GET['section']); $inner_html_gen =& new Template($tmp_file); $inner_html_gen->set('network_links', $this->network_links); $inner_html_gen->set('featured_network', @$this->featured_network); $inner_html_gen->set('showcased_networks', $this->showcased_networks); $inner_html_gen->set('networks_data', $this->networks_data); $inner_html_gen->set('section', $this->mode); $inner_html_gen->set('config_navigation_url', $config_navigation_url); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { global $current_theme_path; $tmp_file = dirname(__FILE__) . '/center_inner_html_' . $this->tpl_to_load . '.tpl'; $net_details =& new Template($tmp_file); if ($this->tpl_to_load == 'stats') { $net_details->set('is_edit', @$this->is_edit); $net_details->set('network_stats', @$this->network_stats); $net_details->set('meta_network_reci_relation', @$this->meta_network_reci_relation); } else { $net_details->set('user_albums', $this->get_albums()); $net_details->set('content', $this->get_content()); $net_details->set('ack_message', @$this->ack_message); } $net_details->set('form_data', $this->form_data); if (@$this->control_type == 'basic') { $categories = $this->get_categories(); $net_details->set('categories', $categories); } $net_details->set('config_navigation_url', network_config_navigation($this->tpl_to_load)); $inner_html = $net_details->fetch(); return $inner_html; }
function generate_inner_html() { $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/center_inner_html_' . $this->tpl_to_load . '.tpl'; $net_details = new Template($tmp_file); if ($this->tpl_to_load == 'stats') { $net_details->set('is_edit', @$this->is_edit); $net_details->set('network_stats', @$this->network_stats); $net_details->set('meta_network_reci_relation', @$this->meta_network_reci_relation); $net_details->set('available_languages', $this->getLanguages()); } else { $net_details->set('user_albums', $this->get_albums()); $net_details->set('content', $this->get_content()); $net_details->set('ack_message', @$this->ack_message); } $net_details->set('form_data', $this->form_data); if (@$this->control_type == 'basic') { $categories = $this->get_categories(); $net_details->set('categories', $categories); } $net_details->set('page_id', $this->page_id); $net_details->set('config_navigation_url', network_config_navigation($this->tpl_to_load)); $inner_html = $net_details->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $inner_template = dirname(__FILE__) . '/center_inner_private.tpl'; } $Pagination = new Pagination(); $Pagination->setPaging($this->Paging); $this->page_first = $Pagination->getFirstPage(); $this->page_last = $Pagination->getLastPage(); $this->page_links = $Pagination->getPageLinks(); $role = new Roles(); $this->role_links = $role->get_multiple(); $inner_html_gen =& new Template($inner_template); $inner_html_gen->set('links', $this->links); $inner_html_gen->set('link_role', $this->role_links); $inner_html_gen->set('page_first', $this->page_first); $inner_html_gen->set('page_last', $this->page_last); $inner_html_gen->set('page_links', $this->page_links); $inner_html_gen->set('super_user_and_mothership', $this->super_user_and_mothership); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_user')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $inner_template = PA::$blockmodule_path . '/' . get_class($this) . '/center_inner_private.tpl'; } $Pagination = new Pagination(); $Pagination->setPaging($this->Paging); $this->page_first = $Pagination->getFirstPage(); $this->page_last = $Pagination->getLastPage(); $this->page_links = $Pagination->getPageLinks(); $role = new Roles(); $this->role_links = $role->get_multiple(null, DB_FETCHMODE_ASSOC); $inner_html_gen = new Template($inner_template); $inner_html_gen->set('links', $this->links); $inner_html_gen->set('link_role', $this->role_links); $inner_html_gen->set('page_first', $this->page_first); $inner_html_gen->set('page_last', $this->page_last); $inner_html_gen->set('page_links', $this->page_links); $inner_html_gen->set('super_user_and_mothership', $this->super_user_and_mothership); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_user')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html($links) { global $network_info; if ($this->market_report == TRUE) { // if marketting report is to be viewed $params = NULL; $inner_template = dirname(__FILE__) . '/center_inner_market_report.tpl'; $next_prev_navigation = 'marketing_report'; if ($this->email_sorting == NULL || $this->email_sorting == 'all') { $params = array('network_id' => $network_info->network_id, 'neglect_owner' => FALSE, 'cnt' => TRUE); // setting variables for pagination $this->Paging["count"] = Network::get_members($params); unset($params['cnt']); $params['show'] = $this->Paging['show']; $params['page'] = $this->Paging['page']; $users = Network::get_members($params); $this->email_addresses = $users['users_data']; } else { if ($this->email_sorting == 'dormant') { $params = array("order_by" => 3); // 3 for sort by dormant user } $this->Paging["count"] = Ranking::get_top_ranked_users(TRUE, $params); $params['show'] = $this->Paging['show']; $params['page'] = $this->Paging['page']; $this->email_addresses = Ranking::get_top_ranked_users(FALSE, $params); } // Set pagination variable $Pagination = new Pagination(); $Pagination->setPaging($this->Paging); $this->page_first = $Pagination->getFirstPage(); $this->page_last = $Pagination->getLastPage(); $this->page_links = $Pagination->getPageLinks(); } else { $inner_template = dirname(__FILE__) . '/center_inner_private.tpl'; $next_prev_navigation = 'mis_count'; } $obj_inner_template =& new Template($inner_template); $obj_inner_template->set('links', $links); $obj_inner_template->set('email_domain_array', $this->email_domain_array); $obj_inner_template->set('blog_post', $this->blog_post); $obj_inner_template->set('images', $this->images); $obj_inner_template->set('profile_views', $this->profile_views); $obj_inner_template->set('profile_visits_by_user', $this->profile_visits_by_user); $obj_inner_template->set('relationship_stats', $this->relationship_stats); $obj_inner_template->set('emails', $this->email_addresses); $obj_inner_template->set('page_first', $this->page_first); $obj_inner_template->set('page_last', $this->page_last); $obj_inner_template->set('page_links', $this->page_links); $obj_inner_template->set('parameters', Ranking::get_parameters()); $obj_inner_template->set('config_navigation_url', network_config_navigation($next_prev_navigation)); $inner_html = $obj_inner_template->fetch(); return $inner_html; }
function generate_inner_html() { $links = $this->get_links(); // set links for pagination $CNPagination = new CNPagination(); $CNPagination->setPaging($this->Paging); $this->page_first = $CNPagination->getFirstPage(); $this->page_last = $CNPagination->getLastPage(); $this->page_links = $CNPagination->getPageLinks(); $tmp_file = NULL; $config_link_page = NULL; switch ($this->mode) { case 'textpad': $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/cnmodule_content_textpad.php'; $config_link_page = 'manage_textpads'; break; default: $tmp_file = PA::$blockmodule_path . '/' . get_class($this) . '/cnmodule_content.php'; $config_link_page = 'manage_ad_center'; } $inner_html_gen = new Template($tmp_file, $this); $inner_html_gen->set('links', $links); $inner_html_gen->set('edit', $this->edit); $inner_html_gen->set('form_data', $this->form_data); $inner_html_gen->set('page_first', $this->page_first); $inner_html_gen->set('page_last', $this->page_last); $inner_html_gen->set('page_links', $this->page_links); $inner_html_gen->set('config_navigation_url', network_config_navigation($config_link_page)); $inner_html = $inner_html_gen->fetch(); return $inner_html; }
function generate_inner_html() { switch ($this->mode) { default: $inner_template = PA::$blockmodule_path . '/' . get_class($this) . '/cnmodule.php'; } $inner_html_gen = new Template($inner_template); $role = new Roles(); $params = array('sort_by' => 'id', 'direction' => 'ASC', 'cnt' => false); $this->links = $role->get_multiple($params); $inner_html_gen->set('links', $this->links); $inner_html_gen->set('display', @$this->display); $inner_html_gen->set('super_user_and_mothership', @$this->super_user_and_mothership); $inner_html_gen->set('config_navigation_url', network_config_navigation('manage_roles')); $inner_html = $inner_html_gen->fetch(); return $inner_html; }