Location: PHPKode > scripts > Php AddressBook 2 > php-addressbook-2/index2.php
Created by: Adam Patterson

This is a free aplication you can cahnge what 
ever you like as long as you keep mention of my name. 

	Copyright (c) 2007, Adam Patterson
	http://www.adam-patterson.com | http://www.studiolounge.net
	Addressbook is released under the GPL license

If you need any help please go to the setup folder and 
read the instructions in the "index.php" file.

Otherwise is can assist you here: http://www.studiolounge.net/2007/01/28/addressbook/
$time_start = microtime(true);


if (!session_is_registered(myemail)){ 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="js/pngfix.js"></script>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<? echo"$key";?>" type="text/javascript"></script>
<script type="text/javascript" src="js/mootools.js"></script>
<script type="text/javascript">
<? if ($title == "fullview"){ 
echo"window.addEvent('domready', function(){
	var divs = $$(['email']);
		var link = $(div.id + 'code');
		div.setStyle('display', 'none');
		link.addEvent('click', function(e){
			e = new Event(e);
				if (other != div) other.setStyle('display', 'none');
			div.setStyle('display', (div.getStyle('display') == 'block') ? 'none' : 'block');
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=75');");
// End -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Address Book v<?php echo ($version); ?>-<?php echo (!$title)?'home':$title ?></title>
<style type="text/css" media="screen">
@import url( style.css );
<style type="text/css" media="print">
@import url( print.css );
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<body <? if ($title == "google"){ echo"onload=\"load()\" onunload=\"GUnload()\"";}?> >
<div id="wrapper">
  <div id="header-wrapper">
    <?php include"header.php"; ?>
  <div id="content">
    <h1><?php echo (!$location)?'View Information':$location ?>:</h1>
    <?php include("$content"); ?>
    <div class="clearfix"></div>
  <div id="footer-wrapper">
    <div class="footer-wrapperBarLeft">
      <form action="https://www.paypal.com/cgi-bin/webscr" method="post" class="donate" >
        <input type="hidden" name="cmd" value="_xclick">
        <input type="hidden" name="business" value="hide@address.com">
        <input type="hidden" name="no_shipping" value="0">
        <input type="hidden" name="no_note" value="1">
        <input type="hidden" name="currency_code" value="CAD">
        <input type="hidden" name="tax" value="0">
        <input type="hidden" name="lc" value="CA">
        <input type="hidden" name="bn" value="PP-DonationsBF">        
       <input type="image" class="donate" src="http://www.studiolounge.net/donate.png" border="0" name="submit" alt="make a donation" />
    <div class="footer-wrapperBarRight">designed by <a href="http://www.adam-patterson.com" target="_blank"><img src="images/adam-patterson.png" width="20" height="15" border="0" alt="adam patterson" /></a> </div>
  <div id="print-show">Address Book by www.adam-patterson.com</div>
$time_end = microtime(true);
$time = $time_end - $time_start;

//echo "<div id='load'>Loaded in $time seconds</div>\n";?>
Return current item: Php AddressBook 2