<?php include mayi_tpl('inc_header'); ?><link rel="stylesheet" type="text/css" href="template/css/new.my.css" /><script language="javascript" src="template/javascript.js"></script><script type="text/javascript" src="../template/global/messagebox.js"></script></head><body class="blue"><div class="container"><div id="main" class="main section-setting"><div class="clearfix main-inner"><div class="content"><div class="clearfix content-inner"><div class='location'><?=$location?></div><div class="content-main"><div class="content-main-inner"><div class="pwrap"><div class="pbody">
<div class="cleafix pagetab-wrap">
<ul class="pagetab">
<li><a href="javascript:;" onClick="window.location.href='?m=shop&ac=base'" <?php if($m == 'shop'&&$ac=='base'){?>class="current"<?php }?>><span><?php echo $if_corp != 1 ? '申请开通店铺网站' : '店铺资料'; ?></span></a></li>
</ul>
</div>
<div id="msg_success"></div><div id="msg_error"></div><div id="msg_alert"></div>
<div style="display:none;">
    <iframe width=0 height=0 src='' id="iframe_city" name="iframe_city"></iframe> 
    <iframe width=0 height=0 src='' id="iframe_area" name="iframe_area"></iframe> 
    <iframe width=0 height=0 src='' id="iframe_street" name="iframe_street"></iframe> 
    <form method="post" target="iframe_city" id="form_city"></form>
    <form method="post" target="iframe_area" id="form_area"></form>
    <form method="post" target="iframe_street" id="form_street"></form>
</div>
<form action="?m=shop" method="post" name="form1"><div class="formgroup"><div class="formrow"><h3 class="label"><label>店铺名称</label></h3><div class="form-enter"><input require="true" datatype="limit|ajax" url="<?=$mymps_global[SiteUrl]?>/javascript.php?part=chk_badwords" msg="店铺名称不能为空" type="text" name="tname" class="text" value="<?php echo $row['tname']; ?>"/></div></div><div class="formrow"><h3 class="label"><label>关键词</label></h3><div class="form-enter"><input require="true" datatype="limit|ajax" url="<?=$mymps_global[SiteUrl]?>/javascript.php?part=chk_badwords" msg="关键词不能为空" type="text" name="keywords" class="text" value="<?php echo $row['keywords']; ?>"/> 多个关键词以“，”隔开，不要超过3个关键词
                                            </div></div><div class="formrow"><h3 class="label"><label>营业时间</label></h3><div class="form-enter"><input id="hourstime1" class="text" type="text" style="width:40px!important;" name="hourstime1" value="<?=$row[hourstime1]?$row[hourstime1]:'9'?>"/> : <input id="hourstime2" type="text" class="text" style="width:40px!important;" name="hourstime2" value="<?=$row[hourstime2]?$row[hourstime2]:'00'?>"/> - <input id="hourstime3" type="text" class="text" style="width:40px!important;" name="hourstime3" value="<?=$row[hourstime3]?$row[hourstime3]:'23'?>"/> : <input id="hourstime4" type="text" class="text" style="width:40px!important;" name="hourstime4" value="<?=$row[hourstime4]?$row[hourstime4]:'00'?>"/></div></div><div class="formrow"><h3 class="label">所属类别</h3><div class="form-enter"><?=$get_member_cat?></div></div><div class="formrow"><h3 class="label">所在地区</h3><div class="form-enter"><?php echo select_where_option('/include/selectwhere.php?',$row['cityid'],$row['areaid'],$row['streetid'],'',1); ?></div></div><div class="formrow"><h3 class="label">固定电话</h3><div class="form-enter"><input type="text" class="text" name="tel" value="<?php echo $row['tel']?>" /></div></div>
                                            <?php if($mymps_global['mapapi']){?>
                                            <div class="formrow"><h3 class="label">地图标注</h3><div class="form-enter"><span class="minbtn-wrap" style="margin-left:0;"><span class="btn"><input id='mappoint' name='mappoint' type='text' value="<?=$row['mappoint']?>" class="text none"><input type="button" class="button" value="我要标注" onClick="setbg('地图标注',500,360,'../map.php?action=markpoint&width=500&height=260&p=<?=$mappoint?>&cityname=<?=$row[citypy]?>')"/></span></span></div></div>
                                            <?php }?>
                                            <div class="formrow"><h3 class="label">详细地址</h3><div class="form-enter"><input id="address" type="text" class="text" name="address" value="<?php echo $row['address']?>" /></div></div>
                                            <div class="formrow"><h3 class="label">乘车路线</h3><div class="form-enter"><textarea name="busway"><?php echo $row['busway']; ?></textarea></div></div>
                                            <div class="formrow"><h3 class="label">店铺介绍</h3><?php echo $acontent; ?></div><div class="formrow formrow-action"><h3 class="label">&nbsp;</h3><span class="minbtn-wrap"><span class="btn">
                                            <?php if($row['status']!=1){?>
                                            <input type="submit" value="资料审核中，请勿重复提交" class="button" name="shop_submit" disabled/>
                                            <?php }else{?>
                                            <input type="submit" value="填写好了，我要提交<?php echo $if_corp == 1 ? '保存' : '申请'; ?>" class="button" name="shop_submit" />
                                            <?php }?>
                                            </span></span></div></div></form></div><div class="pfoot"><p><b>-</b></p></div></div></div></div></div></div></div></div><?php include mayi_tpl('inc_foot'); ?></div></body></html>