Exemplo n.º 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_team($selector);
?>
</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">
				<?php 
if ($selector == 'failure') {
    ?>
                    <h2>失败项目</h2>
				<?php 
} else {
    if ($selector == 'success') {
        ?>
                    <h2>成功项目</h2>
				<?php 
    } else {
        ?>
Exemplo 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_team($selector); ?></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">
				<?php if($selector=='failure'){?>
                    <h2>失败项目</h2>
				<?php } else if($selector=='success') { ?>
                    <h2>往期成功团购</h2>
                    <?php } else if($selector=='goods') { ?>
                    <h2>团购商品</h2>
                         <?php } else if($selector=='dsj') { ?>
                              <h2>等待上架项目</h2>
			             	  <?php } else { ?>
                              <h2>进行中的团购项目</h2>
				<?php }?>
					<ul class="filter">
						<li><?php echo !$team_type ? '全部' : '<a href="?">全部</a>'; ?></li>
						<li><?php echo $team_type=='normal' ? '团购' : '<a href="?team_type=normal">团购</a>'; ?></li>
						<li><?php echo $team_type=='seconds' ? '秒杀' : '<a href="?team_type=seconds">秒杀</a>'; ?></li>
						<li><?php echo $team_type=='goods' ? '商品' : '<a href="?team_type=goods">商品</a>'; ?></li>
					</ul>
				</div>
Exemplo n.º 3
0
<?php

include template("manage_header");
?>

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="leader">
	<div class="dashboard" id="dashboard">
		<ul><?php 
echo mcurrent_team('team');
?>
</ul>
	</div>
	<div id="content" class="clear mainwide">
        <div class="clear box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
				<?php 
if ($team['id']) {
    ?>
					<h2>编辑项目</h2>
					<ul class="filter"><?php 
    echo current_manageteam('edit', $team['id']);
    ?>
</ul>
				<?php 
} else {
    ?>
					<h2>新建项目</h2>
Exemplo n.º 4
0
<?php include template("manage_header");?>

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="leader">
	<div class="dashboard" id="dashboard">
		<ul><?php echo mcurrent_team('team'); ?></ul>
	</div>
	<div id="content" class="clear mainwide">
        <div class="clear box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
				<?php if($team['id']){?>
					<h2>编辑项目</h2>
					<ul class="filter"><?php echo current_manageteam('editseo', $team['id']); ?></ul>
				<?php } else { ?>
					<h2>新建项目</h2>
				<?php }?>
				</div>
                <div class="sect">
				<form id="-user-form" method="post" action="/manage/team/editseo.php?id=<?php echo $team['id']; ?>" enctype="multipart/form-data" class="validator">
					<input type="hidden" name="id" value="<?php echo $team['id']; ?>" />
					<div class="wholetip clear"><h3>1、SEO信息</h3></div><div class="field">
						<label>活动标题-前</label>
						<input type="text" size="30" name="seo_hdtitle" id="team-create-hdtitle" class="f-input" value="<?php echo $team['seo_hdtitle']; ?>" />
					</div><div class="field">
						<label>活动标题-后</label>
						<input type="text" size="30" name="seo_hdtitle-h" id="team-create-hdtitle-h" class="f-input" value="<?php echo $team['seo_hdtitle-h']; ?>" />
					</div>
                  <div class="field">
Exemplo n.º 5
0
<?php include template("manage_header");?>

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="leader">
	<div class="dashboard" id="dashboard">
		<ul><?php echo mcurrent_team('dptpl'); ?></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="-user-form" method="post" action="/manage/team/dptpl.php?action=edit&id=<?php echo $tpl['idt']; ?>" enctype="multipart/form-data" class="validator">				
						<div class="field">
							<label>名称</label>
							<input type="text" size="30" name="update[name]" id="team-create-name" class="f-input" style="width:150px;" datatype="require" require="true" value="<?php echo $tpl['name']; ?>"/>
						</div>	
						<div class="field">
							<label>备注</label>
							<input type="text" size="30" name="update[comment]" id="team-create-comment" class="f-input" style="width:150px;" datatype="require" require="true"  value="<?php echo $tpl['comment']; ?>"/>
						</div>			
						<input type="submit" value="提交" name="commit" id="leader-submit" class="formbutton" style="margin:10px 0 0 120px;"/>
					</form>
                </div>
            </div>
Exemplo n.º 6
0
<?php

include template("manage_header");
?>

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="leader">
	<div class="dashboard" id="dashboard">
		<ul><?php 
echo mcurrent_team('create');
?>
</ul>
	</div>
	<div id="content" class="clr mainwide">
        <div class="clr box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head"><h2>New Deal</h2></b></div>
                <div class="sect">
				<form id="login-user-form" method="post" action="/manage/team/create.php" enctype="multipart/form-data" class="validator">
					<div class="wholetip clr"><h3>1. Basic</h3></div>
					<div class="field">
						<label>City&Category</label>
						<select name="city_id" class="f-input" style="width:200px;"><?php 
echo Utility::Option($cities, $team['city_id']);
?>
</select><select name="group_id" class="f-input" style="width:200px;"><?php 
echo Utility::Option($groups, $team['group_id']);
?>
</select>
Exemplo n.º 7
0
<?php

include template("manage_header");
?>

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="leader">
	<div class="dashboard" id="dashboard">
		<ul><?php 
echo mcurrent_team(null);
?>
</ul>
	</div>
	<div id="content" class="clr mainwide">
        <div class="clr box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head"><h2>Edit</h2><span class="headtip">(<?php 
echo $team['title'];
?>
)</span></div>
                <div class="sect">
				<form id="-user-form" method="post" action="/manage/team/edit.php?id=<?php 
echo $team['id'];
?>
" enctype="multipart/form-data" class="validator">
					<input type="hidden" name="id" value="<?php 
echo $team['id'];
?>
" />