예제 #1
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_coupon('card');
?>
</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>
					<ul class="filter">
						<li><form method="get">项目ID:<input type="text" name="tid" value="<?php 
echo htmlspecialchars($tid);
?>
" class="h-input" />&nbsp;商户ID:<input type="text" name="pid" value="<?php 
echo htmlspecialchars($pid);
?>
" class="h-input" />&nbsp;代号:<input type="text" name="code" value="<?php 
echo htmlspecialchars($code);
?>
" class="h-input" />&nbsp;状态:<select name="state"><?php 
예제 #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_coupon('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>未消费<?php echo $INI['system']['couponname']; ?></h2>
							<ul class="filter">
								<li>
									<form method="get">
										<p>
										项目ID:
										<input type="text" class="h-input" name="tid" value="<?php echo htmlspecialchars($tid); ?>" >
										&nbsp;用户:
										<input type="text" class="h-input" name="uname" value="<?php echo htmlspecialchars($uname); ?>" >
										&nbsp;券编号:
										<input type="text" class="h-input" name="coupon" value="<?php echo htmlspecialchars($coupon); ?>" >
										</p>
										<p style="margin:5px 0;">
											购买时间:
											<input type="text" class="h-input" onFocus="WdatePicker({isShowClear:false,readOnly:true})" name="cbday" value="<?php echo $cbday; ?>" />
											-
예제 #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_coupon('index');
?>
</ul>
	</div>
    <div id="content" class="coupons-box clr mainwide">
		<div class="box clr">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
                    <h2>Not Used <?php 
echo $INI['system']['couponname'];
?>
</h2>
				</div>
				<form action="/manage/coupon/index.php" method="post">
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
					<tr><th width="100">Serial</th><th width="440">Item</th><th width="180">Username</th><th width="140">Valid Till</th>
					<?php 
if (is_array($coupons)) {
    foreach ($coupons as $index => $one) {
예제 #4
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_coupon('expire');
?>
</ul>
	</div>
    <div id="content" class="coupons-box clr mainwide">
		<div class="box clr">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
                    <h2>Expired <?php 
echo $INI['system']['couponname'];
?>
</h2>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
					<tr><th width="100">Serial</th><th width="440">Item</th><th width="180">Username</th><th width="140">Expired Date</th></tr>
					<?php 
if (is_array($coupons)) {
    foreach ($coupons as $index => $one) {
        ?>
<?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_coupon('cardcreate');
?>
</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" class="validator">
					<input type="hidden" name="id" value="<?php 
echo $card['id'];
?>
" />
                        <div class="field">
                            <label>商户ID</label>
                            <input type="text" size="30" name="partner_id" id="card-create-partner" class="number" value="<?php 
echo abs(intval($card['partner_id']));
예제 #6
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_coupon('consume');
?>
</ul>
	</div>
    <div id="content" class="coupons-box clr mainwide">
		<div class="box clr">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
                    <h2>Consumed <?php 
echo $INI['system']['couponname'];
?>
</h2>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
					<tr><th width="100">Serial</th><th width="440">Item</th><th width="180">Username</th><th width="140">Consumed Time</th></tr>
					<?php 
if (is_array($coupons)) {
    foreach ($coupons as $index => $one) {
        ?>
<?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_coupon('paycard');
?>
</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>
					<ul class="filter">
						<li><form method="get">充值密码:<input type="text" name="tid" value="<?php 
echo htmlspecialchars($tid);
?>
" class="h-input" />&nbsp;状态:<select name="state"><?php 
echo Utility::Option($usage, $state, '所有');
?>
</select>&nbsp;<input type="submit" value="筛选" class="formbutton"  style="padding:1px 6px;"/>&nbsp;<input type="submit" name="download" value="下载" class="formbutton"  style="padding:1px 6px;"/><form></li>
					</ul>
				</div>
                <div class="sect">