gusucode.com > 4004网博士成品网站管理系统 PHP网站源码程序 > 4004/4004/service_backup_1242004010/admin/feedback.php

    <?php
define("ROOTPATH", "../../");
include(ROOTPATH."includes/admin.inc.php");
include("language/".$sLan.".php");
NeedAuth(103);
?>
<!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/newoffer.js"></script>
</head>

<body>
<div class="listzone">
<table width="100%" border="0" cellpadding="5" cellspacing="0" align="center">
    <tr>
      <td width="50" height="26" class="biaoti"><?php echo $strServiceNo; ?></td>
      
      <td class="biaoti" width="135"><?php echo $strFormTime; ?></td>
      <td class="biaoti" width="39"><?php echo $strFormSource; ?></td>
      <td class="biaoti" width="90"><?php echo $strGroupNow; ?></td>
      <td width="80"  class="biaoti"><?php echo $strFormAllowService; ?></td>
      <td class="biaoti" height="26"><?php echo $strFormTitle; ?></td>
      <td width="62" height="26" class="biaoti"><?php echo $strServiceStat; ?></td>
      <td  width="39"   class="biaoti"><?php echo $strServiceOffer; ?> </td>
      <td  width="39"   class="biaoti"> 
      <?php echo $strDelete; ?>
      </td>
    </tr>
    <?php
  $fsql -> query ("select * from {P}_service_feedback where stat='0' order by time");
  while ($fsql->next_record ()) {
	  $id=$fsql->f('id');
	  $groupid=$fsql->f('groupid');
  	  $title=$fsql->f('title');
	  $name=$fsql->f('name');
	  $email=$fsql->f('email');
	  $time=$fsql->f('time'); 
	  $memberid=$fsql->f('memberid');
	 
	if($memberid>0){
		$source=$strMember;
	}else{
		$source=$strNotMember;
	}	  
	
	$tsql->query("select groupname,allowservice from {P}_service_group where id='$groupid' ");
	if($tsql->next_record()){
		$groupname=$tsql->f('groupname');
		$allowservice=$tsql->f('allowservice');
	}
  ?> 
    <tr class="quslist" id="quslist_<?php echo $id; ?>">
      <td  width="50"><?php echo $id;?> </td>
      
      <td  width="135"><?php echo date("y/m/d H:i:s",$time); ?></td>
      <td  width="39"><?php echo $source; ?></td>
      <td  width="90"><?php echo $groupname; ?></td>
      <td width="80">
	  <select name="allow" >
          <?php
			$tsql->query("select * from {P}_base_admin");
			while($tsql->next_record()){
				$adminid=$tsql->f('id');
				$adminname=$tsql->f('name');
				if(strstr($allowservice,"|".$adminid."|")){
					echo "<option value='".$adminid."'>".$adminname."</option>";
				}
			
		}
			?>
        </select>
      </td>
      <td ><?php echo $title;?></td>
      <td  width="60" ><span class="stat0"><?php echo $strServiceStat0; ?></span></td>
      <td  width="39">
	  <input type="button" class="qusoffer" id="qusoffer_<?php echo $id; ?>"  value="<?php echo $strServiceOffer; ?>" />
      </td>
      <td  width="39">
	  
	  <input type="button" class="qusdel" id="qusdel_<?php echo $id; ?>"  value="<?php echo $strDelete; ?>" /> 
      </td>
    </tr>
    <?php

  }
  ?> 
  
</table>
</div>
</body>
</html>