<!--<?php
# MetInfo Enterprise Content Management System 
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved. 
require_once template('head');
echo <<<EOT
-->
<title>{$lang_indexsetHomeSet}</title>
</head>
<body>
<form method="POST" name="myform"  action="index_set.php?action=modify" target="_self">
		<input name="lang" type="hidden" value="$lang">
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="table_list1">
         <tr> 
            <td colspan="3" align="center" class="list1_title">{$lang_indexsetHomeSet}</td>
          </tr>
		  <tr> 
            <td class="list1_text"><b>{$lang_indexsetOnline}</b></td>
            <td class="list1_input"><input name="index_online_type" type="radio" value="1" $online_type1[1] >{$lang_open} <input name="index_online_type" type="radio" value="0" $online_type1[0]>{$lang_close} </td></tr>
			 <tr> 
            <td class="list1_text"><b>{$lang_mod2}{$lang_indexsetnum}</b></td>
            <td class="list1_input"><input name="index_news_no" type="text" size="4" value="$index_news_no">{$lang_item}</td></tr>
			<tr> 
            <td class="list1_text"><b>{$lang_mod3}{$lang_indexsetnum}</b></td>
            <td class="list1_input"><input name="index_product_no" type="text" size="4" value="$index_product_no">{$lang_item}</td></tr>
			<tr> 
            <td class="list1_text"><b>{$lang_mod5}{$lang_indexsetnum}</b></td>
            <td class="list1_input"><input name="index_img_no" type="text" size="4" value="$index_img_no">{$lang_item}</td></tr>
			<tr> 
            <td class="list1_text"><b>{$lang_mod4}{$lang_indexsetnum}</b></td>
            <td class="list1_input"><input name="index_download_no" type="text" size="4" value="$index_download_no">{$lang_item}</td></tr>
			<tr> 
            <td class="list1_text"><b>{$lang_mod6}{$lang_indexsetnum}</b></td>
            <td class="list1_input"><input name="index_job_no" type="text" size="4" value="$index_job_no">{$lang_item}</td></tr>
			<tr> 
            <td class="list1_text"><b>{$lang_indexsetFriendly}</b></td>
            <td class="list1_input"><input name="index_link_ok" type="radio" value="1" $link_ok1[1] >{$lang_open} <input name="index_link_ok" type="radio" value="0" $link_ok1[0]>{$lang_close} </td></tr>
            <tr> 
            <td class="list1_text"><b>{$lang_indexsetImgLink}</b></td>
            <td class="list1_input"><input name="index_link_img" type="text" size="4" value="$index_link_img">{$lang_item}</td></tr>
			<tr> 
            <td class="list1_text"><b>{$lang_indexsetWordLink}</b></td>
            <td class="list1_input"><input name="index_link_text" type="text" size="4" value="$index_link_text">{$lang_item}</td>
			</tr>
<!--
EOT;
if(count($indexpage)){
echo <<<EOT
-->
			<tr> 
            <td class="list1_text"><b>{$lang_indexsetskin}</b></td>
            <td class="list1_input">
			<ul class="indexskin">
<!--
EOT;
foreach($indexpage as $key=>$val){
if($met_indexskin==$val[1])$skinok="checked='checked'";
echo <<<EOT
-->
<li style="width:100%; height:auto; margin:10px 0px 5px 0px; border-bottom:1px solid #F2F2F2; float:left;"><img style="float:left; margin:5px; border:1px solid #E7E7E7;" src="../../templates/{$met_skin_user}/{$val[3]}" width="100" height="100"><span style="display:block; float:left; margin:0px 0px 0px 10px;"><input name="met_indexskin" type="radio" value="$val[1]" $skinok ><b>$val[0]</b><br>$val[2]</span></li>
<!--
EOT;
$skinok='';
}
echo <<<EOT
-->
			</ul>
			</td>
			</tr>
			
<!--
EOT;
}
echo <<<EOT
-->		  
<tr><td class="list1_text"></td>
	      <td class="list1_submit"><input type="submit" name="Submit" value="{$lang_Submit}" class="tj"><input type="reset" name="Submit" value="{$lang_Reset}" class="tj"> </td>
          </tr>
        </form>
		<tr>
		  <td class="list1_footer" colspan="2" 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.
?>-->