公益
建站经验频道 > 正文
2022-02-17 12:52:29 来源:海南科技网  繁体 复制  

网站名称

<?=$public_r[sitename]?>

点击率:

<?=DoWapClearHtml($wapr[onclick])?>

<?=DoWapClearHtml($r[onclick])?>

详情标签:

<?=$wapr[smalltext]?>和 <?=esub($r[smalltext],120,'......')?>

标题标签:

<?=$wapr[title]?>和<?=esub($wapr[title],34)?>

自定义导航或栏目导航

<a href="cxy.php"><?=$class_r[128]['classname']?></a>

图片列表标签

<?php

$wapsql=ewap_eloop(2,9,0,1);

while($wapr=$empire->fetch($wapsql))

{

$wapsr=ewap_eloop_sp($wapr);

$titleurl="show.php?classid=".$r[classid]."&amp;id=".$r[id]."&amp;style=".$wapstyle."&amp;bclassid=".$bclassid."&amp;cid=".$classid."&amp;cpage=".$page;

//截取字数

if($pr['wapsubtitle'])

{

$r[title]=sub($r[title],0,$pr['wapsubtitle'],false);

}

//时间格式

$r[newstime]=date($pr['wapshowdate'],$r[newstime]);

?>

<!--图片列表-->

<dl class="pro_con">

<dt class="pro_picture"><a href="<?=$wapsr[titleurl]?>" data-ajax="false"><img width="100%" alt="<?=$wapr[title]?>" src="<?=$wapr[titlepic]?>"></a></dt>

<dd class="pro_name">

<h4><a title="<?=$wapr[title]?>"  href="<?=$wapsr[titleurl]?>" data-ajax="false"><?=$wapr[title]?></a></h4></dd>

<dd class="orange">

</dd>

</dl>

<?php

}

?>

文章列表标签

<?php

$wapsql=ewap_eloop(91,3,0,0);

while($wapr=$empire->fetch($wapsql))

{

$wapsr=ewap_eloop_sp($wapr);

?>

<dl>

<dt><a title="<?=$wapr[title]?>" href="<?=$wapsr[titleurl]?>" data-ajax="false"> <?=esub($wapr[title],34)?></a></dt>

<dd><?=$wapr[smalltext]?></dd>

</dl>

<?

}

?>

一级导航标签:

<?php

$sqld=$empire->query("select * from {$dbtbpre}enewsclass where bclassid=0 and showclass=0  order by myorder,classid limit 0,10");

while($rd=$empire->fetch($sqld))

{

$classurl="list.php?classid=".$rd[classid]."&bclassid=".$bclassid;

?>

<li><a href="<?=$classurl?>"><?=DoWapClearHtml($rd[classname])?></a></li>

<?php

}

?>

栏目简介:

<?=DoWapRepNewstext($classr[intro])?>

栏目名称:

<?=$class_r[$wapr[classid]][classname]?>

栏目别名:

<?=$wapsr[classname]?>

热度:

<?=DoWapClearHtml($r[onclick])?>

标题:

<?=DoWapClearHtml($wapr[title])?>

手机端去除滚动条

<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="viewport" id="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

编辑:

<?=DoWapClearHtml($wapr[writer])?>

调用栏目链接:

<?=$class_r[栏目ID]['classpath']?>/
编辑:
<?=$r[username]?$r[username]:''?>
栏目缩略图:
<?php
$cr=$empire->fetch1("select classimg from {$dbtbpre}enewsclass where classid='".$r['classid']."' limit 1");
?>
<img src="<?=$cr[classimg]?>">
栏目简介:
<?
$classr=$empire->fetch1("select intro from {$dbtbpre}enewsclass where classid='".$r[classid]."' limit 1");
?>
 <?=DoWapRepNewstext($classr[intro])?>

  本网声明:海南科技网发布此文仅出于信息分享,并非赞同其观点或证实其描述,不承担侵权行为的连带责任。投资者据此操作,风险自担。版权归原作者所有,如涉版权或来源标注有误,请联系我们删除。本网原创内容未经书面授权,任何单位或个人不得转载和摘编。

猜您喜欢

网站首页 - 网站简介 - 公益服务 - 联系我们 - 合作伙伴 - 公益活动 - 服务条款 - 法律声明 - 网站帮助 - 网站地图 - 返回顶部

Copyright © 2006-2024 www.haixinnews.com. All Rights Reserved

工信部ICP备案许可证编号:ICP备13067700号 QQ咨询:1621214899

本网站所刊载信息,不代表海南网观点。刊用本网稿件,务经书面授权。

海南网-海新网-海南在线-打造海南受欢迎有影响力的主流综合门户网站!

未经书面授权禁止复制或建立镜像,违者必究。

海南网  海新网  版权所有