Пример #1
0
			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
			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
			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'];