From 60467bbff2606b8f35dd5dfcf11d8f0b7b7ab8ce Mon Sep 17 00:00:00 2001 From: whatsns <617035918@qq.com> Date: Wed, 12 Aug 2020 15:37:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=9A=84default=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E5=92=8Cfronzewap=E7=A7=BB=E5=8A=A8=E7=AB=AF=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E6=9B=B4=E6=96=B0=E8=80=81=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E5=BA=93=E5=92=8C=E4=B8=93=E6=A0=8F=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=88=B0=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E5=BA=93=E5=92=8C=E4=B8=93=E6=A0=8F=E6=A8=A1=E6=9D=BF=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/views/default/askcategory.php | 370 ++++++++++++++++ application/views/default/seoarticlelist.php | 415 ++++++++++++++++++ application/views/fronzewap/askcategory.php | 397 +++++++++++++++++ .../views/fronzewap/seoarticlelist.php | 320 ++++++++++++++ 4 files changed, 1502 insertions(+) create mode 100644 application/views/default/askcategory.php create mode 100644 application/views/default/seoarticlelist.php create mode 100644 application/views/fronzewap/askcategory.php create mode 100644 application/views/fronzewap/seoarticlelist.php diff --git a/application/views/default/askcategory.php b/application/views/default/askcategory.php new file mode 100644 index 0000000..e36a836 --- /dev/null +++ b/application/views/default/askcategory.php @@ -0,0 +1,370 @@ + + + + +{eval $pid=$category['pid'];} +
+ +
+
+ + +
+ +
+
+
+
+
+ +
+
+
+ + 方向: + +
+
+ + + + 全部 + + + {eval $catlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isuseask=1 and grade=1 and pid=0 order by displayorder asc limit 0,100");} + {if $catlist} + + {if $index<15} + + {if isset($pid)&&$pid!=0} + + + {else} + + + {/if} + {$cat['name']} + + + {/if} + + + {if $index>=15} + + {if isset($pid)&&$pid!=0} + + + {else} + + + {/if} + {$cat['name']} + + + {/if} + + {if count($catlist)>=15} + + {/if} + + {/if} +
+
+ +
+
+ + 标签: + +
+
+ {if isset($cid)&&$cid!='all'} + + {else} + + {/if} + + 全部 + + + {if isset($pid)&&$pid!=0} + + {eval $_cid1=intval($pid); $subcatlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isuseask=1 and grade=2 and pid=$_cid1 order by displayorder asc ");} + + {else} + {if isset($cid)&&$cid!='all'} + {eval $_cid1=intval($this->category[$cid]['pid'])!=0 ? intval($this->category[$cid]['pid']):$cid; $subcatlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isuseask=1 and grade=2 and pid=$_cid1 order by displayorder asc ");} + + {else} + {eval $subcatlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isuseask=1 and grade=2 order by displayorder asc ");} + + {/if} + + + {/if} + + {if $subcatlist} + + {if $sindex<20} + + + {$subcat['name']} + + + + {/if} + + + + {if $sindex>=20} + + + {$subcat['name']} + + + + {/if} + + {if count($subcatlist)>=20} + + {/if} + {/if} + +
+
+ +
+
+
+ + + + + +
+ + +
+
+
+
+ + + +
+ +
+ + +
+
+ {if $question['answers']==0} +
+ {$question['answers']}回答
+ {else} + {if $question['status']==2} +
+ {$question['answers']}解决
+ {else} + +
+ {$question['answers']}回答
+ {/if} + {/if} +
{$question['views']}浏览
+
+

{$question['title']}

+
    +
  • + + {if $question['hidden']!=1} + {$question['author']} + {if $question['author_has_vertify']!=false}{/if} + {else} + 匿名用户 + {/if} + + {$question['format_time']} + {if $question['shangjin']!=0} + 悬赏$question['shangjin']元 + {/if} + + {if $question['price']>0} + $question['price'] + {/if} + +
  • + {if $question['shangjin']&&$question['status']==1} {/if} + + {if $question['shangjin']&&$question['status']==2} {/if} + +
+ + + + + +
+
+ +
+
+ {$departstr} +
+
+ +
+
+ + + + + + +
+
+

热门标签

+ +
+
+ + + + + + +
+
+ +
+ + + \ No newline at end of file diff --git a/application/views/default/seoarticlelist.php b/application/views/default/seoarticlelist.php new file mode 100644 index 0000000..2fc6000 --- /dev/null +++ b/application/views/default/seoarticlelist.php @@ -0,0 +1,415 @@ + + + + +
+ + +
+ + +
+ +
+ + +
+ +
+
+
+
+
+ +
+
+
+ + 方向: + +
+
+ + + + 全部 + + + {eval $catlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isusearticle=1 and grade=1 and pid=0 order by displayorder asc limit 0,100");} + {if $catlist} + + {if $index<15} + + {if isset($pid)&&$pid!=0} + + + {else} + + + {/if} + {$cat['name']} + + + {/if} + + + + {if $index>=15} + + {if isset($pid)&&$pid!=0} + + + {else} + + + {/if} + {$cat['name']} + + + {/if} + + {if count($catlist)>=15} + + {/if} + {/if} +
+
+ +
+
+ + 标签: + +
+
+ {if isset($catid)&&$catid!='all'} + + {else} + + {/if} + + 全部 + + + {if isset($pid)&&$pid!=0} + + {eval $_cid1=intval($pid); $subcatlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isusearticle=1 and grade=2 and pid=$_cid1 order by displayorder asc ");} + + {else} + {if isset($catid)&&$catid!='all'} + {eval $_cid1=intval($catid); $subcatlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isusearticle=1 and grade=2 and pid=$_cid1 order by displayorder asc ");} + + {else} + {eval $subcatlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isusearticle=1 and grade=2 order by displayorder asc ");} + + {/if} + + + {/if} + + + + {if $sindex<20} + + {if $catid==$subcat['id']} + + {else} + +{/if} + {$subcat['name']} + + + {/if} + + + + {if $sindex>=20} + + + {$subcat['name']} + + + {/if} + + + + {if count($subcatlist)>=20} + + {/if} + + + +
+
+ +
+
+
+ + + + + +
+ + +
+
+
+
+ +
+ + + +
+ +
+
+
+ + {$topic['articles']} +
+
+

+ + {$topic['title']} + {if $topic['readmode']==3} + $topic['price']元阅读 + {/if} + {if $topic['readmode']==2} + $topic['price']财富值 + {/if} +

+ +

+

+ +
+ + {if $topic['price']!=0} +
+ + {eval echo clearhtml($topic['freeconent']);} + {if $topic['readmode']==2} +  更多阅读需支付 $topic['price']  财富值…… +{/if} + {if $topic['readmode']==3} +  更多阅读需支付 $topic['price']  元…… +{/if} + +
+ {else} + {eval echo clearhtml($topic['describtion'],150);} + {/if} + + +

+
+
+ +
+
+ $departstr +
+
+
+ + + +
+ +
+

发布经验,赚取财富值,去财富商城兑换礼品!

+ 写文章 +
+ + + + + + + +
+
+

热门标签

+ +
+
+ + +
+
+ + + + + +
+
+ + + \ No newline at end of file diff --git a/application/views/fronzewap/askcategory.php b/application/views/fronzewap/askcategory.php new file mode 100644 index 0000000..6e2066f --- /dev/null +++ b/application/views/fronzewap/askcategory.php @@ -0,0 +1,397 @@ + + + +
+ +
+
+
+
+
+
+
+ +
+ +
+ {if isset($cid)&&$cid!='all'} + + {else} + + {/if} + + 全部 + + + {if isset($pid)&&$pid!=0} + + {eval $_cid1=intval($pid); $subcatlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isuseask=1 and grade=2 and pid=$_cid1 order by displayorder desc ");} + + {else} + {if isset($cid)&&$cid!='all'} + {eval $_cid1=intval($this->category[$cid]['pid'])!=0 ? intval($this->category[$cid]['pid']):$cid; $subcatlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isuseask=1 and grade=2 and pid=$_cid1 order by displayorder desc ");} + + {else} + {eval $subcatlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isuseask=1 and grade=2 order by displayorder desc ");} + + {/if} + + + {/if} + + {if $subcatlist} + + {if $sindex<20} + + + {$subcat['name']} + + + + {/if} + + + + {if $sindex>=20} + + + {$subcat['name']} + + + + {/if} + + {if count($subcatlist)>=20} + + {/if} + {/if} + +
+
+ +
+
+
+ + + + + +
+ + +
+
+
+
+ + +
+ + + + +
+ + +
+ +
+ {if $question['status']==2} +
+ {$question['answers']}解决
+ {else} + {if $question['answers']>0} +
+ $question['answers']回答
+
+ {else} +
+ 0回答
+ {/if} + + + {/if} + +
+ + + +
+ +
+
+ {$departstr} +
+
+ + +
+
+

热门标签

+ +
+
+ +
+ +
+ +
+ 一周热点 + +
+ +
+ + +
+ + +
+ {if $question['status']==2} +
+ {$question['answers']}解决
+ {else} + {if $question['answers']>0} +
+ $question['answers']回答
+
+ {else} +
+ 0回答
+ {/if} + + + {/if} +
+ +

{$question['title']}

+ + + + + + + +
+
+ + + +
+ +
+ + \ No newline at end of file diff --git a/application/views/fronzewap/seoarticlelist.php b/application/views/fronzewap/seoarticlelist.php new file mode 100644 index 0000000..96ed4b0 --- /dev/null +++ b/application/views/fronzewap/seoarticlelist.php @@ -0,0 +1,320 @@ + + + + +
+ +
+
+
+
+
+ +
+
+ +
+ +
+ {if isset($pid)&&$pid!=0} + {eval $_ccid=$pid;} + {else} + {eval $_ccid=$catid;} + {/if} + + + + + + 全部 + + + {if isset($pid)&&$pid!=0} + + {eval $_cid1=intval($pid); $subcatlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isusearticle=1 and grade=2 and pid=$_cid1 order by displayorder desc ");} + + {else} + {if isset($catid)&&$catid!='all'} + {eval $_cid1=intval($catid); $subcatlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isusearticle=1 and grade=2 and pid=$_cid1 order by displayorder desc ");} + + {else} + {eval $subcatlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."category where iscourse=0 and isusearticle=1 and grade=2 order by displayorder desc ");} + + {/if} + + + {/if} + + + + {if $sindex<20} + + {if $catid==$subcat['id']} + + {else} + +{/if} + {$subcat['name']} + + + {/if} + + + + {if $sindex>=20} + + + {$subcat['name']} + + + {/if} + + + + {if count($subcatlist)>=20} + + {/if} + + + +
+
+ +
+
+
+ + + + + +
+ + +
+
+
+
+ +
+ + + + + +
+ + + + +
+ + +
+ + + {if $topic['image']} +
+ + + +
+ + + +
+ {/if} + + + +
+ +
+ + +
+ +
{$departstr}
+
+ + + +
+ +
+ +
+ 热门文章话题 + +
+ +
+
+
    + + {if $index<6} +
  • +
    + +
    +
    +
    + + {$category1['name']} + + {$category1['followers']}人关注 +

    + {eval echo clearhtml($category1['miaosu']);} + +

    +
    + +
    +
  • + {/if} + +
+
+
+ + + \ No newline at end of file -- GitLab