<iframe src="" name="groupmodify" style="display:none"></iframe>

<SCRIPT LANGUAGE="JavaScript">
<!--
	function checkform(theform)
	{
		if($('#cityname').val()=='')
		{
			alert('请填写城市名称');
			return false;
		}
	}
//-->
</SCRIPT>

<form action="index.php?con=<?php echo $GLOBALS['setting']['adminpath'];  ?>&act=citymodify" method="post"  target="groupmodify" onsubmit="return checkform(this);" >
	<INPUT TYPE="hidden" NAME="commit" value="1">
	<INPUT TYPE="hidden" NAME="updateid" value="<?php echo $cityinfo['cityid']; ?>">
	<table  border="0" class="table_form" style="width:100%;">
		<tr>
			<th width="120px">城市名称：</th>
			<td><INPUT TYPE="text" class="input-text" NAME="cityname" id="cityname"   value="<?php echo $cityinfo['cityname']; ?>"><SPAN CLASS="" id="emailerror"></SPAN></td>
		</tr>
	
		<?php if($cityinfo['cityid']){ ?>
		<tr>
			<th width="120px">城市拼音：</th>
			<td><INPUT TYPE="text" class="input-text" NAME="pinyin" id="pinyin"   value="<?php echo $cityinfo['pinyin']; ?>"><SPAN CLASS="" id="emailerror"></SPAN></td>
		</tr>
		<?php  } ?>

		<tr>
			<th width="120px">城市排序：</th>
			<td><INPUT TYPE="text" class="input-text" NAME="sortorder" id="sortorder"   value="<?php echo $cityinfo['sortorder']; ?>"><SPAN CLASS="" id="emailerror"></SPAN></td>
		</tr>

		<tr>
			<th width="120px">是否显示：</th>
			<td>
				<select name="isshow">
					<?php if($cityinfo['cityid']){?>
					<option value="1" <?php echo $cityinfo['isshow']==1?'selected':'';?>>显示</option>
					<option value="0" <?php echo $cityinfo['isshow']==1?'':'selected';?>>不显示</option>
					<?php } else{?>
					<option value="1">显示</option>
					<option value="0">不显示</option>
					<?php }?>
				</select>
			</td>
		</tr>

		<tr>
			<th width="120px"></th>
			<td><INPUT TYPE="submit" class="button" value="提交"></td>
		</tr>
	</table>
</FORM>

