>>> Fremsiden/Planter/Egenskaper ved plantene/Frø/Spirevilkår/Trenger kuldestratifisering

Trenger kuldestratifisering

exec: if(!function_exists('in_context')) handle_layout('function_in_context'); $attrs = parse_descr($descr); # show_parent is default false, true only if # 'parent' parameter is present and value is 'yes' $show_parent = isset($attrs['parent']) ? (($attrs['parent']=='yes') ? true: false) : true; $page_enum = $this->get_page_enum(); $rows = $this->conn->get_rows( "select lc1.cat,misc.value,l.itype,l.url,l.name,l.descr from link_cat lc1,link_cat lc2,linker l,misc where type='$page_enum' and kode=lc1.cat and lc1.link_id={$item[id]} and lc1.cat!=$cur_cat and lc1.max_level>=$userrole and lc2.cat=lc1.cat and lc2.link_id=l.id and ( (l.itype=1002) or (l.itype=17 and l.url like '%_seeds.jpg') or (l.itype=6 and l.name = 'Bruksområde:') or (l.itype=6 and l.name = 'Beskrivelse:')) order by (l.url like '%_blomst.jpg')"); if (count($rows)>0) { #$links = array(); if ($item['name']>'') { echo $item['name'].' '; $show_parent = true; # ! test rb18072008 } $show_parent = false; $saatips = ''; foreach($rows as $row) { if($row['itype']==1002) { $p = parse_descr($row['descr']); $spraak = get_request('spraak'); if(!$spraak) $spraak = 'Norsk'; $link_name = isset($p['-'.$spraak]) ? trim($p['-'.$spraak]) : ''; if(isset($p['-Sort']) and trim($p['-Sort'])>'') $link_name .= " '".trim($p['-Sort'])."'"; $link_name .= isset($p['-Latinsk'])? ' ('.trim($p['-Latinsk']).')' : ''; $new_c = $this->find_cat_path($row["cat"]); $link = make_link($link_name,$new_c); } else if($row['name']=="Såtips:") $saatips = '

Såtips:

'.$row['descr']; else if($row['name']=="Beskrivelse:") $beskr = $row['descr']; else { $bilde = ''.
                 htmlentities($row['value']).''; #$new_c = $this->find_cat_path($row["cat"]); #$link = make_link($row['value'],$new_c); } } echo '
'.$bilde.'
'; echo '

'.$link.'

'; echo $saatips; }