Пособие по написанию WAP-сайтов


Рассмотрение приложения Restaurant.hdml - часть 2


&ltAction Type=Soft1 Label=Back Task=GO Dest=../RestaurantCall/RestaurantCall.hdml&gt

&ltCenter&gtRestaurants&ltbr&gt &ltCenter&gtAmerican&ltbr&gt

&ltCE Value=AllStar&gtAll Star Cafe &ltCE Value=MarysDiner&gtMary's Diner &ltCE Value=Timberline&gtTimberline Inn

&lt/Choice&gt

&lt/HDML&gt";

}

elsif ($RestType eq "Chinese")

{ $Deck = "Content-type: text/x-hdml

&ltHDML Version=3.0 Markable=True TTL=0&gt

&ltChoice Name=GetChinese Key=RestName&gt

&ltAction Type=Accept Label=Pick Task=GO Method=Post PostData=\$RestName Dest=RestCallChineseHDML.pl&gt

&ltAction Type=Soft1 Label=Back Task=GO Dest=../RestaurantCall/RestaurantCall.hdml&gt

&ltCenter&gtRestaurants&ltbr&gt &ltCenter&gtChinese&ltbr&gt

&ltCE Value=ChinaGarden&gtChina Garden &ltCE Value=GoldenDragon&gtGolden Dragon &ltCE Value=PlumTree&gtPlum Tree Inn

&lt/Choice&gt

&lt/HDML&gt";

}

elsif ($RestType eq "FastFood")

{ $Deck = "Content-type: text/x-hdml

&ltHDML Version=3.0 Markable=True TTL=0&gt

&ltChoice Name=GetFastFood Key=RestName&gt

&ltAction Type=Accept Label=Pick Task=GO Method=Post PostData=\$RestName Dest=RestCallFastFoodHDML.pl&gt

&ltAction Type=Soft1 Label=Back Task=GO Dest=../RestaurantCall/RestaurantCall.hdml&gt

&ltCenter&gtRestaurants&ltbr&gt &ltCenter&gtFast Food&ltbr&gt

&ltCE Value=BurgerKing&gtBurger King &ltCE Value=McDonalds&gtMcDonald's &ltCE Value=TopSpot&gtTop Spot

&lt/Choice&gt

&lt/HDML&gt";

}

elsif ($RestType eq "HealthFood")

{ $Deck = "Content-type: text/x-hdml

&ltHDML Version=3.0 Markable=True TTL=0&gt

&ltChoice Name=GetHealthFood Key=RestName&gt

&ltAction Type=Accept Label=Pick Task=GO Method=Post PostData=\$RestName Dest=RestCallHealthFoodHDML.pl&gt




Начало  Назад  Вперед



Книжный магазин