<!--
<?php
print <<<EOT
-->
<script src="$webdb[www_url]/images/default/setday.js"></script>
<form name="form1" method="post" action="$admin_path&action=$job">
<div class="MainContainers">
  <div class="Header">





<!--
EOT;
if($job=='mod'){
print <<<EOT
-->
  <span class="tag">修改友情链接 </span><span class="more">&gt;&gt;</span>
        
        <!--
EOT;
}
elseif($job=="add"){
print <<<EOT
-->
  <span class="tag">添加友情链接 </span><span class="more">&gt;&gt;</span>
<!--
EOT;
}print <<<EOT
-->
  </div>
  <div class="Conter">
    <table class="FormTable">
    <tr> 
      <td class="tdL"> 
        <div align="left">链接名称：</div>
      </td>
      <td colspan="2" class="tdR" class="tdR"> 
        <input class=mmcinb type='text' name='postdb[name]' value='$rsdb[name]'>
      </td>
    </tr>
    <tr> 
      <td class="tdL">所属城市:</td>
      <td colspan="2" class="tdR">$select_city</td>
    </tr>
	<tr> 
      <td class="tdL">所属分类(可不选):</td>
      <td colspan="2" class="tdR">$select_class</td>
    </tr>
    <tr> 
      <td class="tdL"> 
        <div align="left">网址：</div>
      </td>
      <td colspan="2" class="tdR"> 
        <input class=mmcinb type='text' name='postdb[url]' value='$rsdb[url]' size='50'>
      </td>
    </tr>
    <tr> 
      <td class="tdL"> 
        <div align="left">LOGO图片：(可为空)</div>
      </td>
      <td width='28%'> 
        <input class=mmcinb type='text' name='postdb[logo]' value='$rsdb[logo]' id="pic" size="50">
      </td>
      <td width='53%'><iframe frameborder=0 height=23 scrolling=no src='upfile.php?fn=uppic&dir=friendlink' width=380></iframe> 
      </td>
    </tr>
    <tr> 
      <td class="tdL"> 
        <div align="left">描述介绍(可不填)：</div>
      </td>
      <td colspan="2" class="tdR"> 
        <input class=mmcinb type='text' name='postdb[descrip]' value='$rsdb[descrip]' size='60'>
      </td>
    </tr>

    <tr> 
      <td class="tdL">验证与否</td>
      <td colspan="2" class="tdR"> 
        <input type="radio" name="postdb[yz]" value="1" $yz[1]>
        已验证 
        <input type="radio" name="postdb[yz]" value="0" $yz[0]>
        未验证</td>
    </tr>
    <tr> 
      <td class="tdL">是否强制为文字链接:</td>
      <td colspan="2" class="tdR"> 
        <input type="radio" name="postdb[iswordlink]" value="1" $iswordlink[1]>
        强制 
        <input type="radio" name="postdb[iswordlink]" value="0" $iswordlink[0]>
        不强制</td>
    </tr>
    <tr>
      <td class="tdL">截止显示日期:</td>
      <td colspan="2" class="tdR">
        <input type="text" name="postdb[endtime]" value="$rsdb[endtime]" onClick="setday(this)">
        (留空则长久有效)</td>
    </tr>
  </table>
    <div class='submits'>
        <input class=mmcinb type='submit' name='Submit' value='提交数据'>
        <input type="hidden" name="id" value="$id">      
    </div>
  </div>
</div>
</form>
<SCRIPT LANGUAGE="JavaScript">
<!--
function uppic(url,name,size,b){
	get_obj('pic').value=url;
}
//-->
</SCRIPT>
<!--
EOT;
?>
-->


