1if($this->ChannelUnit->ChannelInfos['issystem']!=-1) |
1$query = "Select arc.*,tp.reid,tp.typedir,ch.addtable 2from `dede_archives` arc 3left join dede_arctype tp on tp.id=arc.typeid 4left join dede_channeltype as ch on arc.channel = ch.id 5where arc.id='$aid' "; 6$this->Fields = $this->dsql->GetOne($query); |
1$query = "Select arc.*,tp.reid,tp.typedir,tp.typeimg,ch.addtable 2from `dede_archives` arc 3left join dede_arctype tp on tp.id=arc.typeid 4left join dede_channeltype as ch on arc.channel = ch.id 5where arc.id='$aid' "; 6$this->Fields = $this->dsql->GetOne($query); |