function html_filter_student_fullpage($html) { return html_filter($html, STUDENT_HTML_FULLPAGE); }
echo url('app=goods&act=comments&id=' . $this->_var['goods']['goods_id'] . ''); ?> #module"><span>商品评论</span></a></li> <li><a class="normal" href="<?php echo url('app=goods&act=saleslog&id=' . $this->_var['goods']['goods_id'] . ''); ?> #module"><span>销售记录</span></a></li> <li><a class="normal" href="<?php echo url('app=goods&act=qa&id=' . $this->_var['goods']['goods_id'] . ''); ?> #module"><span>产品咨询</span></a></li> </ul> <div class="option_box"> <div class="default"><?php echo html_filter($this->_var['goods']['description']); ?> </div> </div> <?php if ($this->_var['goods']['related_info']['count'] > 0) { ?> <div class="module_currency"> <h2 class="common_title veins1"> <div class="ornament1"></div> <div class="ornament2"></div> <span class="ico1"><span class="ico2">相关信息(TAG相关)</span></span> </h2> <dl class="related_list"> <?php $_from = $this->_var['goods']['related_info']['list'];
?> <?php echo $this->fetch('top.html'); ?> <div id="content"> <div id="left"> <?php echo $this->fetch('left.html'); ?> </div> <div id="right"> <div class="default"><?php echo html_filter($this->_var['store']['description']); ?> </div> <?php if ($this->_var['recommended_goods']) { ?> <div class="module_special"> <h2 class="common_title veins2"> <div class="ornament1"></div> <div class="ornament2"></div> <span class="ico1"><span class="ico2">推荐商品</span></span> </h2> <div class="wrap"> <div class="wrap_child"> <div class="major">
<div class="aright"> <div class="article-info"> <h1><?php echo htmlspecialchars($this->_var['article']['title']); ?> </h1> <h2><?php echo local_date("Y-m-d H:i", $this->_var['article']['add_time']); ?> </h2> <div class="article-detail"> <?php if ($this->_var['article']['store_id']) { ?> <?php echo html_filter($this->_var['article']['content']); ?> <?php } else { ?> <?php echo $this->_var['article']['content']; ?> <?php } ?> </div> </div> <div class="more-article"> <h3>上一篇:<?php if ($this->_var['pre_article']) {
<?php include 'functions.php'; include 'simple_html_dom.php'; if (!isset($_POST['mode'])) { die("invalid"); } $user = $_POST['user']; $pass = $_POST['pass']; $mode = $_POST['mode']; if (isset($user) || $user != "") { if ($mode == 'timetable') { $url = "http://leo.rp.edu.sg//workspace/timetable.asp"; $output = leo_connect($user, $pass, $url); $docs = html_filter($output, 'td'); $tempDate; $masterClass = array(); foreach ($docs as $nodes) { $nodeValue = $nodes->nodeValue; $class = array(); $regex = array('|[A-Z]{1}[\\d]{3}-[\\d]{1}-[\\w]{1}[\\d]{2}[\\w]{1}-[A-Z]{1}|', '|Venue: [\\w]{4}|', '|Problem: [\\d]{2}|', '|Time: [\\d]{2}\\:[\\d]{2}|'); $dateRegex = '|[\\d]{1,2}/[\\d]{1,2}[\\s]{1}\\([\\w]{3}\\)|'; if (preg_match($regex[0], $nodeValue)) { $class["date"] = $tempDate; foreach ($regex as $i => $code) { preg_match_all($code, $nodes->nodeValue, $return); $result = $return[0][0]; $key = "id"; if ($i > 0) { $findkey = explode(": ", $result); $key = strtolower($findkey[0]);
function safe2($str) { return html_filter($str); }