gusucode.com > 2030网博士成品网站管理系统 PHP网站源码程序 > 2030/dingcan/admin/order_luru.php

    <?php
define("ROOTPATH", "../../");
include(ROOTPATH."includes/admin.inc.php");
include(ROOTPATH."includes/pages.inc.php");
include("language/".$sLan.".php");
NeedAuth(705);

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head >
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link  href="css/style.css" type="text/css" rel="stylesheet">
<title><?php echo $strAdminTitle; ?></title>
<script type="text/javascript" src="../../base/js/base.js"></script>
<script type="text/javascript" src="../../base/js/form.js"></script>
<script type="text/javascript" src="../../base/js/blockui.js"></script>
<script type="text/javascript" src="js/order.js"></script>
</head>

<body >

<!-----------------------------非会员订餐部分开始------------------------->
<div class="formzone">
	<div class="typezone">
		<input type="button" name="button" value="<?php echo $strOrderLuRuType2; ?>" class="zhbutton2" style="width:80px;cursor:pointer;" onclick="window.location='order_luru.php'" />
		<input type="button" name="button" value="<?php echo $strOrderLuRuType1; ?>" class="zhbutton" style="cursor:pointer;" onclick="window.location='order_luru_member.php'" />
	</div>
	<div class="tablezone">
		<div id="notice" class="noticediv"></div>

