!if $classcnt1+$classcnt2<1 and $kw = $empty
$name_noclass
!endif
!if $job2!=first
!read neighbor/$job2.phtml
<div class="wimscenter">
!set wims_ref_class=wims_button
!href cmd=reply&job2=first $wims_name_back2
!if $job2!=sharelist and $excls!=yes
!href cmd=reply&job2=sharelist $name_info
!endif
</div>
!endif
$name_help
!set wims_ref_class=wims_button_help
!href cmd=help&special_parm=neighbor $wims_name_help
!set wims_ref_class=wims_button_help
!href cmd=help&special_parm=neiexample $name_example
<p>
!if $excls!=yes and ($supertype!=4 or ($supertype=4 and $ctypename iswordof course program))
<div class="wimscenter">
!href cmd=reply&job2=sharelist $name_info
!href cmd=reply&keyword=*&excls=yes $name_exampleclass
</div>
!endif
!if $excls=yes
<div class="wimscenter">
!href cmd=reply&job=neighbor&excls=no $name_listclass
</div>
!endif
!if $toomany=yes
!form reply
!if $kw=$empty
$name_toomany
!else
$name_toomany2
!endif
<p><center>
<input size="20" name="keyword" value="$keyword"/>
<input type="submit" value="$wims_name_tosave"/>
</center></form> <p>
!else
!if $kw != $empty or $classcnt1 + $classcnt2 > 20
!form reply
$name_research
<input size="20" name="keyword" value="$keyword"/>
<input type="submit" value="$wims_name_tosave"/>
</form> <p>
!endif
!endif
!if $classcnt1 + $classcnt2 < 1
$name_noclass
!endif
!if $toomany=yes
!endif
$name_changeneigh
<p>
!if $classcnt1>0
!set clst=$clist1
$table_header
<caption>$name_samelanguage</caption>
!read neighbor/clist.phtml
$table_end
!endif
!if $classcnt2>0
<p>
!set clst=$clist2
$table_header
<caption>$name_otherlanguage</caption>
!read neighbor/clist.phtml
$table_end
!endif