echii_jiro Posted January 20, 2011 Share Posted January 20, 2011 <?php require $KoolControlsFolder."/KoolMenu/koolmenu.php"; $km = new KoolMenu("km"); $km->scriptFolder = $KoolControlsFolder."/KoolMenu"; $km->styleFolder="default"; $km->Add("root","dimsum","Dimsum"); $km->Add("dimsum","chasiwpao","Chasiwpao"); $km->Add("dimsum","gaipao","Gaipao"); $km->Add("dimsum","jumbopao","Jumbo Pao"); $km->Add("dimsum","sharkfinmye","SharkFin Mye"); $km->Add("dimsum","chasiwpao","Chasiwpao"); $km->Add("dimsum","beefsiwmye","Beef Siwmye"); $km->Add("dimsum","beefballs","Beef Balls"); $km->Add("dimsum","tausispareribs","SpareRibs"); $km->Add("dimsum","chknftw/tausindchili","Chicken Feet with Tausi and Chili"); $km->Add("dimsum","sprngrolls","Spring Rolls"); $km->Add("dimsum","hahgaw","Hah Gaw"); $km->Add("dimsum","butchi","Butchi"); $km->Add("root","all-timefavorite","All-Time Favorite"); $km->Add("all-timefavorite","hamandcheesesandwich","Ham and cheese Sandwich"); $km->Add("all-timefavorite","baconcheeseburger","Bacon Cheese Burger"); $km->Add("all-timefavorite","chunkychickensandwich","Chunky Chicken Sandwich"); $km->Add("all-timefavorite","clubhouse","Club House"); $km->Add("all-timefavorite","crispybacon,lettuceandtomato","Crispy Bacon, Lettuce and Tomato"); $km->Add("all-timefavorite","friedspringchicken","Fried Spring Chicken"); $km->Add("friedspringchicken","half","Half"); $km->Add("friedspringchicken","whole","Whole"); $km->Add("all-timefavorite","crispypata","Crispy Pata"); $km->Add("all-timefavorite","arrozcaldo","Arroz Caldo"); $km->Add("all-timefavorite","pancitcanton","Pancit Canton"); $km->Add("all-timefavorite","dinuguan","Dinuguan"); $km->Add("root","entree","Entree"); $km->Add("entree","gratinatedprawns","Gratinated Prawns"); $km->Add("entree","chickenandpeach","Chicken and Peach"); $km->Add("entree","menudo","Menudo"); $km->Add("entree","lambcurry","Lamb Curry"); $km->Add("entree","breadedfriedchicken","Breaded Fried Chicken"); $km->Add("entree","barbecuedporkspareribs","Barbecued Pork Spareribs"); $km->Add("entree","lechonkawali","Lechon Kawali"); $km->Add("entree","beefcaldereta","Beef Caldereta"); $km->Add("entree","kare-kare","Kare-Kare"); $km->Add("entree","pinakbet","Pinakbet"); $km->Add("entree","chickenandporkadobo","Chicken And Pork Adobo"); $km->Add("root","bfast","Breakfast Meals"); $km->Add("bfast","continental","Continental"); $km->Add("bfast","american","American"); $km->Add("bfast","filipino","Filipino"); $km->Add("bfast","3eggomltw/steak","Three Egg Omlet w/ Steak"); $km->Add("bfast","2frmfrsheggs","Two Farm Fresh Eggs"); $km->Add("bfast","waffle/hotcake","Waffle/Hotcake"); $km->Add("bfast","cornflake","Cornflakes"); $km->Add("bfast","oatmeal","Oatmeal"); $km->Add("root","appetizer","Appetizer"); $km->Add("appetizer","gambas","Gambas"); $km->Add("appetizer","salpicado","Salpicado"); $km->Add("appetizer","chchrngbulaklak","Chicharong Bulaklak"); $km->Add("appetizer","sisig","Sisig"); $km->Add("appetizer","calamares","Calamares"); $km->Add("appetizer","frdmozzarella","Fried Mozerella"); $km->Add("appetizer","ffries","French Fries"); $km->Add("root","soup","Soup"); $km->Add("soup","minestine","Mine Stone"); $km->Add("soup","frnchonionsoup","French Onion Soup"); $km->Add("soup","neclamchoder","New England Clam Chowder"); $km->Add("soup","shrmpsinigang","Shrimp Sinigang"); $km->Add("soup","prksinigang","Pork Sinigang"); $km->Add("soup","tnolangmanok","Tinolang Manok"); $km->Add("root","dessert","Desert"); $km->Add("dessert","halohalo","Halo-Halo"); $km->Add("dessert","icecream","Ice Cream"); $km->Add("dessert","engtrfle","English Trifle"); $km->Add("dessert","crmecaramle","Creme Caramel"); $km->Add("dessert","cheesecake","Cheese Cake"); $km->Add("dessert","wrmcnnamonapplepie","Warm Cinnamon Apple Pie"); $km->Add("root","pasta","Pasta"); $km->Add("pasta","anglhairmrnrw/bayshrimp","Angel's Hair Marina w/ Bay Shrimp"); $km->Add("pasta","spaghettibolognese","Spaghetti Bolognese"); $km->Add("pasta","spaghettiw/blueseaclam","Spaghetti w/ Blue Sea Clam"); $km->Add("pasta","fettuccinealpestow/grilledchicken","Fettuccine Al Pesto w/ Grilled Chicken"); $km->Add("root","sausages","Sausages"); $km->Add("sausages","englishbangers","English Bangers"); $km->Add("sausages","schublig(1pc.)","Schublig (1pc.)"); $km->Add("sausages","vealbratwurst(1pc.)","Veal Bratwurst (1pc.)"); $km->Add("root","rice","Rice"); $km->Add("rice","garlicrice","Garlic rice"); $km->Add("rice","californiarice,steamed(foroneperson)","California Rice, Steamed(for one person)"); $km->Add("root","salad","Appetizer"); $km->Add("salad","kanicrabsalad","Kani Crab Salad"); $km->Add("salad","ceasarsalad","Ceasar's Salad"); $km->Add("salad","orientlchcknsalad","Oriental Chicken Salad"); $km->Add("salad","tossdgreensalad","Tossed Green Salad"); $km->Add("root","vegetarian","Vegetarian"); $km->Add("vegetarian","vegetableplate","Vegetable Plate"); $km->Add("vegetarian","vegetablecurry","Vegetable Curry"); $item = $km->Add("root","help","Shorthands"); $flow_select = "Horizontal"; if(isset($_POST["flow_select"])) { $flow_select = $_POST["flow_select"]; } $km->Flow = "Horizontal"; ?> <div style="padding-top:20px;padding-bottom:100px;width:650px;"> <?php echo $km->Render();?> </div> *NOTE: i used a template and edited it to make a menu bar of products .. and i was able to display it .. however i cant put actions on these buttons and i was wondering how can i post it on a listview (below the menu bar) whenever a product was selected .. please help me .. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/225125-please-help-me-to-put-actions-on-these-php-buttons-_/ Share on other sites More sharing options...
echii_jiro Posted February 3, 2011 Author Share Posted February 3, 2011 no replies yet ? Quote Link to comment https://forums.phpfreaks.com/topic/225125-please-help-me-to-put-actions-on-these-php-buttons-_/#findComment-1169604 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.