当前位置: 首页>>代码示例>>PHP>>正文


PHP Section::footer方法代码示例

本文整理汇总了PHP中Section::footer方法的典型用法代码示例。如果您正苦于以下问题:PHP Section::footer方法的具体用法?PHP Section::footer怎么用?PHP Section::footer使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Section的用法示例。


在下文中一共展示了Section::footer方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: perfil

 public function perfil()
 {
     $this->plantilla->load("login/login_perfil");
     $section = new Section();
     $tps_index_control['menu'] = $section->menu('Profile');
     $tps_index_control['header'] = $section->header();
     $tps_index_control['footer'] = $section->footer(false, true, false);
     $tps_index_control['PROFILE'] = $this->language->PROFILE;
     $this->plantilla->set($tps_index_control);
     $this->plantilla->finalize();
 }
开发者ID:rafaelurrutia,项目名称:bmonitor-y-bi,代码行数:11,代码来源:login.php

示例2: index

 public function index()
 {
     $valida = $this->protect->access_page('INVENTARIO');
     $this->plantilla->loadSec("inventario/inventario", $valida, 360000);
     $section = new Section();
     $tps_index_control['menu'] = $section->menu('INVENTARIO');
     $tps_index_control['header'] = $section->header();
     $tps_index_control['footer'] = $section->footer();
     $this->plantilla->set($tps_index_control);
     $this->plantilla->finalize();
 }
开发者ID:rafaelurrutia,项目名称:bmonitor-y-bi,代码行数:11,代码来源:inventario.php

示例3: index

 public function index()
 {
     $valida = $this->protect->access_page('FDT');
     $this->plantilla->loadSec("fdt/fdt", $valida);
     $section = new Section();
     $tps_index_control['menu'] = $section->menu('FDT');
     $tps_index_control['header'] = $section->header();
     $tps_index_control['footer'] = $section->footer();
     $this->plantilla->set($tps_index_control);
     $this->plantilla->getCache();
 }
开发者ID:rafaelurrutia,项目名称:bmonitor-y-bi,代码行数:11,代码来源:fdt.php

示例4: index

 public function index()
 {
     $valida = $this->protect->access_page('ADMINISTRACION');
     $this->plantilla->loadSec("administracion/administracion", $valida, 36000);
     $section = new Section();
     $tps_index_control['menu'] = $section->menu('ADMINISTRACION');
     $tps_index_control['header'] = $section->header();
     $tps_index_control['footer'] = $section->footer();
     $tabs[] = array('title' => $this->language->USERS, 'urlBase' => true, 'href' => 'admin/user', 'protec' => 'ADMINISTRATION_USER');
     $tabs[] = array('title' => $this->language->GROUP, 'urlBase' => true, 'href' => 'admin/groups', 'protec' => 'ADMINISTRATION_GROUPS');
     $tabs[] = array('title' => $this->language->AUDIT, 'urlBase' => true, 'href' => 'admin/audit', 'protec' => 'ADMINISTRATION_AUDIT');
     /*		Bmonitor 2.5
     		$tabs[] = array(
     			'title' => $this->language->TEMPLATE_LANG,
     			'urlBase' => true,
     			'href' => 'admin/template',
     			'protec' => 'ADMINISTRATION_TEMPLATE'
     		);
     
     		$tabs[] = array(
     			'title' => $this->language->FIRMWARE,
     			'urlBase' => true,
     			'href' => 'admin/firmware',
     			'protec' => 'ADMINISTRATION_FIRMWARE'
     		);
     
     		$tabs[] = array(
     			'title' => $this->language->OPTIONS,
     			'urlBase' => true,
     			'href' => 'admin/option',
     			'protec' => 'ADMINISTRATION_OPTION'
     		);
     */
     $tabs[] = array('title' => 'Parametros', 'urlBase' => true, 'href' => 'admin/parameter', 'protec' => 'ADMINISTRATION_PARAM');
     /*		Bmonitor 2.5
     		$tabs[] = array(
     			'title' => 'Feature',
     			'urlBase' => true,
     			'href' => 'admin/feature',
     			'protec' => 'ADMINISTRATION_FEATURE'
     		);
     */
     $tps_index_control['tabs'] = $this->bmonitor->getTabs($tabs, 'tabsAdmin');
     $tps_index_control['user_lang'] = $this->language->USER;
     $tps_index_control['groups_lang'] = $this->language->GROUPS;
     $tps_index_control['page_lang'] = $this->language->PAGINA;
     $tps_index_control['audi_lang'] = $this->language->AUDITORIA;
     $tps_index_control['templates_lang'] = $this->language->TEMPLATE_LANG;
     $tps_index_control['parameters_lang'] = $this->language->PARAMETROS;
     $tps_index_control['import_lang'] = $this->language->IMPORT;
     $this->plantilla->set($tps_index_control);
     $this->plantilla->finalize();
 }
