						<fieldset class="communfield"  >
							<legend>模板</legend>
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td width="26%" align="right" height="40">当前模板为：</td>
									<td width="24%" align="left"><input type="text" value="<?php echo $config_row['templates'];?>" name="templates" class="ifinfoinputshort" disabled= "disabled"  /></td>
									<td width="16%" align="right">选择模板：</td>
									<td width="34%" align="left"><select name="select2" id="select2" onchange="setInnerHTML()" >
<?php 	for($i = 1; $i < 5; $i++){
		$file = "../Templates".$i;
		if(is_dir($file)){
			$file2 = str_replace("../","",$file)
?>
			<option value="<?=$file2?>"><?=$file2?></option>
<?php 		}
	}
?>
									</select></td>
								</tr>
								<tr>
									<td colspan="4" align="center">&nbsp;
										
									</td>
									</tr>
								<tr>
									<td colspan="4" align="center">
										<table width="400" border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td id="img1"><img src="../Templates1/Templates1.jpg" width="400" /></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td colspan="4" align="center">&nbsp;
										
									</td>
									</tr>
							</table>
						</fieldset>
					</td>
					</tr>
				<tr bgcolor="#f4f4f4">
					<td colspan="4">
						<fieldset class="lsconeditorsfield"  >
							<legend>底部菜单代码</legend>
							<div class="lsconeditorarea">
								<?php
										require_once('fckeditor/fckeditor.php');
										$sBasePath=$_SERVER['PHP_SELF'];
										$sBasePath=substr($sBasePath,0,strpos($sBasePath,"ls_admin"));
										$sBasePath.="ls_admin/fckeditor/";
											
										$oFCKeditor=new FCKeditor('bottomMenu');
										$oFCKeditor->BasePath=$sBasePath;
										$oFCKeditor->Config['SkinPath']=$sBasePath.'editor/skins/silver/';
										$oFCKeditor->Config['AutoDetectLanguage']=true;
										$oFCKeditor->ToolbarSet='Default';
										$oFCKeditor->Height='350';
										$oFCKeditor->Value=$_POST['bottomMenu'];
										$oFCKeditor->Create();
									?>
							</div>
						</fieldset>