<?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
没有合适的资源?快使用搜索试试~ 我知道了~
aaaaaaaaaaaaaaaaaaaaaaaa
共2901个文件
jpg:540个
php:493个
png:362个
3星 · 超过75%的资源 需积分: 5 76 下载量 66 浏览量
2019-04-19
10:41:53
上传
评论 10
收藏 59.57MB ZIP 举报
温馨提示
aaaaaaaaaaaaaaaaaaaaaaaa 2019.3.7号更新 优化返回逻辑 增加详情页和阅读页首页图标方便用户返回 2019.3.1更新 添加可以上传小说后再次编辑可以继续上传zip包,方便客户做批量上传 增加代理注册短信验证码开关,可以选择是否可以 2019.2.17最新更新: 系统小说阅读页可选择更多配色 后台可选择是否开启微信登陆与自动注册功能 可添加VIP专属漫画,仅供VIP用户阅读 修复功能: 修复了生成批量上传文件.bat 数字排序不正确问题 修复小说上传空白问题 修复漫画详情页自定义分享标题、内容、封面功能 ---------------------------------------------------- 扣量功能 强制关注 公众号消息发送 文案制作 应用尽有 小说+漫画+听书”一体化模式版本。 总站+代理分销模式 可无限发展分销代理,每个代理都有独立的推广后台。总站控制整个平台,自由设置代理分佣比例,以及结算操作
资源推荐
资源详情
资源评论
收起资源包目录
aaaaaaaaaaaaaaaaaaaaaaaa (2901个子文件)
phpqrcode.php.bak 119KB
merge.bat 22B
php_xxtea.c 6KB
xxtea.c 2KB
CHANGELOG 1KB
CodePub.Com鈺︹暋鈹溠_txt 3KB
COPYING 1KB
CREDITS 53B
app.css 241KB
weui.css 195KB
bootstrap.css 151KB
bootstrap.css 151KB
style.min.css 139KB
bootstrap.css 129KB
style.default.css 121KB
bootstrap.min.css 121KB
bootstrap.min.css 120KB
bootstrap.min.css 120KB
bootstrap.min.css 120KB
bootstrap.min.css 120KB
member.css 117KB
style.min.css 114KB
style.min1.css 113KB
common.css 103KB
index.css 99KB
bootstrap.css 97KB
mui.css 94KB
mui.min.css 84KB
letter.css 79KB
style.css 76KB
font.css 55KB
ectouch.css 53KB
app.css 48KB
common.css 47KB
style.css 45KB
ueditor.css 45KB
font_1459473269_4751618.css 44KB
font_1459473269_4751618.css 44KB
common.css 41KB
common.css 41KB
font-awesome.css 37KB
ueditor.min.css 34KB
font-awesome.css 34KB
font-awesome.css 33KB
font-awesome.min.css 30KB
font-awesome.min.css 30KB
font-awesome.css 29KB
font-awesome.css 28KB
font-awesome.min.css 27KB
designer.css 26KB
bootstrap-theme.css 26KB
font-awesome.min.css 26KB
font-awesome.min.css 26KB
font-awesome.min.css 26KB
bootstrap-theme.css 26KB
font.css 24KB
bootstrap-theme.min.css 24KB
mobiscroll.css 23KB
bootstrap-theme.min.css 23KB
store.css 22KB
tabstyles.css 20KB
image.css 19KB
swiper.min.css 17KB
swiper.min.css 17KB
swiper.css 15KB
bootstrap.font.css 15KB
bootstrap.font.css 15KB
bootstrap.font.css 15KB
layer.css 14KB
layer.css 14KB
style.css 13KB
layoutfx.css 13KB
main.css 13KB
mobiscroll.css 13KB
style.css 12KB
fullcalendar.css 12KB
jquery.chosen.css 12KB
base.css 12KB
base.css 12KB
webuploader.css 12KB
webuploader.css 12KB
mynMain.css 11KB
layer.css 11KB
layer.css 11KB
uniform.tp.css 11KB
bootstrap-datetimepicker.min.css 11KB
bootstrap-datetimepicker.min.css 11KB
xb-webuploader.css 11KB
app(1).css 11KB
app.css 11KB
aindex.css 10KB
spark.css 10KB
common.css 10KB
user.css 9KB
common.css 9KB
jquery.ui.css 9KB
mobiscroll_002.css 9KB
style.css 8KB
roboto.css 7KB
main.css 7KB
共 2901 条
- 1
- 2
- 3
- 4
- 5
- 6
- 30
PHP全栈狼
- 粉丝: 398
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页