Exemple #1
0
    $rule .= " and c.channel_name like '%{$_POST["channel_name"]}%' ";
}
if (isset($_POST["bd"]) && $_POST["bd"] != "") {
    $rule .= " and c.bd like '%{$_POST["bd"]}%' ";
}
if (isset($_POST["promotion_team"]) && $_POST["promotion_team"] != "") {
    $rule .= " and c.promotion_number= '{$_POST["promotion_team"]}'";
}
if (isset($_POST["payment_method"]) && $_POST["payment_method"] != "") {
    $rule .= " and c.payment_number='{$_POST["payment_method"]}' ";
}
if (isset($_POST["cooperation_mode"]) && $_POST["cooperation_mode"] != "") {
    $rule .= " and c.cooperation_number= '{$_POST["cooperation_mode"]}'";
}
if (isset($_POST["version_type"]) && $_POST["version_type"] != "") {
    $rule .= " and c.version_number= '{$_POST["version_type"]}'";
}
if (isset($_POST["has_sdk"]) && $_POST["has_sdk"] != "") {
    $rule .= " and c.has_sdk= '{$_POST["has_sdk"]}'";
}
//serch data
$db = new ChannelDB();
$rows = $db->selectChannelNumbers($rule);
createExcel($rows);
?>





Exemple #2
0
	<link rel="stylesheet" href="js/jquery-ui/css/no-theme/jquery-ui-1.10.3.custom.min.css" id="style-resource-1">
	<link rel="stylesheet" href="css/font-icons/entypo/css/entypo.css" id="style-resource-2">
	<link rel="stylesheet" href="css/bootstrap-min.css" id="style-resource-4">
	<link rel="stylesheet" href="css/neon-core-min.css" id="style-resource-5">
	<link rel="stylesheet" href="css/neon-theme-min.css" id="style-resource-6">
	<link rel="stylesheet" href="css/neon-forms-min.css" id="style-resource-7">
	<link rel="stylesheet" href="css/erhuo.css" >
	<link rel="stylesheet" href="css/alert.css" >
	<script type=text/javascript src="js/jquery-1.8.3.min.js"></script>
 	<script src="js/bootstrap.js"></script>
 	
</head>
<?php 
require_once "class.db.Channel.php";
$id = $_GET["id"];
$db = new ChannelDB();
$qop = $db->selectOneChannelNumber(" id=" . $id);
?>
<body class="page-body loaded" >
<div class="page-container123">
<form action="man.php?action=update" id="add_form" method="post">
	<input type="hidden"  name="id" value="<?php 
echo $id;
?>
" />
	<table class='table table-bordered linetable'>
	<tr><td style="text-align: right"><label for="channel_number">渠道号</labvel></td>
		<td><input type="text" class="xax" id="channel_number" name="channel_number" value="<?php 
echo $qop["channel_number"];
?>
" disabled = "true"/></td>
Exemple #3
0
	<link rel="stylesheet" href="js/jquery-ui/css/no-theme/jquery-ui-1.10.3.custom.min.css" id="style-resource-1">
	<link rel="stylesheet" href="css/font-icons/entypo/css/entypo.css" id="style-resource-2">
	<link rel="stylesheet" href="css/bootstrap-min.css" id="style-resource-4">
	<link rel="stylesheet" href="css/neon-core-min.css" id="style-resource-5">
	<link rel="stylesheet" href="css/neon-theme-min.css" id="style-resource-6">
	<link rel="stylesheet" href="css/neon-forms-min.css" id="style-resource-7">
	<link rel="stylesheet" href="css/erhuo.css" >
	<link rel="stylesheet" href="css/alert.css" >
	<script type=text/javascript src="js/jquery-1.8.3.min.js"></script>
 	<script src="js/bootstrap.js"></script>
 	
</head>
<?php 
require_once "class.db.Channel.php";
$id = $_GET["id"];
$db = new ChannelDB();
$qop = $db->selectOneChannelNumber(" id=" . $id);
// print_r($qop);
?>
<body class="page-body loaded" >
<div class="page-container123">
<span class="heading" > 测试部酒店组 信息修改</span><br/><br/>
<form action="man.php?action=update" id="add_form" method="post">
	<input type="hidden"  name="id" value="<?php 
echo $id;
?>
" />
	<table class='table table-bordered linetable'>
	
	<tr><td width = "85"><label for="channel_name">尊姓大名</label></td>
		<td width = "200"><input type="text" class="xax" id="channel_name" name="channel_name" value="<?php 
Exemple #4
0
	<link rel="stylesheet" href="js/jquery-ui/css/no-theme/jquery-ui-1.10.3.custom.min.css" id="style-resource-1">
	<link rel="stylesheet" href="css/font-icons/entypo/css/entypo.css" id="style-resource-2">
	<link rel="stylesheet" href="css/bootstrap-min.css" id="style-resource-4">
	<link rel="stylesheet" href="css/neon-core-min.css" id="style-resource-5">
	<link rel="stylesheet" href="css/neon-theme-min.css" id="style-resource-6">
	<link rel="stylesheet" href="css/neon-forms-min.css" id="style-resource-7">
	<link rel="stylesheet" href="css/erhuo.css" >
	<link rel="stylesheet" href="css/alert.css" >
		
	<script type=text/javascript src="js/jquery-1.8.3.min.js"></script>
 	<script src="js/bootstrap.js"></script>
 	
</head>
<?php 
require_once "class.db.Channel.php";
$db = new ChannelDB();
?>
<body class="page-body loaded" >
<div class="page-container123">
<form action="man.php" id="add_form" method="post">
	<table class='table table-bordered linetable'>
	<tr><td style="text-align: right"><label for="channel_name">渠道名称:  </labvel></td>
		<td><input type="text" class="xax" id="channel_name" name="channel_name" value="" maxlength="32"/></td>
		<td class='tip' data_tip="channel_name"></td>
	</tr>
	<tr><td style="text-align: right"><label for="bd">BD:  </labvel></td>
		<td><input type="text" class="xax" id="bd" name="bd" value="" maxlength="32"/></td>
		<td class='tip' data_tip="bd"></td>
	</tr>
	<tr><td style="text-align: right"><label for="promotion_team">推广团队:  </labvel></td>
		<td>