开发者ID:rafaelurrutia,项目名称:bmonitor-y-bi,代码行数:53,代码来源:admin.php

示例5: index

 public function index()
 {
     $valida = $this->protect->access_page('NEUTRALIDAD');
     $this->plantilla->loadSec("neutralidad/neutralidad", $valida, 65333);
     $section = new Section();
     $tps_index_control['menu'] = $section->menu('NEUTRALIDAD');
     $tps_index_control['header'] = $section->header();
     $tps_index_control['footer'] = $section->footer();
     $tps_index_control["NEUTRALITY"] = $this->language->NEUTRALITY;
     $tps_index_control["RESUME"] = $this->language->RESUME;
     $tps_index_control["WEIGHING"] = $this->language->WEIGHING;
     $tps_index_control["EXPORT"] = $this->language->EXPORT;
     $tps_index_control["IMPORT"] = $this->language->IMPORT;
     $this->plantilla->set($tps_index_control);
     $this->plantilla->finalize();
 }
开发者ID:rafaelurrutia,项目名称:bmonitor-y-bi,代码行数:16,代码来源:neutralidad.php

示例6: index

 public function index()
 {
     $valida = $this->protect->access_page('CONFIGURACION');
     $this->plantilla->loadSec("configuracion/configuracion", $valida, 360000);
     $section = new Section();
     $tpsIndexControl['menu'] = $section->menu('CONFIGURACION');
     $tpsIndexControl['header'] = $section->header();
     $tpsIndexControl['footer'] = $section->footer();
     $tabs[] = array('title' => $this->language->AGENTS, 'urlBase' => true, 'href' => 'config/cfgSondas', 'protec' => 'CONFIG_AGENT');
     /* inutil, deprecado
             $tabs[] = array(
                 'title' => $this->language->MONITORS,
                 'urlBase' => true,
                 'href' => 'config/cfgMonitores',
                 'protec' => 'CONFIG_MONITOR'
             );
     */
     $tabs[] = array('title' => $this->language->CHARTS, 'urlBase' => true, 'href' => 'config/cfgGraph', 'protec' => 'CONFIG_GRAPH');
     $tabs[] = array('title' => $this->language->SCREENS, 'urlBase' => true, 'href' => 'configScreen/cfgPantallas', 'protec' => 'CONFIG_SCREENS');
     $tabs[] = array('title' => $this->language->PLAN, 'urlBase' => true, 'href' => 'config/cfgPlanes', 'protec' => 'CONFIG_PLAN');
     $tabs[] = array('title' => $this->language->PROFILE, 'urlBase' => true, 'href' => 'profiles2/cfgProfiles', 'protec' => 'CONFIG_PROFILES');
     $tabs[] = array('title' => $this->language->GROUPS, 'urlBase' => true, 'href' => 'config/cfgGrupos', 'protec' => 'CONFIG_GROUPS');
     $tabs[] = array('title' => $this->language->LOCATION, 'urlBase' => true, 'href' => 'qoe/locations', 'protec' => array("code" => 'CONFIG_LOCATION', "title" => 'Configuration', "description" => "Show Location"));
     /* inutul deprecado
        $tabs[] = array(
            'title' => $this->language->LOCATION,
            'urlBase' => true,
            'href' => 'config/cfgLocation',
            'protec' => 'CONFIG_LOCATION'
        );*/
     /*
             $tabs[] = array(
                 'title' => $this->language->MAP,
                 'urlBase' => true,
                 'href' => 'config/getMaps',
                 'protec' => 'CONFIG_TABS_MAPS'
             );*/
     $tpsIndexControl['tabs'] = $this->bmonitor->getTabs($tabs, 'tabsConfigurationHome');
     $this->plantilla->set($tpsIndexControl);
     $this->plantilla->finalize();
 }
