PHP Classes
elePHPant
Icontem

File: View/Elements/profilehidden.ctp

Recommend this page to a friend!
  Classes of Andraž  >  pingvincek  >  View/Elements/profilehidden.ctp  >  Download  
File: View/Elements/profilehidden.ctp
Role: Example script
Content type: text/plain
Description: Example script
Class: pingvincek
Manage a site for organizing dates between people
Author: By
Last change:
Date: 5 months ago
Size: 1,304 bytes
 

Contents

Class file image Download
<div class="span-19">
    <h1><?php echo $user['User']['nickName']; ?></h1>

    <br>

    <div class="span-5 prepend-1">
        <div class="test">
            <?php
           
if (!empty($user['User']['picture']))
            {
                echo
$this->Html->link($this->Html->image('profilePictures/' . $user['User']['picture'], array("class" => "slikaProfil")),
                       
'/users/view/' . $user['User']['id'], array('escape' => false));
            }
            else
            {
                echo
$this->Html->link($this->Html->image('upr.png', array("class" => "slikaProfil")),
                       
'/users/view/' . $user['User']['id'], array('escape' => false));
            }
           
?>
</div>

    </div>

    <div class="span-11 prepend-1 append-1 last">
        <div class="test">
            <p>
                <?php echo $this->Html->link('Po?lji sporo?ilo', '/messages/newm/' . $user['User']['id']); ?> | <?php echo $this->Html->link('Dodaj med prijatelje', '/users/requestFriendships/' . $user['User']['id']); ?> | Prijavi neprimeren profil
            </p>
        </div>
    </div>

    <div class="span-11 prepend-1 append-1 last">
        <div class="test">
            <p>Profil je viden samo prijateljem!</p>
        </div>
    </div>

</div>