本站资源均来自互联网,仅供学习与参考,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
Copyright @ 2015-2020 织梦园 版权所有
Power by DedeCms
鲁ICP备15039853号-1
鲁公网安备 37132302000249号
模板标签 TAG标签 网站地图 XML地图 今日更新 返回顶部
然后我们在其关联的模板htm文件 写入 <div id='testx'></div>
再扩展下,便可得
document.getElementById("Comment").innerHTML="<?php
$dsql->GetOne("select * from `archives` WHERE channel='3' order by id DESC limit 9");
$dsql->Execute('me');
while ($row = $dsql->GetArray('me')){
if($row['flag'] == "c,p"){
$tj = "<i class='tj'></i>";
}else{
$tj = "";
}
?><li><a href='../plus/view.php?aid=<?php echo $row['id']; ?>' target='_blank' title='<?php echo $row['title']; ?>'><img src='<?php echo $row['litpic']; ?>' width='230' /><?php echo $tj; ?></a><span class='title' title='<?php echo $row['title']; ?>'><a href='../plus/view.php?aid=<?php echo $row['id']; ?>' target='_blank'><?php echo $row['title']; ?></a></span></li><?php
} print_r($row);
?>";
可以方便在织梦会员中心调用出需要的循环文档
可以方便在织梦会员中心调用出需要的循环文档