diff --git a/application/views/default/askcategory.php b/application/views/default/askcategory.php new file mode 100644 index 0000000000000000000000000000000000000000..e36a836d9f4839c23703db6cdbd336ce7e6790f0 --- /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 0000000000000000000000000000000000000000..2fc600006108f0b4f25e63745a66a23e8da0b634 --- /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 0000000000000000000000000000000000000000..6e2066ff221419470b5a206cfed76ec466e8c658 --- /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 0000000000000000000000000000000000000000..96ed4b0a31694f16af8d09ecf6eadad92789620c --- /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