コード例 #1
0
ファイル: universities.view.php プロジェクト: ritthai/LMS
			actions
*/
?>

<?php 
include "{$TEMPLATEROOT}/template_begin.inc";
//jsSetupAutocomplete('uni_form', 'uni', 'universities');
include "{$TEMPLATEROOT}/template_notices.inc";
?>

<!--
<?php 
$args['actions']['subjects']->FORM_BEGIN('id="uni_form"');
?>
			<input type="text" name="uni" id="uni" <?php 
setDefaultText('Enter a university');
?>
 />
<?php 
$args['actions']['subjects']->FORM_END();
?>
-->

<?php 
foreach ($args['universities'] as $uni) {
    ?>
            <a class="bodylink" href="/subjects?university=<?php 
    echo $uni['id'];
    ?>
">
                <?php 
コード例 #2
0
ファイル: countries.view.php プロジェクト: ritthai/LMS
			actions
*/
?>

<?php 
include "{$TEMPLATEROOT}/template_begin.inc";
jsSetupAutocomplete('country_form', 'country', 'countries');
include "{$TEMPLATEROOT}/template_notices.inc";
?>


<?php 
$args['actions']['areas']->FORM_BEGIN('id="country_form"');
?>
			<input type="text" name="country" id="country" <?php 
setDefaultText('Enter a country.');
?>
 />
<?php 
$args['actions']['areas']->FORM_END();
?>

<!--
<?php 
foreach ($args['countries'] as $country) {
    ?>
			<a class="bodylink" href="/areas?country=<?php 
    echo $country['id'];
    ?>
">
				<?php 
コード例 #3
0
ファイル: areas.view.php プロジェクト: ritthai/LMS
			actions
*/
?>

<?php 
include "{$TEMPLATEROOT}/template_begin.inc";
//jsSetupAutocomplete('area_form', 'area', 'areas');
include "{$TEMPLATEROOT}/template_notices.inc";
?>

<!--
<?php 
$args['actions']['universities']->FORM_BEGIN('id="area_form"');
?>
			<input type="text" name="area" id="area" <?php 
setDefaultText('Enter a province.');
?>
 />
<?php 
$args['actions']['universities']->FORM_END();
?>
-->
<?php 
foreach ($args['areas'] as $area) {
    ?>
			<a class="bodylink" href="/universities?area=<?php 
    echo $area['id'];
    ?>
">
				<?php 
    echo $area['name'];