Login   Register  
PHP Classes
elePHPant
Icontem

File: req/category.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Vaclav Mares  >  ontoProdukt  >  req/category.php  >  Download  
File: req/category.php
Role: Application script
Content type: text/plain
Description: category.php
Class: ontoProdukt
Generate product feeds in XML formats
Author: By
Last change:
Date: 3 years ago
Size: 3,319 bytes
 

Contents

Class file image Download


<select name="category<?if ($this->id == "") echo $this->absent_id; else echo $this->id;?>" class='required category' style="width:150px;"  onChange="redirecting(this.options.selectedIndex,'subcategory<?if ($this->id == "") echo $this->absent_id; else echo $this->id;?>')">         
  <option value="ERROR">------- vyberte --------</option>
  <option value="Animals" <? if ($this->product_type[0] == "Animals")echo "selected";?>>Zvířata</option>  
  <option value="Arts &#38; Entertainment" <? if ($this->product_type[0] == "Arts & Entertainment")echo "selected";?>>Umění a zábava</option>
  <option value="Baby &#38; Toddler" <? if ($this->product_type[0] == "Baby & Toddler")echo "selected";?>>Děti a batolata</option> 
  <option value="Business &#38; Industrial" <? if ($this->product_type[0] == "Business & Industrial")echo "selected";?>>Ochod a průmysl</option>
  <option value="Cameras &#38; Optics" <? if ($this->product_type[0] == "Cameras & Optics")echo "selected";?>>Fotoaparáty a optika</option>
  <option value="Clothing &#38; Accessories" <? if ($this->product_type[0] == "Clothing & Accessories")echo "selected";?>>Oblečení a doplňky</option>
  <option value="Electronics" <? if ($this->product_type[0] == "Electronics")echo "selected";?>>Elektronika</option>
  <option value="Food &#38; Beverages" <? if ($this->product_type[0] == "Food & Beverages")echo "selected";?>>Jídlo a nápoje</option>
  <option value="Furniture" <? if ($this->product_type[0] == "Furniture")echo "selected";?>>Nábytek</option>
  <option value="Hardware" <? if ($this->product_type[0] == "Hardware")echo "selected";?>>Průmysl</option>
  <option value="Health &#38; Beauty" <? if ($this->product_type[0] == "Health & Beauty")echo "selected";?>>Zdraví a krása</option>
  <option value="Home &#38; Garden" <? if ($this->product_type[0] == "Home & Garden")echo "selected";?>>Dům a zahrada</option>
  <option value="Luggage" <? if ($this->product_type[0] == "Luggage")echo "selected";?>>Zavazadla</option>
  <option value="Media" <? if ($this->product_type[0] == "Media")echo "selected";?>>Media</option>
  <option value="Office Supplies" <? if ($this->product_type[0] == "Office Supplies")echo "selected";?>>Kancelářské potřeby</option>
  <option value="Software" <? if ($this->product_type[0] == "Software")echo "selected";?>>Software</option> 
  <option value="Sporting Goods" <? if ($this->product_type[0] == "Sporting Goods")echo "selected";?>>Sportovní potřeby</option>
  <option value="Toys &#38; Games" <? if ($this->product_type[0] == "Toys & Games")echo "selected";?>>Hračky a hry</option>
  <option value="Vehicles &#38; Parts" <? if ($this->product_type[0] == "Vehicles & Parts")echo "selected";?>>Vozidla a příslušenství</option>  
</select>                
<select name="subcategory<?if ($this->id == "") echo $this->absent_id; else echo $this->id;?>"  style="width:150px;" onchange="go()" title="Prosím vyberte subkategorii!" validate="required:true">
    <option value="<?echo $this->product_type[1]; ?>" selected><? if ($this->product_type[1]== "") echo "&nbsp;&nbsp;&nbsp;&nbsp;"; else echo $this->product_type[1];?> </option>
   
</select><br>   
  <br> 

  
<script type='text/javascript' src='../js/category.js'></script>  <!--volba subkategorie-->