Exemple #1
0
echo include_partial('global/title', array('type' => 'list', 'title' => __('Admin Penilaian'), 'actions' => $actions, 'subtitle' => $subtitle . ($sf_request->haserrors() ? '<div class=form_error>* ' . __('_form_has_error_') . '</div>' : '')));
echo input_hidden_tag('employee_id', $employee->getid());
?>
    <table class="form" width="100%">
    <tr>
    <td class="form" style="vertical-align:top;">
            <table class="form_content" width="100%">
            <tbody>
                    <tr>
                            <td class='first' width="100%" style="vertical-align:top;">
                                    <label><?php 
echo __('Academic calendar');
?>
</label><br/>
                                            <?php 
echo my_object_select_tag($counseling, 'getAcademicCalendarId', AcademicCalendarPeer::getParents(), array('related_class' => 'AcademicCalendar', 'include_blank' => true, 'peer_method' => 'doSelectFiltered'));
?>
<br />
                                    <div class="tips">pilih tahun ajaran yang diinginkan</div>    
                            </td>
                    </tr>

                    <tr>
                            <td width="100%" class="first">
                                    <div id='subject_list' style="overflow: auto; width: 100%; height: 50em;"></div>
                                    <?php 
echo observe_field('academic_calendar_id', array('update' => 'subject_list', 'url' => 'score_admin/getSubject', 'with' => "'academic_calendar_id='+\$('academic_calendar_id').value+'&employee_id='+\$('employee_id').value+'&include_blank=true'", 'before' => "showIndicator('subject_list', 'snakebig_black');", 'complete' => "hideIndicator();"));
?>
                            </td>
                    </tr>			
Exemple #2
0
<tr>
	<td width="39%" valign="top">
	<!-- Course Schedule -->
	<table class="form">
	<tr><td class="form">
		<table class="form_content" width="100%">
			<tbody>
				<tr>
          				<td class='first' width="25%" style="vertical-align:top;"><label><?php 
echo __('Academic calendar');
?>
</label></td>
           				<td class="first" width="2%" style="text-align:center; vertical-align:top;">:</td>
					<td class="first" style="vertical-align:top;">
					<?php 
echo my_object_select_tag($course_schedule, 'getAcademicCalendarId', AcademicCalendarPeer::getParents(), array('include_blank' => true, 'related_class' => 'AcademicCalendar', 'text_method' => '__toString', 'peer_method' => 'doSelectFiltered'));
?>
            				<?php 
echo form_error('academic_calendar_id');
?>
            				</td>
        			</tr>
        
        			<tr>
        				<td style="vertical-align:middle;"><label><?php 
echo __('Class group');
?>
</label></td>
            				<td style="text-align:center; vertical-align:middle;">:</td>
					<td style="vertical-align:middle;">
					<?php 
Exemple #3
0
					
                		</tr>
				<tr class="list" id='filter' <?php 
if (!isset($filters)) {
    echo 'style=""';
}
?>
>
					<td class='filter'><?php 
echo submit_image_tag('/images/magnifier.png', array('class' => 'sort', 'onclick' => "blur();"));
?>
</td>
					
                    			<td class='filter_first'>
					<?php 
echo my_object_select_tag(isset($filters['ACADEMIC_CALENDAR_ID']) ? $filters['ACADEMIC_CALENDAR_ID'] : null, null, AcademicCalendarPeer::getParents(), array('include_blank' => true, 'related_class' => 'AcademicCalendar', 'text_method' => '__toString', 'control_name' => 'filters[ACADEMIC_CALENDAR_ID]', 'peer_method' => 'doSelectFiltered', 'style' => 'width: 80px;'));
?>
					</td>
					
					<td class='filter'><?php 
echo input_date_tag('filters[DATE]', isset($filters['DATE']) ? $filters['DATE'] : null, array('rich' => true, 'calendar_button_img' => '/images/calendar.gif'));
?>
</td>
                    
					<td class='filter'>
					<?php 
echo input_tag('filters[SUBJECT_NAME]', isset($filters['SUBJECT_NAME']) ? $filters['SUBJECT_NAME'] : null, array('size' => 15));
?>
</td>
					
                    			<td class='filter'>