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

    <?php
define("ROOTPATH", "../../");
include(ROOTPATH."includes/admin.inc.php");
include("language/".$sLan.".php");
NeedAuth(107);
?>
<!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/serviceall.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="70"><?php echo $strGroupNow; ?></td>
      <td class="biaoti" width="70"><?php echo $strServiceOfferP; ?></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 $strLook; ?> </td>
      <td  width="39"   class="biaoti"> 
      <?php echo $strDelete; ?>
      </td>
    <td  width="39"   class="biaoti"><?php echo $strServiceToHis; ?> </td>
    </tr>
    <?php
	
  $fsql -> query ("select * from {P}_service_feedback where stat>0 and stat<6 order by stat asc,time asc");
  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'); 
	  $uptime=$fsql->f('uptime'); 
	  $stat=$fsql->f('stat');
	  $memberid=$fsql->f('memberid');
	  $adminid=$fsql->f('adminid');
	 
	if($memberid>0){
		$source=$strMember;
	}else{
		$source=$strNotMember;
	}	  
	
	$tsql->query("select groupname from {P}_service_group where id='$groupid' ");
	if($tsql->next_record()){
		$groupname=$tsql->f('groupname');
	}
	
	$tsql->query("select name from {P}_base_admin where id='$adminid' ");
	if($tsql->next_record()){
		$adminname=$tsql->f('name');
	}

	$statstr="strServiceStat".$stat;
	
	if($stat<5){
		$hisabled=" disabled ";
	}else{
		$hisabled=" ";
	}
	
  ?> 
    <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="70"><?php echo $groupname; ?></td>
      <td  width="70"><?php echo $adminname; ?></td>
      <td ><?php echo $title;?></td>
      <td  width="60" id="showstat_<?php echo $id; ?>"><span class="stat<?php echo $stat; ?>"><?php echo $$statstr; ?></span></td>
      <td  width="39">
	  <input type="button" class="quslook" id="quslook_<?php echo $id; ?>"  value="<?php echo $strLook; ?>" onClick="self.location='look.php?id=<?php echo $id; ?>'" />
      </td>
      <td  width="39">
	  
	  <input type="button" class="qusdel" id="qusdel_<?php echo $id; ?>"  value="<?php echo $strDelete; ?>" /> 
      </td>
    <td  width="39"><input type="button" class="qushis" id="qushis_<?php echo $id; ?>"  value="<?php echo $strServiceToHis; ?>" <?php echo $hisabled; ?> />
      </td>
    </tr>
    <?php

  }
  ?> 
  
</table>
</div>
<div id="lookdiv"></div>
</body>
</html>