<?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;
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 131 "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_OTHER = 10;
const TP_LINEBREAK = 11;
const TP_LITERALSTART = 12;
const TP_LITERALEND = 13;
const TP_LITERAL = 14;
const TP_LDEL = 15;
const TP_RDEL = 16;
const TP_DOLLAR = 17;
const TP_ID = 18;
const TP_EQUAL = 19;
const TP_PTR = 20;
const TP_LDELIF = 21;
const TP_LDELFOR = 22;
const TP_SEMICOLON = 23;
const TP_INCDEC = 24;
const TP_TO = 25;
const TP_STEP = 26;
const TP_LDELFOREACH = 27;
const TP_SPACE = 28;
const TP_AS = 29;
const TP_APTR = 30;
const TP_LDELSETFILTER = 31;
const TP_SMARTYBLOCKCHILD = 32;
const TP_LDELSLASH = 33;
const TP_INTEGER = 34;
const TP_COMMA = 35;
const TP_OPENP = 36;
const TP_CLOSEP = 37;
const TP_MATH = 38;
const TP_UNIMATH = 39;
const TP_ANDSYM = 40;
const TP_ISIN = 41;
const TP_ISDIVBY = 42;
const TP_ISNOTDIVBY = 43;
const TP_ISEVEN = 44;
const TP_ISNOTEVEN = 45;
const TP_ISEVENBY = 46;
const TP_ISNOTEVENBY = 47;
const TP_ISODD = 48;
const TP_ISNOTODD = 49;
const TP_ISODDBY = 50;
const TP_ISNOTODDBY = 51;
const TP_INSTANCEOF = 52;
const TP_QMARK = 53;
const TP_NOT = 54;
const TP_TYPECAST = 55;
const TP_HEX = 56;
const TP_DOT = 57;
const TP_SINGLEQUOTESTRING = 58;
const TP_DOUBLECOLON = 59;
const TP_AT = 60;
const TP_HATCH = 61;
const TP_OPENB = 62;
const TP_CLOSEB = 63;
const TP_EQUALS = 64;
const TP_NOTEQUALS = 65;
const TP_GREATERTHAN = 66;
const TP_LESSTHAN = 67;
const TP_GREATEREQUAL = 68;
const TP_LESSEQUAL = 69;
const TP_IDENTITY = 70;
const TP_NONEIDENTITY
没有合适的资源?快使用搜索试试~ 我知道了~
PHP实例开发源码-php红头船B2C商城系统RHSB2C.zip
共986个文件
php:823个
gif:27个
txt:26个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 112 浏览量
2022-11-21
15:12:13
上传
评论
收藏 2.05MB ZIP 举报
温馨提示
PHP实例开发源码—php红头船B2C商城系统RHSB2C.zip PHP实例开发源码—php红头船B2C商城系统RHSB2C.zip PHP实例开发源码—php红头船B2C商城系统RHSB2C.zip
资源推荐
资源详情
资源评论
收起资源包目录
PHP实例开发源码-php红头船B2C商城系统RHSB2C.zip (986个子文件)
ueditor.css 37KB
index.css 13KB
index.css 13KB
admin.css 4KB
admin.css 4KB
codemirror.css 3KB
image.css 3KB
video.css 2KB
emotion.css 2KB
dialogbase.css 2KB
edittable.css 1KB
iframe.css 42B
no_img.gif 49KB
wface.gif 49KB
jxface2.gif 40KB
yface.gif 28KB
bface.gif 27KB
tface.gif 19KB
fface.gif 18KB
icons.gif 15KB
cface.gif 8KB
icons-all.gif 4KB
videologo.gif 2KB
cancelbutton.gif 1KB
button-bg.gif 1KB
lock.gif 1KB
word.gif 1019B
star.gif 560B
star.gif 560B
cursor_v.gif 370B
cursor_h.gif 253B
anchor.gif 184B
pencil.gif 177B
pencil.gif 177B
unhighlighted.gif 111B
highlighted.gif 111B
pagebreak.gif 54B
0.gif 43B
spacer.gif 43B
image.html 11KB
emotion.html 6KB
link.html 4KB
map.html 4KB
gmap.html 4KB
searchreplace.html 3KB
video.html 3KB
edittable.html 2KB
edittd.html 1KB
edittip.html 895B
spechars.html 849B
safe.html 846B
index.html 18B
focus_2.jpg 125KB
focus_1.jpg 120KB
this.jpg 103KB
this.jpg 103KB
logo.jpg 26KB
center_focus.jpg 12KB
center_focus.jpg 12KB
none_focus.jpg 11KB
none_focus.jpg 11KB
left_focus.jpg 11KB
left_focus.jpg 11KB
right_focus.jpg 11KB
right_focus.jpg 11KB
editor_all.js 658KB
editor_all_min.js 255KB
codemirror.js 158KB
image.js 107KB
jquery.min.js 89KB
jquery.min.js 89KB
tangram.js 41KB
zh-cn.js 21KB
uparse.js 16KB
video.js 14KB
editor_config.js 13KB
DD_belatedPNG_0.0.8a.js 12KB
DD_belatedPNG_0.0.8a.js 12KB
admin.js 8KB
admin.js 8KB
edittable.js 6KB
emotion.js 6KB
spechars.js 4KB
searchreplace.js 4KB
index.js 3KB
index.js 3KB
internal.js 2KB
focus.js 2KB
focus.js 2KB
#data.mdb 104KB
smarty_internal_templateparser.php 154KB
class.phpmailer.php 73KB
Smarty.class.php 41KB
smarty_internal_templatelexer.php 36KB
smarty_internal_utility.php 32KB
smarty_internal_configfileparser.php 32KB
smarty_internal_templatebase.php 31KB
smarty_internal_templatecompilerbase.php 28KB
smarty_internal_template.php 25KB
class.smtp.php 25KB
共 986 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
毕业_设计
- 粉丝: 1934
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- uniapp中tab切换,底部内容跟着移动,相反,底部移动,tab也跟着切换-组件
- 基于JS+TS实现跨平台3D相机控制器-附项目源码-优质项目分享.zip
- 跨相机-基于Rust实现的跨平台相机捕获-附项目源码-优质项目分享.zip
- odise 14离线安装包 大众斯柯达奥迪 5054 6153
- 网页设计期末作业-纯html加css+少量js-盗墓笔记旅游导航网站.rar
- 算法笔记模拟退火.rar
- MATLAB大数据仿真案例-蚁群算法(ACO)用于求解旅行商(TSP)问题.rar
- 基于yolov5的吸烟行为检测源码+模型.zip
- MySQL基础知识-个人笔记.rar
- Project8.ipynb
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功