这种布局的页面,要做推荐位的话,往往需要做3个推荐位。但这样就得维护3个推荐位内容。其实可以通过简单粗暴的方式一个推荐位即可搞定。如下代码:{wz:contentaction="block"pagesize="6"type="1"blockid="18"}
<divclass="col-xs-6">
<divclass="narrowArt">
<..
分类:
其他好文 时间:
2016-05-30 17:18:30
阅读次数:
177
<HTML>
<TITLE>WZ_MAIN</TITLE>
<HEAD>
<style>
textarea{height:100px;width:200px;}
</style>
</HEAD>
<BODY>
<textarea>
http://mzsts.host3v.com/
https://github.com/asust/
http://wzsts.blog.51cto.com/
</te..
分类:
其他好文 时间:
2016-05-25 07:08:37
阅读次数:
175
1、栏目列表标签只有一级导航:{wz:contentaction="category"cid="0"pagesize="100"order="sortASC"}<li><ahref="{WEBURL}">首页</a></li>
{loop$rs$r}
{if$r[‘ismenu‘]}<li{if$top_categoryid==$r[‘cid‘]}class="active"{/if}><ahref="{$r[‘..
分类:
其他好文 时间:
2016-05-13 05:00:08
阅读次数:
278
WZhttp://my.oschina.net/wzstshttps://github.com/asustjavahttp://www.xiazaiba.com/tags/t2509-1.htmlCTOhttp://10740329.blog.51cto.comhttp://10969583.blog.51cto.comhttp://10745245.blog.51cto.comhttp://11093888.blog.51cto.comhttp://10824050.blog.51cto.comhttp:/..
分类:
其他好文 时间:
2016-05-10 23:42:47
阅读次数:
181
1、博客园的网摘(不能导出,不能导入) http://wz.cnblogs.com/ 2、百度搜藏(可以导入,可以导出,而且有快照,但是20160416就过期了,该死的,发现的太晚了) http://cang.baidu.com 3、百度云的文章(百度搜藏的替代品,收藏的文章全部在百度云盘) htt ...
分类:
其他好文 时间:
2016-04-17 06:40:16
阅读次数:
157
#include"wz.h"//替代
voidshow(inta[],intn)
{
inti=0;
for(i=0;i<n;i=i+2)
{
cout<<a[i]<<":"<<a[i+1]<<endl;
}
}
voidpaixu(inta[],intn)
{
inti=0,j=0;inttemp1=0,temp2=0;
for(i=1;i<n;i=i+2)
{
for(j=i+2;j<n;j=j+2)
if(a[i]>a[j])..
分类:
其他好文 时间:
2016-04-14 12:28:39
阅读次数:
148
#include"wz.h"
structComplexNode{intvalue;ComplexNode*pNext;ComplexNode*pSibling;};
voiddeleteList(ComplexNode*pHead)
{while(pHead!=NULL)
{ComplexNode*pNext=pHead->pNext;deletepHead;pHead=pNext;}
}
voidCon(ComplexNode*pHead)
{
ComplexNode*pNode=pHead;
w..
分类:
其他好文 时间:
2016-04-13 21:10:12
阅读次数:
201
#include"wz.h"
intcheack(inta[],intn)
{
intstar=a[0];intc=0;
for(i=1;i<n;i++)
{
if(a[i]>star){k++;c++;}
if(a[i]==star-1){k++;star=a[i];}
}
if(k==n-1&&c!=n-1)return1;
elsereturn0;
}
//cout<<"itisnot"<<endl;
intm()
{
intl=0;
inta[]={..
分类:
其他好文 时间:
2016-04-13 20:52:09
阅读次数:
171
#include"wz.h"
#include"sts.h"
class_string
{
friendstd::istream&operator>>(std::istream&is,_string&a);//bug12
friendstd::ostream&operator<<(std::ostream&os,_string&a);
public:
_string()//默认构造函数
{
length=0;
b=newch..
分类:
编程语言 时间:
2016-03-31 07:12:57
阅读次数:
260
/************************************
WZASUST2016
顺序表第二个模板
************************************/
#include"wz.h"
#include"sts.h"
template<typenameT>
classseqlist
{
public:
seqlist()
:_data(NULL)
,_size(0)
,_capacity(0)
{
CheckCapacity();
}
/*..
分类:
编程语言 时间:
2016-03-31 07:12:11
阅读次数:
349