⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.php

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 PHP
字号:
<?php    //    //  $Id: index.php,v 1.1 2003/02/10 22:19:59 cain Exp $    //ini_set('include_path',realpath(dirname(__FILE__).'/../../../../../').':'.realpath(dirname(__FILE__).'/../../../../../../includes').':'.ini_get('include_path'));ini_set('error_reporting',E_ALL);    //    //   include the files needed    //    require_once('HTML/Template/Xipe.php');    require_once('HTML/Template/Xipe/Filter/Basic.php');    //    //   make template class instance    //    $options = array(   'templateDir'   => dirname(__FILE__),                        'enable-XMLConfig'=>true,                        'logLevel'      => 1 );    $tpl = new HTML_Template_Xipe($options);//$tpl->setOption('forceCompile',true);    //    //   make filter class instance    ///*    $tplFilter = new HTML_Template_Xipe_Filter_Basic($tpl->getOptions());    // pre filter    $tpl->registerPrefilter(array(&$tplFilter,'removeHtmlComments'));    $tpl->registerPrefilter(array(&$tplFilter,'removeCStyleComments'));    $tpl->registerPrefilter(array(&$tplFilter,'addIfBeforeForeach'));   // this filter makes the foreach-blocks conditional, so they are only shown if they contain data, see api-doc*/    // post filter//    $tpl->registerPostfilter('trimLines',$tplFilter);//    $tpl->registerPostfilter('optimizeHtmlCode',$tplFilter);    //    //   fill variables used in the template    //   no assign-method necessary    //    $advantages = array(    'clean HTML-code',                            'ALL the power of PHP inside a template',                            'a compiled template',                            'easy to use (template) engine');    $dontLike = array(  'php-tags in your html',                        'the braces: "{" and "}", since they could be replaced by proper indention',                        'to learn a new template language');    $url = 'http://www.kriesing.de/showsource.php?domain=wolfram.kriesing.de&file=/libs/php/SimpleTemplate/examples/xmlConfig/';    $viewSourceCodeUrl = $url.'index.php';    $viewTemplateCodeUrl = $url.'index.tpl';    $viewCompiledTemplate = $url.'tmp/index.tpl.en.php';    $viewTemplateLog = $url.'tmp/index.tpl.log';    $viewConfigXmlUrl = $url.'config.xml';    //    //   show the template    //    $tpl->compile('index.tpl');    include($tpl->getCompiledTemplate());?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -