<?php
	!defined('MEMBER_CENTER') && exit('Access Denied!');
?>
<!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=gb2312" />
<title>会员中心 - Powered by DirCMS</title>
<base href="<?php echo $DIRCMS['site_url'];?>" />
<link href="member/template/images/style.css" rel="stylesheet" type="text/css" />
<script src="images/js/jquery.min.js"></script>
<script src="images/js/check.func.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function(){checkForm(0);});
</script>
</head>
<body>
<div id="warp">
<?php include member_tlp('header');?>
<div class="container clearfix">
<?php include member_tlp('sidebar');?>

<div id="content">
<div id="here">
<h2 class="title">域名菜单</h2>
</div>
<div class="tabs_header">
<ul class="tabs clearfix">
	<li><a href="member/index.php?mod=yp&file=yp&action=set">商家资料</a></li>
	<li class="active"><a href="member/index.php?mod=yp&file=yp&action=domain">域名菜单</a></li>
</ul>
</div>
<div class="display">
<div class="tdline">
<?php if(!$ypinfo){?>

		<span style="color:#ff0000">您尚未开通企业店铺, 不能进行此操作, 请先开通!</span>

<?php }else {?>
<form action="member/index.php?mod=yp&file=yp&action=domain" method="post" name="myform" >
<input type="hidden" name="do_submit" value="1" />
<table border="0" cellpadding="0" cellspacing="0" width="98%">
<tr>
<td><h3>菜单名称
</h3></td>
<td><h3>菜单链接
</h3></td>
</tr>
<?php 
foreach($menu as $name => $url)
{
?>
<tr>
<td width="35%"><input type="text" name="name[]" value="<?php echo $name;?>" size="16" /></td>
<td> <input type="text" name="url[]" value="<?php echo $url;?>" size="60" /></td>
</tr>
<?php }?>
<tr>
<tr>
<td colspan="2"><h3>绑定域名
</h3></td>
</tr>
<tr>
<td colspan="2">绑定域名： <input type="text" name="domain" value="<?php echo $ypinfo['domain'];?>" size="30" /> <span style="color:#FF0000">确认域名成功解析后再绑定！</span></td>
</tr>
<td colspan="2" align="center"><input type="submit" value="提 交" name="dosubmit" class="input_sub"/></td>
</tr>
</table>
</form>
<?php }?>
</div>
</div>
</div>

</div>
<?php include member_tlp('footer');?>
</div>
</body>
</html>