<!--<?php
# MetInfo Enterprise Content Management System 
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved. 
require_once template('head'); 
$colspan=($langnowok=='metinfo')?3:2;
$colspan1=$colspan-1;
echo <<<EOT
-->
<title>{$lang_langwebeditor}</title>
</head>
<body>
        <form method="POST" name="myform" action="" target="_self">
		<input name="action" type="hidden" value="modify">
		<input name="langnum" type="hidden" value="$j">
		<input name="lang" type="hidden" value="$lang">
		<input name="langeditor" type="hidden" value="$langeditor">
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="table_list1" >
<tr>
<td colspan="$colspan" align="center" class="list1_title">{$lang_langwebeditor}【<b>{$met_langok[$langeditor][name]}</b>】</td>
</tr>
   <tr><td class="list1_text" ><b>{$lang_langeditorinfo}</b></td>
    <td colspan="$colspan1" class="list1_input">{$lang_langeditordetail1}<br>{$lang_langeditordetail2}<br>{$lang_langeditordetail3}</td></tr>
<tr><td class="list1_text" colspan="$colspan"><a href="lang.php?lang=$lang">{$lang_indexlang}</a> | <a href="langeditor.php?langeditor=$langeditor&lang=$lang">{$lang_langclass}</a></td></tr>
<!--
EOT;
if($langnowok=='metinfo'){
echo <<<EOT
-->
<tr>
<td class="list1_text" width:20%><b>{$lang_langclass2}</b></td>
<td class="list1_input" width:50%><b>{$lang_langvalue}</b></td>
<td class="list1_input" width:30%><b>{$lang_langinfo}</b></td>
</tr>
<input name="metinfolangid" type="hidden" value="$langid">
<!--
EOT;
foreach($langtext[$langid] as $key=>$val){
echo <<<EOT
-->

 <tr> 
 <td class="list1_text">$val[name]</td>
 <td class="list1_input"><input name="$val[name]_metinfo" type="text" value="$val[value]" size="60"></td>
 <td class="list1_input"><input name="$val[name]_info_metinfo" type="text" value="$val[valueinfo]" size="30"></td>
 </tr>
<!--
EOT;
}}else{
echo <<<EOT
-->
<tr>
<td class="list1_text"><b>{$lang_langclass}</b></td>
<td class="list1_input"><b><font color="red">{$lang_langclass1}</font></b></td>
</tr> 
<input name="metinfo_langtitle" type="hidden" value="metinfolangtitle">
<!--
EOT;
for($i=0;$i<$j;$i++){
echo <<<EOT
-->
<tr>
<td class="list1_text"><input name="langarray1[$i]" type="text" style="font-weight:bold; color:#0033CC;" value="$langarray[$i]" size="15" ></td>
<td class="list1_input" ><a href="langeditor.php?langeditor=$langeditor&langnowok=metinfo&langid=$i&lang=$lang">{$lang_langclass2}【$langarray[$i]】</a></td>
</tr> 

<!--
EOT;
}}
echo <<<EOT
-->

	      <tr> 
	      <td class="list1_submit" colspan="$colspan" style="text-align:center;"><input type="submit" name="Submit" value="{$lang_Submit}" class="tj" style="*padding-top:2px; *height:22px;"><input type="reset" name="Submit" value="{$lang_Reset}" class="tj" style="*padding-top:2px; *height:22px;"></td>
          </tr>
        </form>
		<tr>
		  <td class="list1_footer" colspan="$colspan" align="center">$foot</td>
	  </tr>
</table>
</body>
</html>
<!--
EOT;
# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved.
?>-->