<div class="content_title">Formularz zgłoszenia nowego klienta</div>
<?php if(!empty($info))
		echo '<p class="info_box">'.$info.'</p>';
?>	
<form action="" method="post">
	<table cellpadding="10" cellspacing="10" width="100%">
		<tr>
			<td>Nazwa klienta*</td>
			<td><input type="text" name="client_name" value="<?php echo empty($values['client_name']) ? '': $values['client_name']; ?>"/></td>
			<td class="error_info"><?php echo empty($errors['client_name']) ? '': $errors['client_name']; ?></td>
		</tr>
		<tr>
			<td>Osoba kontaktowa*</td>
			<td><input type="text" name="client_contact_person_name" value="<?php echo empty($values['client_contact_person_name']) ? '': $values['client_contact_person_name']; ?>"/></td>
			<td class="error_info"><?php echo empty($errors['client_contact_person_name']) ? '': $errors['client_contact_person_name']; ?></td>
		</tr>
		<tr>
			<td>Telefon*</td>
			<td><input type="text" name="client_contact_person_telephone" value="<?php echo empty($values['client_contact_person_telephone']) ? '': $values['client_contact_person_telephone']; ?>"/></td>
			<td class="error_info"><?php echo empty($errors['client_contact_person_telephone']) ? '': $errors['client_contact_person_telephone']; ?></td>
		</tr>
		<tr>
			<td>Email*</td>
			<td><input type="text" name="client_contact_person_email" value="<?php echo empty($values['client_contact_person_email']) ? '': $values['client_contact_person_email']; ?>"/></td>
			<td class="error_info"><?php echo empty($errors['client_contact_person_email']) ? '': $errors['client_contact_person_email']; ?></td>
		</tr>	
		<tr>
			<td>Adres www*</td>
			<td><input type="text" name="client_contact_person_website" value="<?php echo empty($values['client_contact_person_website']) ? '': $values['client_contact_person_website']; ?>"/></td>
			<td class="error_info"><?php echo empty($errors['client_contact_person_website']) ? '': $errors['client_contact_person_website']; ?></td>
		</tr>							
		<tr>
			<td valign="top">Uwagi</td>
			<td>
				<textarea name="notes" cols="10" rows="10" style="width:300px;height:80px;"><?php echo empty($values['notes']) ? '': $values['notes']; ?></textarea>
			</td>
			<td class="error_info"><?php echo empty($errors['notes']) ? '': $errors['notes']; ?></td>
		</tr>
		<tr>
            <td colspan="2">
                <div class="formHr">&nbsp;</div>
                <div class="form_buttons_v1">
                    <input type="submit" name="newclient" value="Wyślij" class="formButton"/>
                    <input type="button" name="anuluj" value="Anuluj" class="formButton" onClick="document.location.href='<?php echo base_url();?>afiliant/clients';"/>
                    <span class="field_required">* - pole wymagane</span>
                </div>
            </td>
		</tr>
	</table>
</form>