<div id="sbg-activity-type-entry" style="width:610px;margin: 5px 5px 5px 5px;">
	<div id="activity-type-tabs">
		<ul style="font-size: 0.8em;">
			<li><a href="#activity-type-general">General</a></li>
			<span class="sbg-tab-title">ActivityType</span>
		</ul>
		<div id="activity-type-general" style="height:100px;">
			<table>
				<tr>
					<td style="text-align:right;width:100px;"><span>ID : </span></td>
					<td style="width:480px"><input type="text" maxlength="10" size="10" id="txtActivityTypeId" value="Auto" disabled="disabled" /></td>
				</tr>
				<tr>
					<td style="text-align:right;"><span>Code : </span></td>
					<td><input type="text" maxlength="3" size="40" id="txtActivityTypeCode" /><span id="activity_type_err_code" style="color:red;display:none;padding-left:5px">*</span></td>
				</tr>
				<tr>
					<td style="text-align:right;"><span>Description : </span></td>
					<td><input type="text" maxlength="250" size="40" id="txtActivityTypeDesc" /><span id="activity_type_err_desc" style="color:red;display:none;padding-left:5px">*</span></td>
				</tr>
			</table>
		</div>
	</div>
	<div class="ui-widget-content ui-corner-all" style="height:40px;margin-top:2px;">
		<div class="sbg-entry-error" style="width:300px;">
			<span id="activity_type_err_mesg" class="sbg-error"></span>
		</div>
		<div class="sbg-entry-command">
			<input id="btnActivityTypeAdd" type="button" value="Add"></input>
			<input id="btnActivityTypeClear" type="button" value="Clear"></input>
			<input id="btnActivityTypeUpdate" type="button" value="Update"></input>
			<input id="btnActivityTypePrint" type="button" value="Print"></input>
		</div>
	</div>
</div>

<div>
	<div class="sbg-table">
		<div class="ui-widget-header">
			<table id="sbg-activity-type-header" class="header" cellspacing="0" cellpadding="5">
                <tr class="ui-widget-header">
                <td style="width: 50px;">ID</td>
                <td style="width: 120px;">Code</td>
                <td style="width: 400px;">Description</td>
				<td style="width: 25px;"></td>
				<td style="width: 25px;"></td>
                </tr>
			</table>
		</div>
        <div id="sbg-activity-type-data" style="overflow: auto;">
            <table id="sbg-activity-type-table" cellspacing="0" cellpadding="5" class="data">
			<tr><td style="width:50px;height:1px"></td><td style="width:120px"></td><td style="width:400px"></td><td style="width:25px"></td><td style="width:25px"></td></tr>
			<?php echo $this->getList() ; ?>
            </table>
        </div>
	</div>
</div> 
<script type="text/javascript">
var activity_type_url = "<?php echo Util::convertLink("ActivityType") ; ?>" ;
<?php include (PATH_CODE . "js/activity/activitytype.js") ; ?>
</script>