开发者ID:rafaelurrutia,项目名称:bmonitor-y-bi,代码行数:41,代码来源:config.php

示例7: index

 public function index()
 {
     $valida = $this->protect->access_page('QOS-Module');
     $this->plantilla->loadSec("qos/index", $valida);
     $section = new Section();
     $tps_index_control['menu'] = $section->menu('QOS-Module');
     $tps_index_control['header'] = $section->header();
     $tps_index_control['footer'] = $section->footer();
     $tabs[] = array('title' => $this->language->REPORT, 'urlBase' => true, 'href' => 'qos/report', 'protec' => 'QOS_TAB_REPORT');
     /*$tabs[] = array(
       'title' => 'Cumplimiento',
       'urlBase' => true,
       'href' => 'qos/accomplishment',
       'protec' => 'QOS_TAB_REPORT'
       );*/
     $tabs[] = array('title' => $this->language->CONFIGURATION, 'urlBase' => true, 'href' => 'qos/config', 'protec' => 'QOS_TAB_CONFIG');
     $tabs[] = array('title' => $this->language->CHARTS, 'urlBase' => true, 'href' => 'qos/graph', 'protec' => 'QOE_TAB_CHARTS');
     $tps_index_control['tabs'] = $this->bmonitor->getTabs($tabs);
     $this->plantilla->set($tps_index_control);
     $this->plantilla->getCache();
 }
开发者ID:rafaelurrutia,项目名称:bmonitor-y-bi,代码行数:21,代码来源:qos.php

示例8: index

 public function index()
 {
     $valida = $this->protect->access_page('QOE', true, 'QoE', 'Section QoE');
     $this->plantilla->loadSec("qos/index", $valida, 360000);
     $section = new Section();
     $tps_index_control['menu'] = $section->menu('QOE');
     $tps_index_control['header'] = $section->header();
     $tps_index_control['footer'] = $section->footer();
     $tabs[] = array('title' => $this->language->REPORT, 'urlBase' => true, 'href' => 'qoe/report', 'protec' => array("code" => 'QOS_REPORT', "title" => 'QoE', "description" => "Show Report"));
     $tabs[] = array('title' => "Speedtest", 'urlBase' => true, 'href' => 'qoe/speedtest', 'protec' => array("code" => 'QOS_SPEED', "title" => 'QoE', "description" => "Show Speedtest"));
     $tabs[] = array('title' => "Speedtest - " . $this->language->GROUPED, 'urlBase' => true, 'href' => 'qoe/minticGroups', 'protec' => array("code" => 'QOS_SPEEDGROUPS', "title" => 'QoE', "description" => "Show Speedtest Grouped"));
     $tabs[] = array('title' => "Mintic", 'urlBase' => true, 'href' => 'qoe/mintic', 'protec' => array("code" => 'QOS_MINTIC', "title" => 'QoE', "description" => "Show Mintic"));
     $tabs[] = array('title' => $this->language->CONFIGURATION, 'urlBase' => true, 'href' => 'qoe/config', 'protec' => array("code" => 'QOS_CONFIG', "title" => 'QoE', "description" => "Show Config"));
     /*
     		 $tabs[] = array(
     		 'title' => $this->language->LOCATION,
     		 'urlBase' => true,
     		 'href' => 'qoe/locations',
     		 'protec' => array(
     		 "code" => 'QOS_LOCATION',
     		 "title" => 'QoE',
     		 "description" => "Show Location"
     		 )
     		 );*/
     $tabs[] = array('title' => $this->language->EXPORT, 'urlBase' => true, 'href' => 'qoe/exportItems', 'protec' => array("code" => 'QOS_EXPORTITEMS', "title" => 'QoE', "description" => "Show Export"));
     /*
     		 $tabs[] = array(
     		 'title' => $this->language->MAP,
     		 'urlBase' => true,
     		 'href' => 'qoe/getMaps',
     		 'protec' => array(
     		 "code" => 'QOS_MAPS',
     		 "title" => 'QoE',
     		 "description" => "Show Maps"
     		 )
     		 );*/
     $tps_index_control['tabs'] = $this->bmonitor->getTabs($tabs);
     $this->plantilla->set($tps_index_control);
     $this->plantilla->finalize();
 }
