listinfo("where typeid=$tid and linktype=1 and passed =1"); $link_word = $link->listinfo("where typeid=$tid and linktype=0 and passed =1"); } include template('link', 'list'); } else { $datas = subtype('link'); foreach($datas AS $data) { $link_logos[$data[typeid]] = $link->listinfo("where passed =1 AND linktype=1 AND typeid ='$data[typeid]'"); $link_words[$data[typeid]] = $link->listinfo("where passed =1 AND linktype=0 AND typeid ='$data[typeid]'"); } include template('link', 'index'); } ?>内蒙古十一选五6月30日