Ejemplo n.º 1
0
					$("#partner_id").css('color','#FFCC33');
				}else {
					
					$("#partner_select").load('/manage/team/part.php?value='+encodeURIComponent(s));
				}
		});
	});
});
</script>


<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="partner">
	<div class="dashboard" id="dashboard">
		<ul><?php echo mcurrent_store('create'); ?></ul>
	</div>
	<div id="content" class="clear mainwide">
        <div class="clear box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head"><h2>新建门店</h2></div>
                <div class="sect">
                    <form id="login-user-form" method="post" action="/manage/store/create.php" enctype="multipart/form-data" class="validator">
						<div class="wholetip clear"><h3>1、登录信息</h3></div>
                        <div class="field">
                            <label>门店名称</label>
                            <input type="text" size="30" name="name" id="partner-create-username" class="f-input f-hint" value="<?php echo $store['name']; ?>" require="true" datatype="require" />
                        </div>
                        <div class="field password">
                            <label>门店品牌</label>
Ejemplo n.º 2
0
<?php include template("manage_header");?>

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="coupons">
	<div class="dashboard" id="dashboard">
		<ul><?php echo mcurrent_store('card'); ?></ul>
	</div>
    <div id="content" class="coupons-box clear mainwide">
		<div class="box clear">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
                    <h2>门店</h2>
					<ul class="filter"><li><form method="get">门店名称:<input type="text" name="ptitle" class="h-input" value="<?php echo htmlspecialchars($ptitle); ?>" >&nbsp;<select name="open" class="h-input"><?php echo Utility::Option($option_open, $open, '展示'); ?></select>&nbsp;<select name="city_id" class="h-input"><?php echo Utility::Option(option_category('city'), $city_id, '全部城市'); ?></select>&nbsp;<select name="partner_id" style="width:280px;" class="h-input"><?php echo Utility::Option($partners, $partner_id, '全部商家'); ?></select>&nbsp;<input type="submit" value="筛选" class="formbutton"  style="padding:1px 6px;"/><form></li></ul>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
					<tr>
						<th width="40">ID</th>
						<th width="270">名称</th>
						<th width="100">商户号</th>
						<!--<th width="60">分类</th>-->
						<th width="120">联系人</th>
						<th width="80">电话号码</th>
						<th width="60">展示</th>
						<th width="40">排序</th> 
						<th width="100">操作</th> 
					</tr> 
					<?php if(is_array($stores)){foreach($stores AS $index=>$one) { ?>
					<tr <?php echo $index%2?'':'class="alt"'; ?> id="team-list-id-<?php echo $one['id']; ?>">
Ejemplo n.º 3
0
<?php include template("manage_header");?>

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="coupons">
	<div class="dashboard" id="dashboard">
		<ul><?php echo mcurrent_store('index'); ?></ul>
	</div>
    <div id="content" class="coupons-box clear mainwide">
		<div class="box clear">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
                    <h2>门店</h2>
					<ul class="filter"><li><form method="get">门店名称:<input type="text" name="ptitle" class="h-input" value="<?php echo htmlspecialchars($ptitle); ?>" >&nbsp;<select name="open" class="h-input"><?php echo Utility::Option($option_open, $open, '展示'); ?></select>&nbsp;<select name="city_id" class="h-input"><?php echo Utility::Option(option_category('city'), $city_id, '全部城市'); ?></select>&nbsp;<select name="partner_id" style="width:280px;" class="h-input"><?php echo Utility::Option($partners, $partner_id, '全部商家'); ?></select>&nbsp;<input type="submit" value="筛选" class="formbutton"  style="padding:1px 6px;"/><form></li></ul>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
					<tr><th width="40">ID</th><th width="320">名称</th><!--<th width="60">分类</th>--><th width="120">联系人</th><th width="130">电话号码</th><th width="60">展示</th><th width="40">排序</th><th width="100">操作</th></tr>
					<?php if(is_array($stores)){foreach($stores AS $index=>$one) { ?>
					<tr <?php echo $index%2?'':'class="alt"'; ?> id="team-list-id-<?php echo $one['id']; ?>">
						<td><?php echo $one['id']; ?></td>
						<td style="text-align:left;"><a class="deal-title" href="/manage/store/edit.php?id=<?php echo $one['id']; ?>"><?php echo $one['name']; ?></a></td>
						<!--<td nowrap><?php echo $groups[$one['group_id']]; ?><br/><?php echo $cities[$one['city_id']]; ?></td>-->
						<td nowrap><?php echo $one['contact']; ?></td>
						<td nowrap><?php echo $one['telphone']; ?></td>
						<td nowrap><?php echo $one['open']; ?></td>
						<td nowrap><?php echo $one['head']; ?></td>
						<td class="op" nowrap><a href="/manage/store/edit.php?id=<?php echo $one['id']; ?>">编辑</a>|<a href="/ajax/manage.php?action=storeremove&id=<?php echo $one['id']; ?>" class="ajaxlink" ask="确定删除本商户?">删除</a></td>
					</tr>
					<?php }}?>
Ejemplo n.º 4
0
		jQuery('#inputlonglat').val(e.point.lat+','+e.point.lng);
	};
	X.misc.setgooglemapclick = function(overlay, latlng) {
		jQuery('#inputlonglat').val(latlng.y+','+latlng.x);
	};
	X.misc.setbaidumapclick = function(e) {
		jQuery('#inputlonglat').val(e.point.lat+','+e.point.lng);
	};
};
</script>

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="partner">
	<div class="dashboard" id="dashboard">
		<ul><?php echo mcurrent_store(null); ?></ul>
	</div>
	<div id="content" class="clear mainwide">
        <div class="clear box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head"><h2>编辑门店</h2><b style="margin-left:20px;font-size:16px;">(<?php echo $store['name']; ?>)</b></div>
                <div class="sect">
                    <form id="login-user-form" method="post" action="/manage/store/edit.php?id=<?php echo $store['id']; ?>" enctype="multipart/form-data" class="validator">
                    <input type="hidden" name="id" value="<?php echo $store['id']; ?>" />
					<div class="wholetip clear"><h3>1、登录信息</h3></div>
                        <div class="field">
                            <label>门店名称</label>
                            <input type="text" size="30" name="name" id="partner-create-username" class="f-input f-hint" value="<?php echo $store['name']; ?>" require="true" datatype="require" />
                        </div>
                        <div class="field password">