The inp is an input box. What I'm looking for is to not have to write the if login statement twice .... I tried to bring it together in one string but the inp box is still being displayed when it's not suppose too. any help would be great.

PHP Code:
if (login::$arre_company == 'APS') echo lookup_link('* Trainer''aps_trainer''id&first&last');?></td>
<td><?php if (login::$arre_company == 'APS'inp('id')?></td>