<?php die;?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<title><!--{$smarty.const.MICE_TITLE}--></title>
<base href="<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/" />
<link href="css/Default.css" rel="stylesheet" type="text/css" />
<link href="css/fieldset.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
var baseurl = '<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/';
</script>
<script type="text/javascript" src="js/Main.js"></script>
</head>

<body>
<table width="100%" border="0" cellspacing="6" cellpadding="0" style="border-collapse: separate; border-spacing: 6px;">
      <tr valign="top">
        <td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="blockTable">
            <tr>
			  <td width="100%" style="padding:6px 10px;" class="blockTd">&nbsp;</td>
            </tr>
			<tr>
              <td style="padding-top:0px;padding-left:6px;padding-right:6px;padding-bottom:8px;">
<!--内容开始-->
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="860" align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
      <tr>
        <td height="28" bgcolor="#F9F9F9">&nbsp;<B>友情链接标签</B></td>
      </tr>
      <tr>
        <td height="28" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="28" class="bottomline" width="200" valign="top">&nbsp;友情链接列表标签</td>
    <td height="28" class="bottomline">
	&lt!--{foreach from='micefun'|LinkList:2:0:0:20 item=Link}-->：获取前20条友情链接,2表示所有链接，改为0表示仅文字链接(logo图片为空的),改为1表示图片链接(logo图片已经填写的)；0表示全部分类;0表示从第一条开始;20表示前20条<br>
	&lta href="&lt!--{'micefun'|MiceRestoreQuote:$Link->getUrl()}-->" title="&lt!--{$Link->getSummary()}-->" target="_blank">&lt!--{$Link->getTitle()}-->&lt/a>：依次为：链接地址,链接说明,链接标题；链接Logo为&lt!--{'micefun'|MiceRestoreQuote:$Link->getLogo()}--><br>
	&lt!--{/foreach}--><br>
	&lta href="&lt!--{$smarty.const.MICE_URL}-->index.php/addlink">申请链接&lt/a>
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200">&nbsp;</td>
    <td height="28" class="bottomline">
	<b>适用范围：</b>所有模板都可使用<br>
	可参考footer.php模板
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200" valign="top">&nbsp;申请链接页面标签</td>
    <td height="28" class="bottomline">
&ltscript language="JavaScript"><br>
function CheckLinkForm()<br>
{<br>
 if (document.linkform.name.value.length == 0)<br>
 {<br>
  alert("姓名不能为空！");<br>
  document.linkform.name.focus();<br>
  return false;<br>
 }<br>
<br>
 if (document.linkform.title.value.length == 0)<br>
 {<br>
  alert("标题不能为空！");<br>
  document.linkform.title.focus();<br>
  return false;<br>
 }<br>
<br>
 if (document.linkform.url.value.length == 0)<br>
 {<br>
  alert("网址不能为空！");<br>
  document.linkform.url.focus();<br>
  return false;<br>
 }<br>
<br>
 if (document.linkform.checkcode.value.length == 0)<br>
 {<br>
  alert("验证码不能为空！");<br>
  document.linkform.checkcode.focus();<br>
  return false;<br>
 }<br>
<br>
  return true;<br>
}<br>
<br>
&lt/script><br><br>

			&ltform id="linkform" name="linkform" method="post" action="" onsubmit="return CheckLinkForm()"><br>
			&lt!--{if $name==''}--><br>
			姓名:&ltinput name="name" type="text" size="50" maxlength="50"/><br>
			&lt!--{else}--><br>
				&ltinput name="name" type="hidden" value="&lt!--{$name}-->"/><br>
			&lt!--{/if}--><br>
			网站名称:&ltinput name="title" type="text" size="50" maxlength="250" /><br>
			网址:&ltinput name="url" type="text" size="50" maxlength="250" /><br>
			Logo:&ltinput name="logo" type="text" size="50" maxlength="250" /><br>
			网站简介:&lttextarea name="content" cols="50" rows="5">&lt/textarea><br>
			联系方式:&ltinput name="email" type="text" size="50" maxlength="200" />&nbsp;(如Email:cms@micecms.com;QQ:78825278)<br>
			验证码:&ltinput name="checkcode" type="text" size="30" maxlength="4" />&ltimg src="&lt!--{$checkcode}-->" onClick="this.src=this.src+'/'" title="看不清?点击图片更新！"/><br>
			&ltinput type="submit" name="Submit" value="提交" /><br>
			&ltinput type="reset" name="Submit2" value="重置" /><br>
			&lt/form>
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200">&nbsp;</td>
    <td height="28" class="bottomline">
	<b>适用范围：</b>addlink.php<br>
	可参考addlink.php模板
	</td>
  </tr>
</table>
	</td>
   </tr>
</table>
<!--内容结束-->
		</td>
		</tr>
	</table></td>
  </tr>
</table>
</body>
</html>
