<?php

	$database->setBareQuery("SELECT name FROM client WHERE id = '".$_GET['id']."'");
	
	$name = $database->loadResultArray(0);
	

				
				?>

<h1>Izmena klijenta</h1>
<div id="uvbody-content">
    <form id="edit-client" class="" method="post" action="">
    <input type="hidden" name="id" id="id" value="<?=$_GET['id']?>" />
        <div id="edit">
            <div id="edit-content">
                <input type="text" name="clientname" id="clientname" value="<?=$name[0]?>" />
                 <input type="submit" id="user-edit-submit-2" value="Snimi" />
            </div>
        </div>      
        <div class="clear"></div>
    </form>
</div>