<!--
<?php
echo <<<EOT
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$kuWebsiteTitle}</title>
<link href="{$adminHttpCssPath}admin.css" rel="stylesheet" type="text/css">
<script type="text/javascript" language="javascript" src="{$adminHttpJsPath}common.js"></script>
</head>

<body>
  <table width="100%" border="0" background="#EEEEEE">
    <tr>
      <td colspan="3" height="10">&nbsp;</td>
    </tr>
    <tr>
      <td width="1%"></td>
      <td width="98%"> 
        <table width="100%" bgcolor="#F4FAFB" style="border:1px solid #99d3fb">
          <tr height="30" style="padding:3px 10px;">
            <td width="40%" align="left" height="40"><span style="font-size:16px; font-weight:bold">&nbsp;&nbsp;{$labelFridnlinkAddFridnlink}</span></td>
            <td width="40%" align="right"><a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=friendlink&menu=friendlink_action">{$labelFridnlinkBackBrowseFridnlink}</a></td>
          </tr>
        </table>
        <form name='myform' enctype="multipart/form-data" action="index.php?lang={$kuWebsiteEditVersionLanguage}&path=friendlink&menu=friendlink_action&action=add" method="post">
        <input type="text" name="menuid" value="{$menuid}" style="display:none" />
        <input type="radio" name="lang" value="cn" {$kuWebsiteEditVersionLanguageFlag[cn]} style="display:none;" />
        <input type="radio" name="lang" value="en" {$kuWebsiteEditVersionLanguageFlag[en]} style="display:none;" />
         <table width="100%" bgcolor="#F4FAFB" class="tableList" cellpadding="1" cellspacing="1">
          <tr> 
            <td width="30%" align="right">{$labelFridnlinkType}</td>
            <td width="70%"> 
              <input name="friendlinktype" type="radio" value="1" onclick="displayDiv('websiteTitleFriendlink','websiteLogoFriendlink')" checked="checked" />{$labelFridnlinkCharaterLink}
              <input name="friendlinktype" type="radio" value="2" onclick="displayDiv('websiteLogoFriendlink','websiteTitleFriendlink')" />
              {$labelFridnlinkImgLink} <font color="#FF0000">*</font>
            </td>
          </tr>
          <tr>
            <td colspan="2">
               <div id="websiteTitleFriendlink" style="width:100%; padding:1px 1px; display:block">
                 <table width="100%" height="100%" bgcolor="#F4FAFB" cellpadding="1" cellspacing="1">
                    <tr> 
                      <td width="30%" align="right">{$labelFridnlinkWebsiteTitle}</td>
                      <td width="70%"> <input name="friendlinktitle" type="text" size="50" maxlength="200">
                      <font color="#FF0000"> *</font>{$labelModelCommonTitleDesc}</td>
                   </tr>
                  </table>
                </div> 
                 <div id="websiteLogoFriendlink" style="width:100%; padding:1px 1px; display:none">
                  <table width="100%" height="100%" bgcolor="#F4FAFB" cellpadding="1" cellspacing="1">
                     <tr> 
                      <td width="30%" align="right">{$labelFridnlinkLOGO}</td>
                      <td width="70%" > 
                        <input name="friendlinklogo" type="text" size="50" maxlength="200" value="">
                        <iframe style=" padding:0; margin:0;" src="include/uploadphoto.php?returnid=friendlogo" frameborder=0 scrolling=no width="350" height="25"></iframe>
                      </td>
                    </tr> 
                  </table>
                </div>
            </td>
          </tr>
          <tr> 
            <td align="right">{$labelFridnlinkWebsiteUrl}</td>
            <td> <input name="friendlinkurl" type="text" size="50" maxlength="200" value="">
            <font color="#FF0000"> *</font>{$labelCommonUsingHttpStyle}</td>
          </tr>    
          <tr> 
            <td align="right">{$labelFridnlinkKeyWords}</td>
            <td> <input name="friendlinkkeyword" type="text" size="50" maxlength="250"></td>
          </tr> 
          <tr> 
            <td align="right">{$labelFridnlinkDisplaySort}</td>
            <td> <input name="sortnum" type="text" size="5" value="50" maxlength="250">{$labelFridnlinkDisplaySortDesc}</td>
          </tr> 
          <tr> 
            <td align="right">{$labelModelCommonState}</td>
            <td> 
              <input name="status" type="radio" value="1" checked="checked">{$labelModelCommonStateRelease}
              <input name="status" type="radio" value="2">{$labelModelCommonStateDraft}
            </td>
          </tr>
          <tr> 
            <td align="right">{$labelModelCommonDetailedContent}</td>
            <td><textarea name="friendlinkinfo" cols="60" rows="5"></textarea></td>
          </tr>   
          <tr> 
            <td height="30" align="center" colspan="2"> 
              <input class="button" type="submit" name="Submit" value="{$labelCommonSubmit}" >&nbsp;&nbsp;&nbsp;&nbsp;  
              <input class="button" type="reset" name="Submit" value="{$labelCommonReset}" > 
            </td>
          </tr>
        </table>
      </form>
  
EOT;
include_once($adminTemplatePath.'/footer.html');
echo <<<EOT
  
  </td>
      <td width="1%"></td>
    </tr>
  <tr><td colspan="3" height="10">&nbsp;</td></tr>
  </table>
</body>
</html>

<!--
EOT;
?>
-->