Clematis - encyklopedia pnączy
document.write("\t\t\t\t\n"
+"\t\t\n"
+"\t\t\t\n"
+"\t\t ");
}
function searchResult()
{
if (!mySearch.is_target_frame)
{
parent.mainSearch.qt = new Array();
if (document.searchInput.elements['qt[simple]'].value != "")
{
parent.mainSearch.qt['simple'] = document.searchInput.elements['qt[simple]'].value;
parent.mainSearch.qt.length++;
}
parent.mainSearch.sort['clematis'] = "name";
parent.mainSearch.sort['climber'] = "name";
parent.mainSearch.sort['covering_plant'] = "name";
//parent.mainSearch.page_no = 1;
parent.mainSearch.getHeaderURLChangePage(1);
//parent.srodek.location.href = parent.mainSearch.searchPageLocation;
}
else
{
mySearch.qt = new Array();
if (document.searchInput.elements['qt[simple]'].value != "")
{
mySearch.qt['simple'] = document.searchInput.elements['qt[simple]'].value;
mySearch.qt.length++;
}
mySearch.sort['clematis'] = "name";
mySearch.sort['climber'] = "name";
mySearch.sort['covering_plant'] = "name";
mySearch.page_no = 1;
mySearch.plant_number = 0;
// alert (mySearch.plant_number);
document.location.href = document.location.href;
}
//alert (mySearch.qt.length);
return false;
}
function setTarget(target)
{
if (target == 1)
{
mySearch.is_target_frame = false;
document.searchInput.target = "srodek";
document.searchInput.action = "katalog_szukaj_wynikiplclematis_main.htm";
} else
{
mySearch.is_target_frame = true;
document.searchInput.target = "";
document.searchInput.action = "clematis_katalog_ramka_offlineplclematis_nostyle.htm";
}
}
function getFrameData(row)
{
var arrTitle = new Array();
var arrContents = new Array();
var arrLink = new Array();
var intTitlesNo = 0;
var strName = "";
var pictures = new Array();
var default_picture = "";
var strDescription = "";
var plant_number = 0;
var facing = "";
number = (row['clematis_plant']);
strDescription = row['description_pl'];
/*strGroup = (row['group_pl']?(" "+row['group_pl']+" "):"");
strName = "" + row['genus'] + " "+" "+(row['is_x']=='1' ? " x " : " ") +
(row['species']?row['species']:"") + " " + (!row['species']?strGroup:"")+
(row['variety']?row['variety']:"") +
(!row['species']?"":strGroup)+
(row['species_old'] ? (" ("+row['species_old']+")"):"");
*/
strName = mySearch.getFullNameFromRow(row);
// frosthardness for all of them!
//frost_from = (row['frosthardness_from']-Math.floor(row['frosthardness_from']))!= 0 ?
// (""+Math.floor(row['frosthardness_from'])+"A") : row['frosthardness_from'];
//frost_to = (row['frosthardness_to']-Math.floor(row['frosthardness_to']))!= 0 ?
// (""+Math.floor(row['frosthardness_to'])+"A") :
// row['frosthardness_to'];
var frost_from = (row['frosthardness_from'].indexOf(",") > 0) ? row['frosthardness_from'].charAt(0)+"A" :
row['frosthardness_from'];
var frost_to = (row['frosthardness_to'].indexOf(",") > 0) ? row['frosthardness_to'].charAt(0)+"A" :
row['frosthardness_to'];
facing =
// this->getSitePath("graph/piktogram_"+row['from_symbol']+"+gif")+"' BORDER=0 WIDTH=9 HEIGHT=9>
"\n"+
"\n"+
//";
"\n";
switch(row['clematis_plant_type'])
{
// CLEMATIS
case "clematis":
if (row['facing_N'] &&
row['facing_E'] &&
row['facing_W'] &&
row['facing_S'])
{facing = "każda";}
else
{
facing="";
if (row['facing_S']) {facing = "płd.";};
if (row['facing_N']) {facing += ((facing == "") ? "" : ", ") + "płn.";};
if (row['facing_E']) {facing += ((facing == "") ? "" : ", ") + "wsch.";};
if (row['facing_W']) {facing += ((facing == "") ? "" : ", ") + "zach.";};
}
//alert(row['genus']+" ");
additional = row['additional_pl'];
strName = strName+(additional ? (", "+additional):"");
arrLink['name'] = "katalog_powojniki_nazwy";
arrTitle[intTitlesNo] = " nazwa polska:";
arrContents[intTitlesNo] = row['name_pl'];
arrLink[intTitlesNo++] = "katalog_pnacza_nazwa_pl";
arrTitle[intTitlesNo] = " barwa kwiatów:"; //barwa kwiatów
arrContents[intTitlesNo] = row['color_pl'];
arrLink[intTitlesNo++] = "katalog_powojniki_barwa";
arrTitle[intTitlesNo] = " wysokość roślin:";//wysokość roślin:";
arrContents[intTitlesNo] = row['height'];
arrLink[intTitlesNo++] = "katalog_powojniki_wysokosc";
arrTitle[intTitlesNo] = " wielkość kwiatów:";//wielkość kwiatów:";
arrContents[intTitlesNo] = mySearch.message[mySearch.size[row['clematis_size']]];
arrLink[intTitlesNo++] = "katalog_powojniki_wielkosc";
arrTitle[intTitlesNo] = " pora kwitnienia:";//kwitnienie:";
arrContents[intTitlesNo] = row['flowering'];
arrLink[intTitlesNo++] = "katalog_powojniki_kwitnienie";
arrTitle[intTitlesNo] = " wystawa:";//wystawa:";
arrContents[intTitlesNo] = facing;
arrLink[intTitlesNo++] = "katalog_powojniki_wystawa_pld";
arrTitle[intTitlesNo] = " cięcie:";//cięcie:";
arrContents[intTitlesNo] = "\n"+ mySearch.message['clem_pruning_type_'+row['pruning']]+"";
arrLink[intTitlesNo++] = "katalog_powojniki_ciecie";
//...
arrTitle[intTitlesNo] = " mrozoodporność:";
arrContents[intTitlesNo] = "\n"+
"strefy "+frost_from+"-"+frost_to+"";
arrLink[intTitlesNo++] = "rosliny_charakterystyka_powojniki_mrozoodpornosc";//"kotalog_powojniki_mrozoodpornosc";
break;
// CLIMBER
case "climber":
// number = (row['clematis_plant']);//+100);
// description = row['description_pl'];
additional = row['additional_pl'];
//name = "" + row['genus'] +" "+(row['is_x'] ? " x " : " ") +
// row['species'] + " " +
// eregi_replace("var\+([^\(]*)","var+ \\1",row['variety']);
strName = strName+(additional ? (" ("+additional+")"):"");
arrLink['name'] = "katalog_pnacza_nazwy";
arrTitle[intTitlesNo] = " nazwa polska:";
arrContents[intTitlesNo] = row['name_pl'];
arrLink[intTitlesNo++] = "katalog_pnacza_nazwa_pl";
arrTitle[intTitlesNo] = " co zdobi:";//co zdobi: ";
arrContents[intTitlesNo] = row['decoration_pl'];
arrLink[intTitlesNo++] = "katalog_pnacza_atrakcja";
if (row['color_pl'])
{
arrTitle[intTitlesNo] = " barwa kwiatów:"; //barwa kwiatów
arrContents[intTitlesNo] = row['color_pl'];
arrLink[intTitlesNo++] = "katalog_powojniki_barwa";
}
if (row['flowering'])
{
arrTitle[intTitlesNo] = " pora kwitnienia:";//kwitnienie:";
arrContents[intTitlesNo] = row['flowering'];
arrLink[intTitlesNo++] = "katalog_pnacza_kwitnienie";
}
arrTitle[intTitlesNo] = " czy zimozielona:";//czy zimozielona:";
arrContents[intTitlesNo] = ((row['evergreen']>0) ?
"tak" : "nie");
arrLink[intTitlesNo++] = "katalog_okrywowe_zimozielona";
arrTitle[intTitlesNo] = " wysokość roślin:";//wysokość roślin:";
arrContents[intTitlesNo] = row['height'];
arrLink[intTitlesNo++] = "katalog_pnacza_wysokosc";
arrTitle[intTitlesNo] = " roczny przyrost:";//roczny przyrost: ";
arrContents[intTitlesNo] = row['annual_growth'];//+" m";
arrLink[intTitlesNo++] = "katalog_pnacza_roczny_przyrost";
arrTitle[intTitlesNo] = " wystawa:";//wystawa:";
arrContents[intTitlesNo] = facing;
arrLink[intTitlesNo++] = "katalog_pnacza_wystawa_od";
// frosthardness for all of them!
//frost_from = (row['frosthardness_from']-(int)row['frosthardness_from'])!= 0 ?
// ((int)(row['frosthardness_from'])+"A") :
// row['frosthardness_from'];
//frost_to = (row['frosthardness_to']-(int)row['frosthardness_to'])!= 0 ?
// ((int)(row['frosthardness_to'])+"A") :
// row['frosthardness_to'];
arrTitle[intTitlesNo] = " mrozoodporność:";
arrContents[intTitlesNo] = "\n"+
"strefy "+frost_from+"-"+frost_to+"";
arrLink[intTitlesNo++] = "rosliny_charakterystyka_pnacza_mrozoodpornosc";//"kotalog_powojniki_mrozoodpornosc";
break;
// COVERING PLANT
case "covering_plant":
arrTitle[intTitlesNo] = " nazwa polska:";
arrContents[intTitlesNo] = row['name_pl'];
arrLink[intTitlesNo++] = "katalog_pnacza_nazwa_pl";
arrTitle[intTitlesNo] = " co zdobi:";//co zdobi: ";
arrContents[intTitlesNo] = row['decoration_pl'];
arrLink[intTitlesNo++] = "katalog_okrywowe_atrakcja";
if (row['color_pl'])
{
arrTitle[intTitlesNo] = " barwa kwiatów:"; //barwa kwiatów
arrContents[intTitlesNo] = row['color_pl'];
arrLink[intTitlesNo++] = "katalog_powojniki_barwa";
}
if (row['flowering'])
{
arrTitle[intTitlesNo] = " pora kwitnienia:";//kwitnienie:";
arrContents[intTitlesNo] = row['flowering'];
arrLink[intTitlesNo++] = "katalog_pnacza_kwitnienie";
}
arrTitle[intTitlesNo] = " czy zimozielona:";//czy zimozielona:";
arrContents[intTitlesNo] = ((row['evergreen']>0) ?
"tak" : "nie");
arrLink[intTitlesNo++] = "katalog_okrywowe_zimozielona";
arrTitle[intTitlesNo] = " roczny przyrost:";//roczny przyrost: ";
arrContents[intTitlesNo] = row['annual_growth'];
arrLink[intTitlesNo++] = "katalog_okrywowe_roczny_przyrost";
arrTitle[intTitlesNo] = " wystawa:";//wystawa:";
arrContents[intTitlesNo] = facing;
arrLink[intTitlesNo++] = "katalog_okrywowe_wystawa_od";
arrTitle[intTitlesNo] = ' liczba roślin / m2:';
arrContents[intTitlesNo] = row['planting_density'];
arrLink[intTitlesNo++] = "katalog_okrywowe_liczba_roslin";
arrTitle[intTitlesNo] = " mrozoodporność:";
arrContents[intTitlesNo] = "\n"+
"strefy "+frost_from+"-"+frost_to+"";
arrLink[intTitlesNo++] = "rosliny_charakterystyka_okrywowe_mrozoodpornosc";//"kotalog_powojniki_mrozoodpornosc";
break;
default:
//echo "ERORRRY";
number = -1;
}
var arrData = new Array();
arrData['title'] = arrTitle;
arrData['contents'] = arrContents;
arrData['link'] = arrLink;
arrData['titles_no'] = intTitlesNo;
arrData['name'] = strName;
arrData['plant_number'] = number;
//arrData['pictures'] = "$this->clematisSearch->getPictures($number);
//arrData['default_picture'] = $this->clematisSearch->getDefaultPicture($number);
arrData['description'] = strDescription+""+row['clematis_breeder_pl']+"";
return arrData;
}
document.write("\n"
+"\n"
+"\n"
+" \n"
+" \n"
+ (mySearch.isWideFrame?'\t \n':
'\t \n')
+"\t \n"
+" \n"
+"\t\n"
+"\t\t\n"
+" \n"
+" \n"
+"\t\t\t\n"
+"\t\t\t");
document.write("
Wyszukiwarka
Podobne podstrony:
clematis katalog ramka offlineenclematis nostylekatalog szukaj wyniki offline?seenclematis nostylekatalog szukaj wyniki pomocplclematis nostyle headerkatalog powojniki?rwaplclematis splitkatalog okrywowe atrakcjaplclematis mainkatalog powojniki grupy heracleifoliaenclematis mainkatalog202 Ramka na stronę świątecznaprogram szkolenia specjalistycznego www katalogppoz plSieci Ramka IPFolder roboczy katalogKatalog bramKatalog układów logicznych CMOS serii 4000więcej podobnych podstron