Line 264: string sql = "select repeats,starttag,endtag from tags where name='" + tagename + "'";
Line 265: OleDbDataReader dr = con.DrSelect(sql, null);
Line 266: if (dr.Read())
Line 267: {
Line 268: string sql_ = "select top " + topnums + " a.title,a.titlebold,a.titlecolor,a.website,a.htmlurl,a.picSmall,a.describe,a.dates,b.infoname,a.fid,a.cid,a.id from " + param[2] + " as a,info_class as b where a.cid=b.id and a.cid=" + fid + " and a.state>0 and a.info_state=2 order by a.state desc,a.dates desc, a.sortnum desc, a.id desc";//and a.hot>0 and a.tgstate>0
|