反馈表增加专利反馈

hotfix/远程访问多媒体中心
赵鹏 6 years ago
parent 4b8005afdb
commit 9cc467cc3c

@ -204,7 +204,7 @@ class Groupinfo_model extends CI_Model {
ESI_LeaveCity, ESI_LeaveCity,
ESI_ServiceCity, ESI_ServiceCity,
ESI_ServiceType, ESI_ServiceType,
ESI_ServiceSN, IsNull(ESI_ServiceSN,0) as ESI_ServiceSN,
ESI_ServiceSN2, ESI_ServiceSN2,
ESI_ServiceName, ESI_ServiceName,
ESI_Describe, ESI_Describe,

@ -31,6 +31,7 @@
$guide_rate_index = 0; $guide_rate_index = 0;
foreach ($service_item_info as $key => $item) { foreach ($service_item_info as $key => $item) {
$count_rate_index++; $count_rate_index++;
//echo $item->ESI_Rate. ' ';
$count_rate = $count_rate + $item->ESI_Rate; $count_rate = $count_rate + $item->ESI_Rate;
if ($item->ESI_ServiceType == 'W') { if ($item->ESI_ServiceType == 'W') {
$guide_rate_index++; $guide_rate_index++;
@ -118,7 +119,7 @@
?> ?>
<tr> <tr>
<td><?php echo empty($item->ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?></td> <td><?php echo empty($item->ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?></td>
<td><label><input type='radio' value="5" <?php if ($item->ESI_Rate == 5 || empty($item->ESI_Rate)) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Excellent</label></td> <td><label><input type='radio' value="5" <?php if ($item->ESI_Rate == 5 || empty($item->ESI_Rate) || $item->ESI_Rate==0.00) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Excellent</label></td>
<td><label><input type='radio' value="4" <?php if ($item->ESI_Rate == 4) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Very Good</label></td> <td><label><input type='radio' value="4" <?php if ($item->ESI_Rate == 4) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Very Good</label></td>
<td><label><input type='radio' value="3" <?php if ($item->ESI_Rate == 3) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Fair</label></td> <td><label><input type='radio' value="3" <?php if ($item->ESI_Rate == 3) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Fair</label></td>
<td><label><input type='radio' value="2" <?php if ($item->ESI_Rate == 2) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Poor</label></td> <td><label><input type='radio' value="2" <?php if ($item->ESI_Rate == 2) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Poor</label></td>
@ -139,7 +140,7 @@
?> ?>
<tr> <tr>
<td><?php echo empty($item->ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?></td> <td><?php echo empty($item->ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?></td>
<td><label><input type='radio' value="5" <?php if ($item->ESI_Rate == 5 || empty($item->ESI_Rate)) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Excellent</label></td> <td><label><input type='radio' value="5" <?php if ($item->ESI_Rate == 5 || empty($item->ESI_Rate) || $item->ESI_Rate==0.00) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Excellent</label></td>
<td><label><input type='radio' value="4" <?php if ($item->ESI_Rate == 4) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Very Good</label></td> <td><label><input type='radio' value="4" <?php if ($item->ESI_Rate == 4) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Very Good</label></td>
<td><label><input type='radio' value="3" <?php if ($item->ESI_Rate == 3) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Fair</label></td> <td><label><input type='radio' value="3" <?php if ($item->ESI_Rate == 3) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Fair</label></td>
<td><label><input type='radio' value="2" <?php if ($item->ESI_Rate == 2) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Poor</label></td> <td><label><input type='radio' value="2" <?php if ($item->ESI_Rate == 2) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Poor</label></td>
@ -155,11 +156,30 @@
</tr> </tr>
<?php <?php
foreach ($service_item_info as $item) { foreach ($service_item_info as $item) {
if ($item->ESI_ServiceType == 'A' || $item->ESI_ServiceType == 'C' || $item->ESI_ServiceType == '7') { if ($item->ESI_ServiceType == 'A' || $item->ESI_ServiceType == 'C' || ($item->ESI_ServiceType == '7' && $item->ESI_ServiceSN==0)) {
?> ?>
<tr> <tr>
<td><?php echo empty($item->ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?></td> <td><?php echo empty($item->ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?></td>
<td><label><input type='radio' value="5" <?php if ($item->ESI_Rate == 5 || empty($item->ESI_Rate)) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Excellent</label></td> <td><label><input type='radio' value="5" <?php if ($item->ESI_Rate == 5 || empty($item->ESI_Rate) || $item->ESI_Rate==0.00) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>' >Excellent</label></td>
<td><label><input type='radio' value="4" <?php if ($item->ESI_Rate == 4) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Very Good</label></td>
<td><label><input type='radio' value="3" <?php if ($item->ESI_Rate == 3) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Fair</label></td>
<td><label><input type='radio' value="2" <?php if ($item->ESI_Rate == 2) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Poor</label></td>
<td><label><input type='radio' value="1" <?php if ($item->ESI_Rate == 1) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Unacceptable</label></td>
</tr>
<?php
}
}
?>
<tr>
<td colspan="6"><h3>4. Our Spotlight Experience(s)</h3></td>
</tr>
<?php
foreach ($service_item_info as $item) {
if ( $item->ESI_ServiceType == '7' && $item->ESI_ServiceSN>0) {
?>
<tr>
<td><?php echo empty($item->ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?></td>
<td><label><input type='radio' value="5" <?php if ($item->ESI_Rate == 5 || empty($item->ESI_Rate) || $item->ESI_Rate==0.00) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>' >Excellent</label></td>
<td><label><input type='radio' value="4" <?php if ($item->ESI_Rate == 4) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Very Good</label></td> <td><label><input type='radio' value="4" <?php if ($item->ESI_Rate == 4) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Very Good</label></td>
<td><label><input type='radio' value="3" <?php if ($item->ESI_Rate == 3) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Fair</label></td> <td><label><input type='radio' value="3" <?php if ($item->ESI_Rate == 3) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Fair</label></td>
<td><label><input type='radio' value="2" <?php if ($item->ESI_Rate == 2) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Poor</label></td> <td><label><input type='radio' value="2" <?php if ($item->ESI_Rate == 2) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Poor</label></td>
@ -181,7 +201,7 @@
switch ($group_service->QSFour) { switch ($group_service->QSFour) {
case 223005: case 223005:
?> ?>
<h3>4. What do you think of #<?php echo $group_service->QSFourServiceName; ?>#?</h3> <h3>5. What do you think of #<?php echo $group_service->QSFourServiceName; ?>#?</h3>
<input type="hidden" name="q4_eef_type" value="<?php echo $group_service->QSFour; ?>" /> <input type="hidden" name="q4_eef_type" value="<?php echo $group_service->QSFour; ?>" />
<div class="row"> <div class="row">
<div class="col-md-24"> <div class="col-md-24">
@ -192,7 +212,7 @@
break; break;
case 223006: case 223006:
?> ?>
<h3>4.What were the most enjoyable or memorable parts of your trip?</h3> <h3>5.What were the most enjoyable or memorable parts of your trip?</h3>
<input type="hidden" name="q4_eef_type" value="<?php echo $group_service->QSFour; ?>" /> <input type="hidden" name="q4_eef_type" value="<?php echo $group_service->QSFour; ?>" />
<div class="row"> <div class="row">
<div class="col-md-24"> <div class="col-md-24">
@ -203,7 +223,7 @@
break; break;
case 223007: case 223007:
?> ?>
<h3>4.If you could take your trip again, what would you do differently?</h3> <h3>5.If you could take your trip again, what would you do differently?</h3>
<input type="hidden" name="q4_eef_type" value="<?php echo $group_service->QSFour; ?>" /> <input type="hidden" name="q4_eef_type" value="<?php echo $group_service->QSFour; ?>" />
<div class="row"> <div class="row">
<div class="col-md-24"> <div class="col-md-24">
@ -225,7 +245,7 @@
switch ($group_service->QSFive) { switch ($group_service->QSFive) {
case 223008: case 223008:
?> ?>
<h3>5. Did you recommend #<?php echo $group_service->QSFiveServiceName; ?>#?</h3> <h3>6. Did you recommend #<?php echo $group_service->QSFiveServiceName; ?>#?</h3>
<div class="row"> <div class="row">
<input type="hidden" name="q5_eef_type" value="<?php echo $group_service->QSFive; ?>" /> <input type="hidden" name="q5_eef_type" value="<?php echo $group_service->QSFive; ?>" />
<div class="col-md-2"><label><input type='radio' name='q5_eef_content_radio' <?php echo ($QSFive_EEF_ID == 'yes') ? 'checked' : false; ?> value="yes">YES</label></div> <div class="col-md-2"><label><input type='radio' name='q5_eef_content_radio' <?php echo ($QSFive_EEF_ID == 'yes') ? 'checked' : false; ?> value="yes">YES</label></div>
@ -237,7 +257,7 @@
break; break;
case 223009: case 223009:
?> ?>
<h3>5. Did your guide take you to any shops/factories or tried to influence you to do so?</h3> <h3>6. Did your guide take you to any shops/factories or tried to influence you to do so?</h3>
<div class="row"> <div class="row">
<input type="hidden" name="q5_eef_type" value="<?php echo $group_service->QSFive; ?>" /> <input type="hidden" name="q5_eef_type" value="<?php echo $group_service->QSFive; ?>" />
@ -250,7 +270,7 @@
break; break;
case 223010: case 223010:
?> ?>
<h3>5. Did your tour guide go the extra mile?</h3> <h3>6. Did your tour guide go the extra mile?</h3>
<div class="row"> <div class="row">
<input type="hidden" name="q5_eef_type" value="<?php echo $group_service->QSFive; ?>" /> <input type="hidden" name="q5_eef_type" value="<?php echo $group_service->QSFive; ?>" />
@ -263,7 +283,7 @@
break; break;
case 223011: case 223011:
?> ?>
<h3>5. Did your tour guide take our sign/logo when met at the airport?</h3> <h3>6. Did your tour guide take our sign/logo when met at the airport?</h3>
<div class="row"> <div class="row">
<input type="hidden" name="q5_eef_type" value="<?php echo $group_service->QSFive; ?>" /> <input type="hidden" name="q5_eef_type" value="<?php echo $group_service->QSFive; ?>" />
@ -280,7 +300,7 @@
<div class="row"> <div class="row">
<div class="col-md-24"> <div class="col-md-24">
<h3>6. Are you willing to recommend us on Trip Advisor?</h3> <h3>7. Are you willing to recommend us on Trip Advisor?</h3>
</div> </div>
</div> </div>

Loading…
Cancel
Save