summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/person/index.phtml
blob: e90ab794a47e17980a891726316318071355ffd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<h1>Own Details</h1>
<style type="text/css">
label {
	width: 150px !important;
}
</style>
<?php echo $this->formButton('editperson', 'Edit', array(
							'onclick' => 'self.location="' . $this->pbs2host . '/user/person/edit/"',
							'class' => 'rightbutton'))?>
<div class='listelement'>
	<div class='element'>
		<div class='content'>
			<div class='title'><?php echo $this->person->getTitle()." ".$this->person->getFirstname()." ".$this->person->getName(); ?></div>
			<div class='subtitle'><?php echo $this->person->getEmail(); ?></div>
			<div class='details'><label>Street:</label>
				<div class='item'><?php echo $this->person->getStreet(); ?>&nbsp;</div>
				<label>Housenumber:</label>
				<div class='item'><?php echo $this->person->getHousenumber(); ?>&nbsp;</div>
				<label>City:</label>
				<div class='item'><?php echo $this->person->getCity(); ?>&nbsp;</div>
				<label>Postalcode:</label>
				<div class='item'><?php echo $this->person->getPostalcode(); ?>&nbsp;</div>
				<label>Email:</label>
				<div class='item'><?php echo $this->person->getEmail(); ?>&nbsp;</div>
				<label>Last Login:</label>
				<div class='item'><?php if( $this->person->getLogindate()) echo date ('d. F Y - H:i', $this->person->getLogindate()) . " Uhr"; ?>&nbsp;</div>
				<label>Register Date:</label>
				<div class='item'><?php echo date ('d. F Y - H:i', $this->person->getRegisterdate()) . ' Uhr'; ?>&nbsp;</div>
				<?php if($this->suspendRight === true)
				{
					?> <label>Suspended:</label>
				<div class='item'><?php if($this->person->getSuspend() == 1) echo "yes"; else echo "no"; ?></div>
					<?php
				}
			?>
			</div>
		</div>
	<div class='clear'></div>
	</div>
</div>