Пример #1
0
">[<?php 
    echo lang("edit");
    ?>
]</a>
                            	<?php 
}
?>
                        
                            </h4>
                            
                            <ul>
                                <li>
                                	
                                    <span class="mail">
                                    	<?php 
echo render_mailto($contact->getEmailAddress());
?>
                                    </span>
                                    <?php 
echo $contact->getPhoneNumber('work', true) ? '- <strong>' . lang('work') . ' ' . lang('phone') . ':</strong> ' . $contact->getPhoneNumber('work', true) : '';
?>
                                    <?php 
echo $contact->getPhoneNumber('home', true) ? '- <strong>' . lang('home') . ' ' . lang('phone') . ':</strong> ' . $contact->getPhoneNumber('home', true) : '';
?>
                                    
                                </li>
                            </ul>
                            
                            <?php 
if ($contact->isUser()) {
    ?>
Пример #2
0
        foreach ($all_other_emails as $oemail) {
            if ($oemail->getEmailTypeId() != $mail_type['id']) {
                continue;
            }
            $any_obj = true;
            $is_alt = !$is_alt;
            ?>
			<div class="<?php 
            echo $is_alt ? 'alt-row' : '';
            ?>
 info-content-item">
				<strong><?php 
            echo lang('email');
            ?>
: </strong><?php 
            echo render_mailto($oemail->getEmailAddress());
            ?>
			</div>
	<?php 
        }
    }
    if (!$any_obj) {
        ?>
	<script>
		$('#<?php 
        echo $genid . '_title_' . $tel_type['code'];
        ?>
').remove();
		$('#<?php 
        echo $genid . '_content_' . $tel_type['code'];
        ?>