国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

? ??? ?? PHP ???? discuz x2.5 Kangsheng ???? ??? ??? ??? discuz

discuz x2.5 Kangsheng ???? ??? ??? ??? discuz

Jul 29, 2016 am 08:45 AM

?? ?? ??? ??? ????.


/*template.class.php
@ Kangsheng Weibo ??? ?? ??? ? ???? ????? ??? ?? ?? ?? ? ????.by ????
@ ctt ???? ??????. phpcms ???? ?????? ? ^_^ ??! ! !
@ Weibo http://weibo.com/lrjxgl
@ ?? ?? ?? ???? ??? ??????. ??? ??? ?????
@ ?? ??? ??? .htm???
$tpl = ? ???('skin',"default");
$tpl->objdir='tpp';
$tpl->rewrite=true;//?? ??? ?????? ?? ??? ?????.
$tpl-> ;rewrite_rule=array(array("/index.php/"),array("index.html")); //?? ?? ??
$tpl->ass("indexurl", "index.php") ;
$tpl->ass("str","?? ??? ??????")
$tpl->ass("ec","?? ???????. out");
$tpl->sign("subhtml","{subtpl ttt} ??? ??? ??? ???? ? ?????. ??? ttt.htm? ???? ????.");
$tpl-> ??("a ",array('dasdasd'.'bbbbbbbb','cccccccccccccc'))
$tpl->??("i",1);
$tpl->display(" index");
*/
if(!definated("CHARSET")) Define("CHARSET","gb2312");//?? ???
if(!defined("DIR_TPL")) Define("DIR_TPL ","tpl");//?? ??? ????
if(!definated("DIR_DATA")) Define("DIR_DATA","data");//?? ??? ????
if( !definated(" DEBUG")) Define("DEBUG",0);//?? ?? ??
class template {
//note var
public $rewrite=false;//?? ??? ?? -static rewrite
public $rewrite_rule=array(); //?? ?? ?? ??
public $defaulttpldir;//?? ???
public $tpldir;//??? ????
public $objdir; //??? ?? ????
public $tplfile;//??? ??
public $objfile;//??? ??
public $tplid=1;//??? ??
public $currdir='default' ;//?? ??? ????
public $vars=array();//?? ??? ??
public $removeblanks=false;//?? ??
public $stdout='display';//?? ??
?? __construct ($tplid, $currdir) {
$this->template($tplid, $currdir)
}
?? ???($tplid, $currdir) {
ob_start();
if(file_exists(DIR_TPL.'/'.$currdir)) {
$this->currdir = $currdir
$this->tplid
} else {
$this->currdir = 'default';
$this->tplid = 1
}
$this->defaulttpldir = DIR_TPL.'/default' ;
$ this->tpldir = DIR_TPL.'/'.$this->currdir
$this->objdir = DIR_DATA.'/cache/tpl'
if(version_compare( PHP_VERSION, '5' ) == -1) {
register_shutdown_function(array(&$this, '__destruct'))
}
}
//??
?? ??( $k, $v ) {
$this->vars[$k] = $v
}
//??
?? ??($file) {
extract( $this-> vars, EXTR_SKIP);
include $this->getObj($file)
}
function getObj($file, $tpldir = '') {
$subdir = ($pos = strpos($file, '/')) === false ? '' : substr($file, 0, $pos)
$file = $subdir($file, $pos) 1) : $file ;
$this->tplfile = ($tpldir ? $tpldir : $this->tpldir).'/'.($subdir ? $subdir.'/' : ''). $file.'.htm';
$this->objfile = $this->objdir.'/'.($tpldir ? '' : $this->tplid.'_') subdir ? $subdir.'_' : '').$file.'.php';
//?? ???? ??
if(@filemtime($this->tplfile) === FALSE)
$this ->tplfile = $this->defaulttpldir.'/'.($subdir ? $subdir.'/' : '').$file.'.htm';
}
//note ??? ?? ??
if(!file_exists($this->objfile) || DEBUG && @filemtime($this->objfile) < filemtime($this->tplfile)) {
$this ->compile();
}
return $this->objfile
}
function getTpl($file) {
$subdir = ($ pos = strpos($file , '/')) === false ? '' : substr($file, 0, $pos)
$file = $subdir($file, $pos 1): $file;
$tplfile = $this->tpldir.'/'.($subdir ? $subdir.'/' : '').$file.'.htm'
if(@filemtime ($tplfile) == = FALSE) {
$tplfile = $this->defaulttpldir.'/'.($subdir ? $subdir.'/' : '').$file.'.htm';
}
return $tplfile;
}
function compile() {
$var_regexp = "@?\$[a-zA-Z_]w*(?:[[w. "'[]$] ])*";
$vtag_regexp = " ";
$const_regexp = "{([w] )}";
$template = file_get_contents($this->tplfile);
for($i = 1; $i <= 3 ; $i ) {
if(strpos($template, '{subtpl') !== FALSE) {
if(DEBUG == 2) {
$template = str_replace ('{subtpl', '{tpl', $template);
} else {
$template = preg_replace("/[nrt]*{subtpls ([a-z0-9_:/] )}[ nrt]*/ies" , "file_get_contents($this->getTpl('\1'))", $template);
}
}
}
$remove = array(
'/(^ |r|n)/*. ?(r|n)*/(r|n)/is',
'///??. ?(r|n)/i',
'// /debug.?(r|n)/i',
'/(^|r|n)(s|t) /',
'/(r|n)/ ',
) ;
$this->removeblanks && $template = preg_replace($remove, '', $template)
$template = preg_replace("/

? AI ??

Undresser.AI Undress

Undresser.AI Undress

???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover

AI Clothes Remover

???? ?? ???? ??? AI ?????.

Video Face Swap

Video Face Swap

??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

???

??? ??

???++7.3.1

???++7.3.1

???? ?? ?? ?? ???

SublimeText3 ??? ??

SublimeText3 ??? ??

??? ??, ???? ?? ????.

???? 13.0.1 ???

???? 13.0.1 ???

??? PHP ?? ?? ??

???? CS6

???? CS6

??? ? ?? ??

SublimeText3 Mac ??

SublimeText3 Mac ??

? ??? ?? ?? ?????(SublimeText3)

???

??? ??

??? ????
1601
29
PHP ????
1502
276
???
PHP ?? ??? ??????? PHP ?? ??? ??????? Jul 17, 2025 am 04:16 AM

PHP ?? ??? ?? ???? ?? ? ????? ??? ?????. 1. ?? ??? ??? ??? ??? ? ? ??? ??? ??? ?? ?? ??? ???? ???????. 2. ?? ??? ???? ???? ? ?? ????? ?? ?? ?? ??? ?????. 3. $ _get ? $ _post? ?? Hyperglobal ??? ?? ???? ?? ??? ? ??? ??? ??????? ???????. 4. ?? ?? ?? ???? ?? ?? ?? ??? ?????? ?? ??? ??? ?? ??? ???????. ??? ??? ????? ??? ??? ?? ???? ????? ? ??? ? ? ????.

PHP?? ?? ???? ???? ???? ??? ?????? PHP?? ?? ???? ???? ???? ??? ?????? Jul 08, 2025 am 02:37 AM

PHP ?? ???? ???? ????? ?? ? ??? ???? ?? ?? ? ??? ???? ?? ??? ?????? ??? ??? ? ? ???????. 1. ??? ?? CSRF? ???? ?? ??? ??? ???? ?????? ??? ???? FINFO_FILE? ?? ?? MIME ??? ?????. 2. ??? ??? ??? ???? ??? ?? ??? ?? ? WEB ????? ??? ???? ??????. 3. PHP ?? ??? ?? ? ?? ???? NGINX/APACHE? ??? ????? ?? ???? ?????. 4. GD ?????? ??? ? ?? ???? ??? ?? ??? ?? ????.

PHP?? ?? ?? PHP?? ?? ?? Jul 18, 2025 am 04:57 AM

PHP ?? ???? ? ?? ???? ??? ????. 1. // ?? #? ???? ? ?? ??? ???? // ???? ?? ????. 2. ?? /.../ ?? ?? ?? ??? ????? ?? ? ?? ??? ?? ? ? ????. 3. ?? ?? ?? / if () {} /? ?? ?? ??? ????? ??? ?? ?? ?? ??? ???? ????? ???? ??? ?? ???? ???? ??? ? ??? ??????.

PHP ?? ?? ? PHP ?? ?? ? Jul 18, 2025 am 04:51 AM

PHP ??? ???? ??? ??? ??? ????? ????. ??? ????? ?? ???? ??? "?? ? ?"??? "?"? ???????. 1. ??? ? ??? ??? DocBlock (/*/)? ?? ?? ??? ???? ??? ? ?? ???? ??????. 2. JS ??? ???? ?? ???? ??? ?? ??? ??? ?????. 3. ??? ?? ?? ?? ??? ???? ????? ????? ???? ?? ????? ???? ? ??????. 4. Todo ? Fixme? ????? ???? ? ? ??? ??? ???? ?? ?? ? ??? ???????. ??? ???? ?? ??? ??? ?? ?? ?? ???? ???? ? ????.

PHP?? ???? ??? ?????? PHP?? ???? ??? ?????? Jul 11, 2025 am 03:12 AM

Ageneratorinphpisamemory- ???? Way-Erate-Overgedatasetsetsbaluesoneatimeatimeatimeatimallatonce.1.generatorsuseTheyieldKeywordTocroadtOpvaluesondemand, RetingMemoryUsage.2

?? PHP : ??? ??? ?? PHP : ??? ??? Jul 18, 2025 am 04:54 AM

tolearnpheffectical, startBysetTupaloCalserErverEnmentUsingToolslikexamppandacodeeditor -likevscode.1) installxamppforapache, mysql, andphp.2) useacodeeditorforsyntaxsupport.3)) 3) testimplephpfile.next, withpluclucincludechlucincluclucludechluclucled

?? PHP ?? ??? ?? PHP ?? ??? Jul 18, 2025 am 04:52 AM

toinstallphpquickly, usexampponwindowsorhomebrewonmacos.1. ??, downloadandinstallxAmpp, selectComponents, startApache ? placefilesinhtdocs.2

PHP?? ??? ? ???? ??? ????? ?? PHP?? ??? ? ???? ??? ????? ?? Jul 12, 2025 am 03:15 AM

PHP??? ???? ??? ?? ?? ????? ???? ??? ?? ??? ??? ?? ? ??? ??? ???? ?????. ???? 0?? ???? ?? ??? ???? ? ?? ???? ?? ?? ? ? ????. MB_SUBSTR? ?? ??? ??? ???????. ? : $ str = "hello"; echo $ str [0]; ?? H; ??? MB_SUBSTR ($ str, 1,1)? ?? ??? ??? ??? ??????. ?? ???????? ???? ??? ???? ?? ???? ?? ?? ???? ?????? ??? ????? ?? ??? ?? ??? ???? ???? ?? ????.

See all articles