Clematis - encyclopaedia of vines
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_wynikienclematis_main.htm";
} else
{
mySearch.is_target_frame = true;
document.searchInput.target = "";
document.searchInput.action = "clematis_katalog_ramka_offlineenclematis_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_en'];
/*strGroup = (row['group_en']?(" "+row['group_en']+" "):"");
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 = "any";}
else
{
facing="";
if (row['facing_S']) {facing = "S";};
if (row['facing_N']) {facing += ((facing == "") ? "" : ", ") + "N";};
if (row['facing_E']) {facing += ((facing == "") ? "" : ", ") + "E";};
if (row['facing_W']) {facing += ((facing == "") ? "" : ", ") + "W";};
}
//alert(row['genus']+" ");
additional = row['additional_en'];
strName = strName+(additional ? (", "+additional):"");
arrLink['name'] = "katalog_powojniki_nazwy";
arrTitle[intTitlesNo] = " flowers colour:"; //barwa kwiatów
arrContents[intTitlesNo] = row['color_en'];
arrLink[intTitlesNo++] = "katalog_powojniki_barwa";
arrTitle[intTitlesNo] = " plants height:";//wysokość roślin:";
arrContents[intTitlesNo] = row['height'];
arrLink[intTitlesNo++] = "katalog_powojniki_wysokosc";
arrTitle[intTitlesNo] = " flowers size:";//wielkość kwiatów:";
arrContents[intTitlesNo] = mySearch.message[mySearch.size[row['clematis_size']]];
arrLink[intTitlesNo++] = "katalog_powojniki_wielkosc";
arrTitle[intTitlesNo] = " flowering months:";//kwitnienie:";
arrContents[intTitlesNo] = row['flowering'];
arrLink[intTitlesNo++] = "katalog_powojniki_kwitnienie";
arrTitle[intTitlesNo] = " aspect:";//wystawa:";
arrContents[intTitlesNo] = facing;
arrLink[intTitlesNo++] = "katalog_powojniki_wystawa_pld";
arrTitle[intTitlesNo] = " pruning way:";//cięcie:";
arrContents[intTitlesNo] = "\n"+ mySearch.message['clem_pruning_type_'+row['pruning']]+"";
arrLink[intTitlesNo++] = "katalog_powojniki_ciecie";
//...
arrTitle[intTitlesNo] = " frost hardiness:";
arrContents[intTitlesNo] = "\n"+
"zones "+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_en'];
additional = row['additional_en'];
//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] = " decoration form:";//co zdobi: ";
arrContents[intTitlesNo] = row['decoration_en'];
arrLink[intTitlesNo++] = "katalog_pnacza_atrakcja";
if (row['color_en'])
{
arrTitle[intTitlesNo] = " flowers colour:"; //barwa kwiatów
arrContents[intTitlesNo] = row['color_en'];
arrLink[intTitlesNo++] = "katalog_powojniki_barwa";
}
if (row['flowering'])
{
arrTitle[intTitlesNo] = " flowering months:";//kwitnienie:";
arrContents[intTitlesNo] = row['flowering'];
arrLink[intTitlesNo++] = "katalog_pnacza_kwitnienie";
}
arrTitle[intTitlesNo] = " is evergreen:";//czy zimozielona:";
arrContents[intTitlesNo] = ((row['evergreen']>0) ?
"yes" : "no");
arrLink[intTitlesNo++] = "katalog_okrywowe_zimozielona";
arrTitle[intTitlesNo] = " plants height:";//wysokość roślin:";
arrContents[intTitlesNo] = row['height'];
arrLink[intTitlesNo++] = "katalog_pnacza_wysokosc";
arrTitle[intTitlesNo] = " annual growth:";//roczny przyrost: ";
arrContents[intTitlesNo] = row['annual_growth'];//+" m";
arrLink[intTitlesNo++] = "katalog_pnacza_roczny_przyrost";
arrTitle[intTitlesNo] = " aspect:";//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] = " frost hardiness:";
arrContents[intTitlesNo] = "\n"+
"zones "+frost_from+"-"+frost_to+"";
arrLink[intTitlesNo++] = "rosliny_charakterystyka_pnacza_mrozoodpornosc";//"kotalog_powojniki_mrozoodpornosc";
break;
// COVERING PLANT
case "covering_plant":
arrTitle[intTitlesNo] = " decoration form:";//co zdobi: ";
arrContents[intTitlesNo] = row['decoration_en'];
arrLink[intTitlesNo++] = "katalog_okrywowe_atrakcja";
if (row['color_en'])
{
arrTitle[intTitlesNo] = " flowers colour:"; //barwa kwiatów
arrContents[intTitlesNo] = row['color_en'];
arrLink[intTitlesNo++] = "katalog_powojniki_barwa";
}
if (row['flowering'])
{
arrTitle[intTitlesNo] = " flowering months:";//kwitnienie:";
arrContents[intTitlesNo] = row['flowering'];
arrLink[intTitlesNo++] = "katalog_pnacza_kwitnienie";
}
arrTitle[intTitlesNo] = " is evergreen:";//czy zimozielona:";
arrContents[intTitlesNo] = ((row['evergreen']>0) ?
"yes" : "no");
arrLink[intTitlesNo++] = "katalog_okrywowe_zimozielona";
arrTitle[intTitlesNo] = " annual growth:";//roczny przyrost: ";
arrContents[intTitlesNo] = row['annual_growth'];
arrLink[intTitlesNo++] = "katalog_okrywowe_roczny_przyrost";
arrTitle[intTitlesNo] = " aspect:";//wystawa:";
arrContents[intTitlesNo] = facing;
arrLink[intTitlesNo++] = "katalog_okrywowe_wystawa_od";
arrTitle[intTitlesNo] = ' density on 1 m2:';
arrContents[intTitlesNo] = row['planting_density'];
arrLink[intTitlesNo++] = "katalog_okrywowe_liczba_roslin";
arrTitle[intTitlesNo] = " frost hardiness:";
arrContents[intTitlesNo] = "\n"+
"zones "+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_en']+"";
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 offlineplclematis 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