} ?> <br /><br /> </td> </tr> <?php } else { $c = 0; ## Customer Orders table start from here while ($recrd) { $recrd = format_str($recrd); $c++; $skip_flag = false; $placement_tag = $recrd["placement_tag"]; if ($sr_placement_tag !== false && $sr_placement_tag != '') { $placement_tag = $src->get_highlighted($placement_tag, 'placement_tag'); if ($placement_tag == '--continue--continue--continue--continue--') { $skip_flag = true; } } $alt_text = $recrd["alt_text"]; if ($sr_alt_text !== false && $sr_alt_text != '') { $alt_text = $src->get_highlighted($alt_text, 'alt_text'); if ($alt_text == '--continue--continue--continue--continue--') { $skip_flag = true; } } $m_cat = $recrd["m_cat"]; if ($sr_m_cat !== false && $sr_m_cat != '') { $m_cat = $src->get_highlighted($m_cat, 'm_cat'); if ($m_cat == '--continue--continue--continue--continue--') {
} ?> <br /><br /> </td> </tr> <?php } else { $c = 0; ## Customer Orders table start from here while ($recrd) { $recrd = format_str($recrd); $c++; $skip_flag = false; $title = $recrd["title"]; if ($sr_title !== false && $sr_title != '') { $title = $src->get_highlighted($title, 'title'); if ($title == '--continue--continue--continue--continue--') { $skip_flag = true; } //fail safe } $seo_tag = $recrd["seo_tag"]; if ($sr_seo_tag !== false && $sr_seo_tag != '') { $seo_tag = $src->get_highlighted($seo_tag, 'seo_tag'); if ($seo_tag == '--continue--continue--continue--continue--') { $skip_flag = true; } } $delete_locked = $recrd["delete_locked"]; $is_active = $recrd["is_active"]; $popup_only = $recrd["popup_only"];
} ?> <br /><br /> </td> </tr> <?php } else { $c = 0; ## Customer Orders table start from here while ($recrd) { $recrd = format_str($recrd); $c++; $skip_flag = false; $category = $recrd["category"]; if ($sr_category !== false && $sr_category != '') { $category = $src->get_highlighted($category, 'category'); if ($category == '--continue--continue--continue--continue--') { $skip_flag = true; } } if ($skip_flag == false) { $tr_bg = "#FFFFFF"; if ($c % 2 == 0) { $tr_bg = "#F5F5F5"; } ?> <tr style="background:<?php echo $tr_bg; ?> "> <td valign="top"><input type="checkbox" name="RecordID[]" value="<?php
} ?> <br /><br /> </td> </tr> <?php } else { $c = 0; ## Customer Orders table start from here while ($recrd) { $recrd = format_str($recrd); $c++; $skip_flag = false; $c_key = $recrd["c_key"]; if ($sr_c_key !== false && $sr_c_key != '') { $c_key = $src->get_highlighted($c_key, 'c_key'); if ($c_key == '--continue--continue--continue--continue--') { $skip_flag = true; } } $c_value = $recrd["c_value"]; if ($sr_c_value !== false && $sr_c_value != '') { $c_value = $src->get_highlighted($c_value, 'c_value'); if ($c_value == '--continue--continue--continue--continue--') { $skip_flag = true; } } if ($skip_flag == false) { $tr_bg = "#FFFFFF"; if ($c % 2 == 0) { $tr_bg = "#F5F5F5";
} ?> <br /><br /> </td> </tr> <?php } else { $c = 0; ## Customer Orders table start from here while ($recrd) { $recrd = format_str($recrd); $c++; $skip_flag = false; $invoice = $recrd["invoice"]; if ($sr_invoice !== false && $sr_invoice != '') { $invoice = $src->get_highlighted($invoice, 'invoice'); if ($invoice == '--continue--continue--continue--continue--') { $skip_flag = true; } } $email_add = $recrd["email_add"]; if ($sr_email_add !== false && $sr_email_add != '') { $email_add = $src->get_highlighted($email_add, 'email_add'); if ($email_add == '--continue--continue--continue--continue--') { $skip_flag = true; } } $transaction_id = $recrd["transaction_id"]; if ($sr_transaction_id !== false && $sr_transaction_id != '') { $transaction_id = $src->get_highlighted($transaction_id, 'transaction_id'); if ($transaction_id == '--continue--continue--continue--continue--') {
} ?> <br /><br /> </td> </tr> <?php } else { $c = 0; ## Customer Orders table start from here while ($recrd) { $recrd = format_str($recrd); $c++; $skip_flag = false; $email_add = $recrd["email_add"]; if ($sr_email_add !== false && $sr_email_add != '') { $email_add = $src->get_highlighted($email_add, 'email_add'); if ($email_add == '--continue--continue--continue--continue--') { $skip_flag = true; } } $first_name = $recrd["first_name"]; if ($sr_first_name !== false && $sr_first_name != '') { $first_name = $src->get_highlighted($first_name, 'first_name'); if ($first_name == '--continue--continue--continue--continue--') { $skip_flag = true; } } $last_name = $recrd["last_name"]; if ($sr_last_name !== false && $sr_last_name != '') { $last_name = $src->get_highlighted($last_name, 'last_name'); if ($last_name == '--continue--continue--continue--continue--') {
} ?> <br /><br /> </td> </tr> <?php } else { $c = 0; ## Customer Orders table start from here while ($recrd) { $recrd = format_str($recrd); $c++; $skip_flag = false; $action_title = $recrd["action_title"]; if ($sr_action_title !== false && $sr_action_title != '') { $action_title = $src->get_highlighted($action_title, 'action_title'); if ($action_title == '--continue--continue--continue--continue--') { $skip_flag = true; } } $category = $recrd["category"]; if ($sr_category !== false && $sr_category != '') { $category = $src->get_highlighted($category, 'category'); if ($category == '--continue--continue--continue--continue--') { $skip_flag = true; } } $action_key = $recrd["action_key"]; if ($sr_action_key !== false && $sr_action_key != '') { $action_key = $src->get_highlighted($action_key, 'action_key'); if ($action_key == '--continue--continue--continue--continue--') {
} ?> <br /><br /> </td> </tr> <?php } else { $c = 0; ## Customer Orders table start from here while ($recrd) { $recrd = format_str($recrd); $c++; $skip_flag = false; $question_text = $recrd["question_text"]; if ($sr_question_text !== false && $sr_question_text != '') { $question_text = $src->get_highlighted($question_text, 'question_text'); if ($question_text == '--continue--continue--continue--continue--') { $skip_flag = true; } } $email_add = $recrd["email_add"]; if ($sr_email_add !== false && $sr_email_add != '') { $email_add = $src->get_highlighted($email_add, 'email_add'); if ($email_add == '--continue--continue--continue--continue--') { $skip_flag = true; } } $recrd["votes_count"] = (int) $recrd["votes_count"]; if ($skip_flag == false) { $tr_bg = "#FFFFFF"; if ($c % 2 == 0) {
?> <br /><br /> </td> </tr> <?php } else { $c = 0; ## Customer Orders table start from here while ($recrd) { $recrd["m_value"] = strip_tags($recrd["m_value"]); $recrd = format_str($recrd); $c++; $skip_flag = false; $title = $recrd["title"]; if ($sr_title !== false && $sr_title != '') { $title = $src->get_highlighted($title, 'title'); if ($title == '--continue--continue--continue--continue--') { $skip_flag = true; } } $m_value = $recrd["m_value"]; if ($sr_m_value !== false && $sr_m_value != '') { $m_value = $src->get_highlighted($m_value, 'm_value'); if ($m_value == '--continue--continue--continue--continue--') { $skip_flag = true; } } $m_cat = $recrd["m_cat"]; if ($sr_m_cat !== false && $sr_m_cat != '') { $m_cat = $src->get_highlighted($m_cat, 'm_cat'); if ($m_cat == '--continue--continue--continue--continue--') {
} ?> <br /><br /> </td> </tr> <?php } else { $c = 0; ## Customer Orders table start from here while ($recrd) { $recrd = format_str($recrd); $c++; $skip_flag = false; $title = $recrd["title"]; if ($sr_title !== false && $sr_title != '') { $title = $src->get_highlighted($title, 'title'); if ($title == '--continue--continue--continue--continue--') { $skip_flag = true; } //fail safe } $is_active = $recrd["is_active"]; if ($skip_flag == false) { $tr_bg = "#FFFFFF"; if ($c % 2 == 0) { $tr_bg = "#F5F5F5"; } if ($is_active == '0') { $tr_bg = "#FFF0F0"; } #/ get Benefits
} ?> <br /><br /> </td> </tr> <?php } else { $c = 0; ## Customer Orders table start from here while ($recrd) { $recrd = format_str($recrd); $c++; $skip_flag = false; $tag = $recrd["tag"]; if ($sr_tag !== false && $sr_tag != '') { $tag = $src->get_highlighted($tag, 'tag'); if ($tag == '--continue--continue--continue--continue--') { $skip_flag = true; } } if ($skip_flag == false) { $tr_bg = "#FFFFFF"; if ($c % 2 == 0) { $tr_bg = "#F5F5F5"; } ?> <tr style="background:<?php echo $tr_bg; ?> "> <td valign="top"><input type="checkbox" name="RecordID[]" value="<?php