Location: PHPKode > projects > HuskyMail Webmail > contacts/view.php
<?php
require_once("../contacts/decrypt.php");
if ($show == false) { require_once("../contacts/list.php"); }
else {
?><table border='0' cellpadding='0' cellspacing='0'>
<tr><td class='titlebars' align='center'>
	<b style='font-size: 11px;'>PERSONAL DETAILS</b></td></tr>
<tr><td style='padding: 10px; border: 1px solid #666666; background-color: rgb(250,250,250);'>
<table border='0' cellpadding='0' cellspacing='0'>
	<tr><td>Unique Identifier:</td>
		<td width='10' rowspan="11" style='width: 10px;'>&nbsp;</td>
		<td><b><?php echo $identifier; ?></b></td>
		</tr>
	<tr><td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
	<tr><td>Email (Home):</td>
		<td><b><?php if ($emailhome != "") { echo "<a onfocus='this.blur();' href='compose.php?send_to=".$emailhome."'>".$emailhome."</a>"; } else { echo $none; } ?></b></td>
	</tr>
	<tr><td>Email (Work):</td>
		<td><b><?php if ($emailwork != "") { echo "<a onfocus='this.blur();' href='compose.php?send_to=".$emailwork."'>".$emailwork."</a>"; } else { echo $none; } ?></b></td>
	</tr>
	<tr><td>First Name:</td>
		<td><b><?php if ($firstname != "") { echo $firstname; } else { echo $none; } ?></b></td>
	</tr>
	<tr><td>Middle Name:</td>
		<td><b><?php if ($middlename != "") { echo $middlename; } else { echo $none; } ?></b></td>
	</tr>
	<tr><td>Last Name:</td>
		<td><b><?php if ($lastname != "") { echo $lastname; } else { echo $none; } ?></b></td>
	</tr>
	<tr><td>Position:</td>
		<td><b><?php if ($position != "") { echo $position; } else { echo $none; } ?></b></td>
	</tr>
	<tr><td>Company:</td>
		<td><b><?php if ($company != "") { echo $company; } else { echo $none; } ?></b></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td>Birthday:</td>
		<td><?php echo $birthday." / ".$birthmonth." / ".$birthyear; ?></td>
	</tr>
</table>
</td></tr>
<tr><td height='5'></td></tr>
<tr><td class='titlebars' align='center'>
	<b style='font-size: 11px;'>CONTACT DETAILS</b></td></tr>
<tr><td style='padding: 10px; border: 1px solid #666666; background-color: rgb(250,250,250);'>
	<table border='0' cellpadding='0' cellspacing='0'>
	<tr>
		<td>Phone (Home):</td>
			<td rowspan="9" style='width: 10px;'>&nbsp;</td>
		<td><b>
			<?php if ($phonehome != "") { echo $phonehome; } else { echo $none; } ?>
		</b></td>
	</tr>
	<tr>
		<td>Phone (Work):</td>
		<td><b>
			<?php if ($phonework != "") { echo $phonework; } else { echo $none; } ?>
		</b></td>
	</tr>
	<tr>
		<td>Phone (Cell):</td>
		<td><b>
			<?php if ($phonecell != "") { echo $phonecell; } else { echo $none; } ?>
		</b></td>
	</tr>
	<tr>
		<td>Phone (Fax):</td>
		<td><b>
			<?php if ($phonefax != "") { echo $phonefax; } else { echo $none; } ?>
		</b></td>
	</tr>
	<tr>
		<td>Url:</td>
		<td><?php if ($url != "") { echo "<a onfocus='this.blur();' href='".$url."'>".$url."</a>"; } else { echo $none; } ?></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td valign='top'>Home Address:</td>
		<td valign='top'><div style='width: 400px;'><?php if ($addresshome != "") { echo $addresshome; } else { echo $none; } ?></div></td>
	</tr>
	<tr>
		<td valign='top'>Work Address:</td>
		<td valign='top'><div style='width: 400px;'><?php if ($addresswork != "") { echo $addresswork; } else { echo $none; } ?></div></td>
	</tr>
	<tr><td valign='top'>Postal Address:</td>
		<td valign='top'><div style='width: 400px;'><?php if ($addresspostal != "") { echo $addresspostal; } else { echo $none; } ?></div></td>
	</tr>
</table>
</td><tr>
<tr><td height='5'></td></tr>
<tr><td class='titlebars' align='center'>
	<b style='font-size: 11px;'>NOTES</b></td></tr>
<tr><td style='padding: 0px; border: 1px solid #666666; background-color: rgb(250,250,250);'>
	<div style='width: 500px; padding: 10px;'><?php if ($notes != "") { echo $notes; } else { echo $none; } ?></div></td></tr>
<tr><td height='5'></td></tr>
<tr><td class='titlebars' align='center'>
	<b style='font-size: 11px;'>FILE OPTIONS</b></td></tr>
<tr><td style='padding: 10px; border: 1px solid #666666; background-color: rgb(250,250,250);' align='center'>
	<table border='0' cellpadding='0' cellspacing='0'>
		<tr><td>Encryption:</td>
			<td><b>This contact file is <?php
			if ($test_encrypt == "husky") { echo "NOT "; }
			?>encrypted</b></td>
		</tr>
	</table>
</td></tr>
<tr><td style='border: 1px solid #666666; border-top: none; background-color: #FFFFFF; padding: 5px;' align='center'>
	<table border='0' cellpadding='0' cellspacing='0'>
		<tr>
			<form action='contacts.php' method='post'>
			<input type='hidden' name='edit' value='<?php echo $uniqueid; ?>'>
			<td><tt>[</tt><input type='submit' onmouseover='look(this,1);' onmouseout='look(this,0);' vspace='0' hspace='0' class='btn' name='submit' id='contact_edit' value='EDIT'><tt>]</tt></td>
			</form>
			<form action='contacts.php' method='post'>
			<input type='hidden' name='action' value='delete'>
			<input type='hidden' name='file' value='<?php echo $uniqueid; ?>'>
			<td width='2'></td>
			<td><tt>[</tt><input type='submit' onmouseover='look(this,1);' onmouseout='look(this,0);' vspace='0' hspace='0' class='btn' name='submit' value='DELETE'><tt>]</tt></td>
			</form>
			<td width='2'></td>
			<td><tt>[</tt><input type='button' onmouseover='look(this,1);' onmouseout='look(this,0);' vspace='0' hspace='0' class='btn' name='cancel' value='CANCEL' onClick='window.location.href = "contacts.php";'><tt>]</tt></td>
		</tr>
	</table>
</td></tr></table>
<?php } ?>
Return current item: HuskyMail Webmail