Example #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_worker('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="-user-form" method="post" action="/manage/worker/create.php" enctype="multipart/form-data" class="validator">											 			
							<div class="field">
								<label>员工姓名</label> 
								<input type="text" size="10" name="worker[realname]" class="iptTxt" value="<?php echo $worker['realname']; ?>"/>
							</div> 
							<div class="field">
								<label>员工性别</label>
								<select name="worker[sex]"> 
									<option value="1" <?php if($worker["sex"] == 1){?>selected<?php }?>>男</option>
									<option value="0" <?php if($worker["sex"] == 0){?>selected<?php }?>>女</option>									
								</select> 
							</div>
							<div class="field">
Example #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_worker('index'); ?>
				</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">  
							<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
								<tr>
									<th width="40">ID</th>
									<th width="200">员工名字</th>
									<th width="100">手机号码</th>
									<th width="100">部门</th>
									<th width="100">职位</th>
									<th width="100">入职时间</th>
									<th width="140">操作</th>
								</tr>
								<?php if(is_array($workers)){foreach($workers AS $index=>$one) { ?>							
								<tr <?php echo $index%2?'':'class="alt"'; ?> id="team-list-id-<?php echo $one['id']; ?>">
									<td><?php echo $one['id']; ?></a>
Example #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_worker('birth'); ?>
				</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">  
							<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
								<tr>
									<th width="40">ID</th>
									<th width="300">员工名字</th>
									<th width="100">手机号码</th>
									<th width="100">部门</th>
									<th width="100">入职时间</th>

									<th width="140">操作</th>
								</tr>
								<?php if(is_array($workers)){foreach($workers AS $index=>$one) { ?>							
								<tr <?php echo $index%2?'':'class="alt"'; ?> id="team-list-id-<?php echo $one['id']; ?>">
									<td><?php echo $one['id']; ?></a>