<?php

include template("manage_header");
?>

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="partner">
	<div class="dashboard" id="dashboard">
		<ul><?php 
echo mcurrent_credit('settings');
?>
</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 method="post">
						<div class="wholetip clear"><h3>1、基本规则</h3></div>
						<input type="hidden" name="action" value="settings" />
                        <div class="field">
                            <label>用户注册</label>
                            <input type="text" size="30" name="credit[register]" class="number" value="<?php 
echo $INI['credit']['register'];
?>
"/>
                            <label>用户登录</label>
                            <input type="text" size="30" name="credit[login]" class="number" value="<?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_credit('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 action="/manage/credit/index.php" method="get">用户:<input type="text" name="uemail" class="h-input" value="<?php 
echo htmlspecialchars($uemail);
?>
" >&nbsp;<select name="action" style="width:120px;"><?php 
echo Utility::Option($option_action, $action, '所有操作');
?>
</select>&nbsp;<input type="submit" value="筛选" class="formbutton"  style="padding:1px 6px;"/><form></li>
					</ul>
				</div>
                <div class="sect">
Пример #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_credit('goods');
?>
</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><a href="/manage/credit/ajax.php?action=edit" class="ajaxlink">新建兑换商品</a></li>
                                                <li><a href="/manage/credit/records.php">兑换记录</a></li>
					</ul>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
					<tr><th width="50">ID</th><th width="350">名称</th><th width="150">兑换积分</th><th width="40" nowrap>限兑</th><th width="40" nowrap>数量</th><th width="40" nowrap>排序</th><th width="40" nowrap>显示</th><th width="140">操作</th></tr>
					<?php 
if (is_array($goods)) {
    foreach ($goods 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_credit('song'); ?></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>
				</div>
                <div class="sect">
					<form id="-user-form" method="post" action="/manage/credit/song.php" enctype="multipart/form-data" class="validator">										 			
						<div class="field">
							<label>几号之前</label> 
							<input type="text" size="12" name="date" class="iptTxt"/>
							(包含当天)
						</div> 	
						<div class="field">
							<label>所送积分</label> 
							<input type="text" size="12" name="score" class="iptTxt"/>
						</div>
						<input type="submit" value="提交" name="commit" id="leader-submit" class="formbutton" style="margin:10px 0 0 120px;"/>
					</form>
					
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
						<tr>
Пример #5
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_credit('goods'); ?></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><a href="/manage/credit/ajax.php?action=edit" class="ajaxlink">新建兑换商品</a></li>
						<li class="current"><a href="/manage/credit/records.php">兑换记录</a></li>
					</ul>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
					<tr><th width="50">ID</th><th width="200">Email/用户名</th><th width="100" nowrap>收货人</th><th width="40">电话</th><th width="400">详情</th><th width="200">操作</th></tr>
					<?php if(is_array($credits)){foreach($credits 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><?php echo $users[$one['user_id']]['email']; ?><br/><?php echo $users[$one['user_id']]['username']; ?><?php if(Utility::IsMobile($users[$one['user_id']]['mobile'])){?>&nbsp;&raquo;&nbsp;<a href="/ajax/misc.php?action=sms&v=<?php echo $users[$one['user_id']]['mobile']; ?>" class="ajaxlink">短信</a><?php }?></td>
						<td><?php echo $one['rname']; ?></td>
						<td><span class="currency"></span><?php echo $one['rmobile']; ?></td>
						<td><?php echo ZCredit::Explain($one); ?></td>
						<td><a href="/manage/credit/ajax.php?action=view&id=<?php echo $one['id']; ?>" class="ajaxlink">详情</a>&nbsp;|&nbsp;<?php if(($one['state']=='unpay')){?><a href="/manage/credit/ajax.php?action=checkexpress&id=<?php echo $one['id']; ?>" class="ajaxlink">未发货</a><?php } else { ?>已发货<?php }?></td>
					</tr>