I am trying to display the Model value for products but only show it when a customer is logged in and his/her account has been approved.

Shouldn't the following code do the job:

PHP Code:
<?php
if (CUSTOMERS_APPROVAL == and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
  
// do nothing

} else {
?>


    <?php echo (($flag_show_product_info_model == and $products_model !='') ? '<li>' TEXT_PRODUCT_MODEL $products_model '</li>' '') . "\n"?>

<?php // CUSTOMERS_APPROVAL == 3 ?>
But the above is not working, it's not displaying anything.