<?php
/**
* Smarty Internal Plugin Templateparser
*
* This is the template parser.
* It is generated from the internal.templateparser.y file
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
class TP_yyToken implements ArrayAccess
{
public $string = '';
public $metadata = array();
function __construct($s, $m = array())
{
if ($s instanceof TP_yyToken) {
$this->string = $s->string;
$this->metadata = $s->metadata;
} else {
$this->string = (string) $s;
if ($m instanceof TP_yyToken) {
$this->metadata = $m->metadata;
} elseif (is_array($m)) {
$this->metadata = $m;
}
}
}
function __toString()
{
return $this->_string;
}
function offsetExists($offset)
{
return isset($this->metadata[$offset]);
}
function offsetGet($offset)
{
return $this->metadata[$offset];
}
function offsetSet($offset, $value)
{
if ($offset === null) {
if (isset($value[0])) {
$x = ($value instanceof TP_yyToken) ?
$value->metadata : $value;
$this->metadata = array_merge($this->metadata, $x);
return;
}
$offset = count($this->metadata);
}
if ($value === null) {
return;
}
if ($value instanceof TP_yyToken) {
if ($value->metadata) {
$this->metadata[$offset] = $value->metadata;
}
} elseif ($value) {
$this->metadata[$offset] = $value;
}
}
function offsetUnset($offset)
{
unset($this->metadata[$offset]);
}
}
class TP_yyStackEntry
{
public $stateno; /* The state-number */
public $major; /* The major token value. This is the code
** number for the token at this stack level */
public $minor; /* The user-supplied minor token value. This
** is the value of the token */
};
#line 12 "smarty_internal_templateparser.y"
class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php"
{
#line 14 "smarty_internal_templateparser.y"
const Err1 = "Security error: Call to private object member not allowed";
const Err2 = "Security error: Call to dynamic object member not allowed";
const Err3 = "PHP in template not allowed. Use SmartyBC to enable it";
// states whether the parse was successful or not
public $successful = true;
public $retvalue = 0;
private $lex;
private $internalError = false;
private $strip = false;
function __construct($lex, $compiler) {
$this->lex = $lex;
$this->compiler = $compiler;
$this->smarty = $this->compiler->smarty;
$this->template = $this->compiler->template;
$this->compiler->has_variable_string = false;
$this->compiler->prefix_code = array();
$this->prefix_number = 0;
$this->block_nesting_level = 0;
if ($this->security = isset($this->smarty->security_policy)) {
$this->php_handling = $this->smarty->security_policy->php_handling;
} else {
$this->php_handling = $this->smarty->php_handling;
}
$this->is_xml = false;
$this->asp_tags = (ini_get('asp_tags') != '0');
$this->current_buffer = $this->root_buffer = new _smarty_template_buffer($this);
}
public static function escape_start_tag($tag_text) {
$tag = preg_replace('/\A<\?(.*)\z/', '<<?php ?>?\1', $tag_text, -1 , $count); //Escape tag
return $tag;
}
public static function escape_end_tag($tag_text) {
return '?<?php ?>>';
}
public function compileVariable($variable) {
if (strpos($variable,'(') == 0) {
// not a variable variable
$var = trim($variable,'\'');
$this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable($var, null, true, false)->nocache;
$this->template->properties['variables'][$var] = $this->compiler->tag_nocache|$this->compiler->nocache;
}
// return '(isset($_smarty_tpl->tpl_vars['. $variable .'])?$_smarty_tpl->tpl_vars['. $variable .']->value:$_smarty_tpl->getVariable('. $variable .')->value)';
return '$_smarty_tpl->tpl_vars['. $variable .']->value';
}
#line 132 "smarty_internal_templateparser.php"
const TP_VERT = 1;
const TP_COLON = 2;
const TP_COMMENT = 3;
const TP_PHPSTARTTAG = 4;
const TP_PHPENDTAG = 5;
const TP_ASPSTARTTAG = 6;
const TP_ASPENDTAG = 7;
const TP_FAKEPHPSTARTTAG = 8;
const TP_XMLTAG = 9;
const TP_TEXT = 10;
const TP_STRIPON = 11;
const TP_STRIPOFF = 12;
const TP_LITERALSTART = 13;
const TP_LITERALEND = 14;
const TP_LITERAL = 15;
const TP_LDEL = 16;
const TP_RDEL = 17;
const TP_DOLLAR = 18;
const TP_ID = 19;
const TP_EQUAL = 20;
const TP_PTR = 21;
const TP_LDELIF = 22;
const TP_LDELFOR = 23;
const TP_SEMICOLON = 24;
const TP_INCDEC = 25;
const TP_TO = 26;
const TP_STEP = 27;
const TP_LDELFOREACH = 28;
const TP_SPACE = 29;
const TP_AS = 30;
const TP_APTR = 31;
const TP_LDELSETFILTER = 32;
const TP_SMARTYBLOCKCHILD = 33;
const TP_LDELSLASH = 34;
const TP_INTEGER = 35;
const TP_COMMA = 36;
const TP_OPENP = 37;
const TP_CLOSEP = 38;
const TP_MATH = 39;
const TP_UNIMATH = 40;
const TP_ANDSYM = 41;
const TP_ISIN = 42;
const TP_ISDIVBY = 43;
const TP_ISNOTDIVBY = 44;
const TP_ISEVEN = 45;
const TP_ISNOTEVEN = 46;
const TP_ISEVENBY = 47;
const TP_ISNOTEVENBY = 48;
const TP_ISODD = 49;
const TP_ISNOTODD = 50;
const TP_ISODDBY = 51;
const TP_ISNOTODDBY = 52;
const TP_INSTANCEOF = 53;
const TP_QMARK = 54;
const TP_NOT = 55;
const TP_TYPECAST = 56;
const TP_HEX = 57;
const TP_DOT = 58;
const TP_SINGLEQUOTESTRING = 59;
const TP_DOUBLECOLON = 60;
const TP_AT = 61;
const TP_HATCH = 62;
const TP_OPENB = 63;
const TP_CLOSEB = 64;
const TP_EQUALS = 65;
const TP_NOTEQUALS = 66;
const TP_GREATERTHAN = 67;
const TP_LESSTHAN = 68;
const TP_GREATEREQUAL = 69;
const TP_LESSEQUAL = 70;
没有合适的资源?快使用搜索试试~ 我知道了~
基于PHP的U660网站分类目录整站源码 php版.zip
共588个文件
php:278个
gif:184个
html:53个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 2 浏览量
2023-07-23
00:26:32
上传
评论
收藏 1.64MB ZIP 举报
温馨提示
基于PHP的U660网站分类目录整站源码 php版.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于PHP的U660网站分类目录整站源码 php版.zip (588个子文件)
default.css 19KB
style.css 15KB
member.css 4KB
login.css 3KB
simple.css 3KB
treeview.css 3KB
page.css 2KB
skin.css 2KB
login.css 1KB
qq.css 1KB
prettify.css 960B
global.css 814B
iframe.css 694B
httpd.parse.errors 0B
static.gif 35KB
35.gif 13KB
42.gif 13KB
40.gif 10KB
18.gif 8KB
19.gif 8KB
11.gif 8KB
yx.gif 7KB
32.gif 7KB
49.gif 6KB
qq_1.gif 6KB
29.gif 6KB
97.gif 5KB
65.gif 5KB
31.gif 5KB
46.gif 5KB
57.gif 5KB
45.gif 5KB
8.gif 5KB
43.gif 4KB
33.gif 4KB
68.gif 4KB
26.gif 4KB
14.gif 4KB
7.gif 4KB
51.gif 4KB
10.gif 4KB
47.gif 4KB
72.gif 4KB
6.gif 3KB
94.gif 3KB
84.gif 3KB
siderIM_infobox.gif 3KB
41.gif 3KB
17.gif 3KB
9.gif 3KB
28.gif 3KB
50.gif 3KB
siderIM_title.gif 3KB
95.gif 3KB
22.gif 3KB
27.gif 3KB
67.gif 3KB
90.gif 3KB
60.gif 3KB
loading.gif 3KB
58.gif 3KB
logo.gif 3KB
74.gif 2KB
25.gif 2KB
101.gif 2KB
54.gif 2KB
fbg.gif 2KB
99.gif 2KB
24.gif 2KB
12.gif 2KB
73.gif 2KB
104.gif 2KB
103.gif 2KB
34.gif 2KB
88.gif 2KB
53.gif 2KB
treeview-default-line.gif 2KB
4.gif 2KB
23.gif 2KB
treeview-gray-line.gif 2KB
treeview-red-line.gif 2KB
treeview-black-line.gif 2KB
5.gif 2KB
21.gif 2KB
3.gif 2KB
0.gif 2KB
20.gif 2KB
2.gif 2KB
39.gif 2KB
96.gif 2KB
100.gif 2KB
30.gif 2KB
logo.gif 2KB
48.gif 2KB
13.gif 2KB
38.gif 2KB
98.gif 2KB
83.gif 2KB
81.gif 2KB
55.gif 2KB
共 588 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
助力毕业
- 粉丝: 2177
- 资源: 5131
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于C#开发的酒店客房管理系统+数据库+GUI界面+源码+项目解析+文档(毕业设计&课程设计&项目开发)
- UGUI Super ScrollView 2.5.3 和 UGUI Super ScrollView 2.4.3
- 丰田考斯特客车3D模型
- 基于Pytorch实现的点云Transformer-附项目源码-优质项目实战.zip
- 虚拟机下Ubuntu上网设置_ubuntu虚拟机怎么连接网络-CSDN博客.mhtml
- 基于Java的库存管理系统课程设计源码
- 基于51单片机的DHT11、DS1302、MQ135等模块的监测,并在0.96oled显示出来
- 基于STM32C6T6和0.96OLED显示的一个简单的手表
- STM32F标准库二次封装ADC库
- 基于Java的车管项目设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功