开发者ID:rafaelurrutia,项目名称:bmonitor-y-bi,代码行数:40,代码来源:qoe.php

示例9: index

 public function index()
 {
     $valida = $this->protect->access_page('INDEX');
     if (isset($_SESSION['iduser'])) {
         $idUser = $_SESSION['iduser'];
     } else {
         $idUser = 0;
     }
     $this->plantilla->loadSec("monitor/monitor", $valida, array("time" => 86400, "code" => $idUser));
     $section = new Section();
     $tps_index_control['menu'] = $section->menu('INDEX');
     $tps_index_control['header'] = $section->header();
     $tps_index_control['footer'] = $section->footer();
     $tabs[] = array('title' => 'Dashboard', 'urlBase' => true, 'href' => 'monitor/getDashboard', 'protec' => 'INDEX_DASHBOARD');
     $tabs[] = array('title' => $this->language->ALERT, 'urlBase' => true, 'href' => 'monitor/alert', 'protec' => 'INDEX_DASHBOARD');
     $tabs[] = array('title' => $this->language->LAST_DATE, 'urlBase' => true, 'href' => 'monitor/ultimafecha', 'protec' => 'INDEX_ULTIMAFECHA');
     $tabs[] = array('title' => $this->language->GROUPED_CHARTS, 'urlBase' => true, 'href' => 'graphc/getGraphPage', 'protec' => 'INDEX_GRAPH');
     $tabs[] = array('title' => $this->language->SIMPLE_CHARTS, 'urlBase' => true, 'href' => 'graphc/getGraphPageNew', 'protec' => 'INDEX_GRAPH');
     $tabs[] = array('title' => $this->language->SCREENS, 'urlBase' => true, 'href' => 'graphc/getGraphWindows', 'protec' => 'INDEX_WINDOWS');
     $tabs[] = array('title' => $this->language->MAP, 'urlBase' => true, 'href' => 'qoe/getMaps', 'protec' => array("code" => 'INDEX_MAPS', "title" => 'Home', "description" => "Show Maps"));
     $tps_index_control['tabs'] = $this->bmonitor->getTabs($tabs);
     $this->plantilla->set($tps_index_control);
     $this->plantilla->finalize();
 }
开发者ID:rafaelurrutia,项目名称:bmonitor-y-bi,代码行数:24,代码来源:DefaultController.php

示例10: ooklaServer

 public function ooklaServer($cache = true)
 {
     $cache_dir = site_path . 'cache/';
     $cache_time = 0;
     $file = $cache_dir . "cache_" . md5(serialize('http://c.speedtest.net/speedtest-servers-static.php?threads=2')) . "_ookla2.cache";
     if (file_exists($file) && fileatime($file) + $cache_time > time() && $cache == true) {
         $config = file_get_contents($file);
     } else {
         $ch = curl_init("http://c.speedtest.net/speedtest-servers-static.php?threads=2");
         curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13');
         curl_setopt($ch, CURLOPT_POST, 0);
         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
         $config = curl_exec($ch);
         curl_close($ch);
         $fp = fopen($file, 'w');
         fwrite($fp, $config);
         fclose($fp);
     }
     $data = new SimpleXMLElement($config);
     $table = '';
     foreach ($data->servers->server as $key => $value) {
         $table .= "<tr>\r\n                <td>" . $value->attributes()->id . "</td>\r\n              <td>" . $value->attributes()->url . "</td>\r\n              <td>" . $value->attributes()->lat . "</td>\r\n              <td>" . $value->attributes()->lon . "</td>\r\n              <td>" . $value->attributes()->name . "</td>\r\n              <td>" . $value->attributes()->country . "</td>\r\n              <td>" . $value->attributes()->cc . "</td>\r\n              <td>" . $value->attributes()->sponsor . "</td>\r\n            </tr>";
     }
     $this->plantilla->load("web/ooklaServer");
     $section = new Section();
     $vars['header'] = $section->header();
     $vars['footer'] = $section->footer();
     $vars['dataTable'] = $table;
     $this->plantilla->set($vars);
     $this->plantilla->finalize();
 }
开发者ID:rafaelurrutia,项目名称:bmonitor-y-bi,代码行数:31,代码来源:web.php


注:本文中的Section::footer方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。