<div id="notmember" style="margin:5px;">
<form name="delfm" id="notmemberForm" method="post" action="">
<table width="100%" border="0" cellspacing="0" cellpadding="2" align="center">
	<tr> 
		<td width="100" height="30" align="center"><?php echo $strOrderType; ?></td>
	    <td align="left">
			<select name="ordertype">
				<option value="3"><?php echo $strOrderLuRuType3; ?></option>
				<option value="4"><?php echo $strOrderLuRuType4; ?></option>
				<option value="5"><?php echo $strOrderLuRuType5; ?></option>
				<option value="6"><?php echo $strOrderLuRuType6; ?></option>
			</select>
		</td>
	</tr>
	<tr> 
		<td width="100" height="30" align="center"><?php echo $strPayType; ?></td>
	    <td align="left">
			<select name="payid">
				<option value=""><?php echo $strOrderNotice22; ?></option>
				<?php
					$msql->query("select * from {P}_member_paycenter where pcentertype='0' and ifuse='1'");
					while($msql->next_record()){
						$payid=$msql->f('id');
						$paytype=$msql->f('pcenter');
						
						echo "<option value='".$payid."'>".$paytype."</option>";
					}
				?>
			</select><span style="color:#ff0000;padding-left:5px;">*</span>
		</td>
	</tr>
	<tr> 
		<td height="30" align="center"><?php echo $strCustomerName; ?></td>
	    <td align="left"><input type="text" name="cname" class="input" style="width:400px;" /><span style="color:#ff0000;padding-left:5px;">*</span></td>
	</tr>
	<tr> 
		<td height="30" align="center"><?php echo $strContactPhone; ?></td>
	    <td align="left"><input type="text" name="phone" class="input" style="width:400px;" /><span style="color:#ff0000;padding-left:5px;">*</span></td>
	</tr>
	<tr> 
		<td height="30" align="center"><?php echo $strSelectSongCanZone; ?></td>
	    <td align="left">
			<select name="zoneid">
				<option value=""><?php echo $strSelectSongCanZone2; ?></option>
				<?php
					$fsql -> query ("select * from {P}_dingcan_zoneset where pid!='0' order by pid");
					while ($fsql -> next_record ()) {
						$lpid = $fsql -> f ("pid");
						$lcatid = $fsql -> f ("catid");
						$lcat = $fsql -> f ("cat");
						
						$tsql->query("select * from {P}_dingcan_zoneset where catid='$lpid'");
						if($tsql->next_record()){
							$cat = $tsql -> f ("cat");
						}
						
						echo "<option value='".$lcatid."'>".$cat."|-".$lcat."</option>";
					}
				?>
				<option value="0"><?php echo $strOthers; ?></option>
        	</select><span style="color:#ff0000;padding-left:5px;">*</span>
		</td>
	</tr>
	<tr> 
		<td height="30" align="center"><?php echo $strSongCanAddress; ?></td>
	    <td align="left"><input type="text" name="address" class="input" style="width:400px;" /><span style="color:#ff0000;padding-left:5px;">*</span></td>
	</tr>
	<tr> 
		<td height="30" align="center"><?php echo $strSongCanTime; ?></td>
	    <td align="left">
			<select name="sctime">
				<option value=""><?php echo $strSongCanTime2; ?></option>
				<?php
				$msql->query("select * from {P}_dingcan_timeset order by xuhao");
				while($msql->next_record()){
					$id=$msql->f("id");
					$amorpm=$msql->f("amorpm");
					$sctime=$msql->f("sctime");
					$xuhao=$msql->f("xuhao");
					$centrate=$msql->f("centrate");
					
					echo "<option value='".$sctime."'>".$amorpm."-".$sctime."</option>";
					
				}
				?>
			</select><span style="color:#ff0000;padding-left:5px;">*</span>
		</td>
	</tr>
	<tr> 
		<td height="30" align="center"><?php echo $strSelectPeiSongCenter; ?></td>
	    <td align="left">
			<select name="pscenter">
				<option value=""><?php echo $strSelectPeiSongCenter2; ?></option>
				<?php
				$msql->query("select * from {P}_dingcan_psc order by xuhao");
				while($msql->next_record()){
					$id=$msql->f("id");
					$name=$msql->f("name");
					$address=$msql->f("address");
					$xuhao=$msql->f("xuhao");
					$diaodu=$msql->f("diaodu");
					$scname=$msql->f("songcan");
					
					echo "<option value='".$id."'>".$name."</option>";
					
				}
				?>
			</select><span style="color:#ff0000;padding-left:5px;">*</span>
		</td>
	</tr>
	<tr> 
		<td height="30" align="center"><?php echo $strSelectGoods; ?></td>
	    <td align="left">
			<table height="24" border="0" cellpadding="0" cellspacing="0">
            	<tr>
                	<td id="tt01" class="bqtt_01" onMouseOver="changeBq('01','02','03');"><?php echo $strGoodsType1; ?></td>
                	<td id="tt02" class="bqtt_02" onMouseOver="changeBq('02','01','03');"><?php echo $strGoodsType2; ?></td>
                	<td id="tt03" class="bqtt_02" onMouseOver="changeBq('03','02','01');"><?php echo $strGoodsType3; ?></td>
              	</tr>
            </table>
			<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border:1px #cde6ff solid;">
				<tr>
					<td width="1%" height="100">&nbsp;</td>
				  	<td width="98%" valign="top" id="mm01" class="bqmm_01" style="padding:10px">
					<?php
						$msql->query("select * from {P}_dingcan_zxcon where iffb='1' order by xuhao");
						while($msql->next_record()){
							$id=$msql->f('id');
							$catid=$msql->f('catid');
							$title=$msql->f('title');
							$perprice=$msql->f('perprice');
							$sparecopy=$msql->f('sparecopy');
							
							echo "<div style='float:left;width:390px'><input type='checkbox' name='zx[]' value='".$id."' class='cpcheckbox' />".$title."(<font style='color:#ff0000;'>".$perprice."</font>".$strYuanPerFen.", ".$strShengYu."<font style='color:#ff0000;'>".$sparecopy."</font>".$strCopy.")&nbsp;";
							echo "<input type='text' name='zxc_".$id."' value='1' class='input' style='width:15px;height:18px;' />&nbsp;&nbsp;&nbsp;&nbsp;</div>";
							
						}
					?>
					</td>
				  	<td width="98%" valign="top" id="mm02" class="bqmm_02" style="padding:10px">
						<?php
						$msql->query("select * from {P}_dingcan_gdcon where iffb='1' order by xuhao");
						while($msql->next_record()){
							$id=$msql->f('id');
							$catid=$msql->f('catid');
							$title=$msql->f('title');
							$perprice=$msql->f('perprice');
							$sparecopy=$msql->f('sparecopy');
							
							echo "<div style='float:left;width:390px'><input type='checkbox' name='gd[]' value='".$id."' class='cpcheckbox' />".$title."(<font style='color:#ff0000;'>".$perprice."</font>".$strYuanPerFen.", ".$strShengYu."<font style='color:#ff0000;'>".$sparecopy."</font>".$strCopy.")&nbsp;";
							echo "<input type='text' name='gdc_".$id."' value='1' class='input' style='width:15px;height:18px;' />&nbsp;&nbsp;&nbsp;&nbsp;</div>";
							
						}
					?>
					</td>
				  	<td width="98%" valign="top" id="mm03" class="bqmm_02" >
						<select name="zhtaocan" id="zhtaocan">
							<option value=""><?php echo $strOrderNotice18; ?></option>
							<?php
							$msql->query("select * from {P}_dingcan_zhcon where iffb='1' order by xuhao");
							while($msql->next_record()){
								$id=$msql->f('id');
								$catid=$msql->f('catid');
								$title=$msql->f('title');
								$perprice=$msql->f('perprice');
								$sparecopy=$msql->f('sparecopy');
								
								echo "<option value='".$id."'>".$title."&nbsp;(".$perprice.$strYuanPerFen.")</option>";
							}
							?>
						</select>
						<input type="button" name="zhbutton" id="zhbutton" value="<?php echo $strAdd2; ?>" class="button" style="cursor:pointer;" />
						<div id="zhtclist"></div>
						<input type="hidden" name="zhtcdivnums" id="zhtcdivnums" value="0" />
					</td>
				  	<td width="1%">&nbsp;</td>
				</tr>
		  	</table>
		</td>
	</tr>
	<tr> 
		<td height="30" align="center"><?php echo $strPeiSongCost; ?></td>
	    <td align="left"><input type="text" name="pscost" value="0" class="input" style="width:100px;" /></td>
	</tr>
	<tr> 
		<td height="30" align="right">&nbsp;</td>
	    <td align="left">
			<input type="submit" name="submit" value="<?php echo $strSubmit; ?>" class="button" />
			<input type="hidden" name="act" value="notmemberorder" />
		</td>
	</tr>
</table>
</form>
</div>

<!-----------------------------非会员订餐部分结束------------------------->

	</div>
</div>

<script type="text/javascript">
//选择商品之标签切换
function changeBq(bqnow,bq1,bq2){
	//标签切换之标题
	var ttnow = document.getElementById("tt"+bqnow);
	var tt1 = document.getElementById("tt"+bq1);
	var tt2 = document.getElementById("tt"+bq2);

	ttnow.className="bqtt_01";
	tt1.className="bqtt_02";
	tt2.className="bqtt_02";
	
	//标签切换之内容
	var mmnow = document.getElementById("mm"+bqnow);
	var mm1 = document.getElementById("mm"+bq1);
	var mm2 = document.getElementById("mm"+bq2);
	
	mmnow.className="bqmm_01";
	mm1.className="bqmm_02";
	mm2.className="bqmm_02";
}
</script>

</body>
</html>