<li class="select-current">



	<fieldset>
    
    	<select id="<?=$max?>-<?=$day?>-client" class="forms <?=$day?>" >
        
			<option value="default" selected="selected">Izaberi klijenta</option>
            
            <?php 
				
				$database->setBareQuery("SELECT id, name FROM client ORDER BY name");

				$clientid = $database->loadResultArray(0);
		
				$clientname = $database->loadResultArray(1);
		
				for($z = 0; $z < count($clientid); $z++): 
			
			?>
            <option value="<?=$clientid[$z]?>"><?=$clientname[$z]?></option>
            
            <?php endfor; ?>
            
		</select>  
        
	</fieldset>
    
    <div id="project-holder-<?=$day?><?=$max?>">
    
    <fieldset>
    	
        <select id="" class="forms project"  disabled="disabled">
        
			<option value="default">Izaberi projekat</option>
                        
		</select>  
    
    	
    
    </fieldset>
    

    

     
	
    
    </div>
    
    <fieldset>
        
		
        
			<input type="text" value="opis" class="forms input description" id="<?=$max?>-<?=$day?>-desc" /> 
            
		</select> 
       
	</fieldset> 
        
	

     <fieldset>

            <select id="<?=$max?>-<?=$day?>-hour" class="forms-duration <?=$day?>-time">
            
            	<option value="0">0</option>
            
            	<?php for($g = 1; $g < 15; $g++): ?>
        
				<option value="<?=$g?>"><?=$g?></option>
                
                <?php endfor; ?>
            
       		</select>
            
            <span class="left"> sati </span>
       
       		<select id="<?=$max?>-<?=$day?>-minute" class="forms-duration <?=$day?>-time">
            
            	

        
				<option value="0">0</option>
                
                <option value="0.5">30</option>
            
       		</select>
            
            <span class="left"> min. </span>
            
            </fieldset>
            
			<input type="hidden" id="<?=$max?>-<?=$day?>-status" value="new"  />
            
            
      



</form>

</li>

